Commit graph

1535 commits

Author SHA1 Message Date
Stijn Tintel
6baf7aa42b
Merge pull request #6091 from dwmw2/domoticz
Domoticz updates and build fixes
2018-06-04 21:30:58 +03:00
Hannu Nyman
33f1f6e940 nano: update to 2.9.8
Update nano to version 2.9.8

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-06-04 18:09:44 +03:00
David Woodhouse
e42d656e81 domoticz: fix Onkyo custom command handling from dzVents
https://github.com/domoticz/domoticz/pull/2386

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:25 +01:00
David Woodhouse
a98239c493 domoticz: update to 3.9571 and clean up FHS handling
Upstream has merged a simplified version of the FHS patch, with a few
changes...

Scripts are actually configuration. There are examples, but the point is
that you write your own.

So they should live in the data directory (e.g. /var/lib/domoticz) not
in /usr/share/domoticz. The only exception is the dzVents runtime.

So.... the upstream patch handles the dzVents runtime bit. Drop the part
of our patch which added -scripts, because it can just be based in the
userdata directory and we don't need to change that.

Ship the default scripts/ directory in /etc/domoticz/scripts, and on
startup make a *symlink* to it from /var/lib/domoticz/scripts.

Symlink from /etc/domoticz/scripts/dzVents{data,generated_scripts} to
temporary directories under /var/lib/domoticz/dzVents so that those
directories (which are written to by Domoticz) don't land on the root
file system. Anyone with a writeable file system who *wants* the data/
directory to be persistent, can change that. Just as they can change
the userdata config option to point to a real file system somewhere.

Also drop the renaming of the OpenZWave Config/ directory. It's purely
cosmetric so there's no need for us to carry that change. It can go
upstream first, if it really offends anyone.

Drop the patches which are now merged upstream, and turn off the newly
added USE_OPENSSL_STATIC. Add -noupdates to the command line.

Finally, gzip the static www files to save space. In the common case,
clients will use "Accept-Encodiong: gzip" and Domoticz will serve them
as-is. It can also decompress on the fly if it really has to, but now we
aren't asking it to *compress* on the fly, which is probably a losing
proposition on an OpenWRT box.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:24 +01:00
David Woodhouse
acb6cf153c domoticz: build with -flto
This makes quite a significant difference to the executable size:

   text    data     bss     dec     hex filename
7921421   87804   31692 8040917  7ab1d5 domoticz
5862321	  86180	  31212	5979713	 5b3e41	domoticz-lto

As an added bonus, it still seems to work.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:23 +01:00
David Woodhouse
a4a5fcc245 domoticz: support -ssldhparam config/command line option
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:23 +01:00
David Woodhouse
94aad53b39 domoticz: use 'ln -sf' in serial hotplug script
Otherwise, stale symlinks don't get replaced

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2018-06-04 11:11:22 +01:00
Dirk Brenken
20b6c31544 mc: update 4.8.21
* News see here: http://midnight-commander.org/wiki/NEWS-4.8.21

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-04 10:53:26 +02:00
Hannu Nyman
3c907df25c
Merge pull request #5396 from diizzyy/utils-fio
fio: Add to repo
2018-06-03 10:03:20 +03:00
Jianhui Zhao
4cbb348191 rtty: Update to 4.1.2
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2018-05-23 20:42:02 +08:00
Rosen Penev
7360f918c8 btrfs-progs: Update to 4.16.1
Some programs were removed upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-20 11:05:30 -07:00
Hannu Nyman
f1840c7749
Merge pull request #5682 from neheb/xz
xz: Update to 5.2.4 + misc
2018-05-17 00:22:45 +03:00
Hannu Nyman
d9e9b59159 nano: update to 2.9.7
nano 2.9.7 was released on 2018 May 15.

Release notes:

GNU nano 2.9.7 "Hvide Sande" adds the option '--afterends'
for making Ctrl+Right (the nextword function) stop at word
ends instead of beginnings, accepts multibyte letters for
the Yes/No/All answers, does emergency saves of changed
buffers in the unlikely event that nano crashes, adds the
until-now missing bindable function 'linenumbers', and
renames the toggles 'constupdate' to 'constantshow' and
'cuttoend' to 'cutfromcursor', for consistency with the
corresponding options -- adjust your nanorc files soon.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-05-16 18:45:28 +03:00
John Crispin
d52d6c821b
Merge pull request #6049 from jow-/flashrom-update
flashrom: update to v1.0
2018-05-15 15:11:54 +02:00
Jo-Philipp Wich
cb6e98ba44 flashrom: update to v1.0
Update to flashrom version 1.0 and cherry-pick an upstream fix for deprecated
libusb api usage.

