feed/packages.git
4 years agomosquitto: update to 1.6.11
Karl Palsson [Tue, 11 Aug 2020 16:29:54 +0000 (16:29 +0000)]
mosquitto: update to 1.6.11

Full release notes: https://mosquitto.org/blog/2020/08/version-1-6-11-released/

Variety of generally minor bugfixes, mostly in the broker.

Signed-off-by: Karl Palsson <karlp@etactica.com>
4 years agoMerge pull request #13092 from jefferyto/golang-1.13.15-openwrt-19.07
Rosen Penev [Tue, 11 Aug 2020 23:21:20 +0000 (16:21 -0700)]
Merge pull request #13092 from jefferyto/golang-1.13.15-openwrt-19.07

[openwrt-19.07] golang: Update to 1.13.15

4 years agogolang: Update to 1.13.15 13092/head
Jeffery To [Tue, 11 Aug 2020 20:42:02 +0000 (04:42 +0800)]
golang: Update to 1.13.15

This includes a fix for CVE-2020-16845 (encoding/binary: ReadUvarint and
ReadVarint can read an unlimited number of bytes from invalid inputs).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
4 years agonlbwmon: add hotplug script to reload after interface ifup
Hannu Nyman [Sun, 9 Aug 2020 16:43:59 +0000 (19:43 +0300)]
nlbwmon: add hotplug script to reload after interface ifup

Add a hotplug script to reload nlbwmon's config after interface
ifup actions.

That should improve the detection of the IPv6 LAN address
that can get enabled a bit later in the boot process.

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

4 years agonlbwmon: add conffiles
Hannu Nyman [Sun, 9 Aug 2020 16:42:37 +0000 (19:42 +0300)]
nlbwmon: add conffiles

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
Adapted from treewide commit 0ec746ccb6 for just nlbwmon.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
4 years agoMerge pull request #13054 from micmac1/apa2446-19.07
Rosen Penev [Sat, 8 Aug 2020 19:42:02 +0000 (12:42 -0700)]
Merge pull request #13054 from micmac1/apa2446-19.07

[19.07] apache: security bump to 2.4.46

4 years agoMerge pull request #13056 from odmdas/odmdas-freeradius3-Makefile-19.07
Rosen Penev [Sat, 8 Aug 2020 19:40:46 +0000 (12:40 -0700)]
Merge pull request #13056 from odmdas/odmdas-freeradius3-Makefile-19.07

[19.07] freeradius3: add missing conffiles to Makefile

4 years agofreeradius3: add missing conffiles to Makefile 13056/head
Alexey Dobrovolsky [Sat, 1 Aug 2020 20:31:59 +0000 (23:31 +0300)]
freeradius3: add missing conffiles to Makefile

Config files
/etc/freeradius3/policy.d/accounting
/etc/freeradius3/policy.d/filter
/etc/freeradius3/proxy.conf
/etc/freeradius3/sites-available/default
and link
/etc/freeradius3/sites-enabled/default
are in the freeradius3 package and are mentioned in the main config file
/etc/freeradius3/radiusd.conf
Thus, they must be explicitly specified in the Makefile.

File
/etc/freeradius3/sites/default
is not included in the package, is not created during installation,
is not mentioned in the main config file and should therefore be excluded
from the Makefile.

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
(cherry picked from commit f6974b8f3c547ff3afc8a50f835cc6d200b6d14d)

4 years agoapache: security bump to 2.4.46 13054/head
Sebastian Kemper [Sat, 8 Aug 2020 14:15:43 +0000 (16:15 +0200)]
apache: security bump to 2.4.46

From CHANGES_2.4:

SECURITY: CVE-2020-11984 (cve.mitre.org)
  mod_proxy_uwsgi: Malicious request may result in information disclosure
  or RCE of existing file on the server running under a malicious process
  environment. [Yann Ylavic]

SECURITY: CVE-2020-11993 (cve.mitre.org)
  mod_http2: when throttling connection requests, log statements
  where possibly made that result in concurrent, unsafe use of
  a memory pool. [Stefan Eissing]

SECURITY:
  mod_http2: a specially crafted value for the 'Cache-Digest' header
  request would result in a crash when the server actually tries
  to HTTP/2 PUSH a resource afterwards.
  [Stefan Eissing, Eric Covener, Christophe Jaillet]

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoapache/apr/apr-util: remove maintainer
Sebastian Kemper [Wed, 8 Jul 2020 16:28:32 +0000 (18:28 +0200)]
apache/apr/apr-util: remove maintainer

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoapache: revisit suEXEC setup
Sebastian Kemper [Sat, 16 May 2020 12:30:39 +0000 (14:30 +0200)]
apache: revisit suEXEC setup

