feed/packages.git
6 years agopostgresql: security bump to 9.6.10 6759/head
Sebastian Kemper [Wed, 15 Aug 2018 15:00:18 +0000 (17:00 +0200)]
postgresql: security bump to 9.6.10

This update includes fixes for the following CVEs:

- CVE-2018-1115
- CVE-2018-10925
- CVE-2018-10915

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoperl: version modules and non-base packages
Philip Prindeville [Tue, 7 Aug 2018 22:00:19 +0000 (16:00 -0600)]
perl: version modules and non-base packages

Currently external modules and non-base packages are numbered
from their own internal number space, and even though the Perl
ABI number is embedded into them this isn't externally visible.

For example, perl-html-parser-3.72.1 could be built for ABI
5.26 or for 5.28, we can't easily tell.  This changes all of
that by embedding the ABI number into the filename.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit 0d9584724ff1c011f587540c2d25be8a90a81413)

6 years agoMerge pull request #6736 from micmac1/maria-1806-10.1.35-cve
Dirk Brenken [Sun, 12 Aug 2018 06:53:49 +0000 (08:53 +0200)]
Merge pull request #6736 from micmac1/maria-1806-10.1.35-cve

mariadb[18.06]: security bump to 10.1.35

6 years agomariadb: security bump to 10.1.35 6736/head
Sebastian Kemper [Sat, 11 Aug 2018 20:59:22 +0000 (22:59 +0200)]
mariadb: security bump to 10.1.35

Bump minor version. Bugfix release. 100% backward compatible.

Includes fixes for:

CVE-2018-3064
CVE-2018-3063
CVE-2018-3058
CVE-2018-3066

Also includes CPPFLAGS fix from master (to get fortify-source headers
etc.).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agotravelmate: update 1.2.2
Dirk Brenken [Fri, 10 Aug 2018 13:46:53 +0000 (15:46 +0200)]
travelmate: update 1.2.2

* fix restart behaviour after successful connection
* fix labeling of faulty stations
* optimize re-connect behaviour at locations where multiple uplinks with
the same SSID are in range
* use procd pidfile handling
* refine logging
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit bc78ad82007947ead7361cfe00d989737f76a002)

6 years agousbip: remove nonshared flag (#6681)
Jo-Philipp Wich [Sun, 5 Aug 2018 08:49:33 +0000 (10:49 +0200)]
usbip: remove nonshared flag (#6681)

Since https://git.openwrt.org/d0e0b7049f88774e67c3d5ad6b573f7070e5f900,
OpenWrt SDKs ship the appropriate sources for building usbip userspace
packages, so special nonshared handling is not required anymore.

Sucessfully tested by compiling usbip utilities for various architectures
using self built SDKs after applying the change linked above.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit eded6ed7cfb15ad31c0a6b0623ef992d61895fd9)

6 years agoperl: update to 5.28
Philip Prindeville [Sun, 1 Jul 2018 17:34:19 +0000 (11:34 -0600)]
perl: update to 5.28

Refresh patches 900 and 910.

Add fix (920) for improperly gated variable.

Add workaround (020) for Storable's run-time check for stacksize.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit b94744496ffc56df20088fe3be862f9b9ee47f0e)

6 years agotravis: don't need git cloning progress
Philip Prindeville [Mon, 2 Jul 2018 00:57:09 +0000 (18:57 -0600)]
travis: don't need git cloning progress

Since Travis runs as a batch job and logs are typically looked at
after-the-fact (if at all), there's not any point to seeing progress
when cloning git repos.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit fc3beffeff252bb1d1efd43ff8a63687d16ac0b2)

6 years agoisc-dhcp: write resolv.conf per network & dhcp settings
Philip Prindeville [Sun, 10 Jun 2018 21:36:22 +0000 (15:36 -0600)]
isc-dhcp: write resolv.conf per network & dhcp settings

The internal nameservers and the DHCP default domain should be
squirted into /tmp/resolv.conf.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
(cherry picked from commit db6adb616de20b8942069c1935276baf6557ac04)

6 years agoperl: build with -fno-strict-liasing and -fwrapv
Philip Prindeville [Wed, 1 Aug 2018 00:28:41 +0000 (18:28 -0600)]
perl: build with -fno-strict-liasing and -fwrapv

Looking at Configure and Porting/config.sh, it seems that Perl
requires both of these options to build correctly.

