When the dhcp4 importer writes the zones, 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. After the importers ran, the init script points /tmp/resolv.conf
at that file if it exists and is not already linked.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
- new global option track_ip: health tracking for the devices of route
policies - ICMP echo probes through each device every 5 seconds, from
a raw socket bound to it and routed by a probe mark through a probe
table of its own; three unanswered rounds make a device dead, three
answered ones bring it back
- a dead device is handled like one whose link went down: its policies'
default routes are withdrawn and the fallback takes over
- fallback 'main' policies mark new flows from a chain of their own,
emptied while the device is dead, so flows opened during an outage
keep the normal uplink when the device recovers
- probe marks come from the top of the mark range, policy marks keep
their numbers; without track_ip the ruleset is unchanged
- ubus status, the rpcd backend and `shunt check` report the tracked
devices
- update the README
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Dirk Brenken <dev@brenken.org>
Changes since 704 include:
- add the || command and the right-limit-scroll command
- underline OSC 8 links; add -DO to colour them
- add LESSMSG, LESSSECURE_DISALLOW and LESS_SHELL_COPTION
- fix "END" message missing at the end of &-filtered output
- remove the obsolete lesskey program (this package does not install
it) and the pre-241 lesskey binary format
Release notes: https://www.greenwoodsoftware.com/less/news.710.html
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
The generic runtime test fails for all four variants:
rtty-nossl: No executables in the package provided version 9.1.0
rtty -V does print the version, but its log library writes to syslog
when stdout is not a terminal. The harness captures the output through
a pipe, so it gets nothing.
The override matches the version string built into /usr/sbin/rtty
instead. It compares whole NUL-terminated strings, because the binary
also holds source paths like rtty-9.1.0/src/main.c.
Tested in the CI test container (aarch64_generic, main) with the
snapshot packages. All four variants pass.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libupm depends on every libupm-<module> package and its Python binding,
and also copies all their files. Each of these files is then owned by
two packages.
Install nothing in libupm and only pull in the module packages.
Checked the generated package metadata and Kconfig.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
sstp-client ships its own /etc/ppp/chap-secrets, but the file belongs to
ppp, which sstp-client depends on. apk refuses to install sstp-client
next to ppp with "trying to overwrite etc/ppp/chap-secrets owned by
ppp".
Drop the copy and leave the file to ppp, as rp-pppoe did for
/etc/ppp/options.
Checked the generated package metadata and Kconfig.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libdevmapper and libdevmapper-selinux both install
/usr/lib/libdevmapper.so.1.02, and lvm2 and lvm2-selinux both install
/sbin/lvm, /sbin/dmsetup and /etc/lvm/lvm.conf. The selinux variants
provide the plain names, so apk never installs both of a pair, but
Kconfig lets both be selected, and the image then silently gets only
the selinux variant.
Declare the conflicts on libdevmapper and lvm2 and mark them as the
default variant, as include/package-pack.mk asks for variants that
share a provide. cryptsetup, autopart and nfs-utils-v4 depend on them,
and Kconfig selects them depending on the selinux variants, so a
conflict in the other direction creates a Kconfig dependency cycle.
Checked with defconfig: libdevmapper drops to m when
libdevmapper-selinux is selected, and lvm2 drops to m when lvm2-selinux
is selected.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
httping and httping-nossl both install /usr/bin/httping, but nothing
marks them as conflicting, so they can be selected and installed
together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
GNU make treats a line that starts with a tab in a rule context as part
of a recipe, even when it looks like a variable definition [1].
Build/Compile and Package/mailsend/install are recipes and start with a
tab.
The Package/mailsend/default, Package/mailsend and
Package/mailsend-nossl blocks only hold variable definitions, so indent
them with two spaces like the CONFLICTS line.
The generated package metadata is unchanged.
[1] https://www.gnu.org/software/make/manual/html_node/Recipe-Syntax.html
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
mailsend and mailsend-nossl both install /usr/bin/mailsend, but nothing
marks them as conflicting, so they can be selected and installed
together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
monit and monit-nossl both install /usr/bin/monit, but nothing marks
them as conflicting, so they can be selected and installed together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
rtl_433 and rtl_433-ssl both install /usr/bin/rtl_433, but nothing marks
them as conflicting, so they can be selected and installed together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libuhttpd-openssl, libuhttpd-mbedtls, libuhttpd-wolfssl and
libuhttpd-nossl all install /usr/lib/libuhttpd.so.3.14.2. They share
PROVIDES:=libuhttpd, so apk refuses to install two of them, but Kconfig
lets several be selected and the image build then fails.
Declare each pair on one side only, as a conflict on both sides is a
Kconfig dependency cycle. libuhttpd-openssl conflicts with the other
three, libuhttpd-mbedtls with libuhttpd-wolfssl and libuhttpd-nossl,
and libuhttpd-wolfssl with libuhttpd-nossl.
Checked with defconfig: of two selected variants, the one declaring the
conflict drops to m.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libzip-gnutls, libzip-mbedtls, libzip-openssl and libzip-nossl all
install /usr/lib/libzip.so.5.5. They share PROVIDES:=libzip, so apk
refuses to install two of them, but Kconfig lets several be selected
and the image build then fails.
Declare each pair on one side only. libzip-gnutls conflicts with the
other three, because packages that depend on libzip, such as zipcmp,
select libzip-gnutls when no other variant is selected, and a conflict
pointing at it would be a Kconfig dependency cycle. libzip-mbedtls
conflicts with libzip-openssl and libzip-nossl, and libzip-openssl with
libzip-nossl.
Checked with defconfig: of two selected variants, the one declaring the
conflict drops to m, and zipcmp selects libzip-gnutls only when no
other variant is selected.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Highlights of this release:
- eBPF & ABI alignment: synchronize 176-byte traffic_stats and 88-byte
qos_limit_cfg ABI with aw-bpf, fixing heap buffer overflows; tune
DNS snoop ringbuf poll timeout to 20ms; fix h_addr macro collision
- Captive Portal: send standard HTTP 302 Found for captive probes across
Apple CNA, Android, and Windows; remove obsolete Apple CNA bypass logic;
enable portal auth by default and guard nftables operations
- Network & Resilience: match authenticated marks before set lookups in
nftables; avoid conntrack flush on FW_ACCESS_ALLOW to preserve auth
responses; check carrier before route recovery
- Long connection: unify heartbeat/metrics and migrate ping to MQTT/WebSocket;
integrate long_conn health into auth online status; add MQTT LWT
- Drop unused legacy /etc/wifidog-msg.html template to resolve file
collision with wifidog (fixes#30948)
Maintainer: me
Compile tested: aarch64_cortex-a53 (chawrt 25.12 / OpenWrt snapshot)
Signed-off-by: Dengfeng Liu <liudf0716@gmail.com>
This version includes several bug fixes and some new features. The new
TrueType font support is disabled as it would add a dependency on
libgd-full including FreeType. To do this, CONFIGURE_VARS has to be set
in the package Makefile for now.
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
poco and poco-all both install /usr/lib/libPocoFoundation.so.80, but
nothing marks them as conflicting, so they can be selected and installed
together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
tac_plus and tac_plus-pam both install /usr/sbin/tac_plus, but nothing
marks them as conflicting, so they can be selected and installed
together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The uanytun, uanytun-nettle, uanytun-sslcrypt and uanytun-nocrypt
variants all install /usr/sbin/uanytun, but nothing marks them as
conflicting, so they can be selected and installed together.
Declare the conflicts so that only one variant can be selected or
installed.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
vsftpd and vsftpd-tls both install /usr/sbin/vsftpd, but nothing marks
them as conflicting, so they can be selected and installed together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
wifidog and wifidog-tls both install /usr/bin/wifidog, but nothing marks
them as conflicting, so they can be selected and installed together.
Declare the conflict so that they cannot be selected or installed
together.
Checked the Conflicts field in the generated package metadata.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libzmq-nc and libzmq-curve both install /usr/lib/libzmq.so.5.2.5. They
share PROVIDES:=libzmq, so apk refuses to install both, but Kconfig
lets both be selected and the image build then fails.
Declare the conflict on libzmq-nc and mark it as the default variant,
as include/package-pack.mk asks for variants that share a provide.
czmq and lzmq depend on libzmq and select libzmq-nc when libzmq-curve
is not selected, so a conflict on libzmq-curve would be a Kconfig
dependency cycle.
Checked with defconfig: libzmq-nc drops to m when both variants are
selected, and czmq selects libzmq-nc only when libzmq-curve is not.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
shairport-sync-openssl, shairport-sync-mbedtls and shairport-sync-mini
install the same files, for example /usr/bin/shairport-sync and
/etc/shairport-sync.conf. They share PROVIDES:=shairport-sync, so apk
refuses to install two of them.
On main the build system lets the default variant
shairport-sync-mbedtls conflict with the other two. Nothing marks
shairport-sync-openssl and shairport-sync-mini as conflicting, so both
can be selected and the image build then fails.
Let shairport-sync-openssl conflict with shairport-sync-mini. Also
declare the conflicts of shairport-sync-mbedtls, because 24.10 and
25.12 do not add the implicit ones.
Checked with defconfig: shairport-sync-openssl drops to m when
shairport-sync-mini is selected, and shairport-sync-mbedtls still drops
to m when either of them is.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
pulseaudio-daemon and pulseaudio-daemon-avahi install the helper
libraries of their modules, such as libcli.so and librtp.so, into
/usr/lib. The libcli package installs /usr/lib/libcli.so as well, a
symlink to its libcli.so.1.10. When libcli is installed first, apk
refuses to overwrite the symlink, and module-cli,
module-cli-protocol-tcp and module-cli-protocol-unix then fail to load
with "pa_cli_free: symbol not found".
Install the helper libraries into /usr/lib/pulseaudio/modules, where
upstream puts them. The modules have no DT_RUNPATH, as the old comment
says, but they have a DT_RPATH of
/usr/lib/pulseaudio:/usr/lib/pulseaudio/modules, so the dynamic linker
finds the helper libraries there.
Checked with the snapshot pulseaudio-daemon and the helper libraries
moved by hand: with libcli installed, all 62 modules load, and
mausezahn still uses libcli.so.1.10.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
openvpn-openssl, openvpn-mbedtls and openvpn-wolfssl install the same
files, for example /usr/sbin/openvpn and /etc/openvpn.user. All three
provide openvpn, so apk never installs two of them. In Kconfig only
the implicit conflicts of the default variant openvpn-mbedtls keep the
variants apart, so openvpn-openssl and openvpn-wolfssl can both be
selected and apk then refuses them in the image build.
Let openvpn-mbedtls conflict with the other two and openvpn-openssl
with openvpn-wolfssl.
Checked with defconfig: of each pair one variant drops to m, and
luci-proto-openvpn still selects openvpn-mbedtls.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
pdns-recursor ran the cargo of rust/host from PATH, without the Rust
settings of the build system, and cargo fetched the crates of
settings/rust while building.
Include rust-values.mk of the build system, pass its cargo to configure
and its Rust environment to make, and build from a vendor tarball
generated from the release archive with the crates of settings/rust.
The Rust code is a static library inside pdns_recursor, so it links the
standard library statically. The package takes the architecture
dependencies of Rust.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The 5.40 series only receives security fixes now; 5.44 is the current
stable series. 5.44.0 contains all fixes from the 5.40.x maintenance
releases, among them CVE-2024-56406, CVE-2025-40909, CVE-2026-8376,
CVE-2026-57432 and CVE-2026-13221.
Changes:
- refresh patches; 900-use-rm-force and 920-Revert-perl-127606 needed
manual rebasing, the others only have context or offset changes
- add the Configure variables introduced since 5.40 (d_fdopendir,
d_getentropy, i_stdckdint, i_sysrandom, intmaxsize) to base.config;
i_stdckdint is left undefined because <stdckdint.h> only ships with
GCC 14 and newer, and the __builtin_*_overflow fallback perl then
uses generates the same code
- set i32dformat, u32oformat, u32xformat and u32XUformat in
architecture.config; they were left empty before, and 5.44 now
refuses to build util.c with empty I32df/U32of/U32xf/U32Xf
- add perlbase-source for the new source::encoding pragma
Release notes:
https://perldoc.perl.org/5.42.0/perldeltahttps://perldoc.perl.org/5.44.0/perldelta
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
Take RUST_ARCH_DEPENDS of the build system for python3-pymysql-sha-pwd,
which installs python3-cryptography.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Include rust-values.mk of the build system and take its build
dependencies. The PyPI archive vendors its crates already.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Include rust-values.mk of the build system, take its build dependencies,
and build from a vendor tarball generated from the PyPI archive with the
crates of src/_bcrypt, so that cargo builds offline.
setuptools-rust sets RUSTFLAGS for musl targets, which makes cargo
ignore the target rustflags of the build system, and with them the
sysroot of libstd-rust. Pass those rustflags in RUSTFLAGS, which
setuptools-rust keeps next to its own.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Include rust-values.mk of the build system, take its build dependencies,
and build from a vendor tarball generated from the PyPI archive, so that
cargo builds offline.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Include rust-values.mk of the build system, take its build dependencies,
and build from a vendor tarball generated from the PyPI archive, so that
cargo builds offline.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Include rust-values.mk of the build system and build from a vendor
tarball generated from the PyPI archive, so that cargo builds offline.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
setuptools-rust runs no Rust itself. Its host build depends on rust/host
for the packages that use it, which is needed only while the build
system has no Rust toolchain.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
python3-host.mk includes the Rust values of lang/rust for every Python
package. The build system's cmake.mk and meson.mk react to Rust
variables, so packages without any Rust in them get Rust settings, and a
Python package moving to the build system's Rust toolchain would get
both sets of values.
Include rust-values.mk in the six packages that use its variables. The
variables in PYTHON3_VARS and HOST_PYTHON3_VARS are expanded late, so
the place of the include does not matter.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Build with rust-package.mk of the build system from a vendor tarball
generated from the GitHub tag archive, so that cargo builds offline.
bottom builds with the Rust toolchain of the build system when one is
selected, and with rust/host of this feed otherwise.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
collectd matches plugins and configuration files by their filenames.
The module names use underscores, while the package names use dashes.
Convert dashes to underscores when installing the plugin config files,
and rename the write_http and write_prometheus definitions to match.
Fixes: https://github.com/openwrt/packages/issues/27788
Assisted-By: AI
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
- always count feed rule hits (restore old behavior);
'ban_nftcount' now controls only the per-element counters
and the base chain rule counters
- reduce the memory footprint of Set element counts,
new awk helper 'f_setcnt' (replace jsonfilter)
- reduce the memory footprint of the Set Reporting,
new awk helper 'f_sethits' (replace jsonfilter)
- readme update
Signed-off-by: Dirk Brenken <dev@brenken.org>
perl-test-harness packages Test::Harness 3.42, while perl 5.40 already
ships Test::Harness 3.48, split across perlbase-app, perlbase-tap and
perlbase-test. Installing it replaces the newer core modules with older
ones, and nothing depends on it.
Drop the package.
Checked that no package depends on perl-test-harness.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
libdbi 0.9.0 dates from 2013 and has not seen a release since. Its
drivers were removed in the previous commit, and the remaining users
have been switched off it earlier in this series.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
libdbi-drivers 0.9.0 dates from 2013 and has not seen a release since.
Nothing depends on libdbd-mysql, libdbd-pgsql or libdbd-sqlite3.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
libdbi and its drivers are being removed from the feed: neither has had
a release since 2013. The native MySQL, PostgreSQL and SQLite output
plugins remain.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
libdbi and its drivers are being removed from the feed: neither has had
a release since 2013. Native alternatives remain available:
vhostdb_mysql, vhostdb_pgsql and vhostdb_ldap for virtual hosts, and
authn_file, authn_ldap, authn_pam and authn_sasl for authentication.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
libdbi and its drivers are being removed from the feed: neither has had
a release since 2013. rsyslog keeps its native MySQL and PostgreSQL
output modules (RSYSLOG_mysql and RSYSLOG_pgsql).
Signed-off-by: Sander van Deijck <sander@vandeijck.com>