When adding suEXEC to the apache package, Alpine's package [1] served as
a template. Not enough attention was paid to the details.

Alpine uses a different layout. So for OpenWrt to use /var/www as
DocumentRoot does not make sense. /var is also volatile on OpenWrt. This
commit removes the configure argument. The default is htdocsdir.

This also does away with uidmin/gidmin 99. The default is 100, which is
fine.

Finally, the suexec binary is moved from /usr/sbin to
/usr/lib/apache2/suexec_dir. Upstream recommends installing suexec with
"4750" (see [2]) and the group set to the user's group. While that would
be possible, it would cause a few headaches on OpenWrt. The group would
need to be changed first in a post-install script and a call to chmod
would need to be made afterward, to make the binary SUID again.

It's easier to hide the SUID binary away from others in a directory.
This way we don't need to use chmod in the post-install script.

[1] https://github.com/alpinelinux/aports/tree/master/main/apache2
[2] https://httpd.apache.org/docs/2.4/suexec.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoapache: create log directory o=
Sebastian Kemper [Sat, 16 May 2020 12:24:03 +0000 (14:24 +0200)]
apache: create log directory o=

Hides away the contents of the log directory from others.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
4 years agoMerge pull request #13046 from EricLuehrsen/unbound_20200806_1907
Rosen Penev [Sat, 8 Aug 2020 07:15:36 +0000 (00:15 -0700)]
Merge pull request #13046 from EricLuehrsen/unbound_20200806_1907

[19.07] unbound: retrofit master for scripts robustness

4 years agounbound: update to 1.11.0 13046/head
Eric Luehrsen [Thu, 30 Jul 2020 02:55:21 +0000 (22:55 -0400)]
unbound: update to 1.11.0

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
4 years agounbound: improve startup and dhcp script robustness
Eric Luehrsen [Sat, 4 Jul 2020 17:55:40 +0000 (13:55 -0400)]
unbound: improve startup and dhcp script robustness

- prevent rapid overlap in DHCP script updates
- check and allow localhost forwards with specific applications
- add option for rate limiting inbound queries
- change UCI list to table format with Unbound conf references

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
4 years agounbound: add dns assistants on local host
Eric Luehrsen [Wed, 24 Jun 2020 04:48:21 +0000 (00:48 -0400)]
unbound: add dns assistants on local host

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
4 years agotor-hs: add new package
Jan Pavlinec [Tue, 24 Mar 2020 14:35:08 +0000 (15:35 +0100)]
tor-hs: add new package

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry picked from commit 5906bfecd5ee265715debab3ef84143f3cb07a94)

4 years agolibzdb: fix headers path
Alexander Ryzhov [Wed, 18 Mar 2020 16:21:51 +0000 (19:21 +0300)]
libzdb: fix headers path

Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
(cherry picked from commit 6fa5a63675cead99e4998c54911eb9e006426188)

4 years agolibs: libzdb: bump to version 3.2.1
Alexandru Ardelean [Mon, 9 Mar 2020 08:37:03 +0000 (10:37 +0200)]
libs: libzdb: bump to version 3.2.1

Patches require a bit of rework:
- dropped 010-missing-header.patch
- add 010-do-not-run-test-progs.patch
- re-updated 020-filterh-use-host-built-version.patch
  - Makefile.in gets regenerated from PKG_FIXUP:=autoreconf
- added PKG_FIXUP:=autoreconf ; it's easier to patch automake stuff that
  big configure scripts

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit dcdceb526e72a7cc249b0d7133751ef67947b1ad)

4 years agolibzdb: update to 3.2
Rosen Penev [Sun, 26 Jan 2020 02:32:50 +0000 (18:32 -0800)]
libzdb: update to 3.2

Removed most patches. The last was upstreamed and the others can be worked
around using Makefile.

Removed inactive maintainer.

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Massive reorganization of Makefile for consistency between packages.

Removed --with-sql options. These are totally broken when cross compiling.
Leaving them out works just as well.

Added cpp patch as the test needs a header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 496ee7f91bcd00a64254a707f90fdd6252c2e690)

4 years agov4l-utils: bring back getsubopt patch
Rosen Penev [Sun, 26 Jul 2020 23:14:20 +0000 (16:14 -0700)]
v4l-utils: bring back getsubopt patch

During the update to 1.20.0, this patch was mistakenly removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8df4e29cff5e35b00c10c87a9cdfa4044e74edb3)

