Commit Graph

26601 Commits

Author SHA1 Message Date
Sergey V. Lobanov 43372343ee 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>
2022-01-31 13:57:36 -08:00
Sergey V. Lobanov f01baee526 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>
2022-01-31 13:57:22 -08:00
Rosen Penev e6a5bbbc8e mtdev: fix bad printf formats
Easiest to just change the type.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 18:56:25 +00:00
Rosen Penev 00af0fa946 libdrm: fix bad formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 10:25:32 -08:00
Hannu Nyman 85cb71d8d8 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>
2022-01-31 18:12:48 +02:00
Rosen Penev e87e3406ee bridge-utils: update to 1.7.1
Added missing limits header for PATH_MAX.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 07:08:39 -08:00
Sergey V. Lobanov c53b7ba449 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>
2022-01-31 15:06:20 +00:00
Rosen Penev c61bad460e sockread: add missing header
Needed for memset, memcpy, and strerror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 07:05:17 -08:00
Rosen Penev 31a8112c51 linuxptp: fix bad formats with ppc64 and mips64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-31 07:04:17 -08:00
Florian Eckert 6cfc4baf41
Merge pull request #17755 from moormaster/moormaster-patch-ddns-update-sample
ddns-scripts: remove extra pipe
2022-01-31 11:28:47 +01:00
André Herbst 07dec08c78 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>
2022-01-31 10:46:40 +01:00
Rosen Penev d5d8a39b53 cmdpad: fix bad scanf format
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:53:45 -08:00
Rosen Penev a24de043b2 lrzsz: fix various format warning
Found with -Wformat.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:35:25 -08:00
Rosen Penev 9bbe88ff73 hdparm: fix formats for mips64 and ppc64
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:34:38 -08:00
Rosen Penev d438d1295c xinetd: fix bad printf formats
Easier to use the proper C macro.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-30 23:27:41 -08:00
Sergey V. Lobanov ae7b158723 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>
2022-01-30 23:08:41 -08:00
Josef Schlehofer c0198bad43
python-dns: update to version 2.2.0
- Removed PYPI_SOURCE_EXT as this release provides tarball with .tar.gz
extension, which is default.

- Changelog: https://dnspython.readthedocs.io/en/stable/whatsnew.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-31 06:37:23 +01:00
Tianling Shen eeb3143a88 dnsproxy: Update to 0.41.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-30 15:44:05 -08:00
Tianling Shen c665f0b50c yq: Update to 4.18.1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-01-30 15:43:56 -08:00
Thibaut VARÈNE 8c78c33fed 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>
2022-01-29 21:02:28 -08:00
Thibaut VARÈNE a3e125267c 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>
2022-01-29 21:02:28 -08:00
Thibaut VARÈNE b1fb66e007 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>
2022-01-29 21:02:28 -08:00
Thibaut VARÈNE 06193dfdd6 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>
2022-01-29 21:02:28 -08:00
Rosen Penev cf668471c7 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>
2022-01-29 16:40:01 -08:00
Rosen Penev f00f6d37d3 flac: disable vsx
Fixes compilation with powerpc64

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:39:14 -08:00
Rosen Penev 1cda13b140 gerbera: fix compilation with fmt 8.1
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:39:01 -08:00
Rosen Penev 6e4bf0deaf radsecproxy: fix compilation with newer GCC
Errors on uninitialized variable. Only on powerpc64 for some reason.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:38:49 -08:00
Rosen Penev 0d7ef9d9e1 fdk-aac: fix compilation with powerpc64
Backported upstream patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-01-29 16:38:35 -08:00
Sergey V. Lobanov 26cecccf28 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>
2022-01-29 19:26:44 -03:00
Sergey V. Lobanov e7900b533b 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>
2022-01-29 13:32:16 -08:00
Sergey V. Lobanov e4755df4c8 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>
2022-01-29 13:31:55 -08:00
Sergey V. Lobanov 6e9c701050 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>
2022-01-29 08:19:54 -08:00
Jonathan Pagel 6caca23cc8 telegraf: Update package to version 1.21.3
Signed-off-by: Jonathan Pagel <jonny_tischbein@systemli.org>
2022-01-29 12:10:27 +01:00
Josef Schlehofer a68e9db8d4
ffmpeg: update to version 4.3.3
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-29 11:34:56 +01:00
Philip Prindeville b8f1dcd22f
Merge pull request #17718 from pprindeville/isc-dhcp-fix-srvhost-rr
isc-dhcp: properly anchor SRV RR's
2022-01-28 22:33:24 -07:00
Philip Prindeville 93c9a1cb7a isc-dhcp: properly anchor SRV RR's
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-01-28 21:32:53 -07:00
Sergey V. Lobanov 4b6fc857be 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>
2022-01-28 13:47:14 -08:00
Josef Schlehofer dcedbe8027 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>
2022-01-28 12:10:09 -08:00
Andy Walsh 7730a65d30 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>
2022-01-28 12:09:09 -08:00
Sergey V. Lobanov 99086dc44b 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>
2022-01-28 12:08:38 -08:00
Sergey V. Lobanov 768a832df1 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>
2022-01-28 12:08:27 -08:00
Josef Schlehofer 98332fea15
Merge pull request #17713 from turris-cz/clamav-update
clamav: update to version 0.104.2
2022-01-28 17:34:48 +01:00
Josef Schlehofer eddbb64bc9
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>
2022-01-28 15:22:32 +01:00
Kerma Gérald d2fd1f8346 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>
2022-01-27 17:43:16 -08:00
Daniel Golle 19c135685f
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>
2022-01-27 17:26:28 +00:00
Florian Eckert 64da77a4fd
Merge pull request #17646 from LugicoHDPlayer/feature-ddns-scripts-one-com
ddns-scripts: add one.com provider
2022-01-27 16:06:09 +01:00
Luca Conte 60047cdce1 ddns-scripts: add one.com provider
Signed-off-by: Luca Conte <main@lugico.de>
2022-01-27 13:59:42 +01:00
Sergey V. Lobanov 373bb8e4e7 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>
2022-01-26 23:01:10 +01:00
Tiago Gaspar fadc0db74a 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>
2022-01-26 22:34:26 +02:00
Hannu Nyman 569f3710fe 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>
2022-01-26 13:11:05 -05:00