feed/packages.git
2 years agonut: fix build on macos
Sergey V. Lobanov [Mon, 31 Jan 2022 21:02:14 +0000 (00:02 +0300)]
nut: fix build on macos

nut build fails on macos due to:
1. configure script can not use AR env var due to OpenWrt build
system provides only executable name (e.g. aarch64-openwrt-linux-musl-gcc-ar)
but configure script checks if AR has '/'. As a result, configure
script ignores AR env var and uses system `ar` but macos `ar` is
not compatible with the objects generated by OpenWrt GCC toolchain.

This commit explicitly sets ac_cv_path_AR=$(TARGET_AR) to use
OpenWrt toolchain AR.

2. configure script detects if build host is macos and adds
macosx_ups driver as a build target, but this driver can not be
build with OpenWrt toolchain because OpenWrt is Linux.

This commit explicitly disables macosx_ups driver using configure
flag --without-macosx_ups

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agosoftethervpn: fix build on macos
Sergey V. Lobanov [Fri, 14 Jan 2022 23:45:17 +0000 (02:45 +0300)]
softethervpn: fix build on macos

host-compile fails on macos due to several reasons:
1. host-compile Makefile always selected for linux
2. macos host cc (clang) fails due to implicit-function-declaration
3. ar and ranlib tools are hardcoded in softethervpn Makefiles

All three issues are fixed by this patch

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agomtdev: fix bad printf formats
Rosen Penev [Mon, 31 Jan 2022 06:51:22 +0000 (22:51 -0800)]
mtdev: fix bad printf formats

Easiest to just change the type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolibdrm: fix bad formats for mips64 and ppc64
Rosen Penev [Mon, 31 Jan 2022 06:57:30 +0000 (22:57 -0800)]
libdrm: fix bad formats for mips64 and ppc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agonano: Add a plus variant with more features
Hannu Nyman [Mon, 31 Jan 2022 16:04:08 +0000 (18:04 +0200)]
nano: Add a plus variant with more features

Nano is by default built as "tiny" with most features disabled.
That is suitable for basic tasks in routers with small flash.

Add a new nano-plus variant that enables selected additional
features in the build config:
 * multiple files (multibuffer)
 * Unicode/utf8
 * justify
 * .nanorc support
 * help
 * also some key bindings get enabled as "tiny" configure option
   is removed.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agobridge-utils: update to 1.7.1
Rosen Penev [Sun, 30 Jan 2022 04:00:38 +0000 (20:00 -0800)]
bridge-utils: update to 1.7.1

Added missing limits header for PATH_MAX.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolibowfat: fix build on macos
Sergey V. Lobanov [Mon, 31 Jan 2022 00:09:55 +0000 (03:09 +0300)]
libowfat: fix build on macos

libowfat target-build fails on macos due to using system `ar` and
`ranlib` tools not compatible with the objects generated by
OpenWrt GCC toolchain.

This patch specifies CROSS= make flag that is used as a prefix for
`ar` and `ranlib` tools.

This patch also specifies CCC= make flag due to CCC= has invalid
value after specifying CROSS= make flag (CCC=$(CROSS)$(CC))

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agosockread: add missing header
Rosen Penev [Sun, 30 Jan 2022 03:51:31 +0000 (19:51 -0800)]
sockread: add missing header

Needed for memset, memcpy, and strerror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolinuxptp: fix bad formats with ppc64 and mips64
Rosen Penev [Mon, 31 Jan 2022 06:47:45 +0000 (22:47 -0800)]
linuxptp: fix bad formats with ppc64 and mips64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoMerge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample
Florian Eckert [Mon, 31 Jan 2022 10:28:47 +0000 (11:28 +0100)]
Merge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample

ddns-scripts: remove extra pipe

2 years agoddns-scripts: remove extra pipe 17755/head
André Herbst [Mon, 31 Jan 2022 09:46:40 +0000 (10:46 +0100)]
ddns-scripts: remove extra pipe

The extra pipe caused an error WARN : PID 'xyz' exit WITH ERROR '2' when executing ddns update.
Signed-off-by: André Herbst <moormaster@gmx.net>
2 years agocmdpad: fix bad scanf format
Rosen Penev [Sun, 30 Jan 2022 04:03:56 +0000 (20:03 -0800)]
cmdpad: fix bad scanf format

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agolrzsz: fix various format warning
Rosen Penev [Mon, 31 Jan 2022 06:56:31 +0000 (22:56 -0800)]
lrzsz: fix various format warning

