Commit graph

7507 commits

Author SHA1 Message Date
Salim B
50cced2475
stubby: fix typo
Signed-off-by: Salim B salim@posteo.de
2020-09-18 14:28:08 -07:00
Rosen Penev
602d7047b5
Merge pull request #13400 from tiagogaspar8/kea-update-1.8.0
kea: update package to 1.8.0
2020-09-18 14:21:05 -07:00
Russell Senior
6258b32d7c atftp: add init script and config file
Signed-off-by: Russell Senior <russell@personaltelco.net>
2020-09-18 10:22:56 -07:00
Tiago Gaspar
7592e64f14 kea: update package to 1.8.0
Update kea to the latest stable version (1.8.0) and add kea-shell 
package.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2020-09-18 16:26:18 +01:00
Rosen Penev
33b6e61195
Merge pull request #13422 from neheb/sntp
ntpd: Include sntp binary only with ntp-utils
2020-09-18 03:40:39 -07:00
Rosen Penev
02b9962aef
Merge pull request #12123 from vKnmnn/master
mini_snmpd: Add sysDescr option.
2020-09-18 03:25:22 -07:00
Rosen Penev
0a4bda5d3f
Merge pull request #13260 from neheb/apdep
apache: fix compilation without deprecated OpenSSL APIs
2020-09-18 02:51:53 -07:00
Kenneth J. Miller
3c21c392e5
ntpd: Include sntp binary only with ntp-utils
Don't build the sntp binary and libevent2-pthread dependency unless
ntp-utils is selected.

Re-add ntp-keygen dependency libevent2-core.

Fixes openwrt#10307

Signed-off-by: Kenneth J. Miller <ken@miller.ec>
2020-09-18 02:49:10 -07:00
Daniel Golle
0d2e3fa5d4
gnurl: update to release 0.72.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-17 10:56:10 +01:00
Rosen Penev
bc9f0f3d90
Merge pull request #13391 from OpenIoTHub/gateway-go-pr
gateway-go: add new package
2020-09-16 15:44:40 -07:00
Yu Fang
d5c1245da2 gateway-go: add new package
Signed-off-by: Yu Fang <yu@iotserv.com>
2020-09-15 16:26:30 +08:00
Rosen Penev
2d1c0a05ae
cifs-utils: update to 6.11
Fixes CVE-2020-14342.

Updated PKG_CPE_ID.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-14 14:22:56 -07:00
Rosen Penev
7d5f26bebf
Merge pull request #13387 from neheb/i2p
i2pd: refresh patch
2020-09-14 13:38:09 -07:00
Daniel Golle
ae5480db06 gnunet: make use of user/group names instead of numeric uid/gid
With openwrt/openwrt@51ec51871f one can
now use user/group names instead of numeric uid/gid in FILE_MODES.
Make use of that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-14 13:05:08 +01:00
Rosen Penev
56ee78082e
Merge pull request #13373 from neheb/ariang
ariang: update to 1.1.17
2020-09-14 02:54:32 -07:00
Rosen Penev
a8e1eed8a2 i2pd: refresh patch
This version bump was not tested properly. Not even compile.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-13 20:21:45 -07:00
Daniel Golle
5f9a1a1422 gnunet: update to version 0.13.3
Apart from adapting to upstream changes also switch to use FILE_MODES
instead of chown/chmod in init-script.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-09-13 23:19:39 +01:00
Rosen Penev
8c3aa91a71
Merge pull request #13374 from neheb/memcached
memcached: update to 1.6.7
2020-09-13 14:51:29 -07:00
Andy Walsh
896ebed773 samba4: update to 4.12.6
* update to 4.12.6
* fix optional modules not included on module build (vfs_btrfs, vfs_linux_xfs_sgid)

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-09-13 17:50:37 +02:00
Rosen Penev
bbf0bc94f2
acme: update to 2.8.7
Change URL to codeload. It redirects to it anyway. I was getting a 404
error with the original. I couldn't figure it out.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-12 18:43:38 -07:00
Rosen Penev
30ed11ebc7
memcached: update to 1.6.7
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-12 18:10:03 -07:00
Rosen Penev
02fc25603c
ariang: update to 1.1.17
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-12 18:02:37 -07:00
Rosen Penev
e4e4bcf057
Merge pull request #13351 from aaronjg/openfortivpn-v1.15.0
openfortivpn: version bump to 1.15.0 and assorted improvements
2020-09-11 18:14:12 -07:00
Philip Prindeville
547a1659a1
Merge pull request #13355 from pprindeville/isc-dhcp-add-routes#2
isc-dhcp: add support for RFC-3442 classless routes to hosts
2020-09-11 08:19:56 -06:00
Aaron Goodman
c4686691aa openfortivpn: fix shellcheck warnings
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-09-10 17:56:10 -04:00
Aaron Goodman
7d170b8f64 openfortivpn: tabify shell scripts
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-09-10 15:53:33 -04:00
Olivier Poitrey
aa0618e230 nextdns: Update to version 1.8.3
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-09-10 17:25:43 +00:00
Philip Prindeville
cdd5af4b21 isc-dhcp: add support for RFC-3442 classless routes to hosts
Also avoid forward references to functions.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-09-10 10:43:29 -06:00
Aaron Goodman
f01714a250 openfortivpn: version bump to 1.15.0 and further upgrades
- remove patch that has been included upstream
- remove dependence on resolveip
- remove hotplug script that is handled by "proto_add_host_dependency"
- use openfortivpn default tunnel ip if none specified
- add status checking with uclient-fetch

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-09-09 18:16:18 -04:00
Oleg Derevenetz
2eea8ff6bd bwping: update to version 2.0
Signed-off-by: Oleg Derevenetz <oleg-derevenetz@yandex.ru>
2020-09-09 23:29:53 +03:00
Toke Høiland-Jørgensen
e6c1676cb4 acme: Make sure we don't handle the same listener twice
If a daemon listens on multiple addresses at once, it'll show up multiple
times in get_listeners() which will clobber the config for uhttpd. Fix this
by skipping subsequent handlings of the same daemon binary.

Fixes #13325.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2020-09-09 12:49:53 +02:00
Christian Lachner
790c18e379 haproxy: Update HAProxy to v2.2.3
- Update haproxy download URL and hash

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-09-09 08:52:21 +02:00
Rosen Penev
cf4422573c
Merge pull request #13335 from rs/nextdns-1.8.2-master
nextdns: Update to version 1.8.2
2020-09-08 22:47:04 -07:00
Rosen Penev
f1561b624a
Merge pull request #13340 from farmergreg/patch-1
safe-search: duckduckgo.com new ip address
2020-09-08 18:25:21 -07:00
Greg Dietsche
c61641dbb5 safe-search: duckduckgo.com new ip address
Update to 40.89.244.237 which is the new IP address that duckduckgo.com is using for safe-search.