4 years agolibv4l: update to 1.20.0
Rosen Penev [Thu, 4 Jun 2020 04:31:37 +0000 (21:31 -0700)]
libv4l: update to 1.20.0

Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dd74a7cb87ec63baf45d002eecbe0d46d8b71c71)

4 years agolibv4l: update to 1.16.8
Rosen Penev [Thu, 9 Apr 2020 22:48:02 +0000 (15:48 -0700)]
libv4l: update to 1.16.8

Fixed license information.

Update argp dependency to be for non glibc.

Added PKG_BUILD_PARALLEL for faster compilation.

Added --as-needed linker flag for slightly smaller size.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0cd1a9b537cf6c774d8d348bc8d5baa97a65c8b4)

4 years agolibv4l: fix compilation under kernel 4.14
Rosen Penev [Mon, 6 Apr 2020 02:53:24 +0000 (19:53 -0700)]
libv4l: fix compilation under kernel 4.14

The last patch used a macro unavailable with older kernel headers.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 13278007f9bfe4078862a5ee8b6b479c823aefb9)

4 years agolibv4l: fix compilation with newer musl
Rosen Penev [Sun, 29 Mar 2020 00:33:15 +0000 (17:33 -0700)]
libv4l: fix compilation with newer musl

This is using the input_event struct directly, instead of using the proper
defines.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ffb7da67a3e5858733031dc1b7012fafeb06515c)

4 years agolibv4l: Update to 1.16.6. Fix missing includes patch
Ted Hess [Tue, 20 Aug 2019 19:03:30 +0000 (15:03 -0400)]
libv4l: Update to 1.16.6. Fix missing includes patch

Signed-off-by: Ted Hess <thess@kitschensync.net>
(cherry picked from commit 67b8da50c16e2ed01e9ae9a311e88b0fb172adc0)

4 years agolibv4l: Add missing INTL dependency
Rosen Penev [Thu, 4 Jul 2019 03:47:27 +0000 (20:47 -0700)]
libv4l: Add missing INTL dependency

Needed for FULL NLS. Not bumping PKG_RELEASE as this is no-op.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dcba53b40beb46560b5c8b0886359069991be295)

4 years agonet/pagekitec: Update to v0.91.200718
Karl Palsson [Tue, 4 Aug 2020 10:15:39 +0000 (10:15 +0000)]
net/pagekitec: Update to v0.91.200718

This fixes misleading errors in the status file, and increases buffer
sizes to match the python implementation.

Signed-off-by: Karl Palsson <karlp@etactica.com>
4 years agoMerge pull request #13022 from stangri/19.07-simple-adblock
Rosen Penev [Wed, 5 Aug 2020 01:42:36 +0000 (18:42 -0700)]
Merge pull request #13022 from stangri/19.07-simple-adblock

[19.07] simple-adblock: README and config update

4 years agosimple-adblock: README and config update 13022/head
Stan Grishin [Tue, 4 Aug 2020 22:50:49 +0000 (22:50 +0000)]
simple-adblock: README and config update

Signed-off-by: Stan Grishin <stangri@melmac.net>
4 years agoMerge pull request #13006 from ja-pa/tor-backport-conf
Rosen Penev [Mon, 3 Aug 2020 22:59:08 +0000 (15:59 -0700)]
Merge pull request #13006 from ja-pa/tor-backport-conf

[OpenWrt 19.07] tor: backport uci config

4 years agoMerge pull request #13005 from commodo/netatalk-fix-clang-19.07
Hannu Nyman [Mon, 3 Aug 2020 09:51:27 +0000 (12:51 +0300)]
Merge pull request #13005 from commodo/netatalk-fix-clang-19.07

[19.07] netatalk: fix compile error in mac os

4 years agotor: fix init scripts 13006/head
Rosen Penev [Sat, 15 Feb 2020 11:55:02 +0000 (03:55 -0800)]
tor: fix init scripts

pidfile should not be set. tor handles it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agotor: update init script
Jan Pavlinec [Tue, 31 Dec 2019 08:16:21 +0000 (09:16 +0100)]
tor: update init script

Changes:
-add uci config
-create pid file by procd
-add reload function

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
4 years agonetatalk: fix compile error in mac os 13005/head
Liangbin Lian [Sat, 1 Aug 2020 16:17:53 +0000 (00:17 +0800)]
netatalk: fix compile error in mac os

fix compile error in mac os when dtrace installed.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
4 years agogerbera: fix conffiles
Josef Schlehofer [Thu, 30 Jul 2020 06:43:48 +0000 (08:43 +0200)]
gerbera: fix conffiles

