The uint32 typemap used by the HMTRP binding calls a Python 2 API
spelling that SWIG 4.5 no longer aliases. Use the corresponding
PyLong_AsLong function directly.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where bool is a reserved keyword.
SoftEther VPN Stable 4.38 defines bool as an unsigned int, and
uses its size in configuration storage and socket option calls.
Set GNU C17 for the target and host builds to preserve the 4.x
type and API. The development branch's switch to stdbool.h
changes the type width and is a larger compatibility change
for this stable release.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 treats an empty parameter list as a zero-argument
prototype. Madplay's bundled gettext uses old-style declarations
in the external libintl probe and in its own getcwd declaration.
Under BUILD_NLS, the target build falls back to bundled gettext
and fails with conflicting types for getcwd.
Compile the old release in GNU C17 so those declarations retain
their expected meaning. TARGET_CFLAGS applies the dialect to the
configure probes and to the existing explicit make CFLAGS. The
full-NLS probe now detects OpenWrt's staged libintl.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where an empty parameter list
specifies zero arguments. Jupp's editor command table and
window callbacks use unprototyped pointers for functions with
different parameter lists, so compilation fails in cmd.c.
Use GNU C17 to retain the dialect expected by the command and
window APIs. This keeps other compiler diagnostics enabled.
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Backport upstream 75ed9fdf11d2 to use the correct sigaction
handler type. The bundled DNS code still uses unprototyped
callbacks, whose meaning changed in GCC 15 default C23 mode.
Preserve the GNU C99 dialect specified by upstream when supplying
OpenWrt target CFLAGS.
Link: https://github.com/wahern/cqueues/commit/75ed9fdf11d2d15e9949a45253434b6a5c63581d
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
GCC 15 defaults to GNU C23, where an empty parameter list
specifies zero arguments. Alpine's unprototyped strucmp
declaration conflicts with its two-argument definition, and
the compiler rejects calls through its collation callback.
Build this source in GNU C17 mode so its legacy declarations
retain the intended semantics. Fedora used the same dialect
for the still-affected Alpine 2.26 release.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2336274
Assisted-by: LLM
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* add configurable burst limits for the ICMP, SYN and UDP DoS safeguards
('ban_icmpburstlimit', 'ban_synburstlimit', 'ban_udpburstlimit'),
default '5' (nft default, no change of the effective ruleset),
empty, zero or non-numeric values fall back to '5'
* apply the burst limit to the log and the drop rule of each safeguard
* show the burst limits in the status (nft_info) and debug output
* add new feeds: abuseipdb and threatfox (requires auth-key)
* readme update
Fixes: #31462
Signed-off-by: Dirk Brenken <dev@brenken.org>
- revive an uplink once it is back in range
- detect overlapping uplink and lan networks
- take down/up uplink services for a captive portal login (Fixes: #28646)
- take uplink services out of a global, user-defined allowlist
- only allow defined actions, no symlinked init scripts
- readme update
Signed-off-by: Dirk Brenken <dev@brenken.org>
Since 2.2.2 configure overwrites CFLAGS and CXXFLAGS unconditionally.
The objects are then built without -fpic, and linking as PIE fails on
x86_64:
relocation R_X86_64_32 against symbol `warn_compat_and_peer_exchange'
can not be used when making a PIE object; recompile with -fPIE
Add a patch so configure only uses its defaults if the flags are unset.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
gnupg2-utils hard depends on gnupg2. Packages that pull in
gnupg2-utils conditionally then pass this dependency on to packages
selecting them. Since fwknop switched to gnupg2, this causes a
recursive dependency between fwknopd, luci-app-fwknopd and
FWKNOPD_GPG:
tmp/.config-package.in:115104:error: recursive dependency detected!
tmp/.config-package.in:115104: symbol PACKAGE_fwknopd is selected by PACKAGE_luci-app-fwknopd
tmp/.config-package.in:71943: symbol PACKAGE_luci-app-fwknopd depends on FWKNOPD_GPG
feeds/packages/net/fwknop/Config.in:5: symbol FWKNOPD_GPG depends on PACKAGE_fwknopd
Select gnupg2 instead.
Fixes: 5e338b5dbf ("fwknop: switch GPG support to gnupg2")
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Since GCC 15 is the default compiler (openwrt/openwrt@fd3b9d4678,
"toolchain: gcc: switch default to 15"), nginx fails to build when
nginx-mod-njs is selected, as on the build bots and in the CI. njs
0.8.6 compiles with -Werror, and GCC 15 reports string initializers
that leave no room for the terminating NUL:
src/njs_string.h:215:36: error: initializer-string for array of 'unsigned char' truncates NUL terminator but destination lacks 'nonstring' attribute (17 chars into 16 available) [-Werror=unterminated-string-initialization]
njs 0.9.0 fixed this in two commits. Backport them, without the hunk
for a file that 0.8.6 does not have. After them, 19 errors remain in
initializers of short strings, which no longer exist in 0.9.0. Short
strings store their length separately and are not NUL terminated, so
mark their array as nonstring.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
dhcpd points the system resolver at 127.0.0.1 when it starts but
leaves it there when it stops, so local lookups keep going to a server
that may no longer run.
On stop, if the resolver configuration is the one dhcpd generated, put
back the relative link to resolv.conf.auto in /tmp/resolv.conf.d, as
dnsmasq does.
Fixes: db6adb616d ("isc-dhcp: write resolv.conf per network & dhcp settings")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When dhcpd generates its configuration, it removes /tmp/resolv.conf
and appends a new one line by line, so a lookup in between finds no or
a partial file. The file also lies outside /tmp/resolv.conf.d, where
jails sharing the host network cannot follow its replacement.
Write the resolver configuration to a temporary file in
/tmp/resolv.conf.d and rename it over resolv.conf there, as dnsmasq
does, and point /tmp/resolv.conf at it if it does not already.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
When unbound serves the local resolver, it removes /tmp/resolv.conf
and writes its own file in its place, so a lookup in between finds
none. The file also lies outside /tmp/resolv.conf.d, where jails
sharing the host network cannot follow its replacement.
Write the configuration to a temporary file in /tmp/resolv.conf.d and
rename it over resolv.conf there, as dnsmasq does. On stop, put back
the relative link to resolv.conf.auto the same way. Both point
/tmp/resolv.conf at resolv.conf.d/resolv.conf if it does not already,
which also covers a file left behind by an earlier unbound.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Install btop.sh into /usr/lib/profile.d, which /etc/profile sources for
packages, and leave /etc/profile.d to the administrator. The
uci-defaults script removes the copy that sysupgrade restored into
/etc/profile.d when it matches one of the two versions btop has
shipped, which takes the place of rewriting the old alias in it; an
edited file stays.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Update luaossl from 20220711 to 20260910.
Reset PKG_RELEASE to 1 and update PKG_MIRROR_HASH for the new source.
Signed-off-by: Christian Korber <ckorber@tdt.de>
GCC 15 defaults to C23, where an empty parameter list in a function
declaration means "(void)" instead of "unspecified arguments". The
tac_plus sources use K&R-style declarations throughout, which now
fail to compile:
tac_pwd.c:140:26: error: conflicting types for 'crypt'; have 'char *(void)'
Similar errors occur in authen.c, choose_authen.c, sendauth.c and
sendpass.c.
Build with -std=gnu17 until the sources are converted to proper
prototypes.
Signed-off-by: Christian Korber <ckorber@tdt.de>
Package ONVIF Device, Media, Media2 and optional Imaging services with
generic external control helpers. Serve CGI requests through a dedicated
uhttpd section and announce on suitable IPv4 and IPv6 interfaces.
Apply the media parameter, connection address, persistent identity and
XML escaping changes for integration with the UCI camera service.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The source archive name was just '9.4.0.tar.gz' as the PKG_NAME was
omitted from the assigned filename. Add PKG_NAME to it.
Fixes commit cc4309d
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Drop the MPEG-TS stack frame and dcbzl patches, both are in 9.1, and
refresh the others. The V4L2 Request series is rebased over the new
NVDEC CUARRAY hwaccel entries.
Add libcurl, new in 9.1, to the explicitly disabled autodetected
libraries.
Pick from LibreELEC (commit d38b323eea):
* the AFBC capture formats of the Allwinner cedrus decoder, which the
last V4L2 Request update lost
* four VC-1 decoder fixes and the VC-1/WMV3 V4L2 Request hwaccel
* two fixes for the V4L2 M2M deinterlace filter: keep the input frames
until the driver returns their buffers, and free them on errors
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The mbedtls backend turns a transport closed without a CloseNotify into
AVERROR(EIO) rather than an end of stream, so http_read_stream() applies
neither reconnect nor reconnect_at_eof and an endless stream ends for
good when its server drops the listener. Take the patch queued for
upstream, which returns AVERROR_EOF for that case.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The cedrus AFBC capture fourccs are downstream kernel additions missing
from the sanitised toolchain headers, so 10-bit HEVC found no DRM_PRIME
capture format and silently fell back to software decoding. Define them
locally when the headers lack them.
Assisted-By: Claude Fable 5.1 <noreply@anthropic.com>
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
msmtpq builds the queue ID with uuidgen, and msmtp-listqueue.sh calls
grep with --colour, which BusyBox grep does not support. Without them
msmtpq fails to enqueue any mail and msmtp-listqueue.sh prints the
BusyBox grep usage instead of the queue:
/usr/bin/msmtpq: line 580: uuidgen: command not found
grep: unrecognized option: colour
Add uuidgen and grep to the dependencies of msmtp-queue.
The pr command is only used by msmtpq to print source context in its
error messages, so it is not needed for normal operation and is not
added as a dependency.
Fixes: #31176
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 1.7.0 to 1.10.0. There are no patches in the package.
Changes since 1.7.0:
- Python 3.11 or later is required (1.8.0 dropped 3.10), which the
package already provides.
- Add Request.send_early_hints() for HTTP 103 Early Hints.
- Exclude gRPC media types from GZipMiddleware by default.
- Percent-encode special characters in the request path when building
request.url.
- Match host names case-insensitively in Host routing and
TrustedHostMiddleware.
- Faster URL-encoded form parsing, and the last field is no longer
dropped when the request stream ends early.
- TestClient streams response bodies.
Changelog: https://github.com/Kludex/starlette/releases/tag/1.10.0
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
The DHCP-DNS records for odhcpd's leases are only loaded when odhcpd's
leases change. When Unbound is started after that (e.g. at boot, if
odhcpd hands out leases before Unbound is up), it has no records (or
those of the previous seed file) until the next change.
Write the seed file with the current leases before Unbound is started.
Signed-off-by: David Härdeman <david@hardeman.nu>
The DHCP-DNS records for odhcpd's leases were generated by a script
(odhcpd.sh and odhcpd.awk) which had to be configured as odhcpd's
leasetrigger and which parsed odhcpd's lease file. odhcpd now announces
lease changes with a "dhcp.hosts.update" ubus event and provides the
current leases via ubus (dhcp ipv4leases/ipv6leases), and the lease
file is going away.
Replace both scripts with a single ucode script, which is run by a
procd trigger on "dhcp.hosts.update". It fetches the leases via ubus
and generates the same records as before (A, AAAA and PTR records for
bound leases with a valid hostname, SLAAC addresses derived from the
DHCPv4 MAC with dhcp4_slaac6, exclude_ipv6_ga) and the same seed file
for Unbound restarts.
Instead of the previous full/incremental/skip modes, which depended on
the time since the last run (so changes could be skipped, and records
of expired leases were only removed every 5 minutes), every run now
compares the records with those of the previous run and only removes
and adds the differences via unbound-control. Runs no longer skip if
another one is in progress either, but wait for it. All addresses of
a DHCPv6 lease are used (not only the first two).
While at it, fix the SLAAC addresses derived from locally administered
(e.g. randomized) MACs: the interface identifier is the modified EUI-64
of the MAC (RFC 4291, Appendix A), which inverts the universal/local
bit, but the old code always set it.
The odhcpd leasetrigger option is no longer needed; remove it if it
still points to the old script.
Signed-off-by: David Härdeman <david@hardeman.nu>
Bump from 1.43.67 to 1.44.10. There are no patches in the package.
boto3 1.44.10 requires botocore>=1.44.10, which is updated in the
python-botocore bump to the same version. The other requirements
(jmespath, s3transfer) are unchanged and are already satisfied.
Changelog: https://github.com/boto/boto3/blob/1.44.10/CHANGELOG.rst
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 1.43.67 to 1.44.10. There are no patches in the package.
This update goes together with python-boto3 1.44.10, which requires
botocore>=1.44.10. The dependencies of botocore are unchanged.
Changelog: https://github.com/boto/botocore/blob/1.44.10/CHANGELOG.rst
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Maintainer: Rob White <rob@blue-wave.net>
Compile tested: aarch64_cortex-a53, mipsel_24kc, mips_24kc, x86_64,
SDK OpenWrt 25.12.6 (mediatek/filogic, ramips/mt7621, ath79/generic,
x86/64)
Run tested: 11.2.0 pre-release (identical code apart from the version
string) on GL.iNet GL-MT6000 (mediatek/filogic, aarch64_cortex-a53),
OpenWrt 25.12.6
Description: update openNDS from 10.3.1 to 11.2.0.
Fixes CVE-2026-38819, CVE-2026-38820, CVE-2026-38821 and
CVE-2026-38822 (command injection, heap overflow and memory leaks
fixed in 11.0.0), plus further injection and memory hardening in
11.1.0.
11.2.0 adds flow_offloading_enable (default 0), allows IPv6 for
authenticated clients with no limits, and fixes connected-time
logging.
Upgrade note: since 11.1.0, openNDS stays dormant until auto_run is
set to 1, and gatewayinterface must be a bridge with an IPv4 address.
Existing 10.3.1 configs need auto_run set after upgrading. Until then,
openNDS logs the reason and the candidate bridges every five minutes.
Drops the uci-defaults script and the firewall uci commit on
package removal.
Release: https://github.com/openNDS/openNDS/releases/tag/v11.2.0
ChangeLog: https://github.com/openNDS/openNDS/blob/11.2.00/ChangeLog
This update was prepared with help from an AI assistant. It has been
reviewed, tested on hardware and approved by the maintainer.
Signed-off-by: Rob White <rob@blue-wave.net>
Bump from 3.5.1 to 3.5.3. There are no patches in the package.
Changes since 3.5.1:
- Faster noise scoring and reduced detection overhead.
- Fix detection of registered multibyte codecs when a sample boundary
splits a character.
- Fix UTF-7 text with a signature being misidentified as ASCII.
- Recognize ASCII information separators as whitespace when scoring.
- Raise the setuptools upper bound to <84.3 for source builds.
- The CLI now propagates the exit status of "python -m charset_normalizer".
Changelog: https://github.com/jawah/charset_normalizer/blob/3.5.3/CHANGELOG.md
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
python3-pika was added only as a dependency of radicale3, where it is
used for the optional RabbitMQ hooks. radicale3 3.9.1 made it optional
and dropped the dependency (5e550e828), so nothing in the feed depends
on python3-pika any more.
Remove the package.
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
'/etc/init.d/swanctl restart' does not start charon if /var/ipsec does
not exist, e.g. after boot with the service disabled. stop_service calls
file_reset, which truncates /var/ipsec/strongswan.conf with a redirect.
In ash a failing redirect on the special builtin ':' terminates the
shell, so the init script exits before start_service runs.
Create the parent directory in file_reset.
Signed-off-by: Alexander Wilhelm <alexander.wilhelm@westermo.com>
OpenWrt builds MIPS userland with -mips16 by default. ZeroTier verifies
Ed25519 signatures in software in its packet thread every network config
refresh, and that code is about 2.3x slower in MIPS16 mode (113 ms vs
50 ms per verification on an MT7621), which shows up as periodic latency
spikes on MIPS routers. PKG_USE_MIPS16:=0 has no effect on 25.12, the
no-mips16 build flag does.
Compressed, the binary grows by about 12 KB (xz) to 31 KB (zstd).
Signed-off-by: Kirpal Singh <kirpal.ricky@gmail.com>
Bump from 8.4.2 to 8.5.1. There are no patches in the package.
Changes since 8.4.2:
- Add shell completion support for PowerShell.
- Argument accepts a help parameter, and help output includes a
"Positional arguments" section.
- confirm() and prompt() strip ANSI codes when the output stream does
not support them.
- Fix copy.deepcopy() and pickle on Parameter, Option and Command.
- Colorama is no longer a dependency.
- The __version__ attribute is deprecated, use importlib.metadata.
Changelog: https://github.com/pallets/click/releases/tag/8.5.1
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 1.4.1 to 1.4.3. There are no patches in the package.
Changes since 1.4.1: the two releases only adjust the test suite
(Pygments 2.21.0 output change and a Windows path issue). The package
is host-only.
Changelog: https://docs.makotemplates.org/en/latest/changelog.html
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 3.1.8 to 3.1.9. There are no patches in the package.
Changes since 3.1.8:
- safe_join on Windows rejects special device names with empty ADS
markers on NTFS (GHSA-g6x2-hccm-hh4m).
- The int URL converter returns 404 instead of 500 for values longer
than sys.get_int_max_str_digits().
- get_host also checks that the port is in the valid range.
- Performance improvements to parse_options_header, parse_etags and
parse_cookie.
Changelog: https://github.com/pallets/werkzeug/blob/3.1.9/CHANGES.rst
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 1.0.1 to 1.1.0. There are no patches in the package.
Changes since 1.0.1:
- Return early when there are no optimization levels to compile
bytecode for.
- Avoid building a pathlib.Path object for each RECORD entry.
- Use os.path.commonpath instead of os.path.commonprefix to avoid
deprecation warnings on Python 3.15.
- Declare support for Python 3.15.
Changelog: https://github.com/pypa/installer/blob/1.1.0/docs/changelog.md
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 1.6.0 to 1.7.0. There are no patches in the package.
Starting with 1.7.0, pluggy.__version__ is read through
importlib.metadata, which imports the email package. Add python3-urllib
to DEPENDS, as that is the package shipping email. Without it,
"import pluggy; pluggy.__version__" fails with ModuleNotFoundError.
Changes since 1.6.0:
- Hookspecs can declare default values for arguments.
- Hookspec methods defined without self as the first parameter now
emit a DeprecationWarning.
Changelog: https://github.com/pytest-dev/pluggy/blob/1.7.0/CHANGELOG.rst
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Bump from 3.18 to 3.20. There are no patches in the package.
Changes since 3.18:
- Update to Unicode 18.0.0.
- Reject A-labels that are not the canonical Punycode encoding of
their U-label.
- Restore the std3_rules option and expose the Unicode version as
idna.unicode_version.
- Raise IDNAError for empty labels and non-ASCII bytes passed to the
label helpers.
- Better enforcement of the domain length limit in the incremental
codec.
- Add support for Python 3.15.
Changelog: https://github.com/kjd/idna/releases/tag/v3.20
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>