Should fix FS #1464.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
6 years agonut: Fix for nut-upsmon without nut-server
Daniel F. Dickinson [Thu, 2 Aug 2018 09:10:18 +0000 (05:10 -0400)]
nut: Fix for nut-upsmon without nut-server

nut-monitor failed to create required dir /var/etc/nut, as
well as failing to set appropriate user on the directory and
conf files.  Fixing this closes
https://github.com/openwrt/packages/issues/6644

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
(cherry picked from commit 98fdf16ecb9c8e24fd7c534cd0696105d472ccbb)

6 years agonut: Update my email
Daniel F. Dickinson [Thu, 5 Jul 2018 03:51:28 +0000 (23:51 -0400)]
nut: Update my email

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
(cherry picked from commit b4fe49d2b246ef49b0cb3812a5e9da49f308ea30)

6 years agonut: Add PKG_FIXUP:=autoreconf
Eneas U de Queiroz [Wed, 13 Jun 2018 19:33:47 +0000 (16:33 -0300)]
nut: Add PKG_FIXUP:=autoreconf

We need to force this since a *.m4 file is patched.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry picked from commit 6543859dab03b62abca73d2c7fcd8e6420965f77)

6 years agonut: added compatibility with openssl-1.1
Eneas U de Queiroz [Fri, 1 Jun 2018 15:04:32 +0000 (12:04 -0300)]
nut: added compatibility with openssl-1.1

Also added a fix in a check for empty string.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry picked from commit 1a9a7cc28024d94ae3aa983aa609a72f40c1ebc3)

6 years agoMerge pull request #6638 from chris5560/ddns-18.06
Hannu Nyman [Wed, 1 Aug 2018 16:06:46 +0000 (19:06 +0300)]
Merge pull request #6638 from chris5560/ddns-18.06

ddns-scripts[18.06]: bump to version 2.7.8-1

6 years agoddns-scripts[18.06]: bump to version 2.7.8-1 6638/head
Christian Schoenebeck [Wed, 1 Aug 2018 07:56:04 +0000 (09:56 +0200)]
ddns-scripts[18.06]: bump to version 2.7.8-1

- synchronize with "master" incl. add service FreeDNS.42.pl
- remove Cloudflare v1 protocol support #6084 #6519
- fix goip.de update url #6448 #6519
- change Cloudflare v4 to read "Proxied" from current setting at Cloudflare Dashboard #5097 #6364 #6505
- fix replace of password inside logfile #6568
- remove myself as PKG_MAINTAINER

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
6 years agoprivoxy: fix uci configuration parsing after upstream OpenWrt changes
Jo-Philipp Wich [Sat, 21 Jul 2018 19:16:03 +0000 (21:16 +0200)]
privoxy: fix uci configuration parsing after upstream OpenWrt changes

OpenWrt changed the way the uci shell parsing functions deal with list
configuration items.

This change broke the generation of the privoxy runtime configuration
because no callbacks were emitted anymore.

Fix the problem by defining a list_cb() that simply calls the existing
option_cb() to deal with list item values.

Ref: c9c0fc28a9 ("base-files: fix UCI config parsing and callback handling")
Ref: https://forum.lede-project.org/t/openwrt-snapshot-privoxy-error/15919
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 3113d62393fcd364a402aae55139eba4bf38fab8)

6 years agousbip: adapt package to new kernel/libudev
Eneas U de Queiroz [Wed, 23 May 2018 17:18:17 +0000 (14:18 -0300)]
usbip: adapt package to new kernel/libudev

The sources for usbip are within the kernel.  A patch that was included
with the package, which changed the old signal name SIGCLD to the new
one, SIGCHLD, was merged upstream.  However, different targets use
different kernel versions.  Current version 4.14 and 4.9 are fine, but
older versions do not have the patch applied.  So, I used
-DSIGCLD=SIGCHLD to please both worlds.

libudev-fbsd currently used by openwrt does not implement the
udev_device_get_devpath function.  eudev's implementation of libudev
sets it as (src/libudev/libudev-device.c):
udev_device->devpath = udev_device->syspath + strlen("/sys");
I used a command-line define to use the same logic, as it works with
new and old versions of the kernel--the use of ..devpath is quite
recent.

I also linked with libbsd, when using glibc.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry picked from commit 633fe0dbdf1d33d08589d9c299f7509a51b76b2b)

6 years agousbip: Remove obsolete patches
Eneas U de Queiroz [Wed, 16 May 2018 19:57:29 +0000 (16:57 -0300)]
usbip: Remove obsolete patches