In OpenWrt master branch, there is just /etc/config/gerbera.
It was reported to me that if there is an update of gerbera in OpenWrt
19.07, it overwrites /etc/gerbera/config. So, I removed file extension.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
4 years agoyoutube-dl: update to version 2020.7.28
Josef Schlehofer [Tue, 28 Jul 2020 16:16:53 +0000 (18:16 +0200)]
youtube-dl: update to version 2020.7.28

Become the only maintainer of this package

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 7046a31ab945967f090ac135f33f2cf5e71dfb61)

4 years agoyoutube-dl: update to version 2020.6.16.1
Josef Schlehofer [Wed, 17 Jun 2020 11:35:48 +0000 (13:35 +0200)]
youtube-dl: update to version 2020.6.16.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit c8187f7f16e6fbbe396bfb25061f93a55a9bfa5b)

4 years agoyoutube-dl: update to version 2020.6.6
Josef Schlehofer [Fri, 5 Jun 2020 20:09:11 +0000 (22:09 +0200)]
youtube-dl: update to version 2020.6.6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit ec0b891b628c4afa3b4673d0c5c7918fd72a35f8)

4 years agoyoutube-dl: update to version 2020.5.29
Josef Schlehofer [Thu, 28 May 2020 22:59:16 +0000 (00:59 +0200)]
youtube-dl: update to version 2020.5.29

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 32333c5d92623222c2e3627964613f196de3f40a)

4 years agoyoutube-dl: update to version 2020.5.8
Josef Schlehofer [Fri, 8 May 2020 11:26:30 +0000 (13:26 +0200)]
youtube-dl: update to version 2020.5.8

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit b8d7ff754a51d293218d9263a8aa64a9d42614ce)

4 years agoMerge pull request #12950 from TDT-AG/pr/openwrt-19.07-mwan3
Florian Eckert [Tue, 28 Jul 2020 05:31:03 +0000 (07:31 +0200)]
Merge pull request #12950 from TDT-AG/pr/openwrt-19.07-mwan3

mwan3: backport version 2.8.12 to stable branch openwrt-19.07

4 years agomwan3: update version to 2.8.12 12950/head
Florian Eckert [Fri, 24 Jul 2020 06:09:05 +0000 (08:09 +0200)]
mwan3: update version to 2.8.12

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 85e91377cf2f1b74e469ad2a921fbcfc0846db9c)

4 years agomwan3: unify variable check
Florian Eckert [Mon, 27 Jul 2020 08:24:59 +0000 (10:24 +0200)]
mwan3: unify variable check

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 981d1eb83a3b0676c71559ac8b514c4f8ff56e1b)

4 years agomwan3: remove lock file entirely
Florian Eckert [Mon, 27 Jul 2020 07:02:40 +0000 (09:02 +0200)]
mwan3: remove lock file entirely

Removing the lock file ist not necessary

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit ab747fe0fb3b60c0bd42ea2c4fc045273eb46f6f)

4 years agomwan3: revert: also cleanup lock on mwan3 stop
Florian Eckert [Fri, 24 Jul 2020 06:02:49 +0000 (08:02 +0200)]
mwan3: revert: also cleanup lock on mwan3 stop

This reverts commit cde2a77ed3b3b0df9e693e121dccdc97ef163156.

Applying this change has shown that it is even quicker to provoke the
race condtition on simultan mwan3 commands execution.
By reversing the change we have the same behaviour as before.

But the race condition on mwan3 execute at the same time still exists.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit b5bd6d757b8ac9b3eb7fd1e19880924057cce7a7)

4 years agomwan3: fix race condition on mwan3 restart
Florian Eckert [Wed, 22 Jul 2020 07:19:55 +0000 (09:19 +0200)]
mwan3: fix race condition on mwan3 restart

This adjustment of the locks fixes the race condition when a mwan3
hotplug script and a mwan3 command are running at the same time.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2dac1bcdc969a940fa34396db89ae3f1f2a3073f)

4 years agogerbera: enable matroska and ffmpeg
Rosen Penev [Mon, 27 Jul 2020 20:00:28 +0000 (13:00 -0700)]
gerbera: enable matroska and ffmpeg

The latter requires BUILD_PATENTED, as in master.

Backported linking patches for libebml and libmatroska.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agolibmatroska: update to 1.6.0
Rosen Penev [Sat, 11 Jul 2020 22:23:00 +0000 (15:23 -0700)]
libmatroska: update to 1.6.0

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit a661c24bcabb9c0be620452a62e63825c6b85cff)

4 years agolibmatroska: add
Rosen Penev [Sun, 17 May 2020 04:06:45 +0000 (21:06 -0700)]
libmatroska: add

