Commit Graph

16438 Commits

Author SHA1 Message Date
David Ehrmann 231e47185e miniupnpd: suppress grep and uci errors
If miniupnpd is installed but disabled or not running, the hotplug
script will query uci for keys that don't exist and grep a temporary
config file that doesn't exist, resulting in the following errors:

uci: Entry not found
grep: /var/etc/miniupnd.conf: No such file or directory

These would arise when an interface is brought up or down, and are
more confusing than helpful, especially when miniupnpd is disabled.

Suppress these errors.

Signed-off-by: David Ehrmann <ehrmann@gmail.com>
(cherry picked from commit 6ef2b5400b)
2020-06-28 14:00:39 -07:00
Kevin Darbyshire-Bryant 5cb388497e miniupnpd: improve hotplug & interface handling
The existing interface selection/detection code was incomprehensible at
worst and convoluted at best.  The uci config file suggested it
understood an external ipv6 interface but in reality the init script
took no notice.  Re-work it so it is at least comprehendible and takes
notice of ipv6 interface details if specified.

Update the hotplug script to use the same interface selection/detection
code as the init script and take note of ipv6 interface selection, only
restarting miniupnpd on interface up events and only if that interface
isn't already known (for that ip class) by miniupnpd.

For me this has solved numerous 'flaky' startup problems, especially
with regard to ipv6.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
(cherry picked from commit 295d77943c)
2020-06-28 14:00:24 -07:00
Toke Høiland-Jørgensen 0ea1e213e7 Merge pull request #12616 from andersk/acme-19.07
Backport acme fixes from #11968 to 19.07
2020-06-26 11:21:12 +02:00
David Yang f51ec94f86 acme: Bump release version
Signed-off-by: David Yang <mmyangfl@gmail.com>
2020-06-25 23:37:16 -07:00
David Yang f7e03d1271 acme: Handle ecc cert correctly
Error was:
  The domain 'example.com' seems to have a ECC cert already, please add '--ecc' parameter if you want to use that cert.

Signed-off-by: David Yang <mmyangfl@gmail.com>
2020-06-25 23:37:16 -07:00
David Yang 0e5b273241 acme: Handle log message correctly
Error was:
  logger: unrecognized option: renew

Signed-off-by: David Yang <mmyangfl@gmail.com>
2020-06-25 23:37:16 -07:00
Rosen Penev 17e12ad796 Merge pull request #12614 from stangri/19.07-https-dns-proxy
[19.07] https-dns-proxy: re-add conffiles and add description to Makefile
2020-06-25 22:18:04 -07:00
Stan Grishin 4344723f8c https-dns-proxy: re-add conffiles and add description to Makefile
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-26 03:09:39 +00:00
Rosen Penev 1d369c9e6a Merge pull request #12597 from stangri/19.07-https-dns-proxy
[19.07] https-dns-proxy: bugfix: remove eDNS support
2020-06-25 14:22:18 -07:00
Stan Grishin 2c4644bf9b https-dns-proxy: bugfix: remove eDNS support
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-25 19:40:52 +00:00
Rosen Penev 02f5b9ced0 Merge pull request #12588 from rs/nextdns-1.7.0-openwrt-19.07
[19.07] nextdns: Update to version 1.7.0
2020-06-24 22:05:00 -07:00
Olivier Poitrey 8044a7014d nextdns: Update to version 1.7.0
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-06-25 00:22:43 +00:00
Hannu Nyman e1b8d033e0 irqbalance: fix socket directory and create it
Irqbalance defines /run/irqbalance dir for its socket
communication between irqbalance and its UI. /run does not exist
in OpenWrt (although it is defined by the Linux FHS), so the
socket creation fails. Although we do not compile UI and thus
the issue is not critical to us, fix the directory location.

Additionally, the creation is originally handled by a systemd
init script that we do not use.

* patch source to define dir as /var/run/irqbalance
* create the dir in the procd init script.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry-picked from 4f0c847828)
2020-06-24 18:33:39 +03:00
Huangbin Zhan 4a129a996c treewide: add conffiles
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
(cherry-picked irqbalance section from from 0ec746ccb6)
2020-06-24 18:32:19 +03:00
Ian Cooper ca6751a7d0 irqbalance: fix compilation for USE_GLIBC and BUILD_NLS cases
The package Makefile was not taking into consideration that the build
may be using BUILD_NLS with libintl-full and libiconv-full and was
trying to link the wrong versions of these libraries in this case.

