aboutsummaryrefslogtreecommitdiff
path: root/net
Commit message (Collapse)AuthorAge
* freeradius3: Update to 3.0.26Jianhui Zhao2023-05-29
| | | | Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
* lighttpd: update to lighttpd 1.4.71 release hashGlenn Strauss2023-05-28
| | | | | | remove patches included upstream Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
* tailscale: update to 1.42.0Zephyr Lykos2023-05-27
| | | | Signed-off-by: Zephyr Lykos <git@mochaa.ws>
* Merge pull request #21177 from stangri/master-https-dns-proxyStan Grishin2023-05-26
|\ | | | | https-dns-proxy: update to 2023-05-25-1
| * https-dns-proxy: update to 2023-05-25-1Stan Grishin2023-05-26
| | | | | | | | | | | | | | | | | | | | * update to a new upstream commit, fixes #19366 * update patches/010-cmakelists-remove-cflags.patch as upstream file was update * remove patches/020-cmakelists-add-version.patch as version is now set elsewhere * add patches/020-src-options.c-add-version.patch to set the version information * adjust PROCD START time to 95 Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | nginx: refactor MakefileGlen Huang2023-05-26
| | | | | | | | | | | | | | | | | | | | | | | | Make modules follow a naming convention, which enables: 1. Inline ADDITIONAL_MODULES into CONFIGURE_ARGS 2. Consolidate some parts of Quilt and Download for each module into BuildModule Signed-off-by: Glen Huang <me@glenhuang.com> [ fix conflict error ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | nginx: make nginx-mod-luci depend on nginx-sslGlen Huang2023-05-26
| | | | | | | | | | | | | | | | | | Change dependency from nginx virtual migration package to nginx-ssl for nginx-mod-luci nginx module package. Signed-off-by: Glen Huang <me@glenhuang.com> [ add commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | mstpd: drop package (replaced by ustp in core)Alexandru Ardelean2023-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenWrt core has a package called ustp which is an OpenWrt adaptation (from mstpd) for OpenWrt (using libubox, libubus, etc). No sense in keeping mstpd anymore. We can just update ustp. Also, if mstpd has any updates, they can be ported over to ustp too. Abandoned PR: https://github.com/openwrt/packages-abandoned/pull/30 Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
* | Merge pull request #21149 from stangri/master-curlStan Grishin2023-05-26
|\ \ | |/ |/| curl: update to 8.1.1
| * curl: update to 8.1.1Stan Grishin2023-05-23
| | | | | | | | | | | | * https://curl.se/changes.html#8_1_1 Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | openvpn-easy-rsa: update to 3.1.3Luiz Angelo Daros de Luca2023-05-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 3.0.9 of EasyRSA introduces OpenSSL 3 (3.0.3) support. For other changes, see: - https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.9 - https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.0 - https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.1 - https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.2 - https://github.com/OpenVPN/easy-rsa/releases/tag/v3.1.3 Closes #21142 Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* | uwsgi: Update to 2.0.21, refresh patchesJeffery To2023-05-26
|/ | | | | | | | | | | | | | This version includes support for Python 3.11. This also: * Updates Build/Compile to only build selected subpackages. * Removes the submenu in menuconfig; there are too few subpackages to justify the extra complexity. Fixes: https://github.com/openwrt/packages/issues/21163 Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* curl: update to 8.1.0Stan Grishin2023-05-23
| | | | | | * https://curl.se/changes.html#8_1_0 Signed-off-by: Stan Grishin <stangri@melmac.ca>
* snort3: update to 3.1.62.0John Audia2023-05-23
| | | | | | | | | | Upstream bump Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
* ocserv: add otp config optionThlv Alivs2023-05-21
| | | | | | | | and also fix build error: Package ocserv is missing dependencies for the following libraries: liboath.so.0 Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
* transmission: add missing nls.mk includeMarius Dinu2023-05-21
| | | | | | Fixes issue #21016. Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
* tailscale: update to 1.40.1Zephyr Lykos2023-05-21
| | | | Signed-off-by: Zephyr Lykos <git@mochaa.ws>
* nginx: add configure flag --with-compatGlen Huang2023-05-20
| | | | | | | | Without it, nginx could complain about incompatible dynamic modules Signed-off-by: Glen Huang <me@glenhuang.com> [ fix conflict error on cherry-pick ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx: introduce migration for old uci conf templateChristian Marangi2023-05-20
| | | | | | | | | | | | | | Introduce support for migration of old uci conf template to new version. Uci conf template are saved in config backup. This cause problem on config restore as old config template might have compatibility problem with new nginx implementation. Add logic to migrate the template script at runtime to correctly align to latest change from nginx and nginx-util. Fixes: 65a676ed56fb ("nginx: introduce support for dynamic modules") Fixes: #20904 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* nginx-util: add version to UCI conf templateChristian Marangi2023-05-20
| | | | | | | | | Add versioning to UCI conf template as a commented version. This permits the introduction of migration script since the template is saved and restored config restore. The migration script are handled by nginx init.d script. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* openvpn: Add more hotplug eventsMichal Hrusecky2023-05-20
| | | | | | | | | | | OpenVPN supports more hooks than just 'up' and 'down'. Especially reacting to 'route-up' and 'route-pre-down' events could be important. When routing table changes, it can make sense to adapt firewall, run some tests or change even more routes. This change passes those events to hotplug, so it is easy to react to them without changing configuration files provided by VPN provider. Signed-off-by: Michal Hrusecky <michal.hrusecky@turris.com>
* scapy: update to 2.5.0W. Michael Petullo2023-05-20
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* nfdump: update to 4.2.0W. Michael Petullo2023-05-20
| | | | Signed-off-by: W. Michael Petullo <mike@flyn.org>
* Merge pull request #21103 from jefferyto/gensio-without-goTianling Shen2023-05-20
|\ | | | | gensio: Fix build on build host with Go compiler
| * gensio: Fix build on build host with Go compilerJeffery To2023-05-19
| | | | | | | | | | | | | | | | | | | | If the build host has the Go compiler installed, then configure will detect this and will try to compile gensio's Go support, leading to a build failure. This disables Go support entirely to fix this build failure. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | cloudflared: support setting tunnel tokenScott McKenzie2023-05-20
| | | | | | | | | | | | | | Allows user to provide a token for Cloudflare tunnel. When provided along with credentials, this will take precedence. Signed-off-by: Scott McKenzie <scott@noizyland.net>
* | natmap: add myself to maintainersRay Wang2023-05-20
| | | | | | | | Signed-off-by: Ray Wang <r@hev.cc>
* | natmap: update to 20230519Ray Wang2023-05-20
|/ | | | Signed-off-by: Ray Wang <r@hev.cc>
* transmission: add missing ftruncate64 syscallDaniel Golle2023-05-19
| | | | | | | Transmission 4.0.3 started using the ftruncate64 syscall. Add it to the list of allowed syscalls. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* arp-scan: fix missing libcap dependencyNick Hainke2023-05-18
| | | | | | | arp-scan complains about missing libcap dependency. Disable the dependency. Signed-off-by: Nick Hainke <vincent@systemli.org>
* crowdsec: new upstream release version 1.5.1S. Brusch2023-05-18
| | | | | | | | | | | Update crowdsec to latest upstream release version 1.5.1 Signed-off-by: S. Brusch <ne20002@gmx.ch> Maintainer: Kerma Gérald <gandalf@gk2.net> Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5 Description: update to latest version of upstream
* tgt: Update to 1.0.86Tianling Shen2023-05-18
| | | | | | | | | musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so just having _GNU_SOURCE defined is not enough anymore. Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* transmission: add new syscall needed with musl 1.2.4Daniel Golle2023-05-18
| | | | | | | Apparently the "revcmsg" syscall is now needed, add it to the list of allowed syscalls. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* crowdsec: fix compilation with musl 1.2.4Nick Hainke2023-05-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions. Fixes errors in the form of: Building targets github.com/mattn/go-sqlite3 sqlite3-binding.c:35901:42: error: 'pread64' undeclared here (not in a function); did you mean 'pread'? 35901 | { "pread64", (sqlite3_syscall_ptr)pread64, 0 }, | ^~~~~~~ | pread sqlite3-binding.c:35919:42: error: 'pwrite64' undeclared here (not in a function); did you mean 'pwrite'? 35919 | { "pwrite64", (sqlite3_syscall_ptr)pwrite64, 0 }, | ^~~~~~~~ | pwrite sqlite3-binding.c: In function 'seekAndRead': sqlite3-binding.c:35905:49: error: unknown type name 'off64_t'; did you mean 'off_t'? 35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent) | ^~~~~~~ sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64' 38767 | got = osPread64(id->h, pBuf, cnt, offset); | ^~~~~~~~~ sqlite3-binding.c:35905:58: error: expected ')' before 'aSyscall' 35905 | #define osPread64 ((ssize_t(*)(int,void*,size_t,off64_t))aSyscall[10].pCurrent) | ~ ^~~~~~~~ sqlite3-binding.c:38767:11: note: in expansion of macro 'osPread64' 38767 | got = osPread64(id->h, pBuf, cnt, offset); | ^~~~~~~~~ sqlite3-binding.c: In function 'seekAndWriteFd': sqlite3-binding.c:35923:57: error: unknown type name 'off64_t'; did you mean 'off_t'? 35923 | #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off64_t))\ | ^~~~~~~ sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); | ^~~~~~~~~~ sqlite3-binding.c:35924:21: error: expected ')' before 'aSyscall' 35924 | aSyscall[13].pCurrent) | ^~~~~~~~ sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); | ^~~~~~~~~~ sqlite3-binding.c:35923:21: note: to match this '(' 35923 | #define osPwrite64 ((ssize_t(*)(int,const void*,size_t,off64_t))\ | ^ sqlite3-binding.c:38896:17: note: in expansion of macro 'osPwrite64' 38896 | do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR); | ^~~~~~~~~~ make[2]: *** [Makefile:153: /home/nick/openwrt/build_dir/target-aarch64_cortex-a53_musl/crowdsec-1.4.6/.built] Error 1 make[2]: Leaving directory '/home/nick/openwrt/feeds/packages/net/crowdsec' Signed-off-by: Nick Hainke <vincent@systemli.org>
* nfs-kernel-server: fix compilation with musl 1.2.4Tianling Shen2023-05-17
| | | | | | | | | musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so just having _GNU_SOURCE defined is not enough anymore. Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* openssh: sftp no longer needs crypto or zlib.Darren Tucker2023-05-17
| | | | | | | | | | OpenSSH 9.1p1 removed remaining dependencies and stopped linking sftp, sftp-server and scp against libcrypto or libz. This change moves those package dependencies from the default to those that still need them. In particular, this will allow sftp-server to be installed for use with Dropbear without needing to install zlib or openssl. Signed-off-by: Darren Tucker <dtucker@dtucker.net>
* openssh: Use CDN first for source downloads.Darren Tucker2023-05-17
| | | | | | Also point to https for website. Signed-off-by: Darren Tucker <dtucker@dtucker.net>
* libreswan: update to 4.11Lucian Cristian2023-05-17
| | | | | | Fixes https://libreswan.org/security/CVE-2023-30570 Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* openfortivpn: update to 1.20.3Lucian Cristian2023-05-17
| | | | Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* crowdsec-firewall-bouncer: new upstream release version 0.0.27S. Brusch2023-05-17
| | | | | | | | | Update crowdsec-firewall-bouncer to latest upstream release version 0.0.27 Signed-off-by: S. Brusch <ne20002@gmx.ch> Maintainer: Kerma Gérald <gandalf@gk2.net> Run tested: ipq40xx/generic, Fritzbox 4040, Openwrt 22.03.5
* arp-scan: update to 1.10.0Nick Hainke2023-05-16
| | | | | | | | | | ieee-iab is removed, see: https://github.com/royhills/arp-scan/commit/2a56a066494cb67e1c932cc64e739b326ef9a272 Release Notes: https://github.com/royhills/arp-scan/releases/tag/1.10.0 Signed-off-by: Nick Hainke <vincent@systemli.org>
* frr: update to 8.5.1 branchLucian Cristian2023-05-16
| | | | | | also fixes gcc 13 compile Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
* banip: update 0.8.6-2Dirk Brenken2023-05-16
| | | | | | | | * fix/rework no-op loop * small fixes & cosmetics * update readme Signed-off-by: Dirk Brenken <dev@brenken.org>
* transmission: Update to v4.03Andrew Sim2023-05-15
| | | | | | | | Update transmission to latest stable v4.0.3 release Changelog: https://github.com/transmission/transmission/releases/tag/4.0.3 Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
* jool: fix compilation warningChristian Marangi2023-05-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add patch fixing compilation warning due to wrong cast. Fix compilation warning: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c: In function 'offset_equals': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/xlator.c:878:32: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 878 | return (offset->ns == ((__u64)instance->jool.ns & 0xFFFFFFFF)) | ^ cc1: all warnings being treated as errors In file included from ./include/linux/kernel.h:19, from ./include/linux/skbuff.h:13, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/../../mod/common/skbuff.h:4, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:1: /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c: In function 'print_skb_fields': ./include/linux/kern_levels.h:5:25: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:112:9: note: in expansion of macro 'print' 112 | print(tabs, "data:%ld", skb->data - skb->head); | ^~~~~ ./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:113:9: note: in expansion of macro 'print' 113 | print(tabs, "tail:%u", skb->tail); | ^~~~~ ./include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'sk_buff_data_t' {aka 'unsigned char *'} [-Werror=format=] 5 | #define KERN_SOH "\001" /* ASCII Start Of Header */ | ^~~~~~ ./include/linux/printk.h:422:25: note: in definition of macro 'printk_index_wrap' 422 | _p_func(_fmt, ##__VA_ARGS__); \ | ^~~~ ./include/linux/printk.h:535:9: note: in expansion of macro 'printk' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~ ./include/linux/kern_levels.h:24:25: note: in expansion of macro 'KERN_SOH' 24 | #define KERN_CONT KERN_SOH "c" | ^~~~~~~~ ./include/linux/printk.h:535:16: note: in expansion of macro 'KERN_CONT' 535 | printk(KERN_CONT fmt, ##__VA_ARGS__) | ^~~~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:38:17: note: in expansion of macro 'pr_cont' 38 | pr_cont(text "\n", ##__VA_ARGS__); \ | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/skbuff.c:114:9: note: in expansion of macro 'print' 114 | print(tabs, "end:%u", skb->end); | ^~~~~ cc1: all warnings being treated as errors /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c: In function 'serialize_instance': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-mips-openwrt-linux-musl_musl/linux-lantiq_xrx200/jool-4.1.8/src/mod/common/nl/instance.c:40:46: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] 40 | error = nla_put_u32(skb, JNLAIE_NS, ((__u64)entry->ns) & 0xFFFFFFFF); | ^ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* xtables-addons: bump to 3.24Georgi Valkov2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | fa35c29 Xtables-addons 3.24 9db4d8d DHCPMAC: resolve cppcheck warnings 4599c30 ipv4options: resolve cppcheck warnings 5a714b6 geoip: set autoflush on stdout f16ed5c geoip: Use stdout for output and stderr for errors/diag a711985 build: resolve compiler warnings with gcc-13 97181e3 doc, src: improve spelling 30ddb4f doc, src: improve spelling f3f8155 xt_geoip: bump number of territories per rule e426ad9 Xtables-addons 3.23 51761c3 build: support for Linux 6.2 409cb5a build: replace `AC_DISABLE_STATIC` macro with an argument to `LT_INIT` 0454ff6 build: replace obsolete `AC_PROG_LIBTOOL` macro with `LT_INIT` 5b3fae8 Xtables-addons 3.22 71396f9 build: support for Linux 6.1 7ad55ad build: eliminate geoip/ make recursion b950dae build: fix failure to recurse into asn/ cd77880 xt_asn: new module Signed-off-by: Georgi Valkov <gvalkov@gmail.com> [ add changelog from 3.21 to 3.24 ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* xtables-addons: fix build warnings treated as errors since b2d1eb7Georgi Valkov2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use kcalloc and remove conflicting #include <stdarg.h> to fix the following build warnings treated as errors since b2d1eb7: error: ISO C90 forbids variable length array 'buf' [-Werror=vla] error: "va_start" redefined [-Werror] error: "va_arg" redefined [-Werror] error: "va_copy" redefined [-Werror] getstr(s)==NULL is always false /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c: In function 'byte_array_to_string': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c:110:9: error: ISO C90 forbids variable length array 'buf' [-Werror=vla] 110 | uint8_t buf[(array->length * 3) + 255]; | ^~~~~~~ /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/byte_array.c:112:9: error: ISO C90 forbids variable length array 'res' [-Werror=vla] 112 | char res[255 + (array->length * 3)]; /* make sure the buffer is big enough*/ | ^~~~ cc1: all warnings being treated as errors In file included from ./include/linux/string.h:9, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/include/string.h:1, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldebug.c:10: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | CC [M] /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lstrlib.o In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldebug.c:8: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | CC [M] /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ltable.o In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c:12: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lfunc.c:13: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lmem.c:13: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/include/stdio.h:1, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lobject.c:10: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lobject.c:7: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/llimits.h:12, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lopcodes.h:10, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lopcodes.c:11: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | In file included from ./include/linux/kernel.h:5, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/luaconf.h:16, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:15, from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lstate.c:13: ./include/linux/stdarg.h:6: error: "va_start" redefined [-Werror] 6 | #define va_start(v, l) __builtin_va_start(v, l) | In file included from /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/lua.h:12: /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:47: note: this is the location of the previous definition 47 | #define va_start(v,l) __builtin_va_start(v,l) | ./include/linux/stdarg.h:8: error: "va_arg" redefined [-Werror] 8 | #define va_arg(v, T) __builtin_va_arg(v, T) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:49: note: this is the location of the previous definition 49 | #define va_arg(v,l) __builtin_va_arg(v,l) | ./include/linux/stdarg.h:9: error: "va_copy" redefined [-Werror] 9 | #define va_copy(d, s) __builtin_va_copy(d, s) | /home/ansuel/openwrt-ansuel/openwrt/staging_dir/toolchain-aarch64_cortex-a53_gcc-12.2.0_musl/lib/gcc/aarch64-openwrt-linux-musl/12.2.0/include/stdarg.h:52: note: this is the location of the previous definition 52 | #define va_copy(d,s) __builtin_va_copy(d,s) | /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c: In function 'DumpString': /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/xtables-addons-3.21/extensions/LUA/lua/ldump.c:63:26: error: the comparison will always evaluate as 'false' for the pointer operand in 's + 24' must not be NULL [-Werror=address] 63 | if (s==NULL || getstr(s)==NULL) | ^~ cc1: all warnings being treated as errors Fixes: #20993 Fixes: #21006 Co-developed-by: Chen Minqiang <ptpt52@gmail.com> Co-developed-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Chen Minqiang <ptpt52@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
* Merge pull request #20991 from stangri/master-pbrStan Grishin2023-05-14
|\ | | | | pbr: bugfix: create IPv6 routes
| * pbr: bugfix: create IPv6 routesStan Grishin2023-05-11
| | | | | | | | | | | | | | | | * add missing space in str_contains * unquote variable to make sure IPv6 rotues are added * add IPv6 routes display to status output in nft mode Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | aardvark-dns: add new packageOskari Rauta2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | aardvark-dns is companion for netavark, recent cni replacement on podman git version used instead of release, to maintain maximal compatibility with netavark, also using git version. Description: Aardvark-dns is an authoritative dns server for A/AAAA container records. It can forward other requests to configured resolvers. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>