Found with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agohdparm: fix formats for mips64 and ppc64
Rosen Penev [Mon, 31 Jan 2022 06:55:09 +0000 (22:55 -0800)]
hdparm: fix formats for mips64 and ppc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoknxd: fix build on macos
Sergey V. Lobanov [Sun, 30 Jan 2022 22:54:53 +0000 (01:54 +0300)]
knxd: fix build on macos

knxd compilation fails on macos due to clang does not support
exit() builtin function that is used to detect build cc

This commit adds a patch to fix this issue (replaces `exit 0` by
`return 0` in conftest.c)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agodnsproxy: Update to 0.41.0
Tianling Shen [Sun, 30 Jan 2022 06:04:43 +0000 (14:04 +0800)]
dnsproxy: Update to 0.41.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agoyq: Update to 4.18.1
Tianling Shen [Sun, 30 Jan 2022 06:02:57 +0000 (14:02 +0800)]
yq: Update to 4.18.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agocoova-chilli: add interface_trigger "wan"
Thibaut VARÈNE [Thu, 27 Jan 2022 11:05:32 +0000 (12:05 +0100)]
coova-chilli: add interface_trigger "wan"

This intends to replace the hotplug script. It still hardcodes "wan"
interface name (as several other packages do) for lack of a deterministic
way to detect the actual wan iface before it is brought up, but at least
it is fully integrated with procd and will not start a disabled service.

The interface trigger forcefully restarts chilli as a simple reload may
not be sufficient to recover from wan changes.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: remove hotplug call
Thibaut VARÈNE [Thu, 27 Jan 2022 10:14:58 +0000 (11:14 +0100)]
coova-chilli: remove hotplug call

This hotplug trigger unconditionaly restarts coova-chilli when the "wan"
interface sees action "ifup", without checking whether or not the
service is disabled or the upstream interface is actually called "wan".

This hotplug could be replaced by a suitable service trigger instead.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: execute firewall cleanup at shutdown
Thibaut VARÈNE [Thu, 27 Jan 2022 11:00:38 +0000 (12:00 +0100)]
coova-chilli: execute firewall cleanup at shutdown

Coova Chilli creates "undo" firewall scripts that are intended to be run
when the daemon is shut down. Failure to do so results in leftover
entries in firewall and duplicated ones if chilli is subsequently
restarted.

Execute these scripts when the service stops.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocoova-chilli: postpone startup until wan is available
Thibaut VARÈNE [Thu, 27 Jan 2022 10:28:15 +0000 (11:28 +0100)]
coova-chilli: postpone startup until wan is available

Coova Chilli will fail to start if e.g. it cannot resolve names in its
configuration (like uamserver, radiusserver, etc) which is typically the
case when wan is unavailable. Prevent this situation by delaying startup
if wan is not available.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2 years agocanutils: fix format strings for mips and powerpc
Rosen Penev [Sat, 29 Jan 2022 22:23:34 +0000 (14:23 -0800)]
canutils: fix format strings for mips and powerpc

It seems a define is needed to get these platforms to have the same
formats. Upstream backport.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoflac: disable vsx
Rosen Penev [Sat, 29 Jan 2022 22:05:04 +0000 (14:05 -0800)]
flac: disable vsx

Fixes compilation with powerpc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agogerbera: fix compilation with fmt 8.1
Rosen Penev [Sat, 29 Jan 2022 22:12:33 +0000 (14:12 -0800)]
gerbera: fix compilation with fmt 8.1

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agoradsecproxy: fix compilation with newer GCC
Rosen Penev [Sat, 29 Jan 2022 22:16:59 +0000 (14:16 -0800)]
radsecproxy: fix compilation with newer GCC

Errors on uninitialized variable. Only on powerpc64 for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agofdk-aac: fix compilation with powerpc64
Rosen Penev [Sat, 29 Jan 2022 22:29:44 +0000 (14:29 -0800)]
fdk-aac: fix compilation with powerpc64