Needed for gerbera's matroska support.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d265c88ebed2050ffffd31ce1bb28fbcb4e797be)

4 years agolibebml: update to 1.4.0
Rosen Penev [Sat, 11 Jul 2020 22:21:39 +0000 (15:21 -0700)]
libebml: update to 1.4.0

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b6ed48dcbc2483148b3ad90d32ab160f304baf32)

4 years agolibebml: add
Rosen Penev [Sun, 17 May 2020 04:06:18 +0000 (21:06 -0700)]
libebml: add

Needed for libmatroska.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 116f11e54c852d98f256b1a8b5baaf7336c60748)

4 years agoMerge pull request #12934 from dibdot/mc-19.07
Dirk Brenken [Mon, 27 Jul 2020 17:55:10 +0000 (19:55 +0200)]
Merge pull request #12934 from dibdot/mc-19.07

mc [19.07]: update to 4.8.25

4 years agomwan3: update version to 2.8.11
Florian Eckert [Mon, 20 Jul 2020 06:15:50 +0000 (08:15 +0200)]
mwan3: update version to 2.8.11

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit f601e6cfa4a93954336b740dffdad2464a2b2b45)

4 years agomwan3: add online and uptime to detail output
Florian Eckert [Fri, 28 Jun 2019 11:55:29 +0000 (13:55 +0200)]
mwan3: add online and uptime to detail output

Add also online time value and uptime time value from netifd to the
detail output view.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit b0acbf057e05bbfb165fd83a181c0d1607da5558)

4 years agomwan3: add workaround for procd change
Florian Eckert [Fri, 17 Jul 2020 08:34:32 +0000 (10:34 +0200)]
mwan3: add workaround for procd change

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 058a2b6f3057d849cbe4f2c4fda258d32d6da2fd)

4 years agomwan3: also cleanup lock on mwan3 stop
Florian Eckert [Fri, 17 Jul 2020 08:35:11 +0000 (10:35 +0200)]
mwan3: also cleanup lock on mwan3 stop

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit cde2a77ed3b3b0df9e693e121dccdc97ef163156)

4 years agomwan3: fix rtmon routing table function generation
Florian Eckert [Thu, 16 Jul 2020 12:02:57 +0000 (14:02 +0200)]
mwan3: fix rtmon routing table function generation

If the uci option family is not set in the interface section, then there
is no default value set as in the `config_load / config_get` API.
The problem here is that if the family is not set, the default value ipv4
is normaly assumed. But the comparison fails here because the value is empty
and therefore the dedicated routing table for this interface is not compared
with the other routes from the main table and so not updated.

To fix this set the default value for this config option which is`false`
for enabled and `ipv4` for family.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit bcd13ba95cd5b96d04e490b576faab54404cbf69)

4 years agomwan3: fix IPv6 routing add handling
Florian Eckert [Thu, 16 Jul 2020 13:08:04 +0000 (15:08 +0200)]
mwan3: fix IPv6 routing add handling

This fixes routing handling. Introduced with the last version update.
The following message disappears on the shell
when mwan3 is called with 'mwna3 restart`.

`Error: Invalid gateway address.`

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fully unset variable and handle ipv4 as well]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 8e3e6f8dde654bdf2f1e1cf7bac6c0a2894a3fe8)

4 years agomwan3: fix idx calculation
Florian Eckert [Wed, 15 Jul 2020 09:46:25 +0000 (11:46 +0200)]
mwan3: fix idx calculation

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fix syntax error]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit a796b7a84e8bce84b01c5fb23e6e5953e643b57d)

4 years agomwan3: version bump
Aaron Goodman [Thu, 16 Jul 2020 03:19:13 +0000 (23:19 -0400)]
mwan3: version bump

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit ca8bc3d115e43d95f6d12fc9d5ce51b5001c8574)

4 years agomwan3: cleanup duplicate ipv4 and ipv6 logic
Aaron Goodman [Mon, 20 Jul 2020 03:19:50 +0000 (23:19 -0400)]
mwan3: cleanup duplicate ipv4 and ipv6 logic

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 30a46bdc9e409134c95c7e7760b438ef6f1dbdd0)

4 years agomwan3: don't send iptable setup failures to /dev/null
Aaron Goodman [Thu, 16 Jul 2020 06:09:11 +0000 (02:09 -0400)]
mwan3: don't send iptable setup failures to /dev/null

silencing failing rules makes debugging more difficult

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 702a104f9c516fdddd5e71207d1ad91eb70f9a41)

