The upstream project is declared as bugfix-only and received no update
for about 2 years. The developement focus there has shifted. It does
not compile with current openwrt main branch.
Includes the serial module for luasockets (which is already being built)
in the final package. This allows using socket.select() on a serial port
(eg /dev/ttyACM0) which is the easiest way to use a serial-port with
coroutines.
Georgi Valkov [Mon, 8 Jul 2024 18:40:59 +0000 (21:40 +0300)]
xtables-addons: bump to 3.26
extensions/ACCOUNT/Makefile.am
change ${top_srcdir} to ../../ (used in 3.24) to fix the following error
cp: cannot stat '/Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/ipkg-install/usr/lib/iptables/libxt_ACCOUNT.so': No such file or directory
Georgi Valkov [Mon, 8 Jul 2024 18:28:02 +0000 (21:28 +0300)]
xtables-addons: merge patches
Merge the following patches
201-fix-lua-packetscript.patch
210-freebsd-build-fix.patch
since they modify files created by 200-add-lua-packetscript.patch
Georgi Valkov [Mon, 8 Jul 2024 12:58:02 +0000 (15:58 +0300)]
xtables-addons: fix build error with target x64
Fixes
make[6]: Entering directory '/Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.36'
CC [M] /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.o
In file included from /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:20:
./include/net/checksum.h: In function 'csum_shift':
./include/net/checksum.h:90:40: error: implicit declaration of function 'ror32' [-Werror=implicit-function-declaration]
90 | return (__force __wsum)ror32((__force u32)sum, 8);
| ^~~~~
In file included from ./include/linux/kernel.h:22,
from ./include/linux/skbuff.h:13,
from ./include/linux/tcp.h:17,
from ./include/net/tcp.h:20,
from /Volumes/x64/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.24/extensions/LUA/prot_buf_ip.c:21:
./include/linux/bitops.h: At top level:
./include/linux/bitops.h:135:21: error: conflicting types for 'ror32'; have '__u32(__u32, unsigned int)' {aka 'unsigned int(unsigned int, unsigned int)'}
135 | static inline __u32 ror32(__u32 word, unsigned int shift)
| ^~~~~
./include/net/checksum.h:90:40: note: previous implicit declaration of 'ror32' with type 'int()'
90 | return (__force __wsum)ror32((__force u32)sum, 8);
| ^~~~~
cc1: some warnings being treated as errors
go1.22.5 (2024-07-02) includes security fixes to the net/http package,
as well as bug fixes to the compiler, cgo, the go command, the linker,
the runtime, and the crypto/tls, go/types, net, net/http, and os/exec.
74ee2fa4899 failed to notice that libpcsclite now supports redirection, as of
https://salsa.debian.org/rousseau/PCSC/-/commit/1faab672aa1f926cf943d8b814ae15636dddd22c
(first present in upstream release 2.1.0). It's important to include the real
implementation, even if redirection permits loading others.
With ffmpeg support, motion can encode videos and process network camera
streams. It is a small code base and buinding it twice will not
significantly impact a full build.
Signed-off-by: Luiz Angelo Daros de Luca <redacted>
Sean Khan [Fri, 5 Jul 2024 11:42:45 +0000 (07:42 -0400)]
openssh: fix incompatible ptr type error GCC 14.1
The `ssh_systemd_notify` function is causing compilation errors
when built against GCC 14.1. This is due to an incompatible pointer
type being passed to the connect function.
The connect function expects a pointer to `struct sockaddr`, but
was receiving a pointer to `struct sockaddr_un`.
libs/glib2: remove the deprecated option force_posix_threads
Resolves the following warning:
glib-2.80.3/meson.build:2053:
WARNING: DEPRECATION: Option 'force_posix_threads' is deprecated and
will be removed after GLib 2.72; please file an issue with your use case
if you still require it
For more information, see the following merge request:
Clemens Hopfer [Tue, 2 Jul 2024 20:49:02 +0000 (22:49 +0200)]
openvpn: fix startup with script-security lower than 2
External scripts may only be specified with script-security 2 or higher,
otherwise OpenVPN fails at tunnel startup with an error.
This changes the previously hardcoded hotplug scripts to only be added if
script-security is 2 or higher is used.
Daniel Golle [Wed, 5 Jun 2024 02:44:09 +0000 (03:44 +0100)]
postgresql: update to version 16.3
Switch to new major version 16.
Use meson to build for target, however, old autotools-style configure is
needed to clean the source directory before being able to run meson, and
host build of the timezone compiler ('zic') also still requires using the
old build system.
See also https://www.postgresql.org/docs/16/release-16.html
Robert Marko [Tue, 2 Jul 2024 16:15:02 +0000 (18:15 +0200)]
lpac: make APDU backends configurable
Currently, lpac will be built with the PCSC and AT APDU backends by default
and its not configurable in OpenWrt.
Since smart card reads are not really common on OpenWrt devices lets
disable PCSC backend by default so we dont have to include PCSC lib and
daemon by default.
AT backend is left enabled by default since it has no external dependecies
and all modems have it.
QMI over QRTR backend is not selectable even though it is part of the 2.0.2
relase since it requires unstable libqmi 1.35.4 or newer and we are still
using 1.34 stable branch.
* 9.8p1 fixes CVE-2024-6387
* Adjusted Makefile to provide /usr/lib/sshd-session
* Given the troubles with -fzero-call-used-regs and all the
broken checks, makes sense to skip it
Required libdbus as a depends for liblxc. I verified that both
lxc-create and lxc-checkconfig work with the rebases to the
following patches but do please review:
Milinda Brantini [Fri, 28 Jun 2024 06:02:35 +0000 (14:02 +0800)]
runc: Update to 1.1.13
This is the thirteenth patch release in the 1.1.z release branch of runc.
Itbrings in Go 1.22.x compatibility and fixes a few issues,
including anoccasional wrong nofile rlimit in runc exec,
and a race between runc list and runc delete.
freeradius-3.2.4 had a build failure in the snapshoot release but it builds successfully when doing a pull request
https://downloads.openwrt.org/snapshots/faillogs/aarch64_generic/packages/freeradius3/compile.txt
https://github.com/openwrt/packages/pull/24417
as a solution we need to add
PKG_BUILD_PARALLEL:=0
to prevent freeradius3 from doing the build in parallel
Ryan Keane [Thu, 20 Jun 2024 21:16:27 +0000 (17:16 -0400)]
cloudflared: Fix incorrect uci config syntax
Fix incorrect uci config syntax, caused by a careless newbie contributer.
Modify function append_param_arg() in init script, to support hyphenated
arguments.
Add more command parameters as uci options, no value is set to keep it default.
Tony Ambardar [Tue, 30 Apr 2024 02:52:59 +0000 (19:52 -0700)]
speedtest-netperf: add idle latency measurement
Allow measuring ping latency and CPU details at idle as a baseline before
measuring under data transfer loading. This allows better determination of
Latency Under Load, a critical bufferbloat parameter. The CPU details can
also be used to verify idle conditions or examine CPU frequency against
ping variations and jitter.
Change the default test duration to 30 seconds, which is adequate for SQM
tuning while reducing bandwidth consumption for upstream netperf servers.
Change the default ping host from gstatic.com to one.one.one.one, which is
widely available and generally shows lower latency.
When warning of internal netperf errors, suggest running netperf directly
to view error details.
Other minor updates include:
- clear tmp file names for safety in case of traps
- simplify ping code, argument parsing and number validation
- fix cases of wrong protocol usage with hostname as ping target
- drop unneeded egrep usage
Also update README accordingly, with clearer usage text and terminology.