Backported upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agosane-backends: fix build on macos
Sergey V. Lobanov [Sat, 29 Jan 2022 21:12:47 +0000 (00:12 +0300)]
sane-backends: fix build on macos

MacOS does not have /bin/true, but OpenWrt Makefile uses it so
build fails on macos

This patch removes absolute path (replaces /bin/true to true)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agotvheadend: fix build on macos
Sergey V. Lobanov [Sat, 29 Jan 2022 20:12:53 +0000 (23:12 +0300)]
tvheadend: fix build on macos

tvheadend configure/make files detect Darwin build host and changes
build logic, but it fails compilation for OpenWrt target (Linux)

This patch explicitly specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agolyaml: fix build on macos
Sergey V. Lobanov [Sat, 29 Jan 2022 18:04:41 +0000 (21:04 +0300)]
lyaml: fix build on macos

lyaml build script detects Darwin using `uname -s` and changes
build logic so lyaml package can not be built on macos.

This patch uses fakeuname host tool to redefine `uname -s` output
and fix build on macos.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agotcl: fix build on macos
Sergey V. Lobanov [Mon, 24 Jan 2022 15:19:51 +0000 (18:19 +0300)]
tcl: fix build on macos

configure script detects Darwin and uses flags incompatible with
Linux target build.

This patch uses fakeuname tool if host OS is MacOS to avoid Darwin
detection on target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agotelegraf: Update package to version 1.21.3
Jonathan Pagel [Sat, 29 Jan 2022 10:39:06 +0000 (11:39 +0100)]
telegraf: Update package to version 1.21.3

Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2 years agoMerge pull request #17718 from pprindeville/isc-dhcp-fix-srvhost-rr
Philip Prindeville [Sat, 29 Jan 2022 05:33:24 +0000 (22:33 -0700)]
Merge pull request #17718 from pprindeville/isc-dhcp-fix-srvhost-rr

isc-dhcp: properly anchor SRV RR's

2 years agoisc-dhcp: properly anchor SRV RR's 17718/head
Philip Prindeville [Sat, 29 Jan 2022 04:32:53 +0000 (21:32 -0700)]
isc-dhcp: properly anchor SRV RR's

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2 years agofakeuname: add package
Sergey V. Lobanov [Wed, 26 Jan 2022 12:32:00 +0000 (15:32 +0300)]
fakeuname: add package

This package provides fakeuname host tool to avoid build platform
detection for invalid configure/build scripts that are not
friendly to cross-platform build.

This fake uname tool returns Linux as OS name and target Linux
version as OS version.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoprosody: update to version 0.11.13
Josef Schlehofer [Fri, 28 Jan 2022 14:48:47 +0000 (15:48 +0100)]
prosody: update to version 0.11.13

Fixes CVEs:
- CVE-2022-0217
- CVE-2021-37601
- CVE-2021-32918
- CVE-2021-32920
- CVE-2021-32921
- CVE-2021-32917
- CVE-2021-32919

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agosamba4: update to 4.14.11; fix AD_DC build
Andy Walsh [Fri, 28 Jan 2022 09:03:42 +0000 (10:03 +0100)]
samba4: update to 4.14.11; fix AD_DC build

* update to 4.14.11
* fix AD_DC build
* add vfs_widelinks to defaults
* refresh patches
* fixes: #16697, #17692
* fixes: CVE-2016-2124, CVE-2020-25717, CVE-2020-25718, CVE-2020-25719, CVE-2020-25721, CVE-2020-25722, CVE-2021-3738, CVE-2021-23192

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2 years agoopen2300: fix build on macos
Sergey V. Lobanov [Wed, 26 Jan 2022 22:40:54 +0000 (01:40 +0300)]
open2300: fix build on macos

This patch sets UNAME=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoisc-dhcp: fix build on macos
Sergey V. Lobanov [Wed, 26 Jan 2022 23:45:47 +0000 (02:45 +0300)]
isc-dhcp: fix build on macos

isc-dhcp uses system ar tool so build fails on Darwin build host.
Embedded bind lib uses system ar and ranlib tools and fails on Darwin

This patch explicitly specifies ar and ranlib tools for target build

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoMerge pull request #17713 from turris-cz/clamav-update
Josef Schlehofer [Fri, 28 Jan 2022 16:34:48 +0000 (17:34 +0100)]
Merge pull request #17713 from turris-cz/clamav-update