4 years agomwan3: add default rule for ipv6 in example config
Aaron Goodman [Thu, 16 Jul 2020 01:41:46 +0000 (21:41 -0400)]
mwan3: add default rule for ipv6 in example config

default rule only applied to ipv4 with dest_ip 0.0.0.0/0
and error was hidden when trying to apply it in ip6table

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 2a5e9be83eaac46ed18a1784c03e38ce5712fed3)

4 years agomwan3: don't try to use ipv6 if not installed
Aaron Goodman [Thu, 16 Jul 2020 01:40:16 +0000 (21:40 -0400)]
mwan3: don't try to use ipv6 if not installed

fix issue  #11826

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit a0d66d4eebefe6e89c582df2b4dc972ea7c5c7f5)

4 years agomwan3: be more efficient with sleep after killing trackers
Aaron Goodman [Thu, 4 Jun 2020 20:43:23 +0000 (16:43 -0400)]
mwan3: be more efficient with sleep after killing trackers

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit 84a53b7c792217ccb0a3d95e8fcf63d2843cdc43)

4 years agomwan3: don't add single ipv4 to connected list if already covered by a cidr
Aaron Goodman [Fri, 29 May 2020 23:47:38 +0000 (19:47 -0400)]
mwan3: don't add single ipv4 to connected list if already covered by a cidr

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
(cherry picked from commit da9a626f78791b953a58ccd30987983ff52c8afc)

4 years agomwan3: update version to 2.8.9
Florian Eckert [Tue, 14 Jul 2020 10:49:20 +0000 (12:49 +0200)]
mwan3: update version to 2.8.9

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 2594258c4b85e62c71cfbd267367c0dcfb34260b)

4 years agomwan3: cleanup function mwan3_create_iface_route
Florian Eckert [Tue, 14 Jul 2020 10:02:01 +0000 (12:02 +0200)]
mwan3: cleanup function mwan3_create_iface_route

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit d0c248a7dab92c81e348a31cf35c2e972f26ca39)

4 years agomwan3: fix shellcheck warning SC2086
Florian Eckert [Tue, 14 Jul 2020 08:46:24 +0000 (10:46 +0200)]
mwan3: fix shellcheck warning SC2086

Add double quote to prevent globbing and word splitting where there is
no regression.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit feae9e57423897e14dfb9f45f2defb97f480a731)

4 years agomwan3: fix shellcheck warning SC2166
Florian Eckert [Tue, 14 Jul 2020 09:47:15 +0000 (11:47 +0200)]
mwan3: fix shellcheck warning SC2166

Replace -o boolean check with ||.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit c0fdfaa17490f5e67bc24a326f10af1c7d0201cf)

4 years agomwan3: remove unused variable complained by shellcheck
Florian Eckert [Tue, 14 Jul 2020 07:42:17 +0000 (09:42 +0200)]
mwan3: remove unused variable complained by shellcheck

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 644d9a25df0f352ff93646b50d5305b9837f4371)

4 years agomwan3: fix shellcheck warning SC2039
Florian Eckert [Tue, 14 Jul 2020 07:24:28 +0000 (09:24 +0200)]
mwan3: fix shellcheck warning SC2039

Replace all `==` with `=`.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 0ed7524f810c5d994b7fd1d24be77f0469c8ccdc)

4 years agomwan3: move redirect error output to trash
Florian Eckert [Tue, 14 Jul 2020 08:59:44 +0000 (10:59 +0200)]
mwan3: move redirect error output to trash

This suppress the following output on `mwan3 restart`:
> Dump terminated

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit facf8ea299b185a82ae803d68e2b54a9599d8c14)

4 years agoMerge pull request #12937 from rs/nextdns-1.7.1-openwrt-19.07
Hannu Nyman [Sun, 26 Jul 2020 14:54:20 +0000 (17:54 +0300)]
Merge pull request #12937 from rs/nextdns-1.7.1-openwrt-19.07

[19.07] nextdns: Update to version 1.7.1

4 years agonextdns: Update to version 1.7.1 12937/head
Olivier Poitrey [Sun, 26 Jul 2020 14:42:57 +0000 (14:42 +0000)]
nextdns: Update to version 1.7.1

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
4 years agomc: update to 4.8.25 12934/head
Dirk Brenken [Sun, 26 Jul 2020 07:50:12 +0000 (09:50 +0200)]
mc: update to 4.8.25

* refreshed patches
* release news: http://midnight-commander.org/wiki/NEWS-4.8.25

Signed-off-by: Dirk Brenken <dev@brenken.org>
4 years agonetdata: update to version 1.23.2
Josef Schlehofer [Fri, 24 Jul 2020 13:40:07 +0000 (15:40 +0200)]
netdata: update to version 1.23.2

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2de28dd95b8c92e2e76038314cab2e180a4cd554)