These patches are obsolete and are never applied.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry picked from commit 0baaabb640c23149650fe5940b276069cea248a3)

6 years agoMerge pull request #6617 from dibdot/travelmate-18.06
Hannu Nyman [Mon, 30 Jul 2018 20:07:09 +0000 (23:07 +0300)]
Merge pull request #6617 from dibdot/travelmate-18.06

travelmate[18.06]: backport release 1.2.1 to 18.06 branch

6 years agoMerge pull request #6616 from dibdot/adblock-18.06
Hannu Nyman [Mon, 30 Jul 2018 20:06:58 +0000 (23:06 +0300)]
Merge pull request #6616 from dibdot/adblock-18.06

adblock[18.06]: backport release 3.5.4 to 18.06 branch

6 years agokrb5: update to 1.16.1
W. Michael Petullo [Fri, 6 Jul 2018 12:45:36 +0000 (08:45 -0400)]
krb5: update to 1.16.1

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit 8256b967432f5d58fba121617026f16c1d6de864)

6 years agokrb5: set replay cache directory to /tmp
W. Michael Petullo [Sat, 2 Jun 2018 19:54:24 +0000 (15:54 -0400)]
krb5: set replay cache directory to /tmp

Signed-off-by: W. Michael Petullo <mike@flyn.org>
(cherry picked from commit 536d55545627ede5cb332c5f6bcec0e2effeafc1)

6 years agokrb5: update depends, adapt FS#1310
Andy Walsh [Mon, 29 Jan 2018 16:57:25 +0000 (17:57 +0100)]
krb5: update depends, adapt FS#1310

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
(cherry picked from commit ebc41d575903febd2a3cb4928f7529288179a24b)

6 years agotravelmate[18.06]: backport release 1.2.1 to 18.06 branch 6617/head
Dirk Brenken [Mon, 30 Jul 2018 11:58:40 +0000 (13:58 +0200)]
travelmate[18.06]: backport release 1.2.1 to 18.06 branch

Tested with latest 18.06 branch (OpenWrt 18.06-SNAPSHOT,
r7175+5-ca0c649a38)

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agoadblock[18.06]: backport release 3.5.4 to 18.06 branch 6616/head
Dirk Brenken [Mon, 30 Jul 2018 11:51:06 +0000 (13:51 +0200)]
adblock[18.06]: backport release 3.5.4 to 18.06 branch

Tested with latest 18.06 branch (OpenWrt 18.06-SNAPSHOT,
r7175+5-ca0c649a38)

Signed-off-by: Dirk Brenken <dev@brenken.org>
6 years agolxc: nl: avoid NULL pointer dereference
Rafał Miłecki [Sun, 29 Jul 2018 19:08:05 +0000 (21:08 +0200)]
lxc: nl: avoid NULL pointer dereference

This backports upstream fix from the master branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 13d57a5e9f1996109416724ba145a33e07248fb6)
(cherry picked from commit 6e1104cc6da900bb5a014217fa79d964246f7a40)

6 years agoprometheus-node-exporter-lua: add conntrack collector
Etienne Champetier [Wed, 25 Jul 2018 18:43:44 +0000 (20:43 +0200)]
prometheus-node-exporter-lua: add conntrack collector

Also fix missing dependency of openwrt collector

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
6 years agoprometheus-node-exporter-lua: set myself as maintainer
Etienne Champetier [Wed, 25 Jul 2018 18:41:46 +0000 (20:41 +0200)]
prometheus-node-exporter-lua: set myself as maintainer

This was OKed sometimes ago by @simonswine
https://github.com/openwrt/packages/pull/5128

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
6 years agoMerge pull request #6572 from EricLuehrsen/unbound_1806_doc
Dirk Brenken [Wed, 25 Jul 2018 04:31:41 +0000 (06:31 +0200)]
Merge pull request #6572 from EricLuehrsen/unbound_1806_doc

[openwrt-18.06] unbound: fix TLS override documentation

6 years agounbound: fix TLS override documentation 6572/head
Eric Luehrsen [Wed, 25 Jul 2018 02:58:44 +0000 (22:58 -0400)]
unbound: fix TLS override documentation

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agoMerge pull request #6537 from mhei/openwrt-18.06-php7
Michael Heimpold [Sat, 21 Jul 2018 22:15:24 +0000 (00:15 +0200)]
Merge pull request #6537 from mhei/openwrt-18.06-php7

[openwrt-18.06] php7: update to latest version and include bugfixes

