Commit Graph

36251 Commits

Author SHA1 Message Date
Russell Senior b6958d257e sed: update to v4.10
update to version v4.10, disable building gnulib-tests to avoid
compilation errors.

Add --disable-xattr to CONFIGURE_ARGS to avoid linking an unneeded
dependency.

Changes in sed since v4.9, from NEWS:

** Bug fixes

  sed 's/a/b/g' (and other global substitutions) now works on input
  lines longer than 2GB. Previously, matches beyond the 2^31 byte offset
  would evoke a "panic" (exit 4).
  [bug present since the beginning]

  'sed --follow-symlinks -i' no longer has a TOCTOU race that could let
  an attacker swap a symlink between resolution and open, causing sed to
  read attacker-chosen content and write it to the original target.
  [bug introduced in sed 4.1e]

  sed no longer falsely matches when back-references are combined with
  optional groups (.?) and the $ anchor.  For example, this no longer
  falsely matches the empty string at beginning of line:
    $ echo ab | sed -E 's/^(.?)(.?).?\2\1$/X/'
    Xab
  [bug present since "the beginning"]

  In --posix mode, sed no longer mishandles backslash escapes (\n,
  \t, \a, etc.) after a named character class like [[:alpha:]].
  For example, 's/^A\n[[:alpha:]]\n*/XXX/' would fail to match the
  trailing newline, treating \n as a literal backslash and an 'n'
  rather than a newline.  This happened when an earlier backslash
  escape in the same regex had already been converted, shifting the
  in-place normalization buffer.
  [bug introduced in sed 4.9]

  sed --debug no longer crashes when a label (":") command is compiled
  before the --debug option is processed, e.g., sed -f<(...) --debug.
  [bug introduced in sed 4.7 with --debug]

  sed no longer rejects the documented GNU extension 'a**' (equivalent
  to 'a*') in Basic Regular Expression (BRE) mode.  Previously, this
  worked only with -E (ERE mode), even though grep has always accepted
  it in BRE mode.
  [bug present since "the beginning"]

  sed no longer rejects "\c[" in regular expressions
  [bug present since the beginning]

  'sed --follow-symlinks -i' no longer mishandles an operand that is a
  short symbolic link to a long symbolic link to a file.
  [bug introduced in sed 4.9]

  Fix some some longstanding but unlikely integer overflows.
  Internally, 'sed' now more often prefers signed integer arithmetic,
  which can be checked automatically via 'gcc -fsanitize=undefined'.