4 years agoadmin/netdata: Update to 1.22.1
Daniel Engberg [Thu, 14 May 2020 08:45:46 +0000 (10:45 +0200)]
admin/netdata: Update to 1.22.1

Update netdata to 1.22.1
Disable cloud functionality
Shoehorn patches from FreeBSD's ports repo
Remove cloud notifications and netdata's self-update feature
json-c is no longer optional

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 626c304d67fa92d1eb87e34bbfa9a55a191387c5)

4 years agonetdata: update to version 1.20.0
Josef Schlehofer [Sun, 23 Feb 2020 09:27:35 +0000 (10:27 +0100)]
netdata: update to version 1.20.0

- Add libuv dependency which is now required. Otherwise during
compiling, I have received this error:

configure: error: libuv required but not found. Try installing 'libuv1-dev' or 'libuv-devel'.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 8aa816c81642747dd99aaee2785c17bae6032f13)

4 years agoMerge pull request #12896 from ja-pa/tor-0.4.2.8
Rosen Penev [Thu, 23 Jul 2020 20:15:24 +0000 (13:15 -0700)]
Merge pull request #12896 from ja-pa/tor-0.4.2.8

[OpenWrt 19.07] tor: update to version 0.4.2.8 (security fix)

4 years agoliblz4: fix previous patch
Rosen Penev [Tue, 21 Jul 2020 22:00:38 +0000 (15:00 -0700)]
liblz4: fix previous patch

Previous patch was incomplete.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2860cf169a7f54f4061500052b0ea9f0301c5325)

4 years agomeson: allow compilation in a subdirectory
Rosen Penev [Sat, 18 Apr 2020 07:01:28 +0000 (00:01 -0700)]
meson: allow compilation in a subdirectory

Small tweak to get it to build.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit e74498c97ac74bf4b6ae8eb55f53dcd3b1ba1dc2)

4 years agoliblz4: add patch removing distutils requirement
Rosen Penev [Tue, 21 Jul 2020 21:06:39 +0000 (14:06 -0700)]
liblz4: add patch removing distutils requirement

Allows meson to compile on systems that lack distutils.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit cb44cd60c499d78592170d88a3c9f03991071e10)

4 years agoliblz4: convert to meson
Rosen Penev [Sat, 18 Jul 2020 23:16:51 +0000 (16:16 -0700)]
liblz4: convert to meson

Faster compilation

Before:

Executed in   13.68 secs   fish           external
   usr time   12.51 secs    0.00 micros   12.51 secs
   sys time    1.78 secs  345.00 micros    1.78 secs

After:

Executed in    9.60 secs   fish           external
   usr time   10.66 secs  281.00 micros   10.66 secs
   sys time    1.39 secs   36.00 micros    1.39 secs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit c639477965d5356a3354ccd1a9ac3db6270f0ac9)

4 years agotor: update to version 0.4.2.8 (security fix) 12896/head
Jan Pavlinec [Tue, 21 Jul 2020 12:48:44 +0000 (14:48 +0200)]
tor: update to version 0.4.2.8 (security fix)

Fixes
CVE-2020-15572

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
4 years agomocp: disable ffmpeg
Rosen Penev [Thu, 30 Apr 2020 00:10:21 +0000 (17:10 -0700)]
mocp: disable ffmpeg

The recent update to ffmpeg broke this.

Instead, use the relevant libraries separately.

Added AAC support. AAC is very common and was recently fixed to be
compatible with BUILD_PATENTED.

Explicitly pass all configure arguments, to avoid future breakage.

Remove autoreconf. autotools files are not being patched.

Add PKG_BUILD_PARALLEL for speed.

Other minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit dd77091337c9cc6dd49da04cbeb7c8d01b739e86)

4 years agompd: update to 0.21.25
Rosen Penev [Tue, 21 Jul 2020 00:50:38 +0000 (17:50 -0700)]
mpd: update to 0.21.25

pulseaudio-daemon depends on alsa-lib, which depends on @AUDIO_SUPPORT.
Enables -full on platforms lacking AUDIO_SUPPORT.

Simplified LDFLAGS slighly.

Removed pointless ICU dependency. I managed to patch meson.build to fix
iconv compilation. The original error was that without the header, it
was prefixing the iconv check with __buildin_ , which does not work
with uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agodovecot: remove incorrect PKG_BUILD_DEPENDS
Ian Cooper [Wed, 29 Apr 2020 23:05:31 +0000 (00:05 +0100)]
dovecot: remove incorrect PKG_BUILD_DEPENDS