6 years agophp7: update to 7.2.8 6537/head
Michael Heimpold [Sat, 21 Jul 2018 21:27:58 +0000 (23:27 +0200)]
php7: update to 7.2.8

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 years agophp7: fix load order of mysqli extension
Michael Heimpold [Tue, 3 Jul 2018 20:58:42 +0000 (22:58 +0200)]
php7: fix load order of mysqli extension

This problem was reported by Teun Lubberhuizen, thanks!

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 years agophp7: update to 7.2.7
Michael Heimpold [Mon, 2 Jul 2018 20:42:26 +0000 (22:42 +0200)]
php7: update to 7.2.7

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 years agophp7: add package dependency on zoneinfo-core
Rafał Miłecki [Sun, 24 Jun 2018 08:19:38 +0000 (10:19 +0200)]
php7: add package dependency on zoneinfo-core

Having "select PACKAGE_zoneinfo-core" wasn't enough for builds without
php7-cli=y or php7-cgi=y. It didn't result in installing zoneinfo-core
when using "opkg install" (during runtime or when building images with
CONFIG_TARGET_PER_DEVICE_ROOTFS).

Missing zoneinfo results in PHP fatal errors, e.g.:
Fatal error: DateTime::createFromFormat(): Timezone database is corrupt - this should *never* happen!

For years users were told to manually install zoneinfo-core package.
This problem was hidden for some time (including 17.01 release) due to
disabled support for CONFIG_PHP7_SYSTEMTZDATA. It's now back as support
for --with-system-tzdata was enabled again.

The proper solution is to simply make php7 package depend on
zoneinfo-core when PHP7_SYSTEMTZDATA is used.

Fixes: 84e5012e8853 ("php7: re-enable system timezone data usage")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
6 years agophp7: use mysqlnd
Sebastian Kemper [Fri, 22 Jun 2018 19:28:14 +0000 (21:28 +0200)]
php7: use mysqlnd

This is in anticipation of the MariaDB upgrade from mariadb 10.1.x to
10.2.x. With the latter the PHP MySQL plugins fail to compile, e.g.:

In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:63:0,
                 from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:
/home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_global.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
 #warning This file should not be included by clients, include only <mysql.h>
  ^~~~~~~
In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:79:0,
                 from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:
/home/equeiroz/src/openwrt-asus/staging_dir/target-mipsel_74kc_musl/usr/include/mysql/my_sys.h:3:2: warning: #warning This file should not be included by clients, include only <mysql.h> [-Wcpp]
 #warning This file should not be included by clients, include only <mysql.h>
  ^~~~~~~
In file included from /home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/mysqli.c:34:0:
/home/equeiroz/src/openwrt-asus/build_dir/target-mipsel_74kc_musl/php-7.2.6/ext/mysqli/php_mysqli_structs.h:82:10: fatal error: my_list.h: No such file or directory
 #include <my_list.h>

Upstream seems unlikely to fix this, see
https://bugs.php.net/bug.php?id=75612. In the bug report it is suggested
to not use libmysqlclient/libmariadbclient and instead utilize mysqlnd
(MySQL Native Driver) provided by PHP. This is the default anyway.

So add the mysqlnd module and remove the libmariadbclient depends.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agophp7: update to 7.2.6
Michael Heimpold [Sun, 27 May 2018 15:04:08 +0000 (17:04 +0200)]
php7: update to 7.2.6

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 years agophp7: replace libmysqlclient dependencies with libmariadbclient
Michael Heimpold [Tue, 15 May 2018 20:09:17 +0000 (22:09 +0200)]
php7: replace libmysqlclient dependencies with libmariadbclient

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
6 years agoirqbalance: fix AARCH64 compilation
Hannu Nyman [Thu, 19 Jul 2018 18:37:30 +0000 (21:37 +0300)]
irqbalance: fix AARCH64 compilation

AARCH64 compilation fails due to upstream bug in 1.2.0
that has been later fixed. Backport the fix commit.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 0cb6e15f01fc0df8e0efee9ae65cb235dfd4879b)

6 years agosimple-adblock: better download processing, luci-app integration, lists optimization...
Stan Grishin [Tue, 17 Jul 2018 00:41:39 +0000 (17:41 -0700)]
simple-adblock: better download processing, luci-app integration, lists optimization, firewall integration

Signed-off-by: Stan Grishin <stangri@melmac.net>
(cherry picked from commit ac34bf910efb750ff1b76d4dd0d6c61633f4bef7)

