feed/packages.git
4 years agonspr: update to 4.25
Lucian Cristian [Mon, 10 Feb 2020 22:42:48 +0000 (00:42 +0200)]
nspr: update to 4.25

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 6acb26cd66d5335b6ef530aeae870bd53b168927)

4 years agonss: update to version 3.55 (security fix)
Jan Pavlinec [Wed, 12 Aug 2020 14:12:30 +0000 (16:12 +0200)]
nss: update to version 3.55 (security fix)

Fixes
CVE-2020-12403
CVE-2020-12401
CVE-2020-6829
CVE-2020-12400

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

4 years agonss: update to 3.53
Lucian Cristian [Sun, 31 May 2020 21:15:24 +0000 (00:15 +0300)]
nss: update to 3.53

also enable parallel build as now is safe

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit c15568584387525759100ae289d1454d14ab889a)

4 years agonss: fix build for mips64
Lucian Cristian [Sat, 23 May 2020 02:43:01 +0000 (05:43 +0300)]
nss: fix build for mips64
disable arm32_neon on unsupported target

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit d254f0527deb23e75f5100fd2159cf27b92dc966)

4 years agonss: revert -flto change
Lucian Cristian [Sat, 16 May 2020 18:06:53 +0000 (21:06 +0300)]
nss: revert -flto change
it seems that it can lead to segfault in libfreebl3.so

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 630c19f648ef1fe961c4c198dfbb3c878d15678e)

4 years agonss: add -flto and makefile cleanup
Lucian Cristian [Thu, 14 May 2020 13:26:08 +0000 (16:26 +0300)]
nss: add -flto and makefile cleanup

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 47570b4cf5a050c08b647f902b5ff6859a937d59)

4 years agonss: update to 3.52
Lucian Cristian [Sun, 10 May 2020 19:19:27 +0000 (22:19 +0300)]
nss: update to 3.52

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 867fa4c68c89f3e0e850b4ee3c50da14eb1c940b)

4 years agonss: update to 3.51.1
Lucian Cristian [Sun, 19 Apr 2020 13:59:00 +0000 (16:59 +0300)]
nss: update to 3.51.1

also refresh patches

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 5fadec5c0e1288ad7a20c3fd547b60d4d113e47e)

4 years agonss: update to 3.51
Lucian Cristian [Wed, 25 Mar 2020 17:35:41 +0000 (19:35 +0200)]
nss: update to 3.51

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit edd26908159ef18bc21f60fe09553e646e44a987)

4 years agonss: update to 3.50
Lucian Cristian [Mon, 10 Feb 2020 22:43:46 +0000 (00:43 +0200)]
nss: update to 3.50

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 8633c2bc54521d2fe15ac4bd48fc94fe9f1f0a6b)

4 years agonss: update to 3.49.2
Lucian Cristian [Mon, 27 Jan 2020 20:14:53 +0000 (22:14 +0200)]
nss: update to 3.49.2

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry picked from commit 8f2023aa9ccecb2a1fa952344cd5ae5a92194ade)

4 years agolibffi: fix build failure on powerpc platforms
Rosen Penev [Fri, 24 Apr 2020 20:57:16 +0000 (13:57 -0700)]
libffi: fix build failure on powerpc platforms

This is an upstream backport.

Currently on the buildbots, having libffi unavailable leads to long
range build failures.

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

4 years agolibffi: update to 3.3
Rosen Penev [Sat, 28 Mar 2020 22:42:32 +0000 (15:42 -0700)]
libffi: update to 3.3

Remove autoreconf. autotools files are no longer patched.

Add PKG_BUILD_PARALLEL for faster compilation.

Removed upstreamed patches.

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

4 years agolibffi: do not build in a special directory
Rosen Penev [Sat, 8 Feb 2020 00:05:49 +0000 (16:05 -0800)]
libffi: do not build in a special directory

There's no need. It also breaks host builds.

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