The package Makefile contains a PKG_BUILD_DEPENDS=libiconv
line, which apart from being incorrect if libiconv-full is
specified in the build configuration, is also unnecessary,
since the package Makefile already includes nls.mk which
sets PKG_BUILD_DEPENDS appropriately.

Signed-off-by: Ian Cooper <iancooper@hotmail.com>
(cherry picked from commit 645bea6d88b2b04a7ac95cb2fdc1006d59635098)

4 years agofaad2: update to 2.9.2
Rosen Penev [Tue, 12 May 2020 22:08:50 +0000 (15:08 -0700)]
faad2: update to 2.9.2

Removed upstreamed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ad1203ebb9da640ada304a03450226acf4505748)

4 years agoxz: update to 5.2.5
Rosen Penev [Sat, 28 Mar 2020 02:56:16 +0000 (19:56 -0700)]
xz: update to 5.2.5

Switched to smaller xz archive.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8c5d0c673d824e95a8659eb67351b457f5472ca9)

4 years agozstd: fix compilation without host distutils
Rosen Penev [Tue, 9 Jun 2020 23:20:45 +0000 (16:20 -0700)]
zstd: fix compilation without host distutils

This is the case in debian.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit ec3798645d644d5fa9727a301b4ccdd24e278063)

4 years agozstd: update to 1.4.5
Rosen Penev [Wed, 3 Jun 2020 21:35:39 +0000 (14:35 -0700)]
zstd: update to 1.4.5

Switch to zst archives for smaller size.

Removed patches in favor of a better solution for uClibc-ng.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 8c23fef9dace93ef742093da8468e84057337c56)
(changed to gz since 19.07 has no zstd support)

4 years agozstd: remove lto and as-needed flags
Rosen Penev [Sun, 26 Apr 2020 02:50:05 +0000 (19:50 -0700)]
zstd: remove lto and as-needed flags

The former can be implemented as a meson argument.

The latter is already default.

No compiled difference, therefore no PKG_RELEASE bump.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 3c9dbc1429532d9d370d0b976ac812845b43a897)

4 years agozstd: convert to meson
Rosen Penev [Sat, 18 Apr 2020 07:00:23 +0000 (00:00 -0700)]
zstd: convert to meson

Allows faster build with ninja. Unfortunately, the LTO stage slows it
massively.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 779a4dca67560a6d68ed479f58128fab52bbc221)

4 years agoaria2: Build with MIPS16
Rosen Penev [Tue, 24 Dec 2019 02:42:30 +0000 (18:42 -0800)]
aria2: Build with MIPS16

All the computationally expensive stuff is in the libraries, not the
package itself.

Saves several kilobytes.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit a5e7d0a9046305e083033f9a88065e252156407a)

4 years agoaria2: Update to 1.35.0
Xingwang Liao [Tue, 8 Oct 2019 02:04:53 +0000 (10:04 +0800)]
aria2: Update to 1.35.0

* remove OpenSSL patch, it has already merged to the source.

Signed-off-by: Xingwang Liao <kuoruan@gmail.com>
(cherry picked from commit 2384acdc9d50f7e1d343c7b465288022097fac61)

4 years agolibvorbis: update to 1.3.7
Rosen Penev [Sat, 11 Jul 2020 22:37:21 +0000 (15:37 -0700)]
libvorbis: update to 1.3.7

Switched to CMake for the faster compilation and the simpler Makefile.

Minor Makefile cleanups.

Before:

time make package/libvorbis/compile -j 12
Executed in   24.40 secs   fish           external
   usr time   21.17 secs    0.00 micros   21.17 secs
   sys time    3.05 secs  426.00 micros    3.05 secs

After:

time make package/libvorbis/compile -j 12
Executed in    9.19 secs   fish           external
   usr time   11.29 secs    0.00 micros   11.29 secs
   sys time    1.43 secs  421.00 micros    1.43 secs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0ef247cf5da5d04bff1a8ff993622a22b2fdca1f)

4 years agomsmtp: update to version 1.8.11
Josef Schlehofer [Fri, 17 Jul 2020 15:37:00 +0000 (17:37 +0200)]
msmtp: update to version 1.8.11

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit dd44bf2e7a563a611bac24ea2a177b3d9273ede4)

4 years agomsmtp: update to version 1.8.10
Josef Schlehofer [Sat, 23 May 2020 21:26:03 +0000 (23:26 +0200)]
msmtp: update to version 1.8.10

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit e193db6b6946815098f946573efd4581106fb659)