Signed-off-by: Greg Dietsche <gregory.dietsche@cuw.edu>
2020-09-08 17:31:41 -05:00
Lucian Cristian
13c83f11e5 frr: fix running on mips (again)
add mips fix missed on version upgrade

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-09-08 23:23:43 +03:00
Olivier Poitrey
966a8be2da nextdns: Update to version 1.8.2
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-09-08 10:33:48 +00:00
Rosen Penev
6eb3fb300e
Merge pull request #13299 from ja-pa/dnstap
dnstap: add new package
2020-09-07 12:27:10 -07:00
Hannu Nyman
084decaa64
Merge pull request #13326 from Ansuel/ngixfixall
nginx: fix broken all-module variant
2020-09-07 19:56:15 +03:00
Hannu Nyman
2b2c2c27bf
Merge pull request #13323 from Ansuel/ubusup
nginx: update ubus module to fix SIGSEGV
2020-09-07 19:55:38 +03:00
Ansuel Smith
310d6c96c7
nginx: fix broken all-module variant
The creation of the dummy package nginx creates some problem with dependency detection for the all-module variant. Reorganize the dependency and compile nginx before the the sub-variant.

Fixes #13275

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-07 18:33:03 +02:00
Ansuel Smith
7ca2238f29
nginx: update ubus module to fix SIGSEGV
- Bump relase
- Bump nginx_ubus_module version

Fixes #13314

Reported-by: Chen Minqiang <ptpt52@gmail.com>
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-07 15:01:19 +02:00
Jan Pavlinec
2efed59b3c
dnstap: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-07 12:58:59 +02:00
Eric Luehrsen
b97cdaf612 unbound: improve odhcpd rapid update robustness
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-09-05 10:04:48 -04:00
Rosen Penev
d701768ce4
Merge pull request #13298 from ja-pa/unbound-dnstap
unbound: add option for dnstap support
2020-09-04 23:00:59 -07:00
Alexey Dobrovolsky
8b2792adc9 freeradius3: fix hostname invocation in radtest
Canonical radtest start results in an error:

$ radtest bob hello localhost 0 testing123
/usr/bin/radtest: line 1: hostname: not found
(0) Error parsing "stdin": Failed to get value

hostname command is not present in OpenWrt.
Instead, hostname can be obtained from file /proc/sys/kernel/hostname.

added: 004-get-hostname-from-proc-in-radtest.patch

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
2020-09-05 01:31:28 +03:00
Alexey Dobrovolsky
6480acde4b freeradius3: enable radtest utility
radtest utility is used in many manuals to check the operation of
radius server.

At the moment all parameters must be specified at startup, for example:

$ radtest bob hello localhost 0 testing123 0 localhost

Signed-off-by: Alexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
2020-09-04 15:22:12 +03:00
Rosen Penev
dafde27d18
Merge pull request #13285 from Ansuel/ubusup
nginx: refresh nginx-ubus-module version
2020-09-03 13:38:21 -07:00
Rosen Penev
5a609d684e
Merge pull request #13286 from PolynomialDivision/updatedawn
dawn: bump version
2020-09-03 13:37:33 -07:00
Nick Hainke
067790ec8f dawn: bump version
The rrm_nr_get_own call was not parsed correctly.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-09-03 21:07:41 +02:00
Jan Pavlinec
2eacaacff3
unbound: add option for dnstap support
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-09-03 17:01:04 +02:00
Ansuel Smith
6c3e2e927f
nginx: refresh nginx-ubus-module version
Fix a compilation bug for nginx ubus module.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-09-03 14:24:57 +02:00
Dirk Brenken
c01beb0679
adblock: refresh blocklist sources
* rename 'smarttv' to 'smarttv_tracking'
* added 'firetv_tracking' and 'android_tracking' (thanks @panache67)
* added 'gaming' (thanks @hasanlo in openwrt forum)
* update readme

Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-09-03 11:20:52 +02:00
Stijn Tintel
35ef427185 strongswan: bump to 5.9.0
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2020-09-02 23:20:33 +03:00
Rosen Penev
8515d0e0ad
Merge pull request #13281 from adschm/libreswan414
libreswan: drop support for kernel 4.14
2020-09-02 13:07:20 -07:00
Adrian Schmutzler
4b65ea569a openvswitch: remove support for kernel 4.14 and 4.9
Support for kernel 4.14 has been removed in main repo, so drop the
dependencies here as well (and those for even older 4.9).

Also drop a patch that is required only for 4.14 and lower.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-02 22:58:15 +08:00
Hannu Nyman
b37f1a0716
Merge pull request #13267 from adschm/k414
sqm-scripts: depend directly on kmod-sched-cake again
2020-09-02 17:37:14 +03:00
Adrian Schmutzler
f98158b755 libreswan: drop support for kernel 4.14
Support for kernel 4.14 has been dropped in main repo, so remove it
here as well.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-09-02 16:33:04 +02:00
Jan Hak
60a35cd1c6 knot: update to version 2.9.6
Signed-off-by: Jan Hak <jan.hak@nic.cz>
2020-09-02 11:19:53 +02:00
Rosen Penev
8966849a5a
Merge pull request #13262 from neheb/ksm
kismet: fix compilation under uClibc-ng and GCC10
2020-09-01 14:06:24 -07:00
Noah Meyerhans
97d8ed6185 iputils: update to 20200821
Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2020-09-01 12:21:55 -07:00
Adrian Schmutzler
6495b470e4 sqm-scripts: depend directly on kmod-sched-cake again
Since support for kernel 4.14 has been removed, kmod-sched-cake-oot
is gone, and the kmod-sched-cake-virtual package is not needed
anymore.

