Commit Graph

15660 Commits

Author SHA1 Message Date
Rosen Penev 6371fc55d9 boost: Remove several host libraries
The facebook people have been working on removing Boost dependencies from
their projects. This is the current state.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from ddd4109c1c)
2019-11-16 18:13:52 -08:00
Rosen Penev 6002ef66b5 boost: Remove thread dependency from context
thread is only used when the C++ mutex header is missing. AFAIK, this is
the case on Windows and not on Linux. Certainly not in OpenWrt.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 260d4a346a)
2019-11-16 18:12:52 -08:00
Rosen Penev 4674e8f480 Merge pull request #10556 from rs/feature_nextdns_19_07
nextdns: add DNS over HTTPS with NextDNS integration
2019-11-15 14:11:54 -08:00
Olivier Poitrey 35a9ef61ea nextdns: add DNS over HTTPS with NextDNS integration
Maintainer: @rs

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
2019-11-15 13:47:05 -08:00
Dirk Brenken c1575ecf5c banip: update 0.3.10
* add missing logd dependency
* check if logd is enabled during runtime
* some more init tweaks

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit de149441a4)
2019-11-15 16:58:04 +01:00
Florian Eckert 0f67fc96d8 mwan3: sync PKG_RELEASE number and PKG_VERSION with master
Since the merge of the luci master branch into the luci openwrt.19.07 branch,
the ubus API was not in sync anymore. So all commits from the master
branch where backported into the openwrt-19.07 branch. But this could
not be done linear. There were already some fixes cherry-picked from the
master and the version does not match anymore. This commit syncronized
the PKG_VERSION and the PKG_RELEASE again to make clear that the
version in master and openwrt-19.07 are even again and have so the
same software version until to this commit.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-15 09:59:09 +01:00
Daniel A. Maierhofer 62c9688adc mwan3: Add missing IPs to wanb
Maintainer: Florian Eckert @feckert
Compile tested: not needed
Run tested: x86_64

Description:
Only two of the four IPs defined for wan are found in wanb, adding it so it is the same.

Signed-off-by: Daniel A. Maierhofer <git@damadmai.at>
(cherry picked from commit 1e97156adc)
2019-11-15 09:57:20 +01:00
Florian Eckert aa5a583869 mwan3: update version to 2.8.0
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit e100de8bd8)
2019-11-15 09:56:29 +01:00
Florian Eckert e842ea3941 mwan3: add netifd up info to mwan3 ubus status output
Add the netifd up status output to the mwan3 ubus status output.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 27db561752)
2019-11-15 09:51:50 +01:00
Florian Eckert f20b96e4a5 mwan3: add enabled info to mwan3 ubus status
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit cfba93a203)
2019-11-15 09:49:39 +01:00
Florian Eckert 0c25f7a51c mwan3: add interface uptime netifd value to ubus mwan3 status output
Add missing netifd uptime info to ubus status call.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit bfa849c14e)
2019-11-15 09:40:15 +01:00
Florian Eckert 3371703487 mwan3: rename downtime to offline
Rename downtime ubus output from mwan3 to offline.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 6c2cd78c6f)
2019-11-15 09:39:41 +01:00
Florian Eckert aa05eb448b mwan3: rename uptime to online
Rename uptime ubus output from mwan3 to online.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 3be40786f5)
2019-11-15 09:39:17 +01:00
Yousong Zhou 2a64b3a440 collectd: remove the patch scaling ping_droprate from 0-1 to 0-100
Upstream project's behaviour of reporting this data source in range 0-1
is used by at least CentOS 7 collectd 5.8.1, very likely the same
behaviour is also in widely use by other distributions.

The change is important for providing consistent experience across
collectd deployments on different environments

Ref: https://github.com/collectd/collectd/pull/3244
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit 2f66fa5c23)
Ref: https://github.com/openwrt/luci/issues/3308
2019-11-14 11:10:26 +00:00
yurtesen 84756e7f60 mwan3: Fix json_load fails with some data
Sometimes the return value of `ubus -S call network.interface.wan status`
cause `json_load` to return `Failed to parse message data` error.

To avoid this, the JSON data always should be quoted with double quotes.