clamav: update to version 0.104.2

2 years agoclamav: update to version 0.104.2 17713/head
Josef Schlehofer [Fri, 28 Jan 2022 14:03:36 +0000 (15:03 +0100)]
clamav: update to version 0.104.2

Backported upstream pending pull request to fix following error:

CMake Error at /foo/staging_dir/host/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find CURSES (missing: CURSES_LIBRARY)

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agocrowdsec: update from latest upstream release 1.3.0
Kerma Gérald [Wed, 26 Jan 2022 08:45:39 +0000 (09:45 +0100)]
crowdsec: update from latest upstream release 1.3.0

Changes (from 1.2.3):
https://github.com/crowdsecurity/crowdsec/compare/v1.2.3...v1.3.0

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2 years agoauc: add '-n' parameter for dry-run
Daniel Golle [Thu, 27 Jan 2022 16:45:36 +0000 (16:45 +0000)]
auc: add '-n' parameter for dry-run

Add option to allow only requesting an image but not actually download
or sysupgrade anything.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2 years agoMerge pull request #17646 from LugicoHDPlayer/feature-ddns-scripts-one-com
Florian Eckert [Thu, 27 Jan 2022 15:06:09 +0000 (16:06 +0100)]
Merge pull request #17646 from LugicoHDPlayer/feature-ddns-scripts-one-com

ddns-scripts: add one.com provider

2 years agoddns-scripts: add one.com provider 17646/head
Luca Conte [Wed, 19 Jan 2022 14:56:47 +0000 (15:56 +0100)]
ddns-scripts: add one.com provider

Signed-off-by: Luca Conte <main@lugico.de>
2 years agoreptyr: fix build on macos
Sergey V. Lobanov [Wed, 26 Jan 2022 19:20:46 +0000 (22:20 +0300)]
reptyr: fix build on macos

This patch sets UNAME_S=Linux due to OpenWrt is always Linux but
`uname -s` return Darwin on MacOS and fails target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocollectd: remove libip4tc dependency
Tiago Gaspar [Sun, 23 Jan 2022 11:25:32 +0000 (11:25 +0000)]
collectd: remove libip4tc dependency
Base collectd doesn't require libip4tc as stated in the collectd git:

* libiptc (optional)
For querying iptables counters
<http://netfilter.org/>

And libip4tc is already added as a dependency in the iptables plugin
because it needs it, so remove this dependency from the default collectd
to make it compatible with the new nftables firewall4 (by not selecting
any iptables components).

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2 years agominiupnpd: declare nftables variant as DEFAULT_VARIANT
Hannu Nyman [Wed, 26 Jan 2022 17:30:29 +0000 (19:30 +0200)]
miniupnpd: declare nftables variant as DEFAULT_VARIANT

Declare the nftables variant as the DEFAULT_VARIANT
as nftables firewall4 is the now default in OpenWrt.

Additionally,
 * toggle CONFLICTS placement to avoid circular dependency warning
 * use AUTORELEASE

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2 years agogpsd: fix build on macos
Sergey V. Lobanov [Fri, 21 Jan 2022 22:25:16 +0000 (01:25 +0300)]
gpsd: fix build on macos

gpsd build fails on macos due to using sys.platform in build logic.

This patch allows to redefine target platform to fix the issue.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agopostfix: fix build on macos
Sergey V. Lobanov [Wed, 19 Jan 2022 23:37:17 +0000 (02:37 +0300)]
postfix: fix build on macos

macos build fails due to two reasons:
1. using build host ar and ranlib tools
2. using uname -r to get kernel version

First issue is fixed by specifying ar and ranlib from toolchain
Second issue is fixed by specifying kernel release major version=5
Using 'uname -r' from build host for cross-compiling is not a good
idea even for Linux build host

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agodnsproxy: Update to 0.40.6
Tianling Shen [Tue, 25 Jan 2022 09:03:57 +0000 (17:03 +0800)]
dnsproxy: Update to 0.40.6

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agopdns: update to 4.6.0
Peter van Dijk [Tue, 25 Jan 2022 12:44:52 +0000 (13:44 +0100)]
pdns: update to 4.6.0