This effectively reverts 9114244fbd ("sqm-scripts: Switch sch_cake
dependency to new virtual package")

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-08-31 21:57:28 +02:00
Jan Pavlinec
7049b06130 autossh: switch to procd
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-31 07:05:12 -07:00
Jeffery To
c0340f631c python: Use locked for host pip
This also removes PKG_BUILD_PARALLEL:=0 that was added for packages that
use HOST_PYTHON3_PACKAGE_BUILD_DEPENDS.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-31 03:48:47 -07:00
Rosen Penev
ecfe85ab28 mstpd: fix compilation with uClibc-ng
bcopy/bzero are no longer available.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-31 01:12:14 -07:00
Rosen Penev
d897beee91
kismet: fix compilation under uClibc-ng and GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-31 00:39:54 -07:00
Rosen Penev
57b10de2c0
apache: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-31 00:31:12 -07:00
Rosen Penev
fff511badf
Merge pull request #13227 from neheb/slhh
sslh: update to 1.21c
2020-08-30 23:57:58 -07:00
Rosen Penev
e1760b8adb
Merge pull request #13253 from liudf0716/apfree-wifidog
apfree-wifidog: update to 4.08.1771
2020-08-30 23:51:53 -07:00
Dengfeng Liu
d6926c1b32 apfree-wifidog: update to 4.08.1771
Signed-off-by: Dengfeng Liu <dfliuc@isoftstone.com>
2020-08-31 08:58:55 +08:00
Stijn Tintel
34902987bd
Merge pull request #13223 from mikebaz/master
strongswan: add left and mark configuration to UCI
2020-08-30 23:26:20 +03:00
Nikos Mavrogiannopoulos
25b4544297
Merge pull request #13221 from yousong/oc
openconnect: allow disable dtls with bool option no_dtls
2020-08-30 13:29:29 +02:00
Philip Prindeville
e8fd996c72 isc-dhcp: add support for RFC-3442 classless IPv4 routes
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-08-28 19:30:42 -06:00
Rosen Penev
432f954bbe
sslh: update to 1.21c
Refresh patches. Remove now pointless format patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-27 17:32:06 -07:00
Rosen Penev
005230c04c
lftp: update to 4.9.2
Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-27 17:30:32 -07:00
Rosen Penev
f873fbdc49
Merge pull request #13218 from neheb/wave
wavemon: fix compilation with glibc
2020-08-27 14:24:44 -07:00
Rosen Penev
744169fa13
Merge pull request #13220 from aaronjg/openfortivpn/config-varname-fix
openfortivpn: use more standard config option names
2020-08-27 13:33:43 -07:00
Michael C. Bazarewsky
51214e191f strongswan: add left and mark configuration to UCI
This commit allows for UCI configuration of the "left=" and the
"mark=" values in a StrongSwan IPSec connection.  This improves
VTI support and allows certain stricter connection scenarios.

Signed-off-by: Michael C. Bazarewsky <github@bazstuff.com>
2020-08-27 16:06:34 -04:00
Yousong Zhou
3445e1b470 openconnect: allow disable dtls with bool option no_dtls
openconnect may emit following error logs every minute when negotiating
with deployments forbidding usage of dtls

  Thu Aug 27 04:11:59 2020 daemon.notice openconnect[12024]: DTLS handshake failed: Error in the push function.
  Thu Aug 27 04:11:59 2020 daemon.notice openconnect[12024]: (Is a firewall preventing you from sending UDP packets?)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:59:52 +08:00
Yousong Zhou
fce2b069df openconnect: break each var into its own line in order
For easier review

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:59:35 +08:00
Yousong Zhou
d6d9376141 ovn: include ovn-appctl
Required by ovn-ctl for stopping ovn ovsdb instances

This utility was introduced since 20.03.0 after the project was
maintained in its own repo

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-27 13:58:39 +08:00
Aaron Goodman
24b4d9edab openfortivpn: use more standard config option names
change 'server' to 'peeraddr'
change 'iface_name' to 'tunlink'

fix some indentation issues

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-26 21:55:22 -04:00
Tony Butler
7b6f58e9d0 curl: add optional zlib support
Package libcurl is missing dependencies for the following libraries:
libzstd.so.1

Previous patch by Hans Dedecker <dedeckeh@gmail.com> took the easy way
out :)

Suggested-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Tony Butler <spudz76@gmail.com>
[fixed title]
Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-26 13:26:42 -10:00
Hauke Mehrtens
30fecae052 curl: Use wolfssl by default
Instead of using mbedtls by default use wolfssl. We now integrate
wolfssl in the default build so use it also as default ssl library for
curl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-26 13:25:07 -10:00
Hauke Mehrtens
f2fa1f6093 curl: Fix build with wolfssl
Backport a commit from upstream curl to fix a problem in configure with
wolfssl.

checking size of time_t... configure: error: cannot determine a size for time_t

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2020-08-26 13:25:07 -10:00
Rosen Penev
13c4e24560
wavemon: fix compilation with glibc
-lpthread is needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-26 16:12:55 -07:00
Paul Spooren
efed611029 curl: add package (previously in base)
Move package over from openwrt.git based on the Hamburg 2019 decision
that non essential packages should be maintained in packages.git

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-26 08:27:24 -10:00
Nick Hainke
5491d33d7d dawn: bump version
Includes:
- datastorage: fix hearingmap not synced

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-26 13:56:40 +02:00
Rosen Penev
395e9ff31f
Merge pull request #13139 from aaronjg/openfortivpn/ppp-netifd-fix
openfortivpn: fix routes passed to netifd
2020-08-25 02:11:17 -07:00
Yousong Zhou
fed92c81b6 ovn: bump to version 20.06.2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:37 +08:00
Yousong Zhou
282038d97b openvswitch: bump to version 2.14.0
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-25 15:50:32 +08:00
Rosen Penev
ad97672726 sshtunnel: correct access of config file
With this change the `/etc/config/sshtunnel` file has the correct access.
It's a sensible file.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-24 13:49:45 -07:00
Rosen Penev
b9000884d6
Merge pull request #12762 from ngrsdhbw/feature_ddns_cloudflare_bearer
ddns-scripts: Support Bearer Token for Cloudflare
2020-08-24 13:09:37 -07:00
Rosen Penev
8f3642e4bb
Merge pull request #13193 from sartura/sysrepo
Update sysrepo, libyang, libnetconf2 and netopeer2 packages to latest versions
2020-08-24 13:06:45 -07:00
Rosen Penev
a00b99950a
Merge pull request #13174 from neheb/dav
davfs2: update to 1.6.0
2020-08-24 06:57:24 -07:00
Rosen Penev
ec67d94f4d
Merge pull request #13192 from peter-stadler/nginx
nginx: update to version 1.19.2
2020-08-23 20:52:18 -07:00
Noah Meyerhans
cf61f7f8ef bind: New upstream version 9.16.6
Several security issures are addressed:

 - CVE-2020-8620 It was possible to trigger an assertion failure by sending
   a specially crafted large TCP DNS message.
 - CVE-2020-8621 named could crash after failing an assertion check in
   certain query resolution scenarios where QNAME minimization and
   forwarding were both enabled. To prevent such crashes, QNAME minimization is
   now always disabled for a given query resolution process, if forwarders are
   used at any point.
 - CVE-2020-8622 It was possible to trigger an assertion failure when
   verifying the response to a TSIG-signed request.
 - CVE-2020-8623 When BIND 9 was compiled with native PKCS#11 support, it
   was possible to trigger an assertion failure in code determining the
   number of bits in the PKCS#11 RSA public key with a specially crafted
   packet.
 - CVE-2020-8624 update-policy rules of type subdomain were incorrectly
   treated as zonesub rules, which allowed keys used in subdomain rules to
   update names outside of the specified subdomains. The problem was fixed by
   making sure subdomain rules are again processed as described in the ARM.