6 years agoMerge pull request #6509 from jefferyto/slide-switch-0.9.2-openwrt-18.06
Hannu Nyman [Tue, 17 Jul 2018 18:49:25 +0000 (21:49 +0300)]
Merge pull request #6509 from jefferyto/slide-switch-0.9.2-openwrt-18.06

[openwrt-18.06] slide-switch: update to latest version

6 years agoslide-switch: update to latest version 6509/head
Jeffery To [Tue, 17 Jul 2018 18:04:27 +0000 (02:04 +0800)]
slide-switch: update to latest version

This also changes PKG_SOURCE to use .tar.xz, and changes the copyright
line. (I believe this is more accurate, as I haven't done a copyright
assignment.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agogcc: enable compilation with gcc 7.x
Eneas U de Queiroz [Mon, 16 Jul 2018 13:46:06 +0000 (16:46 +0300)]
gcc: enable compilation with gcc 7.x

Defining _GLIBCXX_INCLUDE_NEXT_C_HEADERS instructs gcc 7.x libstdc++ to
include the system's stdlib.h and math.h, and not their own.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
(cherry picked from commit 054d5273cb8b37520cec524f9e5ab23ba73e282e)

6 years agoMerge pull request #6444 from EricLuehrsen/unbound_1806_doc 6478/head
Dirk Brenken [Mon, 9 Jul 2018 05:49:33 +0000 (07:49 +0200)]
Merge pull request #6444 from EricLuehrsen/unbound_1806_doc

[openwrt-18.06] unbound: add README recipe for DNS/TLS outside of UCI

6 years agounbound: add README recipe for DNS/TLS outside of UCI 6444/head
Eric Luehrsen [Mon, 9 Jul 2018 05:03:45 +0000 (01:03 -0400)]
unbound: add README recipe for DNS/TLS outside of UCI

Unbound UCI in OpenWrt 18.06 has limited forward configuration lacking
DNS over TLS connection setup tools. User override files
'unbound_srv.conf' and 'unbound_ext.conf' can implement this.

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agoMerge pull request #6399 from EricLuehrsen/unbound_1806rc1
Hannu Nyman [Thu, 5 Jul 2018 06:58:10 +0000 (09:58 +0300)]
Merge pull request #6399 from EricLuehrsen/unbound_1806rc1

[openwrt-18.06] unbound: update README.md to be consistent OpenWrt Wiki

6 years agounbound: update README.md to be consistent with OpenWrt Wiki 6399/head
Eric Luehrsen [Wed, 4 Jul 2018 02:14:54 +0000 (22:14 -0400)]
unbound: update README.md to be consistent with OpenWrt Wiki

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agoMerge pull request #6384 from micmac1/1806-mariadb
Hannu Nyman [Tue, 3 Jul 2018 16:29:03 +0000 (19:29 +0300)]
Merge pull request #6384 from micmac1/1806-mariadb

[18.06] mariadb: bump to 10.1.34 + procd init

6 years agomariadb: convert init script to procd 6384/head
Sebastian Kemper [Sat, 30 Jun 2018 18:05:25 +0000 (20:05 +0200)]
mariadb: convert init script to procd

- also adds mariadb user to run the server as
- tweaks the default configuration a bit

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agomariadb: bump to 10.1.34
Sebastian Kemper [Sat, 30 Jun 2018 18:01:08 +0000 (20:01 +0200)]
mariadb: bump to 10.1.34

- bump version (100% backward compatible)
- add modules
- small misc improvements

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
6 years agoMerge pull request #6373 from jefferyto/golang-compile-arguments-openwrt-18.06
Hannu Nyman [Fri, 29 Jun 2018 15:11:13 +0000 (18:11 +0300)]
Merge pull request #6373 from jefferyto/golang-compile-arguments-openwrt-18.06

[openwrt-18.06] golang: Makefile improvements

6 years agortl-sdr: fix build when GCC decides not to emit inlines
David Woodhouse [Thu, 28 Jun 2018 15:23:24 +0000 (16:23 +0100)]
rtl-sdr: fix build when GCC decides not to emit inlines

Maybe we should use something other than -Os for this code anyway; it's
generally quite CPU-intensive.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agoMerge pull request #6380 from aparcar/prom-0161806
champtar [Fri, 29 Jun 2018 09:42:10 +0000 (11:42 +0200)]
Merge pull request #6380 from aparcar/prom-0161806

[openwrt-18.06] prometheus-node-exporter-lua: adapt 0.16 metrics

6 years agoprometheus-node-exporter-lua: adapt 0.16 metrics 6380/head
Paul Spooren [Tue, 26 Jun 2018 10:53:23 +0000 (19:53 +0900)]
prometheus-node-exporter-lua: adapt 0.16 metrics

Prometheus introduced some new conventions on how to name metrics.
Read here https://prometheus.io/docs/practices/naming/

This PR breaks compatibility with past versions, just like the officials
node exporter! 💥

Signed-off-by: Paul Spooren <mail@aparcar.org>
6 years agogolang: Download bootstrap source directly, use golang-specific mirrors 6373/head
Jeffery To [Fri, 29 Jun 2018 06:57:50 +0000 (14:57 +0800)]
golang: Download bootstrap source directly, use golang-specific mirrors

These changes are a result of this conversation:
https://github.com/openwrt/packages/commit/19292650241de44b4f12fb02f0e11127f069d2b4#r29531922

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agogolang: Allow additional arguments when compiling Go packages
Jeffery To [Tue, 26 Jun 2018 19:05:11 +0000 (03:05 +0800)]
golang: Allow additional arguments when compiling Go packages

This updates GoPackage/Build/Compile in golang-package.mk to accept
additional arguments that are passed to the go command line.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agostrongswan: bump to 5.6.3
Stijn Tintel [Mon, 28 May 2018 20:38:53 +0000 (23:38 +0300)]
strongswan: bump to 5.6.3

Fixes the following CVEs:
- CVE-2018-5388
- CVE-2018-10811

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 7bb68c74e26d4d868bef354739ee246451fe010e)

