Commit Graph

29399 Commits

Author SHA1 Message Date
Thlv Alivs 80dad35294 oath-toolkit: Add oath PAM authentication module
will install to /usr/lib/security/pam_oath.so

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
2023-05-21 19:42:53 +08:00
Tianling Shen 0ef5f50a83 oath-toolkit: splitting liboath from oath-toolkit
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-21 19:42:53 +08:00
Marius Dinu f66bcdd1b6 transmission: add missing nls.mk include
Fixes issue #21016.

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
2023-05-21 12:29:36 +03:00
Zephyr Lykos 0da92a74aa tailscale: update to 1.40.1
Signed-off-by: Zephyr Lykos <git@mochaa.ws>
2023-05-21 14:08:25 +08:00
Glen Huang 57eb73ae63
nginx: add configure flag --with-compat
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>
2023-05-20 23:18:00 +02:00
Christian Marangi 6a3cc76ea5
nginx: introduce migration for old uci conf template
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: 65a676ed56 ("nginx: introduce support for dynamic modules")
Fixes: #20904
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-05-20 23:18:00 +02:00
Christian Marangi e499f0adf1
nginx-util: add version to UCI conf template
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>
2023-05-20 23:18:00 +02:00
W. Michael Petullo 4a7822604a vips: update to 8.14.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 16:31:33 +03:00
Oskari Rauta cb7aa1e2da zmq: fix gcc 13 errors
gcc 13 compatibility patch is from alpine linux.
https://git.alpinelinux.org/aports/tree/main/zeromq/gcc13.patch

fixes #20972

I also renamed one of patches, so patch filenames are more unified.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 13:00:04 +03:00
Michal Hrusecky f8a8b71e26 openvpn: Add more hotplug events
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>
2023-05-20 12:58:33 +03:00
Oskari Rauta 7cc8d25381 ttyd: update to 1.7.3
also fixes linking issue that appeared after gcc 13
removed obsolete (merged) patch, ttyd now depends on
libcap, added that as a dependency.

remaining patch refreshed.

release notes: https://github.com/tsl0922/ttyd/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 16:04:50 +08:00
W. Michael Petullo 1abea58fec scapy: update to 2.5.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 14:25:37 +08:00
W. Michael Petullo 1fcea07981 syslog-ng: update to 4.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:18:29 +08:00
W. Michael Petullo 614eb9dba9 php8-pecl-mcrypt: update to 1.0.6
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:50 +08:00
W. Michael Petullo 09bf479e24 php8-pecl-krb5: update to 1.1.5
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:24 +08:00
W. Michael Petullo 03e2016299 openldap: update to 2.6.4
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:03 +08:00
W. Michael Petullo 78c7e8079e nfdump: update to 4.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:16:41 +08:00
W. Michael Petullo e24a92498e luasec: update to 1.3.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:16:26 +08:00
W. Michael Petullo b9792544de libsoup3: update to 2.6.4
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:59 +08:00
W. Michael Petullo e44d24cf05 libgpg-error: update to 1.47
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:49 +08:00
W. Michael Petullo 427c9b6974 libgcrypt: update to 1.10.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:15:16 +08:00
W. Michael Petullo 71fb98ea45 libpsl: update to 0.21.2
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:13:27 +08:00
Michael Heimpold d6f6a393df evtest: don't build man page
Just selecting this package resulted in a build error:

/home/mhei/openwrt.git/staging_dir/hostpkg/bin/python3: No module named asciidoc
make[4]: *** [Makefile:856: evtest.xml] Error 1

Since we usually do not need the man page, just prevent to
build it by pre-setting two environments variables. Then
the makefile warns about, but don't try to build.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-20 13:12:59 +08:00
Tianling Shen e31dfd4a9e
Merge pull request #21103 from jefferyto/gensio-without-go
gensio: Fix build on build host with Go compiler
2023-05-20 13:09:04 +08:00
Tianling Shen 577679a572 python3-libselinux: fix compilation with musl 1.2.4
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>
2023-05-20 13:07:15 +08:00
Oskari Rauta 3b14d25698 mariadb: fix gcc 13 building
fixes:
FAILED: tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o
/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/bin/x86_64-openwrt-linux-musl-g++ -DDBUG_TRACE -DHAVE_CONFIG_H -DHAVE_URING -D_FILE_OFFSET_BITS=64 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/wsrep-lib/wsrep-API/v26 -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/include/providers -I/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -fmacro-prefix-map=/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3=mariadb-10.9.3 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro   -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/usr/include -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include/fortify -I/usr/src/openwrt/staging_dir/toolchain-x86_64_gcc-13.1.0_musl/include -DNDEBUG -DDBUG_OFF -std=gnu++11 -DHAVE_IO_URING_MLOCK_SIZE -MD -MT tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -MF tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o.d -o tpool/CMakeFiles/tpool.dir/aio_liburing.cc.o -c /usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc
/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc: In constructor '{anonymous}::aio_uring::aio_uring(tpool::thread_pool*, int)':
/usr/src/openwrt/build_dir/target-x86_64_musl/mariadb-10.9.3/tpool/aio_liburing.cc:64:18: error: 'runtime_error' is not a member of 'std'
   64 |       throw std::runtime_error("aio_uring()");

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-20 13:06:47 +08:00
Tianling Shen 7730e8ea1e gnutls: fix build with zabbix
Zabbix verifies the version of gnutls by search in the header gnutls.h.
This is done with 'cat' and 'egrep'. The problem here is now that the
preprocess definition did changed in gnutls.h, so the regex does not
match anymore.