4 years agonet/mosquitto: Update to 1.6.12
Karl Palsson [Wed, 19 Aug 2020 14:17:36 +0000 (14:17 +0000)]
net/mosquitto: Update to 1.6.12

Security release.  From the changelog:

- In some circumstances, Mosquitto could leak memory when handling PUBLISH
  messages. This is limited to incoming QoS 2 messages, and is related
  to the combination of the broker having persistence enabled, a clean
  session=false client, which was connected prior to the broker restarting,
  then has reconnected and has now sent messages at a sufficiently high rate
  that the incoming queue at the broker has filled up and hence messages are
  being dropped. This is more likely to have an effect where
  max_queued_messages is a small value. This has now been fixed. Closes
  https://github.com/eclipse/mosquitto/issues/1793

Changelog: https://mosquitto.org/blog/2020/08/version-1-6-12-released/

Signed-off-by: Karl Palsson <karlp@etactica.com>
4 years agopython3: fix rebasing error
Rosen Penev [Sun, 16 Aug 2020 05:45:40 +0000 (22:45 -0700)]
python3: fix rebasing error

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agopython: fix host compilation with clang
Rosen Penev [Sat, 15 Aug 2020 22:23:21 +0000 (15:23 -0700)]
python: fix host compilation with clang

Matched rpath parameter with Makefile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years agopython3: fix host compilation with clang
Rosen Penev [Sat, 1 Aug 2020 20:59:57 +0000 (13:59 -0700)]
python3: fix host compilation with clang

Matched rpath parameter with Makefile.

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

4 years agoMerge pull request #13132 from jjm2473/lvm2-fix-mac-sh-for-1907
Rosen Penev [Sat, 15 Aug 2020 08:44:52 +0000 (01:44 -0700)]
Merge pull request #13132 from jjm2473/lvm2-fix-mac-sh-for-1907

lvm2: fix CE in mac (backport)

4 years agolvm2: fix CE in mac 13132/head
Liangbin Lian [Fri, 14 Aug 2020 06:19:12 +0000 (14:19 +0800)]
lvm2: fix CE in mac

command-count.h generated by makefile was wrong
when using default shell in mac,
set shell to bash to fix it.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
(cherry picked from commit 9bb0962d6e3a2d5faf28a9624da82a936d961f19)

4 years agoopenvswitch: backport patch to fix build against kernel 4.14.193
Matthias Schiffer [Fri, 14 Aug 2020 19:49:42 +0000 (21:49 +0200)]
openvswitch: backport patch to fix build against kernel 4.14.193

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
4 years agoadblock: refresh blocklist sources
Dirk Brenken [Fri, 14 Aug 2020 12:27:50 +0000 (14:27 +0200)]
adblock: refresh blocklist sources

* remove 'dshield' and 'sysctl' (discontinued)
* switch 'malwaredomains', 'shallalist' and 'winhelp' to https
* add a second regional list for poland (provided by matx1002)
* update readme

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

4 years agortl_433: update to 20.02
Rosen Penev [Wed, 12 Feb 2020 02:50:37 +0000 (18:50 -0800)]
rtl_433: update to 20.02

Added PKG_BUILD_PARALLEL for faster compilation.

Fixed license information.

Removed upstreamed patch.

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

4 years agonano: update to 5.1
Hannu Nyman [Wed, 12 Aug 2020 19:53:37 +0000 (22:53 +0300)]
nano: update to 5.1

Update nano to version 5.1.

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

4 years agonano: update to 5.0
Hannu Nyman [Thu, 30 Jul 2020 15:34:02 +0000 (18:34 +0300)]
nano: update to 5.0

Update nano editor to version 5.0.
http://git.savannah.gnu.org/cgit/nano.git/tree/NEWS

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

4 years agoirqbalance: update to 1.7.0
Hannu Nyman [Tue, 11 Aug 2020 20:41:36 +0000 (23:41 +0300)]
irqbalance: update to 1.7.0

Update irqbalance to version 1.7.0
Refresh patches.

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

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)