6 years agoMerge pull request #6351 from EricLuehrsen/unbound_20180625_1806
Hannu Nyman [Wed, 27 Jun 2018 04:17:07 +0000 (07:17 +0300)]
Merge pull request #6351 from EricLuehrsen/unbound_20180625_1806

[openwrt-18.06] unbound: limit outside script source to init funciton scope

6 years agogolang: update to 1.10.3, add mirrors
Jeffery To [Fri, 22 Jun 2018 23:06:54 +0000 (07:06 +0800)]
golang: update to 1.10.3, add mirrors

This also changes the bootstrap source URL to the official GitHub
mirror, to make building easier for places where Google sites aren't
accessible. Fixes #6326.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agoMerge pull request #6363 from dwmw2/domoticz-18.06
Stijn Tintel [Tue, 26 Jun 2018 22:15:29 +0000 (00:15 +0200)]
Merge pull request #6363 from dwmw2/domoticz-18.06

Domoticz update for 18.06

6 years agoMerge pull request #6349 from jefferyto/python-package-updates-openwrt-18.06
Hannu Nyman [Tue, 26 Jun 2018 18:54:05 +0000 (21:54 +0300)]
Merge pull request #6349 from jefferyto/python-package-updates-openwrt-18.06

[openwrt-18.06] Python package updates

6 years agounbound: limit outside script source to init funciton scope 6351/head
Eric Luehrsen [Tue, 26 Jun 2018 00:40:21 +0000 (20:40 -0400)]
unbound: limit outside script source to init funciton scope

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
6 years agotwisted: update to 18.4.0, refresh patches 6349/head
Jeffery To [Sun, 24 Jun 2018 20:00:16 +0000 (04:00 +0800)]
twisted: update to 18.4.0, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-zope-interface: update to 4.5.0
Jeffery To [Sun, 24 Jun 2018 18:33:11 +0000 (02:33 +0800)]
python-zope-interface: update to 4.5.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-pyasn1: update to 0.4.3
Jeffery To [Sun, 24 Jun 2018 18:32:26 +0000 (02:32 +0800)]
python-pyasn1: update to 0.4.3

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-ply: update to 3.11
Jeffery To [Sun, 24 Jun 2018 18:31:52 +0000 (02:31 +0800)]
python-ply: update to 3.11

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-ipaddress: update to 1.0.22
Jeffery To [Sun, 24 Jun 2018 18:31:02 +0000 (02:31 +0800)]
python-ipaddress: update to 1.0.22

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-hyperlink: update to 18.0.0
Jeffery To [Sun, 24 Jun 2018 18:30:39 +0000 (02:30 +0800)]
python-hyperlink: update to 18.0.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-automat: update to 0.7.0, refresh patches
Jeffery To [Sun, 24 Jun 2018 18:30:08 +0000 (02:30 +0800)]
python-automat: update to 0.7.0, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agopython-attrs: update to 18.1.0
Jeffery To [Sun, 24 Jun 2018 18:29:34 +0000 (02:29 +0800)]
python-attrs: update to 18.1.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
6 years agodomoticz: update to 4.9700 stable release, enable Python, fix compression 6363/head
David Woodhouse [Fri, 15 Jun 2018 15:50:03 +0000 (16:50 +0100)]
domoticz: update to 4.9700 stable release, enable Python, fix compression