The necessary flags are added by nls.mk to TARGET_LDFLAGS and can be
passed to irqbalance's configure script for setting the GLIB2_LIBS
variable instead of the explicit static link to the libiconv stub.

The PKG_BUILD_DEPENDS line should be modified so as to add to and not
override the definition set by nls.mk, which will ensure the right
version of libiconv and libintl is built beforehand.

A DEPENDS:= line should be added to the package definition using the
variables defined in nls.mk, which will add the appropriate version
of libintl and libiconv (vanilla or -full versions)

If USE_GLIBC is true, then libpthread needs to be explicitly passed
to the configure script in the GLIB2_LIBS variable for linking.

Signed-off-by: Ian Cooper <iancooper@hotmail.com>

(cherry-picked from 88c25e87a1)
2020-06-24 18:32:14 +03:00
Hannu Nyman 9bdd0f113d haveged: update to 1.9.12
Update haveged to version 1.9.12

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 6392d50c31)
2020-06-21 23:24:50 +03:00
Daniel Engberg 7222143b4d Merge pull request #12563 from Andy2244/ksmbd-3.2.0_ksmbd-tools-3.2.6-(19-07)
[19.07] Revert "ksmbd: update to 3.2.0, ksmbd-tools: update to 3.2.6"
2020-06-20 21:11:26 +02:00
Andy Walsh 45e78b34a7 Revert "ksmbd: update to 3.2.0, ksmbd-tools: update to 3.2.6"
Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>

This reverts commit d88405ba84.
2020-06-20 19:26:12 +02:00
Christian Lachner 1b1c2c598e haproxy: Update HAProxy to v2.0.15
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-06-20 09:04:47 +03:00
Josef Zila fd3648a7b4 transmission: add access to web interface files to procd jail
Signed-off-by: Josef Zila <josefzila@gmail.com>
(cherry picked from commit 9a82c952b4)
2020-06-18 14:53:16 -07:00
Rosen Penev 054b87df40 transmission: add a disabled notification
Helps to see that transmission must be enabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 89fc95c4fc)
2020-06-18 14:52:37 -07:00
Rosen Penev 8cb9367313 transmission: update to 3.0
remove upstreamed patches. Refresh remaining one.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 93485dd317)
2020-06-18 14:51:49 -07:00
Rosen Penev de86c989a0 upmpdcli: update to 0.4.6
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 0d72b95b0b)
2020-06-15 11:06:24 -07:00
Rosen Penev 9e108dcc79 upmpdcli: Update to 1.4.2
Fixed license information.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed upstreamed patch.

Ran init script through shellcheck.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit b2d016d352)
2020-06-15 11:05:57 -07:00
Hannu Nyman c82f631142 haveged: update to 1.9.11
Update haveged to version 1.9.11

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit ca30b0ff91)
2020-06-14 21:15:50 +03:00
Rosen Penev 3ca1e63db2 Merge pull request #12509 from lipnitsk/openwrt-19.07
perl: fix build failure in GCC10
2020-06-13 18:43:51 -07:00
Ken Wong 445c3d8f86 perl: fix build failure in GCC10
The perl Configure file was matching GCC 10 against "1*" and treating it
as GCC 1, causing ABI breakage and segfaults.

Cherry-pick the upstream patch which fixes it to check against (e.g)
"1.*" instead, which will make it work for hundreds more GCC versions
to come.

https://github.com/Perl/perl5/commit/6bd6308fcea3541
 "Adapt Configure to GCC version 10"

Also includes the previous commit just adding GCC 8 and 9 to one case:
https://github.com/Perl/perl5/commit/ae195500577d707
 "Add gcc-8 and gcc-9 for FORTIFY_SOURCE"