** Changes in behavior

  In the default C locale, diagnostics now quote 'like this' (with
  apostrophes) instead of `like this' (with a grave accent and an
  apostrophe).  This tracks the GNU coding standards.

  'sed --posix' now warns about uses of backslashes in the 's' command
  that are handled by GNU sed but are not portable to other
  implementations.

** Build-related

  builds no longer fail on platforms without the <getopt.h> header or
  getopt_long function.
  [bug introduced in sed 4.9]

Signed-off-by: Russell Senior <russell@personaltelco.net>
2026-05-03 08:14:01 +02:00
micpf d114f46db1 libfastjson: add missing runtime dependency on libm
libfastjson uses modf() from libm but does not declare the dependency.
With BIND_NOW (CONFIG_PKG_RELRO_FULL), this can cause the dynamic linker
to process libfastjson's relocations before libm's GOT is set up,
triggering a crash in libm's IFUNC resolver on PowerPC.

Fixes: https://github.com/openwrt/packages/issues/29160
Signed-off-by: micpf <micpf@westermo.com>
2026-05-02 18:11:36 +03:00
Stan Grishin 81f0ef48e1 https-dns-proxy: update to 2026.03.18-1
Maintainer: me
Compile tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1
Run tested: x86_64, Dell EMC Edge620, OpenWrt 25.12.1

Description:
update to 2026.03.18, improve nftables rules

  - Update PKG_VERSION to 2026.03.18.
  - Set PKG_RELEASE to 1.
  - Update PKG_SOURCE_VERSION to 801881210ba8215dc9cd577222d8c10372423360.
  - Update PKG_MIRROR_HASH to 4c356c19b62fc7bdef3a67fd678e48f3659d709da10517c2eadef76e3409f5ce.

files/etc/init.d/https-dns-proxy:
  - Wrap the notrack chain in its own `inet https_dns_proxy_notrack`
    table. A top-level `chain` outside any table is invalid nftables
    syntax and is rejected on kernel 6.18+, breaking firewall load.
    Fixes mossdef-org/https-dns-proxy#7.
  - Syntax-check the generated snippet with `nft -c -f` after write
    and report OK/FAIL on the start path.
  - On remove, explicitly `nft delete table` in addition to removing
    the snippet file, so the live ruleset is cleaned up immediately
    rather than waiting for the next fw4 reload.

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2026-05-01 18:04:56 -07:00
Alexander Krause e6b5141c7e adguardhome: added ujail dependency
In order to create a proper jail, we net the procd-ujail package.
Otherwise, AdGuardHome will run as unprivileged process,
and will not be able to listen on ports below 1024.

Signed-off-by: Alexander Krause <alexander.krause@cs.tu-dortmund.de>
2026-05-01 21:06:56 +03:00
Alexandru Ardelean 543e47f0a0 zstd: add test.sh for script wrappers without --version
zstdgrep and zstdless are shell script wrappers that do not output a
version string, so the generic CI version check fails for them. Add a
test.sh case that verifies they are present and executable instead.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 5b9e2dd55e dbus: add test.sh for binaries without --version
dbus-utils utilities do not implement --version so the generic CI
version check fails for them. Add a test.sh case that verifies the
binaries are present and executable instead.

dbus-utils: dbus-monitor, dbus-send, dbus-test-tool
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 3298822f8d bluez: add test.sh for binaries without --version
Several bluez utilities do not implement --version so the generic CI
version check fails for them. Add test.sh cases that verify the
binaries are present and executable instead.

bluez-daemon: obexd
bluez-utils: bdaddr, ciptool, hciattach, hciconfig, l2ping, l2test, rctest
bluez-utils-extra: gatttool
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 07ae454c3f semodule-utils: update to 3.10
Changes in 3.10:
- general bug fixes from libsepol (bounds statements in optional
  blocks, type attribute handling in role-types rule, NULL dereference
  and use-after-free fixes)
- treewide: add .clang-format configuration file

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 58942fa127 selinux-python: update to 3.10
Changes in 3.10:
- python/sepolicy: add support for DNF5
- sandbox/seunshare: replace system() with execv() to prevent shell
  injection vulnerability
- seunshare: always use translations when printing
- setfiles: add -A option to disable SELINUX_RESTORECON_ADD_ASSOC

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean badbdbef9f python-semanage: update to 3.10
Changes in 3.10:
- improve semanage man pages: add examples for -r RANGE flag usage
- semanage: reset active value when deleting boolean customizations
- various libsemanage/libsepol bug fixes and security hardening

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
Alexandru Ardelean 381e4f41ba python-selinux: update to 3.10
Changes in 3.10:
- fix parsing of the enforcing kernel cmdline parameter
- build python module without isolation (Makefile fix)
- treewide: add .clang-format configuration file
- various libsepol bug fixes (NULL deref, use-after-free, MLS range
  validation, functionfs_seclabel policycap, bpf_token_perms polcap)

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 21:01:30 +03:00
George Sapkin 3f7ff4c50c ci: relax subject and line length checks
Relax subject length checks to 60/80 and line length to 100 to match the
actions repo.

Link: https://github.com/openwrt/actions-shared-workflows/pull/95
Signed-off-by: George Sapkin <george@sapk.in>
2026-05-01 16:13:00 +03:00
Alexandru Ardelean 20873ba57e glib2: split package into separate libraries
Existing package contains five libraries, some of which are > 1MB. Allow
packages which depend on only some of them to only pull in the ones they
need by splitting this package into finer-grained packages. Transition
can be done piecemeal as depending on glib2 will still pull in all the
libraries.

The original split commit (6bb0d6bd2) had a typo: the glib2 meta-package
used 'DEPENDS:+glib2-gthread +glib2-gio' (missing '='), which caused
the meta-package to have no effective dependencies. This meant packages
declaring '+glib2' did not get the sub-packages installed, causing APK
dependency checks to fail for all glib2 libraries across ~60 packages.

This re-applies the split with 'DEPENDS:=+glib2-gthread +glib2-gio'
(correct assignment syntax), so the meta-package properly pulls in all
sub-packages for consumers that still declare '+glib2'.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-05-01 07:54:50 +03:00
Alexandru Ardelean 12d8cda801 attr: add test.sh to handle version check
The generic CI test fails for /usr/bin/attr because that binary does
not implement --version. getfattr and setfattr do, so test those for
the version string and only verify attr is present and executable.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-30 19:40:38 +02:00
Alexandru Ardelean 8238e4ddfa lua-openssl: fix CMake Lua detection in build
The CMakeLists.txt first tries FindLuaJIT.cmake which uses
NO_DEFAULT_PATH with hardcoded host paths, so it always fails in
cross-compilation. The fallback find_package(Lua REQUIRED) may also
fail to find a flat sysroot layout where lua.h lives at
/usr/include/lua.h rather than a versioned subdirectory.

Explicitly pass LUA_INCLUDE_DIR and LUA_LIBRARY to CMake to bypass
both finders, and depend on +liblua (the library package) instead of
+lua to ensure Build/InstallDev runs and Lua headers are present in
the staging directory before this package builds.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-30 17:42:26 +03:00
Dirk Brenken e0669cb1a8 banip: release 1.8.8-1
- introduced a shared named nft limit (loglimit) referenced by
  all log rules instead of per-rule limits, aligning with kernel printk rate limits
- added new 'ban_logratelimit' and 'ban_logburstlimit' UCI options for tuning
   the shared log limit; setting ban_logratelimit=0 disables nft-side rate limiting
   entirely (useful for ulogd or other userspace log handlers that bypass printk)
- LuCI: made the new UCI option available (Log Settings)
- readme update

Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-30 11:37:14 +02:00
Josef Schlehofer 459ceca657 unzip: refresh patches
Fixes:
```
2026-04-28T14:55:09.6675796Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0001-fix-heap-based-buffer-overflow-in-the-CRC32-verifica.patch' -> '/feed/utils/unzip/patches/0001-fix-heap-based-buffer-overflow-in-the-CRC32-verifica.patch'
2026-04-28T14:55:09.6707616Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0002-fix-heap-based-buffer-overflow-in-the-test_compr_eb-.patch' -> '/feed/utils/unzip/patches/0002-fix-heap-based-buffer-overflow-in-the-test_compr_eb-.patch'
2026-04-28T14:55:09.6739766Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0003-fix-heap-based-buffer-overflow-in-the-getZip64Data-f.patch' -> '/feed/utils/unzip/patches/0003-fix-heap-based-buffer-overflow-in-the-getZip64Data-f.patch'
2026-04-28T14:55:09.6770773Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0004-fix-out-of-bounds-read-or-write-and-crash.patch' -> '/feed/utils/unzip/patches/0004-fix-out-of-bounds-read-or-write-and-crash.patch'
2026-04-28T14:55:09.6802381Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0005-fix-heap-based-buffer-over-read-and-application-cras.patch' -> '/feed/utils/unzip/patches/0005-fix-heap-based-buffer-over-read-and-application-cras.patch'
2026-04-28T14:55:09.6832719Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0006-fix-infinite-loop-because-of-an-empty-bzip2-data.patch' -> '/feed/utils/unzip/patches/0006-fix-infinite-loop-because-of-an-empty-bzip2-data.patch'
2026-04-28T14:55:09.6863943Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0007-fix-error-to-prevent-unsigned-overflow.patch' -> '/feed/utils/unzip/patches/0007-fix-error-to-prevent-unsigned-overflow.patch'
2026-04-28T14:55:09.6895530Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0008-fix-buffer-overflow-in-the-list_files-function.patch' -> '/feed/utils/unzip/patches/0008-fix-buffer-overflow-in-the-list_files-function.patch'
2026-04-28T14:55:09.6926806Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0009-fix-buffer-overflow-in-the-zi_short-function.patch' -> '/feed/utils/unzip/patches/0009-fix-buffer-overflow-in-the-zi_short-function.patch'
2026-04-28T14:55:09.6958683Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0010-unix.c-Remove-build-date.patch' -> '/feed/utils/unzip/patches/0010-unix.c-Remove-build-date.patch'
2026-04-28T14:55:09.6990350Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/0011-fix-heap-based-buffer-overflow-in-the-password-prote.patch' -> '/feed/utils/unzip/patches/0011-fix-heap-based-buffer-overflow-in-the-password-prote.patch'
2026-04-28T14:55:09.7023549Z '/builder/build_dir/target-aarch64_generic_musl/unzip-6.0/unzip60/patches/012-fix-gcc15-build.patch' -> '/feed/utils/unzip/patches/012-fix-gcc15-build.patch'
2026-04-28T14:55:09.7047649Z make[2]: Leaving directory '/feed/utils/unzip'
2026-04-28T14:55:09.7051724Z time: package/feeds/packages_ci/unzip/refresh#1.41#1.81#2.76
2026-04-28T14:55:09.7059428Z make[1]: Leaving directory '/builder'
2026-04-28T14:55:09.7071281Z ##[endgroup]
2026-04-28T14:55:09.7104892Z Dirty patches detected, please refresh and review the diff
```

Fixes: f9e7e2db94  ("unzip: add valid patche headers and missing CVE informations")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-04-29 08:41:42 +02:00
Alexandru Ardelean 3b680cc166 coredns: fix netlink compat for wgsd plugin
wgsd (WireGuard Service Discovery plugin) pulls in
golang.zx2c4.com/wireguard/wgctrl -> mdlayher/genetlink v1.2.0 ->
mdlayher/netlink v1.6.2. This version of netlink calls
mdlayher/socket's Sendmsg/Recvmsg with the old API signatures
(pre-context.Context, single-return-value Sendmsg), but coredns
itself requires mdlayher/socket v0.5.1 which changed these
signatures to include context.Context and return (int, error).

Add a go get step that upgrades netlink to v1.7.2 after the wgsd
plugin dependencies are pulled in, ensuring the build uses a
netlink version compatible with socket v0.5.x.

Should fix:
  https://downloads.openwrt.org/snapshots/faillogs/i386_pentium-mmx/packages/coredns/compile.txt

```
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:105:35: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:9: too many return values
	have (int, error)
	want (error)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:116:33: not enough arguments in call to c.s.Sendmsg
	have ([]byte, nil, *"golang.org/x/sys/unix".SockaddrNetlink, number)
	want (context.Context, []byte, []byte, "golang.org/x/sys/unix".Sockaddr, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:127:42: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
../../../../../dl/go-mod-cache/github.com/mdlayher/netlink@v1.6.2/conn_linux.go:142:41: not enough arguments in call to c.s.Recvmsg
	have ([]byte, nil, number)
	want (context.Context, []byte, []byte, int)
github.com/aws/aws-sdk-go-v2/aws/protocol/query
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding
github.com/aws/smithy-go/private/requestcompression
```

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-29 06:42:29 +03:00
Josef Schlehofer 165cdb2d3e syslog-ng: update to version 4.11.0
Release notes:
https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-4.11.0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-04-28 23:13:40 +02:00
Erik Larsson fee669b6d4 python3-ubus: update to 0.1.3
Bump to version 0.1.3 and drop patch, which is in upstream.

Signed-off-by: Erik Larsson <who+github@cnackers.org>
2026-04-28 23:12:28 +02:00
Alexandru Ardelean bf50291ab1 prosody: fix PKG_HASH for 0.12.4
The prosody.im upstream updated the 0.12.4 tarball in-place, changing
its content without bumping the version. Update PKG_HASH to match the
currently published tarball.

Fixes: f4d305b73 ("prosody: update to 0.12.4")
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-28 23:10:43 +02:00
Dirk Brenken 523c395b17 banip: release 1.8.7-1
- fix log rate limit and drop throttling (#29255, #27990)
- serialize dedup writes via flock in f_down
- tighten RDAP CIDR validation and lock handling in f_monitor
- fix IPv6 prefix regex in f_search, simplify sed pattern in f_report
- readme update

Signed-off-by: Dirk Brenken <dev@brenken.org>

Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Dirk Brenken <dev@brenken.org>
2026-04-28 20:01:11 +02:00
Robert Marko ba381ab5ff mdio-netlink: update to Git HEAD (2026-04-14)
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-04-28 17:32:52 +02:00
John Audia 49a852ff9d snort3: update to 3.12.2.0
Changelog: https://github.com/snort3/snort3/releases/tag/3.12.2.0

Signed-off-by: John Audia <therealgraysky@proton.me>
2026-04-28 08:26:36 +02:00
Vladimir Ulrich ebb3665d74 zoneinfo: updated to 2026b release
Updated package version and file hashes.

Signed-off-by: Vladimir Ulrich <admin@evl.su>
2026-04-28 08:15:21 +03:00
Rishabh 2482fdd481 keepalived: bump PKG_RELEASE to 3
Bump PKG_RELEASE from 2 to 3.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 0fc6a409c2 keepalived: update config for option track_script
Update config for option track_script in vrrp_instance to use vrrp_script
instead of track_script

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 3fb01d67c7 keepalived: remove config section track_script
Remove config section for track_script from keepalived.config
as it is not supported.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 09143ea2b2 keepalived: update config for vrrp_script section
Update config for vrrp_script in keepalived.config.
Add option name, direction and timeout in config.
Add some docs for option weight and option direction.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 777925d423 keepalived: add option track_bfd in vrrp_instance
Update keepalived.config to add track_bfd option in vrrp_instance

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 7673eab565 keepalived: add config for section peer
Update keepalived.config to add config for section peer.
`peer` is a section that can be used via 'list unicast_peer'

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh b3a0f57c4f keepalived: add config for bfd_instance
Add config for bfd_instance in keepalived.config.
This includes all currently supported options.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 361beae4ed keepalived: add config for track_script in sync group
Update keepalived.config to add track_script option in vrrp_sync_group

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh b3f5280ca9 keepalived: add option timeout in vrrp_script
Add option timeout in vrrp_script section.
This option specifies the timeout duration for script execution.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh efed5cf1a6 keepalived: use section vrrp_script for option track_script
`track_script` and `vrrp_script` are both sections that run custom scripts
which handle priority of a vrrp_instance.
`track_script` is not supported by this uci implementation

`vrrp_instance` was still trying to fetch config for track_script from section
'track_script'.

After the changes, when listing track_script in vrrp_instance,
it tries to fetch config from section `vrrp_script` which is supported.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 82f99e0815 keepalived: add track_script to vrrp_sync_group
Add logic to parse track_script section for vrrp_sync_group.
Keepalived supports script tracking in vrrp_sync_group but this was not
implemented by the uci implementation.

Note that if a vrrp_script is added to a sync group, you cannot use
priority/weight for that script as a vrrp_sync_group does not have a
priority/weight attached to it. It will do up/down as whole.

This option is optional and wouldn't affect any older configurations
during upgrade.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 22919cd685 keepalived: update print_unicast_peer_indent func
Added options min_ttl and max_ttl in section peer. These options are
supported by keepalived but were not supported by the uci implementation.

This allows accepting packets within a specific TTL range.

These options are optional and wouldn't affect any older configurations
during upgrade.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 9542111b14 keepalived: fix print_track_script_indent func
Removed unnecessary option value. This was not needed as option name is
already being used. Also removed a condition where the section was not
parsed if option value was not given. Value was being used to name the
script. Now the option name is used as the name when the script is called
in track_script.

Also added a condition where the section is not parsed if
option name is not given. This is because the script cannot be called if
it does not have a name.

No upgrade script is required.

The removed `value` option in `vrrp_script` was previously used to
identify scripts referenced by `track_script`. However, this mechanism
was non-functional:

- `track_script` attempted to reference a `track_script` section, which
  is not implemented in the UCI configuration.
- As a result, script references were not resolved correctly even if
  `value` was defined.

With this change, `track_script` now correctly references the
`vrrp_script` section, and the `name` option is used as the identifier.

Since the previous behavior was not working as intended, removing the
`value` option does not break any valid existing configurations.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh 0046dd5648 keepalived: use extended config_section open/close functions
The new updated config_section_open and close functions are now used in places
where they can be used. The following sections use these functions:

(inside vrrp_instance)
    - virtual_ipaddress
    - virtual_routes
    - track_script
    - track_interface
    - track_bfd
    - unicast_peer

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Rishabh c75235e523 keepalived: add indent param in config_section_open/close
Add a parameter for indent in config_section_open and
config_section_close. Previously you had to separately add indents
while parsing if a section was inside another section.
Now this is supported by these two functions.
You can specify how much indent you need to add before opening or closing
a section.

Signed-off-by: Rishabh <rishabhshah2005@gmail.com>
2026-04-27 14:28:04 +02:00
Tim Flubshi e6e05d2aa6 ddns-scripts: netcup.com adjust update error path
Adjust the update error handling path to avoid hard failures on
recoverable errors. This allows ddns to retry updates after the
configured retry interval and improves reliability.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Tim Flubshi bd6a551669 ddns-scripts: netcup.com use json_load_file
Replace manual file loading via cat with json_load_file for parsing
JSON data. This uses the intended helper function and improves
code clarity and robustness.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Tim Flubshi c51e3100fa ddns-scripts: fix netcup.com readonly variable
The netcup ddns update script fails on subsequent runs because a
readonly variable is assigned again. Fix this by removing the readonly
declaration to allow repeated execution.

Signed-off-by: Tim Flubshi <flubshi@gmail.com>
2026-04-27 14:26:29 +02:00
Josef Schlehofer 537c2a631d treewide: avoid deref symlinks when installing .so
Deduplicate files

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-04-27 11:48:13 +02:00
Chris Swan d1e8512874 csshnpd: bump to c1.0.18 release
Upstream release aligned to Mbed-TLS 3.6.6

Signed-off-by: Chris Swan <chris@atsign.com>
2026-04-27 11:19:38 +02:00
Daniel F. Dickinson 0c88118ad4 nut: ensure correct upsmon settings names
Prompted by
https://github.com/openwrt/luci/pull/8420#issuecomment-4071252681
we update upsmon configs to ensure they are correct according to
upstream. We reorder the options so that they match upstream
documentation at
<https://networkupstools.org/docs/man/upsmon.conf.html> to be sure
we have not missed any items.
While at it, we add configuration options from the upstream
documentation that are not currently present in the UCI configs.

Some years ago upstream changed the names the primary/secondary
UPS system/monitor from master/slave to primary/secondary. It
is uncertain how much longer these deprecated names will be
accepted by NUT.
Therefore update naming to match upstream documentation and
configuration. See
<https://networkupstools.org/docs/man/upsmon.html>,
<https://networkupstools.org/docs/man/upsmon.conf.html>, and
<https://networkupstools.org/docs/man/upsd.users.html>.

At the same time, prompted by
https://github.com/openwrt/packages/pull/28875#issuecomment-4079307540
we simplify the configuration and add checks to avoid bad configs
due to misspellings/typos of configuation options by users.

A sample config

config upsmon 'upsmon'
       option notifycmd '/usr/bin/logger -t nut-monitor-exec '

config monitor
        option type primary
        option upsname upsname
        option hostname localhost
        option username upsuser
        option password upspassword

config notifications 'ONLINE'
        option message "UPS %s is on line power"
        option flag "SYSLOG"

config notifications 'ONBATT'
        option message "UPS %s is on battery power"
        option flag "SYSLOG+EXEC"

In order to iterate through the notifications, we use named
'notifications' sections and compare the section name to list of
notification events defined by NUT. If they don't match, warn
during initscript startup.

Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
2026-04-27 10:42:36 +02:00
Josef Schlehofer 5006b17f60 Revert "gkrellmd: use finer-grained dependencies on glib2"
This is a follow-up revert. Since the underlying commit was reverted,
this one must be reverted too to avoid breakage. See commit e46654db2  for context.

This reverts commit f74183a239.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-04-27 09:26:04 +02:00
Josef Schlehofer 9e3d098382 Revert "glib2: split package into separate libraries"
It causes multiple failures, which I noticed on OpenWrt buildbots [1]
for several packages [2].

It appears this change wasn't fully tested against a complete build
with all packages. Reverting for now until the issue is resolved.

[1] https://downloads.openwrt.org/snapshots/faillogs/
[2] https://github.com/openwrt/packages/pull/22544

This reverts commit 6bb0d6bd2a.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2026-04-27 09:24:06 +02:00
nantayo 721e5fb9b4 podman: update to 5.8.2
- adjust Makefile

Signed-off-by: nantayo <sora1924@outlook.com>
2026-04-27 08:28:16 +03:00
Alexandru Ardelean 3a11691a19 python-zope-event: fix build with setuptools >= 81
The pyproject.toml for zope.event 6.1 specifies a strict build
dependency of setuptools>=78.1.1,<81. We currently package
setuptools>=81, causing pip to report a missing dependency and
fail the build.

Add patch 001-relax-setuptools-version.patch to drop the <81 upper
bound, allowing the package to build with any recent setuptools.

Add test.sh to verify the installed version and exercise the core
event API (subscribers list, notify(), event dispatch).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-27 08:25:02 +03:00