Full release notes are available at
https://ftp.isc.org/isc/bind9/9.16.6/doc/arm/html/notes.html#notes-for-bind-9-16-6

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
2020-08-23 19:58:34 -07:00
Michael Heimpold
7504fddd53 Merge PR #13179 via local branch. 2020-08-23 22:58:12 +02:00
Karl Palsson
75992cc981 net/u2pnpd: convert init to procd
Drops pid files, no longer needed with procd management.
Now properly reloads on reload_config after UCI changes.

Signed-off-by: Karl Palsson <karlp@etactica.com>

[ Fixed two shellcheck warnings and bump PKG_RELEASE ]
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2020-08-23 22:52:31 +02:00
Rosen Penev
3ff9c91b9d
Merge pull request #13137 from neheb/isc
isc-dhcp: fix compilation with GCC 10
2020-08-23 13:32:19 -07:00
Rosen Penev
5333cdcbb9
Merge pull request #13191 from Foxtrot/add-fakepop
fakepop: add new package
2020-08-23 13:31:22 -07:00
David Yang
dec2cab0dd i2pd: Update to 2.32.1
Signed-off-by: David Yang <mmyangfl@gmail.com>
2020-08-23 21:11:31 +08:00
Marc Egerton
8b60f1591a fakepop: Fix PKG_LICENSE, remove libc dependency
Signed-off-by: Marc Egerton <foxtrot@realloc.me>
2020-08-22 22:18:44 +01:00
Peter Stadler
14650d3517 nginx: update to version 1.19.2
Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-22 19:59:11 +02:00
Aaron Goodman
5facc084aa openfortivpn: fix routes passed to netifd
The openfortivpn routes are a bit different than the standard ppp
routes so we need to handle them with a custom ppp-up script.

Gateway should not be set, and src should be set to the PPP local ip
address.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-22 13:21:14 -04:00
Jakov Smolic
f8ffabaf08
netopeer2: update to 1.1.39
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-22 18:26:04 +02:00
Jakov Smolic
1e5fe18cba
sysrepo: update to 1.4.70
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
2020-08-22 18:26:04 +02:00
Marc Egerton
b568005444 fakepop: new package
fakepop is a fake pop3 daemon. It returns always the same messages to all users, it does not care about usernames and passwords. All user/pass combinations are accepted.

Signed-off-by: Marc Egerton <foxtrot@realloc.me>
2020-08-22 16:19:05 +01:00
Rosen Penev
46f727e57d
Merge pull request #13097 from lzto/nft-qos-mac
nft-qos: support mac address based speed limit
2020-08-21 17:51:04 -07:00
Stan Grishin
492a49fcc5 simple-adblock: bugfix: update config; use command -v
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-21 23:29:02 +00:00
Rosen Penev
5a94dd25c1
Merge pull request #13184 from PolynomialDivision/feature/dawnupdate
dawn: bump to latest version
2020-08-21 15:49:36 -07:00
Nick Hainke
89a093a1f0 dawn: bump to latest version
Includes:
- dawn_uci: fix crashing when uci config is received
- tcpsocket: add option to add server ip

A new config option allows to add a server ip
	option server_ip '10.0.0.2'

However, this server does not send anything back. Therefore it is not
possible to change the node configuration. This will probably be added
soon. The main goal of this commit is to allow monitoring of all nodes
in a network with DAWN, e.g. clients, channel utilization, ...

Also a network option (3) has been added which allows to use TCP but
not to announce your daemon in the broadcast domain. This allows you to
create a monitor-only node that holds only the local information and
forwards it to the central server.

A monitor-only node could be configured like
	option server_ip '10.0.0.1'
	option tcp_port '1026'
	option network_option '3'

Another possible config is
        option server_ip '10.0.0.1'
        option tcp_port '1026'
        option network_option '2'
Here, the node shares information with a central server, which can be
located outside the broadcast domain. Nevertheless, it also shares
information within its broadcast domain and can therefore perform
client steering.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-22 00:45:19 +02:00
Rosen Penev
5470cc70bf
Merge pull request #13175 from neheb/fpi
fping: update to 5.0
2020-08-21 14:10:36 -07:00
Rosen Penev
f86418eea2
Merge pull request #13177 from aleksander0m/aleksander/mm-1-14-2
modemmanager: bump to 1.14.2
2020-08-20 15:16:38 -07:00
Rosen Penev
95362efd29
Merge pull request #13111 from neheb/tgt
tgt: remove bzero usage
2020-08-20 03:24:57 -07:00
Aleksander Morgado
efda597235 modemmanager: bump to 1.14.2
https://lists.freedesktop.org/archives/modemmanager-devel/2020-August/008099.html

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-08-20 10:01:19 +02:00
Rosen Penev
fd18159394 fping: update to 5.0
Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-19 15:00:34 -07:00
Rosen Penev
c03f25a00a davfs2: update to 1.6.0
Removed now unnecessary gcc10 patch.

Removed neon patch. It's now upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-19 14:35:40 -07:00
Karl Palsson
22ff5c39ac 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>
2020-08-19 15:30:36 +00:00
Tong Zhang
0483b8dc88 nft-qos: support mac address based speed limit
This patch makes it possible to configure and limit per-client internet
speed based on MAC address and it can work with SQM.
This feature is what OpenWRT currently lacks. This patch is largely based
on static.sh and the configuration file is similar to original nft-qos.

New configuration options and examples are listed below

config default 'default'
    option limit_mac_enable '1'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'tv-box'
	option macaddr 'AB:CD:EF:01:23:45'
	option drate '1000'
	option urate '50'
config client
	option drunit 'kbytes'
	option urunit 'kbytes'
	option hostname 'my-pc'
	option macaddr 'AB:CD:EF:01:23:46'
	option drate '3000'
	option urate '2000'

limit_mac_enable - enable rate limit based on MAC address
drunit - download rate unit
urunit - upload rate unit
macaddr - client MAC address
drate - download rate
urate - upload rate

Signed-off-by: Tong Zhang <ztong0001@gmail.com>
2020-08-19 09:39:57 -04:00
Florian Eckert
91bf524845
Merge pull request #13041 from aaronjg/mwan3-startup-performance
mwan3: startup performance improvements and other fixes
2020-08-19 13:59:02 +02:00
Norman Gehrsitz
aa8ee7e440 ddns-scripts: cloudflare.com-v4: Simplify Bearer Token support
Signed-off-by: Norman Gehrsitz <gehrsitz.norman@student.dhbw-kahlsruhe.de>
2020-08-18 11:06:34 +02:00
Aaron Goodman
c07f5230be mwan3: improve startup performance; version 2.9.0
improve startup and runtime performance by