Signed-off-by: Evren Yurtesen <eyurtese@abo.fi>
Removed quoatation marks from commit heading
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Update the version string from 2.8.1 (master) to 2.7.15 (openwrt-19.07)
(cherry picked from commit 94e0c78826)
2019-11-14 07:52:27 +01:00
Hauke Mehrtens 168c2928f9 io: Add TARGET_LDFLAGS to fix PIE
Add the OpenWrt TARGET_LDFLAGS to the compile command to activate PIE support
for the io tool when it is activated globally in OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
(cherry-picked from b46d21a54e)
2019-11-13 23:43:46 +01:00
Hauke Mehrtens 0441927b24 io: Fix printing 4 bytes memory on 64 bit systems
On 64 bit Linux systems long is 8 bytes long, on 32 bit Linux systems it
is 4 bytes long. Here we want to print 4 bytes and not 8 bytes, use int
instead of long.

This fixes printing 4 bytes on 64 bit systems.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry-picked from 9936e16b72)
2019-11-13 23:43:40 +01:00
Hauke Mehrtens 1f082d84dd io: Open /dev/mem with O_SYNC for uncached access
Only when /dev/mem is opened with O_SYNC the write and *read* is done
uncached. We saw wrong values read out from the hardware without setting
O_SYNC, the busybox devmem tool showed different values, when O_SYNC is
also set for the io tool, it reads out the same values as devmem.
When looking at the drivers/char/mem.c file in the kernel it is behaving
differently based on the O_DSYNC flag.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@intel.com>
(cherry-picked from 90df0f3e24)
2019-11-13 23:43:36 +01:00
DENG Qingfang 39001de7b0 pcre: remove unnecessary dependency on C++ lib
Add libpcrecpp to PKG_CONFIG_DEPENDS to properly trigger
reconfiguration, avoiding unnecessary dependency.

This reverts commit 17090fecf1.
This reverts commit ec138f51ab.

Signed-off-by: DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
(cherry-picked from 41814de0fc)
2019-11-12 20:16:00 -08:00
Kenneth J. Miller e91e3fd6ad ntpd: Fix libevent dependencies
Add required libevent2-pthreads dependency for all ntpd
subpackages.

Remove keygen-specific libevent2-core support as it is
automatically selected by the libevent2-pthreads dependency.

nptd: Bump PKG_RELEASE

Fixes: openwrt/packages#10307

Signed-off-by: Kenneth J. Miller <ken@miller.ec>
(cherry picked from commit ded6468744)
2019-11-12 14:51:29 +01:00
Hannu Nyman d71f8c3c29 Merge pull request #10525 from jefferyto/python-six-1.13.0-openwrt-19.07
[openwrt-19.07] python-six: Update to 1.13.0
2019-11-11 19:36:54 +02:00
Jeffery To daebf4aba9 python-six: Update to 1.13.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from 5be603a836)
2019-11-11 18:39:36 +08:00
Josef Schlehofer aa4c5e7de6 Revert "Revert "perl-www-curl: curl 7.66.0 compatibility""
This is required as curl 7.66.0 was cherry-picked to openwrt-19.07 3
days ago. Otherwise, compilation of perl-www-curl fails.

This reverts commit ec6cd9b9c3.
2019-11-10 20:40:19 +01:00
Dirk Brenken c75917c8a9 banip: update 0.3.9
* fix 'enabled' service check

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit e38810f38e)
2019-11-10 19:10:07 +01:00
Dirk Brenken 49e57eadb3 banIP: update 0.3.8
* limit firewall hotplug trigger to certain wan 'INTERFACE' as well,
  to prevent possible race conditions during boot

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0dee2a92de)
2019-11-10 19:09:07 +01:00
Dirk Brenken 1fc8c2c4ea adblock: update 3.8.10
* fix broken unbound integration

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit be7a89cecb)
2019-11-10 19:07:57 +01:00
Rosen Penev 840d6ddab4 Merge pull request #10515 from gladiac1337/haproxy-2.0.8-up2-owrt-19.07
[openwrt-19.07] haproxy: Update patches for HAProxy v2.0.8 + migrate to procd
2019-11-10 10:00:53 -08:00
Jan Hák e0ca91a2fe knot: update to version 2.9.0
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry-picked from commit f9e3d4e0fa)
2019-11-10 18:33:59 +01:00
Jan Hák 734a005187 knot: update to version 2.8.4
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry-picked from commit 8a82181c27)
2019-11-10 18:33:42 +01:00
Lucian Cristian 145bd2d19e dovecot: update to 2.3.8
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
(cherry-picked from commit 962716aad7)
2019-11-10 18:32:04 +01:00
Jan Hák f7cc8ad37b libedit: update to 20191025-3.1
Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry-picked from commit 440c27a4a5)
2019-11-10 18:31:41 +01:00
Josef Schlehofer 50dfcd79f5 dnscrypt-proxy2: Update to version 2.0.29
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 69316134c3)
2019-11-10 18:30:46 +01:00
Josef Schlehofer a6f026ff5b python-zipp: fix python-more-itertools dependency
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 426ed75dbe)
2019-11-10 18:30:30 +01:00
Jan Pavlinec 0faf7bfcc2 python-zipp: add new package
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit f0a79ca148)
2019-11-10 18:30:19 +01:00
Josef Schlehofer e9748d34f5 bind: Update to version 9.14.7
Fixes CVE-2019-6475 and CVE-2019-6476

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry-picked from commit 7b9af101f6)
2019-11-10 18:29:29 +01:00
Jakub Piotr Cłapa 91da56a942 perl: fixed host compilation of static perl on MacOS
All symbols on MacOS are prefixed with an underscore which
interfered with the filtering mechanism (added in perl 5.28)
for extension libraries to be linked into static perl.