Fixes the following error spotted by the buildbots:

    ch341a_spi.c: In function 'ch341a_spi_init':
    ch341a_spi.c:447:2: error: 'libusb_set_debug' is deprecated: [...]
      libusb_set_debug(NULL, 3); // Enable information, warning and [...]
      ^~~~~~~~~~~~~~~~
    In file included from ch341a_spi.c:25:0:
    .../libusb-1.0/libusb.h:1300:18: note: declared here
     void LIBUSB_CALL libusb_set_debug(libusb_context *ctx, int level);
                      ^~~~~~~~~~~~~~~~
    cc1: all warnings being treated as errors
    Makefile:1030: recipe for target 'ch341a_spi.o' failed

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-15 07:39:20 +02:00
Daniel Engberg
dc022850de fio: Add to repo
Add fio to repo

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-05-14 22:17:55 +02:00
Sebastian Kemper
7053b12912 mariadb: add source mirrors
As suggested by Daniel Engberg, add some mirror servers to offload from
MariaDB's main download server.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-13 11:14:46 +02:00
Sebastian Kemper
13321a5697 mariadb: bump to 10.1.33
Maintenance release. Fixes the following security vulnerabilities:

CVE-2018-2782
CVE-2018-2784
CVE-2018-2787
CVE-2018-2766
CVE-2018-2755
CVE-2018-2819
CVE-2018-2817
CVE-2018-2761
CVE-2018-2781
CVE-2018-2771
CVE-2018-2813

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-13 08:46:19 +02:00
Sebastian Kemper
3bdaa522df mariadb: fix /etc/mysql setup
- create directory /etc/mysql/conf.d as without it the server refuses to
  start
- correct the path to my.cnf in the init script

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-13 08:42:44 +02:00
Sebastian Kemper
f1b49babad mariadb: Makefile cleanups
- fix a typo
- remove unnecessary trailing slashes

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-13 08:40:39 +02:00
BERENYI, Balazs
2d7e189377 domoticz: backport Boost 1.66 compat fix
Fix build by updating boost usage. Added backported patch from upstream
commit 388c7b51716cdb6221ec292cc2456ceca6ee9b02.

Signed-off-by: BERENYI, Balazs <beba@wee.hu>
[update commit message]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2018-05-11 10:42:02 +03:00
Yousong Zhou
0cb460a2a7 bash: style and doc fix
The patch is about job control in general instead of the builtin jobs
command

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:15:55 +08:00
Yousong Zhou
d859554090 bash: fix postinst script
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 20:14:50 +08:00
Yousong Zhou
da1912f868 treewide: use mirror tag @KERNEL where applicable
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 17:05:53 +08:00
Daniel Engberg
3f414a0a67 utils/bash: Update to 4.4.18
- Update bash to 4.4.18
 - Enable PKG_CHECK_FORMAT_SECURITY
 - Use shared libreadline
 - Enable job control

Fixes #5796, Closes #5858

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-09 15:47:07 +08:00
Rosen Penev
54a35e465f xz: Update to 5.2.4 + misc
The second source is just a redirect to SourceForge. Removed.
Also change URL to HTTPS as the website now supports it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-05-08 13:38:51 -07:00
Hannu Nyman
a4898b3ab2
Merge pull request #6021 from t-umeno/update_klish-2.1.4
klish: update to latest version (2.1.4)
2018-05-08 18:57:03 +03:00
Takashi Umeno
e6993ad50f klish: CONFIGURE_ARGS += --with-libxml2
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2018-05-08 22:00:58 +09:00
Reiner Herrmann
b5ff192c81 inotify-tools: update to 3.20.1
Signed-off-by: Reiner Herrmann <reiner@reiner-h.de>
2018-05-07 20:18:59 +02:00
Takashi Umeno
375c001935 klish: update to latest version (2.1.4)
Signed-off-by: Takashi Umeno <umeno.takashi@gmail.com>
2018-05-07 23:49:42 +09:00
champtar
cb5ad3ed50
Merge pull request #6007 from aparcar/export-openwrt
prometheus-node-exporter-lua: add openwrt exporter
2018-05-07 07:23:24 -07:00
Hannu Nyman
f73f39eed1
Merge pull request #5988 from diizzyy/patch-9
bluez: Update to 5.49
2018-05-06 23:34:22 +03:00
Sebastian Kemper
c64552d2ba mariadb: create symlinks in a portable way
Hannu mentioned that --recursive could not be available always. That is
correct. While GNU coreutils' ln supports this, BSD's ln for example does
not.

This commit addresses that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-06 17:48:32 +02:00
Sebastian Kemper
1af459bd52 mariadb: install staging libs to lib/mysql as well
Historically programs added /usr/lib/mysql to the library search path when
linking. mariadb does not do so anymore, although even its mysql_config
script suggests to use this path. When an old version of the library still
resides in this directory (like from an old mysql installation) it will be
linked against instead of the current library which is in /usr/lib.