The files in ozwcp/ shouldn't be compressed as there's no gzip handling
for those.

Also enable Python support — since it can dynamically link with
libpython optionally, it's harmless to enable it. Those who want Python
plugins can use it. I still want lua-based hardware plugins though.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agodomoticz: fix Onkyo custom command handling from dzVents
David Woodhouse [Sun, 13 May 2018 14:54:05 +0000 (15:54 +0100)]
domoticz: fix Onkyo custom command handling from dzVents

https://github.com/domoticz/domoticz/pull/2386

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agodomoticz: update to 3.9571 and clean up FHS handling
David Woodhouse [Sun, 13 May 2018 14:52:50 +0000 (15:52 +0100)]
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>
6 years agodomoticz: build with -flto
David Woodhouse [Tue, 22 May 2018 12:41:34 +0000 (13:41 +0100)]
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>
6 years agodomoticz: support -ssldhparam config/command line option
David Woodhouse [Tue, 22 May 2018 15:50:27 +0000 (16:50 +0100)]
domoticz: support -ssldhparam config/command line option

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agodomoticz: use 'ln -sf' in serial hotplug script
David Woodhouse [Sun, 13 May 2018 14:50:34 +0000 (15:50 +0100)]
domoticz: use 'ln -sf' in serial hotplug script

Otherwise, stale symlinks don't get replaced

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
6 years agoMerge pull request #6338 from EricLuehrsen/unbound_173_1806
Hannu Nyman [Sun, 24 Jun 2018 18:41:40 +0000 (21:41 +0300)]
Merge pull request #6338 from EricLuehrsen/unbound_173_1806

[openwrt-18.06] unbound: update to 1.7.3

6 years agounbound: update to 1.7.3 6338/head
Eric Luehrsen [Fri, 22 Jun 2018 03:54:40 +0000 (23:54 -0400)]
unbound: update to 1.7.3

Signed-off-by: Eric Luehrsen <ericluehrsen@hotmail.com>
6 years agoola: enable and ship web stuff
Daniel Golle [Thu, 21 Jun 2018 09:55:02 +0000 (11:55 +0200)]
ola: enable and ship web stuff

Make OLA more useful for untrained users which depend on the built-in
webserver. We may split the ola package into smaller parts to allow
not having web-stuff in case this breaks the space-constraints for some
users.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
6 years agoola: implement Host/Install for ola_protoc_plugin
Daniel Golle [Thu, 21 Jun 2018 09:55:02 +0000 (11:55 +0200)]
ola: implement Host/Install for ola_protoc_plugin

Should fix build with SDK on buildbots.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
6 years agoola: update to 0.10.6, fix build with recent protobuf
Daniel Golle [Wed, 20 Jun 2018 19:59:01 +0000 (21:59 +0200)]
ola: update to 0.10.6, fix build with recent protobuf

Recent protobuf requires C++11 while OLA was forcing C++98 in order
to keep using auto_ptr without getting warnings... Use gnu++11 to make
everyone happy and live with the warnings about auto_ptr being
deprecated.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
6 years agoMerge pull request #6327 from aparcar/fancy_backport
champtar [Thu, 21 Jun 2018 12:29:54 +0000 (14:29 +0200)]
Merge pull request #6327 from aparcar/fancy_backport

prometheus-node-exporter-lua: handle fancy release backport to 18.06

6 years agoprometheus-node-exporter-lua: handle fancy release 6327/head
Paul Spooren [Sun, 17 Jun 2018 08:01:57 +0000 (17:01 +0900)]
prometheus-node-exporter-lua: handle fancy release

Some releases may have non letters in it's name currently resulting in
an empty ("") output which is then discarded, resulting in *missing*
labels in the metric.

Now it uses `.-` to catch as little as possible, but anything.

Signed-off-by: Paul Spooren <mail@aparcar.org>
6 years agoMerge pull request #6314 from aparcar/golang-18.06
Jo-Philipp Wich [Wed, 20 Jun 2018 13:34:10 +0000 (15:34 +0200)]
Merge pull request #6314 from aparcar/golang-18.06