1) moving common startup procedures out of hotplug script when called
from mwan3 start
2) reducing calls to iptables to check status of rules
3) consolidating iptables updates and updating with iptables-restore
4) do not wait for kill if nothing was killed
5) running interface hotplug scripts in parallel
6) eliminate operations in hotplug script that check status on every
single interface unnecessarily
7) consolidate how mwan3track makes hotplug calls
8) do not restart mwan3track on connected events

This is a significant refactor, but should not result in any breaking
changes or require users to update their configurations.

version bump to 2.9.0

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-17 22:02:36 -04:00
Jeffery To
722a5b8efa
python3: Use hash-checking mode when installing host pip packages
In hash-checking mode[1], pip will verify downloaded package archives
(source tarballs in our case) against known SHA256 hashes before
installing the packages.

As a consequence, this requires the use of requirements files[2] and
pinning packages to known versions.

The syntax for package Makefiles has changed slightly;
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS no longer accepts requirement
specifiers like "foo>=1.0", only requirements file names (which are the
same as package names in the most common case).

This also updates affected packages, in particular:

* python-zipp: "setuptools_scm[toml]" has been split into
  "setuptools-scm toml" to reuse the requirements file for
  setuptools-scm (the extra depends installed by "setuptools_scm[toml]"
  is toml).

* python-pycparser: This previously used ply 3.10, whereas the
  requirements file will now install 3.11.

[1]: https://pip.pypa.io/en/stable/reference/pip_install/#hash-checking-mode
[2]: https://pip.pypa.io/en/stable/user_guide/#requirements-files

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-08-17 23:05:49 +08:00
Daniel Golle
6855683e3e hs20: prepare server using uci-defaults and ship files
Setup user database if non-existent, configure uhttpd .php interpreter
and patch php scripts to work out-of-the-box.
Also ship Hotspot 2.0 SPP and OMA DM XML schema/DTD files needed at
run-time for both client and server.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-17 14:12:05 +01:00
Mateusz Stępień
f778b1eea3 ddns-scripts: Add moniker.com DDNS service
Signed-off-by: Mateusz Stępień <mateusz@argc.pl>
2020-08-16 17:42:05 +02:00
Rosen Penev
c79c7b7cc8
isc-dhcp: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-15 17:37:22 -07:00
Aaron Goodman
39f58789e6 mwan3: use ip monitor route to detect routing changes
use only committed uci changes for updating routing table

use functions.sh functions rather than uci command line tool
to find interfaces for routing table.

consolidate rtmon_ipv4 and rtmon_ipv6 functions into a single function

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-15 20:19:56 -04:00
Rosen Penev
d47ac3eb40
Merge pull request #13108 from neheb/nets
netsniff-ng: add missing header
2020-08-15 15:32:39 -07:00
Daniel Golle
6d8a3aa71d hs20: add Hotspot 2.0 OSU client and server implementation
Add hs20-server and hs20-client packages correspoding to the
hs20/client and hs20/server folder in hostap.git.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-15 16:54:54 +01:00
Matthias Schiffer
8bb7659f08 openvswitch: backport patch to fix build against kernel 4.14.193
(and possibly other recent stable kernels)

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2020-08-15 09:19:59 +08:00
Dirk Brenken
5ba498f7c8
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>
2020-08-14 14:53:57 +02:00
Rosen Penev
40b71e324b
open-isns: fix compilation without deprecated signal API
Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:35:05 -07:00
Rosen Penev
215dd8d96f
tgt: remove bzero usage
bzero is deprecated and replaced by memset.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:34:22 -07:00
Rosen Penev
42c5bc9f9a
netsniff-ng: add missing header
Needed for ssize_t.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-13 21:29:11 -07:00
Rosen Penev
720b5117fb
Merge pull request #13079 from neheb/oor
oor: fix compilation with GCC 10
2020-08-12 13:09:47 -07:00
Rosen Penev
ed08dbb6fe
Merge pull request #13076 from neheb/opn
open-iscsi: fix compilation with musl 1.2.0
2020-08-12 11:19:59 -07:00
Karl Palsson
2537416a11 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>
2020-08-12 14:00:20 +00:00
Rosen Penev
e03633fefe
Merge pull request #13067 from neheb/chao
chaosvpn: fix compilation without sys/cdefs
2020-08-11 11:57:50 -07:00
Rosen Penev
f371658967
Merge pull request #13074 from neheb/atf
atftp: completely remove cdefs usage
2020-08-11 11:39:36 -07:00
Rosen Penev
5cdbecf254
Merge pull request #13084 from mstorchak/rsync
rsync: update to 3.2.3
2020-08-11 11:24:50 -07:00
Rosen Penev
1e70e0cb72
Merge pull request #13064 from neheb/linkn
linknx: fix compilation without sys/cdefs
2020-08-11 10:12:27 -07:00
Rosen Penev
cddb27503e
Merge pull request #13065 from neheb/knxdd
knxd: fix compilation without sys/cdefs
2020-08-11 10:12:00 -07:00
Maxim Storchak
ed6c736a63 rsync: update to 3.2.3
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2020-08-11 12:26:19 +03:00
Rosen Penev
df6c468a5a
oor: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 16:19:11 -07:00
Rosen Penev
dd639f9aa1
netdiscover: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:54:32 -07:00
Rosen Penev
0c0f6f450d
open-iscsi: fix compilation with musl 1.2.0
GLOB_ONLYDIR is not defined.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:53:58 -07:00
Rosen Penev
f3fdcb4288
atftp: completely remove cdefs usage
sys/cdefs.h is not provided by musl.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:35:09 -07:00
Rosen Penev
286e42b3f4
chaosvpn: fix compilation without sys/cdefs
sys/cdefs.h does not come included with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:26:41 -07:00
Rosen Penev
0b37205d21
knxd: fix compilation without sys/cdefs
sys/cdefs.h does not come with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:25:04 -07:00
Rosen Penev
95c6c66ed1
linknx: fix compilation without sys/cdefs
sys/cdefs.h is not included with musl. It's also deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-10 15:23:59 -07:00
Rosen Penev
11c4323665
Merge pull request #13060 from wodu/linuxptp_maint
linuxptp: Update to version 3.0
2020-08-10 12:25:05 -07:00
Rosen Penev
50db30f8c6
Merge pull request #13059 from aparcar/which
treewide: replace `which` with `command -v`
2020-08-10 12:24:34 -07:00
Yousong Zhou
3f383103ee openvswitch: bump to version 2.13.1
The two backported patches are included in 2.13.1

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-10 20:38:49 +08:00
Wojciech Dubowik
ea6d3a3468 linuxptp: Update to version 3.0
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
2020-08-10 09:57:29 +02:00
Paul Spooren
30ea917518 treewide: replace which with command -v
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-09 13:58:14 -10:00
Toke Høiland-Jørgensen
416dccf72a
Merge pull request #13058 from guidosarducci/master-fix-gcc10-netperf
netperf: fix compilation with GCC10
2020-08-09 10:14:25 +02:00
Tony Ambardar
c332d5fdf7 netperf: fix compilation with GCC10
GCC10 defaults to -fno-common, which breaks compilation when there are
multiple definitions of implicit "extern" variables. Remove the extra
definitions.

Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
2020-08-09 00:02:48 -07:00
Sebastian Kemper
d4addd14c0 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>
2020-08-08 16:15:46 +02:00
Rosen Penev
d179b11410
Merge pull request #13029 from neheb/boinc
boinc: fix compilation without deprecated OpenSSL APIs
2020-08-07 11:57:29 -07:00
Rosen Penev
61b3532fe4
Merge pull request #13051 from ptpt52/miniupnpd-check-running
net/miniupnpd: check by /etc/init.d/miniupnpd running
2020-08-07 09:31:43 -07:00
Chen Minqiang
67b4871322 net/miniupnpd: check by /etc/init.d/miniupnpd running
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-08-08 00:12:38 +08:00
Nick Hainke
26fb6219de dawn: bump version
test_storage: fix compilation with musl 1.2.0
datastorage/test: improve scalability and performance
datastorage: fixed use of wrong client search
general: add memory auditing
memory auditing: bug fixes to memory auditing and hearing map
datastorage: fixes to linked list handling
tcpsocket: fix read callback function and arbitrary memory allocations
tcpsocket: leave loop if we read 0 byte