The following error message acourse in the log:
> configure: error: GnuTLS library version requirement not met (>= 3.1.18)

To fix this backport an upstream patch to let the regex work again.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:06:29 +08:00
Tianling Shen f03a2827ea efivar: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Backport an upstream fix to replace these old data types.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:05:33 +08:00
Tianling Shen b9481f55d8 perl: perlmod: append _LARGEFILE64_SOURCE flag for musl 1.2.4
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>
2023-05-20 13:05:19 +08:00
Scott McKenzie 61106a8df2 cloudflared: support setting tunnel token
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>
2023-05-20 13:04:04 +08:00
Tianling Shen aadc8d0001
Merge pull request #20981 from jefferyto/python3-packages-fix-build
python3-packages: Set PYTHON3_PKG_BUILD:=0
2023-05-20 08:01:25 +08:00
Ray Wang c2ed86d59f natmap: add myself to maintainers
Signed-off-by: Ray Wang <r@hev.cc>
2023-05-20 07:55:27 +08:00
Ray Wang ad612d813c natmap: update to 20230519
Signed-off-by: Ray Wang <r@hev.cc>
2023-05-20 07:55:27 +08:00
Tianling Shen 3570a61cd3 podman: fix compilation with musl 1.2.4
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>
2023-05-19 22:30:41 +08:00
Jeffery To b9f23d957d
gensio: Fix build on build host with Go compiler
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>
2023-05-19 20:03:43 +08:00
Daniel Golle 142bbc77f1
transmission: add missing ftruncate64 syscall
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>
2023-05-19 02:55:07 +01:00
Javier Marcet 377721fae6 docker-compose: Update to version 2.18.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-05-19 09:18:59 +08:00
Michael Heimpold e6a133cb9d php8: update to 8.2.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Michael Heimpold 85bf0627b1 php8: fix compilation with musl 1.2.4
As noted in the release notes of musl 1.2.4, we can use
CFLAGS to pass -D_LARGEFILE64_SOURCE to allow to keep
using LFS64 definitions (as a short-term solution).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Tianling Shen f20ba7f6ed mariadb: fix compilation with musl 1.2.4
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>
2023-05-18 19:24:24 +08:00
Nick Hainke b84d35f577 inotify-tools: fix compilation with musl 1.2.4
Fixes errors in the form of:
inotifytools.c: In function 'inotifytools_watch_recursively_with_exclude':
inotifytools.c:1335:30: error: storage size of 'my_stat' isn't known
 1335 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c:1342:36: error: implicit declaration of function 'lstat64'; did you mean 'lstat'? [-Werror=implicit-function-declaration]
 1342 |                         if ( -1 == lstat64( next_file, &my_stat ) ) {
      |                                    ^~~~~~~
      |                                    lstat
inotifytools.c:1335:30: error: unused variable 'my_stat' [-Werror=unused-variable]
 1335 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c: In function 'isdir':
inotifytools.c:1621:30: error: storage size of 'my_stat' isn't known
 1621 |         static struct stat64 my_stat;
      |                              ^~~~~~~
inotifytools.c:1621:30: error: unused variable 'my_stat' [-Werror=unused-variable]
inotifytools.c:1630:1: error: control reaches end of non-void function [-Werror=return-type]
 1630 | }
      | ^
cc1: all warnings being treated as errors

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 19:20:03 +08:00
Nick Hainke 5cd812bd6a arp-scan: fix missing libcap dependency
arp-scan complains about missing libcap dependency. Disable the
dependency.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 12:46:15 +03:00
S. Brusch 0c15327f98 crowdsec: new upstream release version 1.5.1
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
2023-05-18 17:32:40 +08:00
Tianling Shen 710ef135cf tgt: Update to 1.0.86
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>
2023-05-18 16:36:53 +08:00
Nick Hainke c7aba534f0 pcre: move pcre from base repository to packages feed
pcre is no longer needed in the base repository. However, some packages
still rely on it in the packages and telephony feed.

Cross-reference to base repository:
e3e6652a550d ("pcre: move package to packages feed")

While working on it remove AUTORELEASE.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 10:20:59 +02:00
Nick Hainke 327c3ed2fe pcre2: package moved to base feed
The package is needed by selinux, so it was moved to the base repository.
Remove it from openwrt packages feed.

Cross-reference:
c39b0646f3f2 ("pcre2: import pcre2 from packages feed")

Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-18 10:20:59 +02:00
Jeffery To 16779c2d6e python-packaging: Update to 23.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:18 +03:00
Jeffery To 7607e43be4 python-attrs: Update to 23.1.0
The package now uses pyproject.toml-based builds with additional build
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:02 +03:00
Robert Högberg a417171d93 libvorbisidec: Fix error in package description
libvorbisidec needs libogg since
8886a2805f

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2023-05-18 10:31:33 +03:00
Jeffery To d2ad1f47d3 python-automat: Update to 22.10.0, refresh patches
This also removes the patch to avoid setuptools-scm and adds a build
dependency on python-setuptools-scm/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 10:30:52 +03:00