* Bump to 4.6.0
* Remove "random" backend as it is gone upstream

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agovnstat2: update to version 2.9
Jan Hoffmann [Tue, 25 Jan 2022 19:10:09 +0000 (20:10 +0100)]
vnstat2: update to version 2.9

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2 years agoproxychains-ng: update to version 4.16
Daniel Bermond [Tue, 25 Jan 2022 19:54:21 +0000 (16:54 -0300)]
proxychains-ng: update to version 4.16

Maintainer: me

Build system: Arch Linux x86_64
Build tested: ipq806x/R7800
Run tested  : ipq806x/R7800

Signed-off-by: Daniel Bermond <danielbermond@gmail.com>
2 years agoMerge pull request #17676 from mhei/php8-update
Michael Heimpold [Tue, 25 Jan 2022 20:40:04 +0000 (21:40 +0100)]
Merge pull request #17676 from mhei/php8-update

php8: update to 8.1.2

2 years agoMerge pull request #17688 from svlobanov/stress-ng-fix-build-on-macos
Alexandru Ardelean [Tue, 25 Jan 2022 10:17:33 +0000 (12:17 +0200)]
Merge pull request #17688 from svlobanov/stress-ng-fix-build-on-macos

stress-ng: fix build on macos

2 years agoMerge pull request #17689 from BKPepe/tvheadend-conffiles
Josef Schlehofer [Tue, 25 Jan 2022 08:00:29 +0000 (09:00 +0100)]
Merge pull request #17689 from BKPepe/tvheadend-conffiles

tvheadend: fix conffiles section

2 years agocrun: update to v1.4.1
Oskari Rauta [Mon, 24 Jan 2022 00:57:59 +0000 (02:57 +0200)]
crun: update to v1.4.1

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2 years agoconmon: update to 2.0.32
Oskari Rauta [Mon, 24 Jan 2022 01:08:01 +0000 (03:08 +0200)]
conmon: update to 2.0.32

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2 years agonode: January 10th 2022 Security Releases
Hirokazu MORIKAWA [Mon, 24 Jan 2022 07:27:30 +0000 (16:27 +0900)]
node: January 10th 2022 Security Releases

Update to v14.18.3

January 10th 2022 Security Releases:
Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
Prototype pollution via console.table properties (Low)(CVE-2022-21824)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2 years agomicropython: Update to 1.18, refresh patches
Jeffery To [Sun, 23 Jan 2022 18:34:18 +0000 (02:34 +0800)]
micropython: Update to 1.18, refresh patches

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2 years agoyq: Update to 4.17.2
Tianling Shen [Sun, 23 Jan 2022 09:49:01 +0000 (17:49 +0800)]
yq: Update to 4.17.2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agotvheadend: fix conffiles section 17689/head
Josef Schlehofer [Mon, 24 Jan 2022 22:04:13 +0000 (23:04 +0100)]
tvheadend: fix conffiles section

The previous one was wrong, and it did not work. It could be checked
inside compiled package in control.tar.gz that there was missing
``conffiles`` file with content `/etc/config/tvheadend`

It is also possible to verify that the config is not overwritten on the router
by running ``opkg install tvheadend --force-reinstall``

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agostress-ng: fix build on macos 17688/head
Sergey V. Lobanov [Mon, 24 Jan 2022 22:41:09 +0000 (01:41 +0300)]
stress-ng: fix build on macos

This patch adds KERNEL=Linux to MAKE_FLAGS to avod Darwin detection.
If Makefile detects Darwin, it removes -lbsd from build flags, but
this flag is required due to target is always Linux, not bsd-like.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agotvheadend: fix typo in uriparser
Josef Schlehofer [Mon, 24 Jan 2022 11:25:00 +0000 (12:25 +0100)]
tvheadend: fix typo in uriparser

