aboutsummaryrefslogtreecommitdiff
path: root/net
Commit message (Collapse)AuthorAge
* 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>
* | netavark: add new packageOskari Rauta2023-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | podman is moving from cni to netavark. Netavark supports currently only iptables, so I was in touch some time ago with mainstream maintainer and provided a "none" firewall driver - to make it possible to use netavark without firewalling features. Driver cannot be selected at this time without environment variable that selects it, so I made a config file for openwrt and a wrapper script that takes advantage of it. Available options are iptables, nftables and none - but selecting nftables just tells user that nftables isn't yet supported. firewall "none" driver is not yet included in release, so that's why we use git version instead. I chose latest commit instead of commit with none driver. Description: Netavark is a rust based network stack for containers. It is being designed to work with Podman but is also applicable for other OCI container management applications. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | siit: fix compilation warningChristian Marangi2023-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compilation warning for stack limit and variable length array. Fix compilation warning: CC [M] /home/ansuel/openwrt-ansuel/openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/siit-1.2/siit.o ../siit-1.2/siit.c: In function 'ip4_fragment': ../siit-1.2/siit.c:988:9: error: ISO C90 forbids variable length array 'buff' [-Werror=vla] 988 | char buff[FRAG_BUFF_SIZE+hdr_len]; /* buffer to form new fragment packet */ | ^~~~ ../siit-1.2/siit.c: In function 'siit_xmit': ../siit-1.2/siit.c:1359:1: error: the frame size of 2144 bytes is larger than 1024 bytes [-Werror=frame-larger-than=] 1359 | } | ^ cc1: all warnings being treated as errors Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* | lighttpd: select mbedtls for default cryptolibGlenn Strauss2023-05-13
| | | | | | | | | | | | | | | | | | wolfssl has been the base TLS library in openwrt since 21.02 mbedtls will once again be the base TLS library in openwrt 23.?? Default to mbedtls for digest functions in lighttpd Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
* | lighttpd: include mod_h2 in base packageGlenn Strauss2023-05-13
| | | | | | | | | | | | | | | | | | | | | | | | | | The next version of lighttpd will move HTTP/2 support from the lighttpd base executable into a separate module: mod_h2 Include patch to do so now, and update packaging to handle it. HTTP/2 support is enabled by default since lighttpd 1.4.59, but if HTTP/2 support is explicitly disabled in the configuration, then mod_h2 will not be loaded, thereby reducing lighttpd memory use. Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
* | lighttpd: select wolfssl for default cryptolibGlenn Strauss2023-05-13
| | | | | | | | | | | | | | | | wolfssl has been a base TLS library in openwrt since 21.02 Default to wolfssl instead of Nettle for digest functions in lighttpd Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
* | lighttpd: update to lighttpd 1.4.70 release hashGlenn Strauss2023-05-13
| | | | | | | | | | | | remove patches included upstream Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
* | banip: release 0.8.6-1Dirk Brenken2023-05-12
| | | | | | | | | | | | | | | | * made the fetch utility function/autodetection more bullet proof * no longer add suspicious IPs to the local blocklist when the nft set timeout has been set * restructure internal functions & small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
* | Merge pull request #20970 from nmav/tmp-ocservNikos Mavrogiannopoulos2023-05-12
|\ \ | |/ |/| ocserv: updated to 1.1.7
| * ocserv: updated to 1.1.7Nikos Mavrogiannopoulos2023-05-09
| | | | | | | | Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
* | wsdd2: fix stopping serviceRafał Miłecki2023-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function start_service() is called whenever service may need reloading. If SMB server is not running it could be simply because it has been stopped. Reloading service in such case is not an error so: 1. Don't log error as it isn't one 2. Don't exit with error code as it was confusing procd This change fixes scenario like: /etc/init.d/ksmbd stop /etc/init.d/wsdd2 reload (previously above wasn't stopping wsdd2) Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* | Merge pull request #20801 from jefferyto/python-pyprojectJeffery To2023-05-10
|\ \ | | | | | | python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
| * | onionshare-cli: Force old Python build processJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | This package requires poetry to build using the new Python build process but poetry is not available, so force the old build process for now. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | nmap: Force old Python build processJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This package isn't compatible with the new Python build process yet, so force the old build process for now. This also adds a call to Py3Build/Install, for when the new build process can be used. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
| * | fail2ban: Override Build/Compile instead of Py3Build/CompileJeffery To2023-04-24
| | | | | | | | | | | | | | | | | | | | | This allows changes to the Python build system apply more easily to the package. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* | | Merge pull request #20944 from stangri/master-https-dns-proxyStan Grishin2023-05-08
|\ \ \ | | | | | | | | https-dns-proxy: fixes/improvements
| * | | https-dns-proxy: fixes/improvementsStan Grishin2023-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * use shared memory to store output data * add family option to firewall json objects, due to reports that IPv6 hijacking doesn't work without explicit family declaration Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | | Merge pull request #20942 from stangri/master-simple-adblockStan Grishin2023-05-08
|\ \ \ \ | | | | | | | | | | simple-adblock: add family to firewall json objects
| * | | | simple-adblock: add family to firewall json objectsStan Grishin2023-05-07
| |/ / / | | | | | | | | | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | | Merge pull request #20930 from stangri/master-pbrStan Grishin2023-05-08
|\ \ \ \ | |_|_|/ |/| | | pbr: ipv6 & migration bugfixes
| * | | pbr: ipv6 & migration bugfixesStan Grishin2023-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * suppress RTNETLINK errors when inserting ipv6 routes * only display global scope IPv6 gateways in status/WebUI * stop and disable vpn-policy-routing when migrating Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | | mwan3: bump PKG_VERSION to 2.11.7Anna Tikhomirova2023-05-08
| | | | | | | | | | | | | | | | Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
* | | | mwan3: reset score to up+down on connectedFlorian Eckert2023-05-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the score value to the maximum value when the connected function is called. The same happens with a disconnected event, the score value is there set to zero. Suggested-by: Anna Tikhomirova <vamp@vampik.ru> Suggested-by: Maxim Mikityanskiy <maxtram95@gmail.com> Signed-off-by: Florian Eckert <fe@dev.tdt.de>