Signed-off-by: Jakub Piotr Cłapa <jpc@loee.pl>
(cherry-picked from commit 3954356)
2019-11-10 18:28:23 +01:00
Jan Pavlinec bb00671ad4 libmaxminddb: update to version 1.4.2
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
(cherry-picked from commit 62a9110bc5)
2019-11-10 18:24:33 +01:00
Josef Schlehofer d60dbbed2c clamav: Update to version 0.101.4
Change deprecated options to a new one:
DetectBrokenExecutables to AlertBrokenExecutables
ArchiveBlockEncrypted to AlertEncrypted

Fixes: CVE-2019-12900 and CVE-2019-12625

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2019-11-10 17:00:43 +01:00
Christian Lachner c58d563120 haproxy: Rework hotplug script for HAProxy
- Migrated init-script to procd.
- Removed the old hotplug script as it is unnecessary and
  caused long boot-times for r7800 and possibly others.

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-10 11:04:48 +01:00
Christian Lachner 98a4cd0fd8 haproxy: Update patches for HAProxy v2.0.8
- Add new patches (see https://www.haproxy.org/bugs/bugs-2.0.8.html)

Signed-off-by: Christian Lachner <gladiac@gmail.com>
2019-11-10 11:04:14 +01:00
Rosen Penev ec6cd9b9c3 Revert "perl-www-curl: curl 7.66.0 compatibility"
This reverts commit 3d98d7fd05.

This was a bad backport.
2019-11-09 11:30:15 -08:00
Hannu Nyman 522aea0cad Revert "haproxy: Update patches for HAProxy v2.0.8"
This reverts commit 76a2da3fd4.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-09 10:16:33 +02:00
Hannu Nyman 22bcd9e784 Revert "haproxy: Rework hotplug script for HAProxy"
This reverts commit c9ee50d190.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-11-09 10:16:02 +02:00
Hannu Nyman b2febcc246 Merge pull request #10442 from gladiac1337/haproxy-2.0.8-up-owrt-19.07
[openwrt-19.07] haproxy: Update patches for HAProxy v2.0.8 + fix hotplug script
2019-11-09 09:42:01 +02:00
Dirk Brenken 7a1f32f704 banip: update 0.3.7
* fix a logical glitch in the hotplug event handler
* properly handle fatal iptables errors - even in subshells

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 49b43b81e8)
2019-11-08 19:19:18 +01:00
Dirk Brenken 848589d758 banip: update 0.3.6
* more startup tweaks
* re-use f_log function in helper scripts
* small fixes / polish up for forthcoming 19.07 release

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 72fba3a17b)
2019-11-08 19:18:52 +01:00
Dirk Brenken 7401166ea8 banip: update 0.3.5
* fix race condition in download utility detection during boot
* fix multiple possible bugs in ipset creation
* prevent parallel service starts
* refine service trigger handling
* add ssh daemon auto detection
* print to stdout if 'logger' is not available

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit fcea2f75c3)
2019-11-08 19:18:27 +01:00
Dirk Brenken be9e82b017 travelmate: update 1.5.2
* print to stdout if 'logger' is not available
* add support to set the service nice level (default is 0)
* small fixes / polish up for forthcoming 19.07 release

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 0d406b2a42)
2019-11-08 19:11:28 +01:00
Dirk Brenken fff155b2bf adblock: update 3.8.9
* more startup tweaks
* re-use f_log function in helper scripts
* small fixes / polish up for forthcoming 19.07 release

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 2c3cb6f1d1)
2019-11-08 19:08:52 +01:00
Dirk Brenken bc89112c27 adblock: update 3.8.8
* print to stdout if 'logger' is not available
* small fixes

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit 9c82e9e282)
2019-11-08 19:08:43 +01:00