Fixes: 0449c109e78d4e5b998fc26415ecaa5bb5c274c3 ("tvheadend: disable
uriparser")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agowg-installer: fix multiple namespaces
Nick Hainke [Sat, 22 Jan 2022 22:27:02 +0000 (23:27 +0100)]
wg-installer: fix multiple namespaces

Add flag "--lookup-default-namespace" to signal that wg-installer should
look already established wireguard sessions in the default namespace.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agophp8: update to 8.1.2 17676/head
Michael Heimpold [Sat, 22 Jan 2022 20:23:44 +0000 (21:23 +0100)]
php8: update to 8.1.2

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2 years agoMerge pull request #17543 from stintel/vallumd
Stijn Tintel [Sat, 22 Jan 2022 14:59:25 +0000 (16:59 +0200)]
Merge pull request #17543 from stintel/vallumd

vallumd: bump to 0.2.0

2 years agoMerge pull request #17665 from BKPepe/tvheadend-uriparser
Josef Schlehofer [Sat, 22 Jan 2022 13:37:30 +0000 (14:37 +0100)]
Merge pull request #17665 from BKPepe/tvheadend-uriparser

tvheadend: disable uriparser

2 years agojool: remove iptables support and update templates
Tiago Gaspar [Sat, 22 Jan 2022 01:49:31 +0000 (01:49 +0000)]
jool: remove iptables support and update templates

This commit removes iptables backend support and leaves only the
netfilter backend support. This means that:
-  iptables and nftables firewall based systems (firewall3 and firewall
4) are supported trough the netfilter instance mode
-  the iptables/xtables mode support is disabled

For more information on the modes and how to use the new netfilter
instance checkout https://www.jool.mx/en/intro-jool.html

This move is made out of the commit upstream that sets firewall4 as the
default for new default buils and based on the conversation in #16818
and was decided that the netfilter interface is the priority since
iptables support will be dropped in the foreseeable future.

While at it update the templates provided.

Signed-off-by: Tiago Gaspar <tiagogaspar8@gmail.com>
2 years agotvheadend: disable uriparser 17665/head
Josef Schlehofer [Fri, 21 Jan 2022 10:01:29 +0000 (11:01 +0100)]
tvheadend: disable uriparser

This avoids to add liburiparser as dependency.

Package tvheadend is missing dependencies for the following libraries:
liburiparser.so.1

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agolibreswan: fix build on macos
Sergey V. Lobanov [Thu, 20 Jan 2022 20:57:23 +0000 (23:57 +0300)]
libreswan: fix build on macos

libreswan makefile detects macos (darwin) and changes build logic
but OpenWrt is always Linux so it is required to specify linux as
target platfrom

This patch specifies Linux as a target platfrom

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocrowdsec-firewall-bouncer: fix name in initd to start the process
Kerma Gérald [Sat, 15 Jan 2022 07:33:46 +0000 (08:33 +0100)]
crowdsec-firewall-bouncer: fix name in initd to start the process

crowdsec rename the binary from crowdsec-firewall-bouncer to cs-firewall-bouncer
the initd need the correct binary name to start the process
the link for github source need also to be fixed (only the information one)
fix the BuildDate
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2 years agodnsproxy: Update to 0.40.5
Tianling Shen [Fri, 21 Jan 2022 03:34:14 +0000 (11:34 +0800)]
dnsproxy: Update to 0.40.5

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2 years agolighttpd: update to lighttpd 1.4.64 release hash
Glenn Strauss [Fri, 29 Oct 2021 03:16:03 +0000 (23:16 -0400)]
lighttpd: update to lighttpd 1.4.64 release hash

remove long-deprecated modules

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
2 years agowg-installer: remove unused dependency
Nick Hainke [Thu, 20 Jan 2022 14:24:05 +0000 (15:24 +0100)]
wg-installer: remove unused dependency

Remove the dependency "coreutils-realpath" from
wg-installer-server-hotplug-olsrd.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: create wireguard key if it does not exist
Nick Hainke [Thu, 20 Jan 2022 13:10:12 +0000 (14:10 +0100)]
wg-installer: create wireguard key if it does not exist

Check if the key exists which is given by
    option wg_key '/etc/wgserver/wg.key'

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: install cronjob
Nick Hainke [Thu, 20 Jan 2022 08:06:24 +0000 (09:06 +0100)]
wg-installer: install cronjob

Install a cronjob that removes unused wireguard interfaces every 10
minutes.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: check if a key is already inserted
Nick Hainke [Tue, 18 Jan 2022 17:31:46 +0000 (18:31 +0100)]
wg-installer: check if a key is already inserted

Check if a peer is already existing with a given public key. Introduce a
response code for signaling why the server rejected the request.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agowg-installer: rework code
Nick Hainke [Wed, 19 Jan 2022 17:40:16 +0000 (18:40 +0100)]
wg-installer: rework code

Use shellcheck to rework the code. Use "export" to return variables from
a function call. Further, fix typos.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agodnsdist: update to 1.7.0
Peter van Dijk [Thu, 23 Sep 2021 12:19:37 +0000 (14:19 +0200)]
dnsdist: update to 1.7.0

* bump to 1.7.0
* add outgoing DNS over HTTPS support, using new dependency nghttp2

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agopdns-recursor: update to 4.6.0
Peter van Dijk [Wed, 19 Jan 2022 13:01:40 +0000 (14:01 +0100)]
pdns-recursor: update to 4.6.0

* bump to 4.7.0
* enable DNS over TLS (uses libssl which was already a dependency)
* add libcurl dependency for new zone-to-cache feature.

Co-Authored-By: wout@wbnet.eu
Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
2 years agoola: fix build on macos
Sergey V. Lobanov [Sat, 15 Jan 2022 15:32:57 +0000 (18:32 +0300)]
ola: fix build on macos

Latest Apple clang (v13) defines __cplusplus=199711 by default, but
protobuf requires at least 201103 (c++11)

Backported patch to fix c++ detection:
https://github.com/OpenLightingProject/ola/commit/30fe936a885c8a364bdda507a692c8e259576621

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agofrr: update to latest
Lucian Cristian [Tue, 18 Jan 2022 21:08:25 +0000 (23:08 +0200)]
frr: update to latest

also fix mips compile

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2 years agotcsh: fix build on macos
Sergey V. Lobanov [Thu, 13 Jan 2022 22:29:08 +0000 (01:29 +0300)]
tcsh: fix build on macos

tcsh requires host-tool (gethost) to generate tc.defs.c file.
To build this tool on macos, it is required to run ./configure
script wihout target vars/flags, but this package is not
splitted to host and target build.

This patch splits build to host and target builds to compile
host-tool(gethost) first, then compile tsch.

Due to lack of support of separate building host and target,
OpenWrt Makefile is modified to do it in the order below:
1. build host-tool (gethost)
2. build sh.err.h header for target
3. build tc.const.h header for target
4. copy gethost tool from host staging dir to target build dir
5. touch (make -t) gethost to protect it from recompiling
6. build tsch for target

It is required to do step 2 and 3 because 'make -t' generates
empty files but these files required to build tcsh

Patch 020-cross.patch has been removed due to not required
anymore (gethost build is separated and not affected by
target configure flags and vars)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoperl-device-serialport: fix build on macos
Sergey V. Lobanov [Wed, 12 Jan 2022 23:51:30 +0000 (02:51 +0300)]
perl-device-serialport: fix build on macos

./configure script detects macos specific system headers
(IOKit/serial/ioss.h and sys/ttycom.h) that are not available
during compile time. There is no way to pass ac_cv_* vars to
./configure script due to perl wrappers

To fix this issue, fake(empty) headers provided during compile
time if build host is MacOS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agopython-curl: fix build on macos
Sergey V. Lobanov [Fri, 14 Jan 2022 17:45:31 +0000 (20:45 +0300)]
python-curl: fix build on macos

setup.py detects macos (darwin) and adds -flat_namespace flag. This
flag is not compatible with GCC that is used to compile target.

This patch patch disables darwin detection

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agogit: update to version 2.34.1
Josef Schlehofer [Thu, 30 Dec 2021 17:24:39 +0000 (18:24 +0100)]
git: update to version 2.34.1

- Refreshed patches

- Release notes 2.34.0:
https://github.com/git/git/blob/2ae0a9cb8298185a94e5998086f380a355dd8907/Documentation/RelNotes/2.34.0.txt

- Release notes 2.34.1:
https://github.com/git/git/blob/2ae0a9cb8298185a94e5998086f380a355dd8907/Documentation/RelNotes/2.34.1.txt

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agomdio-tools: update to version 1.0.1
Robert Marko [Sun, 9 Jan 2022 20:30:27 +0000 (21:30 +0100)]
mdio-tools: update to version 1.0.1

Version 1.0.1 brought the following changes:
[v1.0.1] - 2021-11-26

Primarily fixes a few issues in the kernel module that were found
during a quick review from Russell King:

https://lore.kernel.org/netdev/YYPThd7aX+TBWslz@shell.armlinux.org.uk/
https://lore.kernel.org/netdev/YYPU1gOvUPa00JWg@shell.armlinux.org.uk/

- mdio: The mvls subcommand now supports flushing the ATU

- mdio-netlink: Plug some glaring holes around integer overflows of
  the PC.
- mdio-netlink: Release reference to MDIO bus after a transaction
  completes.

So, update to the latest version and switch the kernel module back
to fetching tarballs like the userspace tool does.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2 years agolibunistring: update to 1.0
Espen Jürgensen [Tue, 18 Jan 2022 15:54:27 +0000 (16:54 +0100)]
libunistring: update to 1.0

Signed-off-by: Espen Jürgensen <espenjurgensen+openwrt@gmail.com>
2 years agolpc21isp: fix build on macos
Sergey V. Lobanov [Tue, 18 Jan 2022 13:36:20 +0000 (16:36 +0300)]
lpc21isp: fix build on macos

lpc21isp Makefile detects Darwin and defines __APPLE__ that is not
required for cross-compile build for OpenWrt

This patch sets OSTYPE="Linux" due to OpenWrt is always Linux

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agocryptsetup: update to version 2.4.3
Josef Schlehofer [Tue, 18 Jan 2022 15:24:52 +0000 (16:24 +0100)]
cryptsetup: update to version 2.4.3

Fixes: CVE-2021-4122
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2 years agowg-installer: cosmetic changes
Nick Hainke [Tue, 18 Jan 2022 16:39:53 +0000 (17:39 +0100)]
wg-installer: cosmetic changes

Use "ip addr" instead of "ip addres" or "ip a".

Signed-off-by: Nick Hainke <vincent@systemli.org>
2 years agoMerge pull request #17624 from jefferyto/python-3.10.2
Josef Schlehofer [Tue, 18 Jan 2022 16:24:26 +0000 (17:24 +0100)]
Merge pull request #17624 from jefferyto/python-3.10.2

python3: Update to 3.10.2, refresh patches

2 years agocrowdsec: update from upstream latest release 1.2.3
Kerma Gérald [Sat, 15 Jan 2022 09:59:49 +0000 (10:59 +0100)]
crowdsec: update from upstream latest release 1.2.3

update from latest upstream release 1.2.3
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2 years agoMerge pull request #17497 from corna/dockerd_log_driver
Florian Eckert [Tue, 18 Jan 2022 09:46:38 +0000 (10:46 +0100)]
Merge pull request #17497 from corna/dockerd_log_driver

dockerd: Add "log-driver" option

2 years agoMerge pull request #17586 from clayface/davfs2-secrets
Florian Eckert [Tue, 18 Jan 2022 08:28:56 +0000 (09:28 +0100)]
Merge pull request #17586 from clayface/davfs2-secrets

davfs2: add secrets file to conffiles definition

2 years agoluaossl: fix build on macos
Sergey V. Lobanov [Fri, 7 Jan 2022 20:15:47 +0000 (23:15 +0300)]
luaossl: fix build on macos

luaossl detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux so build OS detection is disabled

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agodiffutils: update to 3.8
Rosen Penev [Sun, 9 Jan 2022 04:25:33 +0000 (20:25 -0800)]
diffutils: update to 3.8

Fixes compilation with newer glibc.

Ported gnulib patch from m4.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2 years agohwinfo: fix build on macos
Sergey V. Lobanov [Mon, 17 Jan 2022 23:34:12 +0000 (02:34 +0300)]
hwinfo: fix build on macos

hwinfo host-compile builds hwinfo entirely that is not really
required. It is required to build only some host tools to
generate ids and isdn related C-code

This patch changes host build to build only required host tools

Added patch to remove malloc.h using as deprecated, not required
and not supported on macos system (stdlib.h has required functions
on Linux and MacOS systems)

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2 years agoneon: fix build on macos
Sergey V. Lobanov [Sun, 9 Jan 2022 20:37:45 +0000 (23:37 +0300)]
neon: fix build on macos

neon detects Darwin on target build and fails due to darwin-specific
build behaviour. OS detection is disable (as non required) via
ne_cv_os_uname=Linux as a part of CONFIGURE_VARS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>