Furthermore, you can now dump the memory usage by sending a SIGHUP to
dawn process.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-08-07 12:35:59 +02:00
Eric Luehrsen
f8ba0fe7bf unbound: follow resolv.conf.auto to new location
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-08-07 01:30:52 -04:00
Rosen Penev
8b004dbfba
Merge pull request #12811 from TDT-AG/pr/20200714-ntpd
ntpd: add config include support
2020-08-05 13:29:20 -07:00
Rosen Penev
1be8f072c8
Merge pull request #12976 from pprindeville/update-xtables-addons-3.10
xtables-addons: update for 3.10
2020-08-05 13:18:18 -07:00
Rosen Penev
dca6a5b2fd
Merge pull request #13032 from neheb/freer
freeradius3: fix compilation without deprecated OpenSSL APIs
2020-08-05 13:10:49 -07:00
Rosen Penev
70b5ae920e
Merge pull request #13027 from neheb/ina
inadyn: update to 2.7
2020-08-05 13:08:50 -07:00
Karl Palsson
5c4aad9518 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>
2020-08-05 16:35:17 +00:00
Florian Eckert
8e34825f78 acme: fix alignment space vs tabs
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-05 11:33:19 +02:00
Rosen Penev
c4254a3824
Merge pull request #11116 from ja-pa/ooni
ooniprobe: new packages
2020-08-04 22:59:23 -07:00
Rosen Penev
9594a85404
freeradius3: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:17:01 -07:00
Rosen Penev
f45ce492fa
boinc: fix compilation without deprecated OpenSSL APIs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:12:49 -07:00
Rosen Penev
7a29b7d896
inadyn: update to 2.7
Remove pic hack.

Fix license information.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-04 19:10:09 -07:00
Philip Prindeville
9551c05d64 xtables-addons: update for 3.10
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2020-08-04 18:49:38 -06:00
Stan Grishin
e7d2563c57 simple-adblock: README and config update
Signed-off-by: Stan Grishin <stangri@melmac.net>
2020-08-04 22:50:39 +00:00
Jan Pavlinec
a588b44f39
ooniprobe: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-08-05 00:43:07 +02:00
Daniel Golle
d7a6bb0621 gnunet-fuse: update to version 0.13.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-08-04 21:00:26 +01:00
Yousong Zhou
4418d240a1 shadowsocks-libev: note the deprecation of ss_server.bind_address
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-04 11:40:45 +08:00
peter-stadler
f81ef30a30 nginx-util: fix dependency
Add DEPENDS since EXTRA_DEPENDS is not used by `make menuconfig`.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-08-03 15:17:24 +02:00
Hannu Nyman
1c67444c33
Merge pull request #13004 from commodo/netatalk-fix-clang
netatalk: fix compile error in mac os
2020-08-03 12:51:19 +03:00
Liangbin Lian
e60ad5400e netatalk: fix compile error in mac os
fix compile error in mac os when dtrace installed.

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-08-03 12:26:32 +03:00
Rosen Penev
3ae4b3f016
Merge pull request #13002 from liudf0716/apfree-wifidog
apfree-wifidog: fix bug of cert generating condition and enable misuse
2020-08-02 23:12:40 -07:00
Yousong Zhou
7d7cbae75e shadowsocks-libev: support ss-server option local_{ipv4,ipv6}_address
At the moment ss-server seems to be the only component using these two
options.  It also accepts "local_address" of either ip4 or ip6 address,
but the meaning is different from that of ss-local, ss-tunnel etc.
where it is for listen bind

With this commit, we start deprecation process of uci option
"bind_address".  The name was replaced with "local_addr" in upstream
project commit 5fa98a66 ("Fix #1911") and available as json config
option "local_address".  This upstream change was released in 3.2.0