Signed-off-by: Ken Wong <xinxijishuwyq@gmail.com>
(cherry picked from commit 65578a43f0)
2020-06-13 15:22:51 -07:00
Etienne Champetier 668fb65674 Merge pull request #12505 from EricLuehrsen/unbound_ifauto_1907
[openwrt-19.07] unobund: make option interface_auto default on
2020-06-13 18:14:25 -04:00
Etienne Champetier bc71ad7b3f Merge pull request #12507 from stangri/19.07-simple-adblock
[19.07] simple-adblock: racially-neutral names
2020-06-13 18:10:40 -04:00
Rosen Penev 3ca5acd880 Merge pull request #12503 from Andy2244/samba-4.11.9-(19-07)
[19.07] samba4: update to 4.11.9
2020-06-13 14:39:09 -07:00
Rosen Penev e2045ed7ac Merge pull request #12502 from Andy2244/ksmbd-3.2.0_ksmbd-tools-3.2.6-(19-07)
[19.07] ksmbd: update to 3.2.0, ksmbd-tools: update to 3.2.6
2020-06-13 14:38:30 -07:00
Rosen Penev 53ebb4394e Merge pull request #12501 from Andy2244/rpcsvc-proto-1907
[19.07] rpcsvc-proto: update to 1.4.1
2020-06-13 14:38:17 -07:00
Rosen Penev 21fd28f333 Merge pull request #12500 from Andy2244/libtirpc-1.2.6-(19-07)
[19.07] libtirpc: update to 1.2.6
2020-06-13 14:37:42 -07:00
Rosen Penev e5f75f5009 Merge pull request #12499 from Andy2244/softethervpn5-9674-(19-07)
[19.07] Softethervpn5: update to 5.01.9674
2020-06-13 14:37:21 -07:00
Rosen Penev 64647b723d Merge pull request #12498 from Andy2244/wsdd2-4-(19-07)
[19.07] wsdd2: update to git 2020-05-06
2020-06-13 14:37:07 -07:00
Andy Walsh 456fc88c4e libtirpc: update to 1.2.6
* update to 1.2.6
* Add HOST_BUILD_PARALLEL for faster compilation

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 23:33:29 +02:00
Andy Walsh b61848fd0f wsdd2: update to git 2020-05-06
* update to git 2020-05-06
* run init script through shellcheck
* fix infinite loop when BI_PARM is never set
* Fix '-b' option parsing

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 23:26:25 +02:00
Stan Grishin de09918aca simple-adblock: racially-neutral names
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-06-13 20:39:11 +00:00
Eric Luehrsen 5fcf2cb092 unbound: make option interface_auto default on
Unbound has a quirk and may reply on a different device address.
When Unbound answers with from-address different than it
received queries on, it may cause trouble for select VPN and
firewall configurations. Ensure Unbound replies with the same
address by changing this default.

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-06-13 15:16:51 -04:00
David Bauer 950646f6c0 unbound: bump PKG_RELEASE
Fixes commit da76aeb24c ("unbound: expose interface-auto to UCI")

Signed-off-by: David Bauer <mail@david-bauer.net>
2020-06-13 15:16:50 -04:00
Eric Luehrsen ba19244b84 unbound: suggest matched domain option for dnsmasq link
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-06-13 15:16:50 -04:00
Andy Walsh 72b0ea4b5d samba4: update to 4.11.9
* update to 4.11.9
* remove merged upstream patches
* disable netbios port 139 on 'DISABLE_NETBIOS' option or missing 'nmbd'
* fixes CVE-2020-10700, CVE-2020-10704

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 20:39:26 +02:00
Andy Walsh d88405ba84 ksmbd: update to 3.2.0, ksmbd-tools: update to 3.2.6
* ksmbd: update to 3.2.0
* ksmbd-tools: update to 3.2.6
* refresh patch

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 20:36:06 +02:00
Andy Walsh 1a0db6a217 softethervpn5: update to 5.01.9674
* update to 5.01.9674

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 20:29:55 +02:00
Andy Walsh 91be274719 rpcsvc-proto: update to 1.4.1
* update to 1.4.1

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-06-13 20:25:03 +02:00
Dirk Brenken c0dce1d3a6 adblock: update 4.0.6
* add anti_ad blocklist source
* made SafeSearch provider configurable, you can limit
  SafeSearch to certain providers
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e5ab2de1ff)
2020-06-13 08:36:08 +02:00
Rosen Penev 0ff5cb54e5 mpd: update to 0.21.24
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit d7b593f695)
2020-06-11 16:33:53 -07:00
Dirk Brenken 982e7e2fa2 adblock: update 4.0.5-5
* add regional list source for czech/slovak
* add regional list source for korea
* adapt oisd_nl changes, switch to adb-syntax domains

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0a5e61ecb6)
2020-06-11 16:30:11 +02:00
Rosen Penev 2cd263070a Merge pull request #12472 from zhanhb/less-alternatives-19
[19.07] less: update ALTERNATIVES
2020-06-10 01:58:23 -07:00
Huangbin Zhan e2bd118b30 less: update ALTERNATIVES
Avoid conflict with busybox

Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
(cherry picked from commit d866393)
2020-06-10 10:53:27 +08:00