golang: add package to 18.06

6 years agogptfdisk: add a new package
Alif M. Ahmad [Wed, 14 Feb 2018 15:06:21 +0000 (15:06 +0000)]
gptfdisk: add a new package

gptfdisk is a gpt-aware disk partitioning tool. It can be used to
convert mbr partitioned disk to gpt and vice versa.

It supports reading GPT, MBR, and BSD disklabels.

Signed-off-by: Alif M. Ahmad <alive4ever@live.com>
(cherry picked from commit eac2e12a6b14ddc1493cc969fc9283630ece6ab1)

6 years agogolang: new packages 6314/head
Jeffery To [Sat, 17 Mar 2018 16:32:35 +0000 (00:32 +0800)]
golang: new packages

From golang.org:
The Go programming language is an open source project to make
programmers more productive.

This commit consists of two "parts":

* golang/host: Main Go compiler for host (installed to
  STAGING_DIR_HOST/lib/go-cross), used to cross-compile Go programs to
  be packaged.

* golang (and golang-src/golang-doc): Main Go compiler for on-target
  development. These packages are quite large, but I would expect only
  developers to install these.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Paul Spooren <mail@aparcar.org>
6 years agotinc: version bump 1.0.34
Saverio Proto [Fri, 15 Jun 2018 15:01:47 +0000 (17:01 +0200)]
tinc: version bump 1.0.34

Signed-off-by: Saverio Proto <zioproto@gmail.com>
6 years agoMerge pull request #6281 from wvdakker/openwrt-18.06
Hannu Nyman [Tue, 12 Jun 2018 13:29:48 +0000 (16:29 +0300)]
Merge pull request #6281 from wvdakker/openwrt-18.06

Shorewall: Bump to 5.2.0.4 (cherry-pick from master)

6 years agoShorewall6: Bump to version 5.2.0.4 6281/head
W. van den Akker [Wed, 23 May 2018 06:18:35 +0000 (08:18 +0200)]
Shorewall6: Bump to version 5.2.0.4

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall: Bump to version 5.2.0.4
W. van den Akker [Wed, 23 May 2018 06:17:32 +0000 (08:17 +0200)]
Shorewall: Bump to version 5.2.0.4

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall6-lite: Bump to version 5.2.0.4
W. van den Akker [Wed, 23 May 2018 06:16:24 +0000 (08:16 +0200)]
Shorewall6-lite: Bump to version 5.2.0.4

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall-lite: Bump to version 5.2.0.4
W. van den Akker [Wed, 23 May 2018 06:15:18 +0000 (08:15 +0200)]
Shorewall-lite: Bump to version 5.2.0.4

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall-core: Bump to version 5.2.0.4
W. van den Akker [Wed, 23 May 2018 06:13:49 +0000 (08:13 +0200)]
Shorewall-core: Bump to version 5.2.0.4

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall6: Bump to 5.2.0.3
W. van den Akker [Sat, 19 May 2018 09:10:04 +0000 (11:10 +0200)]
Shorewall6: Bump to 5.2.0.3

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall: Bump to 5.2.0.3
W. van den Akker [Sat, 19 May 2018 08:56:52 +0000 (10:56 +0200)]
Shorewall: Bump to 5.2.0.3

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall6-lite: Bump to 5.2.0.3
W. van den Akker [Sat, 19 May 2018 08:55:48 +0000 (10:55 +0200)]
Shorewall6-lite: Bump to 5.2.0.3

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall-lite: Bump to 5.2.0.3
W. van den Akker [Sat, 19 May 2018 08:54:49 +0000 (10:54 +0200)]
Shorewall-lite: Bump to 5.2.0.3

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agoShorewall-core: Bump to 5.2.0.3
W. van den Akker [Sat, 19 May 2018 08:53:23 +0000 (10:53 +0200)]
Shorewall-core: Bump to 5.2.0.3

Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl>
6 years agolighttpd: backport fix for plain auth from 1.4.49 release
Rafał Miłecki [Sat, 9 Jun 2018 20:02:51 +0000 (22:02 +0200)]
lighttpd: backport fix for plain auth from 1.4.49 release

Update commit 3d59ce6f502b ("lighttpd: update to 1.4.48") resulted in
plain auth regression: it simply stopped working with:
(mod_auth.c.525) password doesn't match for (...)
appearing on every authentication try.

This regression was fixed in 1.4.49 release. Backport the fix instead of
updating to the 1.4.49 to avoid risking more/other regressions.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>