Link: 4a42da641b
Link: https://github.com/openwrt/packages/issues/12931
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-08-03 11:52:56 +08:00
Dengfeng Liu
69a7cf4c1d apfree-wifidog: fix bug of cert generating condition and enable misuse
Signed-off-by: Dengfeng Liu <dfliuc@isoftstone.com>
2020-08-03 10:16:01 +08:00
Rosen Penev
e1c3ed6748
softethervpn: fix compilation with clang
Needs , not = for the rpath parameter.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:48:59 -07:00
Rosen Penev
02d5c37808
ola: fix compilation with clang
Needs , not = for the rpath parameter.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-02 00:48:49 -07:00
Rosen Penev
0c3f4fd079
Merge pull request #12899 from aaronjg/openwrtize-openfortivpn
openfortivpn: use a more 'OpenWRT' paradigm throughout the code
2020-08-01 16:40:41 -07:00
Rosen Penev
bb6cecb2ca
Merge pull request #12904 from odmdas/odmdas-freeradius3-Makefile
freeradius3: add missing conffiles to Makefile
2020-08-01 16:37:45 -07:00
Alexey Dobrovolsky
f6974b8f3c 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>
2020-08-01 23:31:59 +03:00
Aaron Goodman
176f363b5f openfortivpn: remove explicit handling of peerdns and defaultroute
netifd is clever enough to handle the peerdns and default route
arguments, so we can just let them get passed along, and when
ppp-up invokes proto_send_update, netifd will only apply what
is needed

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-31 21:43:06 -04:00
Christian Lachner
4c2edf71c2 haproxy: Update HAProxy to v2.2.2
- Update haproxy download URL and hash
- This new version also adds LUA 5.4 support

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-07-31 18:49:35 +02:00
Hannu Nyman
6a547b60a3
Merge pull request #12594 from hnyman/nlbw
nlbwmon: add hotplug script to reload after interface ifup
2020-07-31 16:55:42 +03:00
Aaron Goodman
991147ff43 openfortivpn: improve logging
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-30 20:47:34 -04:00
Aaron Goodman
93af5a19bb openfortivpn: add defaultroute option
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-30 20:47:34 -04:00
Aaron Goodman
7ec4881762 openfortivpn: use functions/network.sh to access interface params
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-30 20:47:34 -04:00
Aaron Goodman
a541f0be8a openfortivpn: use proper method to access configuration in hotplug
Use functions.sh to get configuration variables rather than calling uci

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-30 20:47:33 -04:00
Josef Schlehofer
639d7fbd9f
Merge pull request #12975 from ja-pa/clamav-security-fix
clamav: update to version 0.102.4 (security fix)
2020-07-30 21:32:24 +02:00
Jan Pavlinec
5d7164aaba
clamav: update to version 0.102.4 (security fix)
Fixes
CVE-2020-3481

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-30 15:28:52 +02:00
Aleksander Morgado
735eb02d04 modemmanager: avoid requiring autoreconf to build package
Do not manually overwrite the paths of gdbus-codegen or glib-mkenums
in the ModemManager package build, as modifying the configure.ac ends
up requiring a full autoreconf.

Since MM 1.14, git builds or autoreconf-ed source package builds
require autoconf-archive installed in the build system, and so the
build would fail if this happens.

The update to overwrite the paths was to force using the gdbus-codegen
and glib-mkenums provided by the "host" glib2 package instead of the
"target" glib2 package (see fa8ad6e69c),
but these tools are really the same in both as they're python
programs, arch independent.

Tested in a local build where the setup detects and uses the correct
glib tool paths from the target:
  /home/user/openwrt/staging_dir/target-mips_24kc_musl/usr/bin/gdbus-codegen
  /home/user/openwrt/staging_dir/target-mips_24kc_musl/usr/bin/glib-mkenums

Fixes https://github.com/openwrt/packages/issues/12958

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2020-07-30 09:32:17 +02:00
Rosen Penev
bca517b3d9
Merge pull request #12970 from EricLuehrsen/unbound_11100
unbound: update to 1.11.0
2020-07-30 00:23:14 -07:00
Yousong Zhou
a00671bf86 openvswitch: remove explicit dependency on librt
Selection of librt will be handled by the build system

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 11:54:34 +08:00
Eric Luehrsen
54164792aa unbound: update to 1.11.0
Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
2020-07-29 22:55:21 -04:00
Yousong Zhou
52e074411b openvswitch: only libopenvswitch depends on libunbound, libunwind
This is to make explicit the conditional select of libunwind is only
needed for libopenvswitch.  If we spill it over other packages, the
generated kconfig will have recursive dependency issue.  2 new patches
were made for this goal

The other thing is that "+libunwind" will cause it to be built if any of the
packages defined in this Makefile is enabled (y or m).  This is at the moment
by-design of the build system.