To prevent this simply install symlinks from the staging libs in /usr/lib
into /usr/lib/mysql. This fixes build failures on the build bots which are
seen with libzdb and libdbi-drivers.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-05-06 14:53:18 +02:00
Hannu Nyman
fae3c949f1
Merge pull request #5672 from tsl0922/ttyd-1.4.0
ttyd: update to 1.4.0
2018-05-06 10:16:56 +03:00
Paul Spooren
053487cca7 prometheus-node-exporter-lua: add openwrt exporter
adds openwrt specific information about the device.
include DISTRIB_{ID, RELEASE, REVISION}, board_name and model

Example output:

    # TYPE node_openwrt_info gauge
    node_openwrt_info{revision="55a0636",model="QEMU Standard PC (i440FX + PIIX, 1996)",id="LiMe",board_name="qemu-standard-pc-i440fx-piix-1996",release="snapshot"} 1
    node_scrape_collector_duration_seconds{collector="openwrt"} 3.814697265625e-05
    node_scrape_collector_success{collector="openwrt"} 1

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-05-05 21:15:48 +09:00
Hannu Nyman
d8a2bf544d
Merge pull request #5982 from micmac1/gammu-fix-mysql-dep
gammu: fix mysql depend
2018-05-05 13:27:37 +03:00
Daniel Engberg
a9943200f5 bluez: Update to 5.49
Update bluez to 5.49
Fix issue https://github.com/openwrt/packages/issues/1497
Fix issue https://github.com/openwrt/packages/issues/1503
Cherry pick patches from Alpine Linux repo
Apply --gc-sections, saves about 500kbyte
Drop audio.conf (not needed and deprecated)
Remove bluetooth.dbus as upstream supplies a working copy

Based on patch provided by Johnny Vogels
https://github.com/openwrt/packages/pull/5937

Source:
https://git.alpinelinux.org/cgit/aports/commit/main/bluez/fix-endianness.patch?id=1c6991b32a22be2c905cc1709be1376c4e79e451
https://git.alpinelinux.org/cgit/aports/commit/main/bluez/bluez-5.40-obexd_without_systemd-1.patch?id=980b2d04ae4339594701b33cf9460757c989c94c

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2018-05-05 01:58:08 +02:00
Vladimir Ulrich
2b7a3965c3 zoneinfo: Updated to the latest release.
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2018-05-04 15:52:28 +03:00
Sebastian Muszynski
859d441761 sane-backends: Make sane-backends.pc available
Signed-off-by: Sebastian Muszynski <basti@linkt.de>
2018-05-01 16:56:35 +02:00
Philip Prindeville
684ae7f096 acpica-unix: update to 20180427
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2018-04-30 08:54:49 -06:00
Shuanglei Tao
afd36529e7 ttyd: update to 1.4.0
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2018-04-30 20:06:11 +08:00
champtar
5800538882
Merge pull request #5894 from aparcar/prom-export
prometheus-node-exporter-lua: textfile collector
2018-04-29 12:16:03 -07:00
Hannu Nyman
6a8a087927 nano: update to 2.9.6
Nano 2.9.6 release notes:

GNU nano 2.9.6 "Gomance" fixes a crash in word completion,
makes --enable-altrcname work again, improves the fluidity
of scrolling when using the touchpad, tweaks the syntaxes
for shell scripts and PO files, makes a replacing session
go always forward by default, no longer inserts a newline
after an external spell check of a selected region, always
accepts the English Y and N (and A) at a yes-no prompt in
any locale, and solves a few hypothetical bugs.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-29 21:34:36 +03:00
Sebastian Kemper
8290a74c84 gammu: fix mysql depend
mysql was replaced by mariadb. The lazy dependency
"+PACKAGE_libmysqlclient:libmysqlclient" does not work anymore as
"PACKAGE_libmysqlclient" no longer exists. This results in:

Package gammu is missing dependencies for the following libraries:
libmysqlclient.so.18

This commit addresses that.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-29 18:57:12 +02:00
Paul Spooren
509f208ee7 prometheus-node-exporter-lua: export static files
Print all files from /var/prometheus/*.prom. This behaviour allow users
to add metrics with non-lua scripts.

Signed-off-by: Paul Spooren <spooren@informatik.uni-leipzig.de>
2018-04-30 01:17:20 +09:00
Hannu Nyman
55f946f41e
Merge pull request #5977 from micmac1/collectd-enable-mysql-plugin
collectd: enable mysql plugin
2018-04-29 14:31:20 +03:00
Sebastian Kemper
511868f004 collectd: enable mysql plugin
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-29 10:25:11 +02:00
Sebastian Kemper
5033e5bb70 mariadb: fix sporadic build failure
Observed once in about two dozen builds on the bots:

make[6]: *** No rule to make target '/build/lede-snapshots/arm_cortex-a7_neon-vfpv4/build/sdk/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib/libevent.so', needed by 'tests/async_queries'.  Stop.

Address this by adding libevent2 to PKG_BUILD_DEPENDS.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-04-29 09:41:35 +02:00
Jo-Philipp Wich
19ba0551a8
Merge pull request #5851 from micmac1/mariadb
mysql: switch from MySQL to Mariadb
2018-04-28 14:46:29 +02:00