Libunwind does not support architectures like arc.  Use conditional select To
avoid (libunwind) build failures like the following,

  checking for ELF helper width... configure: error: Unknown ELF target: arc
  make[3]: *** [Makefile:65: /data/openwrt/build_dir/target-arc_arc700_uClibc/
  libunwind-1.3.1/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1

Things like "+PACKAGE_openvswitch-libopenvswitch:libunwind" will also result in
recursive deps error for chains of 3 nodes.  Kconfig construct like the
following will be made

	config A
		tristate
		select B
		depends on !(C) || (x)

	config B
		tristate
		select C

	config C
		tristate

	config x
		bool

Other changes include

 - Shared use of variable ovs__common_depends was removed
 - Ovn doc build was patched out

Link: https://github.com/openwrt/packages/pull/12959#issuecomment-665021413
Reported-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Yousong Zhou
f69f4f3fae openvswitch: rename shared var name ovs{,_}_common_depends
To avoid conflict with package ovs_common_depends of package
openvswitch-common

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Yousong Zhou
acca35d460 openvswitch: backport patch fixing build for 4.14.187
Supersedes openwrt/packages#12932

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-07-30 10:02:13 +08:00
Rosen Penev
59d5308ba9 sshfs: update to 3.7.0
Simplified Makefile as a result of meson transition.

Fixed license information.

Updated URL.

Added patch to fix linking issue.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-29 16:40:34 -07:00
Aaron Goodman
c8a8afe8c0 openfortivpn: version bump to 1.14.1-6
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-28 23:06:09 -04:00
Aaron Goodman
d8b71f45a8 openfortivpn: don't report error if symlink already exists
If two openfortivpn scripts are started at the same time, a race
condition can occur where the conditional evaluates to true, but the
symlink exists by the time the other script tries to create it

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-28 23:06:09 -04:00
Aaron Goodman
7f109ec59f openfortivpn: minor formatting changes
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-28 23:06:09 -04:00
Aaron Goodman
2f9cfb036f openfortivpn: block restart after authentication failure
Block restart of the interface if the openfortivpn fails to authenticate.
Without this check, with a bad password, netifd will continually
hit the VPN endpoint with connection attempts

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-28 23:06:09 -04:00
Rosen Penev
a445b39bef
fping: update to 4.4
Remove upstreamed patch.

Whitespace Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-28 16:10:26 -07:00
Hannu Nyman
25dfa20780 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>
2020-07-28 19:23:12 +03:00
Florian Eckert
00cb41275c
Merge pull request #12948 from TDT-AG/pr/20200724-mwan3
mwan3: update to version 2.8.12
2020-07-28 07:07:14 +02:00
Florian Eckert
85e91377cf mwan3: update version to 2.8.12
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-28 06:53:24 +02:00
Florian Eckert
981d1eb83a mwan3: unify variable check
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-28 06:53:24 +02:00
Florian Eckert
ab747fe0fb mwan3: remove lock file entirely
Removing the lock file ist not necessary

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-28 06:53:24 +02:00
Florian Eckert
b5bd6d757b mwan3: revert: also cleanup lock on mwan3 stop
This reverts commit cde2a77ed3.

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>
2020-07-28 06:53:24 +02:00
Florian Eckert
2dac1bcdc9 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>
2020-07-28 06:53:24 +02:00
Simon Kinane
d7507146e8 openvswitch: adds new UCI section ovs_bridge
This new config section in package openvswitch
supports creating a named bridge, and setting
its' OpenFlow controller end-point.

An example config is included in /rom/etc/config/openvswitch

Signed-off-by: Simon Kinane <skinane@fb.com>
2020-07-28 12:46:17 +08:00
peter-stadler
9cdc4a47f0
nginx: remove PROVIDES on depending package
Fix recursive dependency for `make menuconfig`.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-27 22:56:12 +02:00
Christian Lachner
78d99efb9b haproxy: Update HAProxy to v2.2.1
- New major version (LTS release)
- Update haproxy download URL and hash
- Remove obsolete dladdr1-dependency-patch as it has been upstreamed
- USE_REGPARM is obsolete and therefore removed from our Makefile

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2020-07-27 21:32:08 +02:00
Olivier Poitrey
7de22184e7 nextdns: Update to version 1.7.1
Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2020-07-26 14:42:46 +00:00
Rosen Penev
6d3767075a
Merge pull request #12929 from peter-stadler/nginx-always-ssl
nginx: enable ssl for all variants and remove nginx-util w/o ssl
2020-07-26 02:23:40 -07:00
Rosen Penev
6c173164ef
Merge pull request #12915 from lucize/frrup
frr: update to 7.4 and latest backports
2020-07-26 02:18:42 -07:00
Peter Stadler
3603f50fd5 nginx: enable ssl for all variants and remove nginx-util w/o ssl
Make the plain nginx version the same as nginx-ssl.
In a further change we will replace nginx by a dummy package,
depending on +nginx-ssl instead. This allows a smooth upgrade.

For nginx-util leave the ssl and the ssl-nopcre versions only.
For nginx-mod-luci remove the duplicate ssl version.
Replace the removed packages by dummies for a smooth upgrade.
The dummy packages will be removed after a transition period.

Additionally, enable the http2 module for nginx-ssl by default
and cleanup the nginx.init file.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-25 17:36:28 +02:00
Rosen Penev
7171b4d498
Merge pull request #12916 from kenkeys/spoofer-v146
spoofer: Update to 1.4.6
2020-07-24 17:54:43 -07:00
Ken Keys
4171636692 spoofer: Update to 1.4.6
Includes a new CA file for compatibility with upcoming change to spoofer
server SSL cert

Signed-off-by: Ken Keys <kkeys@caida.org>
2020-07-24 15:42:36 -07:00
Lucian Cristian
8c0d17cf5d frr: update to 7.4 and latest backports
changelogs: https://github.com/FRRouting/frr/releases/tag/frr-7.4

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2020-07-24 18:50:07 +03:00
William Fleurant
1d78e7dc31 yggdrasil: Ygg-over-ygg bugfix
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2020-07-23 23:35:18 -04:00
Rosen Penev
7fa266580f
zerotier: disable pie support
The Makefile is already patched for it. But PKG_ASLR_PIE still needs
to be disabled.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-23 13:41:00 -07:00
Rosen Penev
4da82b8569
Merge pull request #12893 from ja-pa/tor-0.4.3.6
tor: update to version 0.4.3.6 (security fix)
2020-07-23 13:15:08 -07:00
Aaron Goodman
d134b7ffbb openfortivpn: Only start autostart interfaces on hotplug event
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-21 22:01:46 -04:00
Rosen Penev
75efd85bf1
Merge pull request #12799 from aaronjg/openfortivpn/netifd
openfortivpn: use standard 'peerdns' config option on netifd script
2020-07-21 18:59:00 -07:00
Daniel Golle
46da3eedc5 gnunet: update to version 0.13.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-07-22 02:43:35 +01:00
Jan Pavlinec
3f51a1ee6e
tor: update to version 0.4.3.6 (security fix)
Fixes
CVE-2020- 15572

Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2020-07-21 12:53:57 +02:00
Rosen Penev
567c620bdc
Merge pull request #12879 from TDT-AG/pr/20200720-mwan3
mwan3: update to version 2.8.11
2020-07-20 00:36:40 -07:00
Rosen Penev
6fec82d068
Merge pull request #12848 from BKPepe/squid
squid: update to version 4.12 (security update)
2020-07-20 00:35:45 -07:00
Josef Schlehofer
3401e29aa7
squid: update to version 4.12
- Fixes CVEs:

CVE-2019-12519
CVE-2019-12520
CVE-2019-12521
CVE-2019-12523
CVE-2019-12524
CVE-2019-12525
CVE-2019-12526
CVE-2019-12527
CVE-2019-12528
CVE-2019-12529
CVE-2019-12824
CVE-2019-12854
CVE-2019-13345
CVE-2019-18676
CVE-2019-18677
CVE-2019-18678
CVE-2019-18679

CVE-2020-8449
CVE-2020-8450
CVE-2020-11945
CVE-2020-14058
CVE-2020-15049

- Remove patch for cross-compilation
The patch should not be included in the OpenWrt at all without any
commit message/description.
Is not needed and there should be used HOST variables instead of BUILD variables (e.g.
   HOSTCXX)
However, the BUILDCXX is set in Makefile to HOSTCXX

- Renumber glibc patch and refresh it

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-20 08:56:50 +02:00
Florian Eckert
f601e6cfa4 mwan3: update version to 2.8.11
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:15:50 +02:00
Florian Eckert
b0acbf057e 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>
2020-07-20 08:13:34 +02:00
Florian Eckert
058a2b6f30 mwan3: add workaround for procd change
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:12:48 +02:00
Florian Eckert
cde2a77ed3 mwan3: also cleanup lock on mwan3 stop
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:12:31 +02:00
Florian Eckert
bcd13ba95c 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>
2020-07-20 08:11:20 +02:00
Florian Eckert
bcd914e665
Merge pull request #12814 from aaronjg/improvements/mwan3-misc-improvements-rb
mwan3: clean up ipv4/ipv6 duplicated code and misc. improvments
2020-07-20 08:06:39 +02:00
Florian Eckert
8e3e6f8dde 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>
2020-07-19 23:24:13 -04:00
Florian Eckert
a796b7a84e 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>
2020-07-19 23:24:13 -04:00
Aaron Goodman
ca8bc3d115 mwan3: version bump
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Aaron Goodman
30a46bdc9e mwan3: cleanup duplicate ipv4 and ipv6 logic
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Aaron Goodman
702a104f9c 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>
2020-07-19 23:18:22 -04:00