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>
syslog-ng is built with --disable-sql, so the libdbi dependency and
LIBDBI_CFLAGS have no effect beyond pulling libdbi onto every device
that installs syslog-ng.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
Package the RTSP server library and its test-launch example, and add a
procd service that discovers cameras and hardware encoders on video4linux
and media hotplug events, keeps them in UCI, and runs one capture
pipeline per camera with the capture, ISP output selection and
hardware encoding of all its enabled streams. Encoded frames reach one
RTSP server instance per stream over Unix FD sockets. Generated streams
use the sensor-native size, the first hardware codec and a constant
bitrate derived from the output size and frame rate; a camera section
can carry a complete pipeline override. The negotiated stream
parameters are published for an ONVIF server.
The server library allocates the data list messages of a frame on the
heap, as a 4K frame overflows musl's thread stack otherwise.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Importing a dmabuf memory that starts at an offset, the chroma plane of
a single-dmabuf NV12 frame into a two-plane NM12 encoder queue, fails at
QBUF with EINVAL: the allocator rewrites bytesused from the memory size
alone and the kernel sees data_offset above bytesused. Add the memory
offset back at QBUF, as the import already did.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Expose unixfdsink and unixfdsrc as an optional plugin package for
sharing encoded streams and DMA buffer descriptors between consumers.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The RTSP connection and watch code allocates the serialised messages,
the output vectors and the map infos of a send on the stack, sized by
the number of RTP packets. A 4K H.265 frame is over a thousand packets
and needs about 250 KB, so on musl's 128 KiB thread stacks the server's
send thread runs past the guard page into the heap and the server
crashes at PLAY. Move the arrays of the four send paths to the heap.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Package gst-device-monitor for camera capability discovery and track
the tool selection in the build configuration.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Pulls in upstream's UTF-8 to UCS-2 SMS submission (obsy/sms_tool#21), long
message splitting (#22), asynchronous AT replies (#23) and UCS-2 USSD decoding
(#24). Before #21 every byte >= 0x80 was sent as "?", so "Möja" arrived as
"M?ja".
Signed-off-by: Kristofer Nilsson <kristofer.nilsson@outlook.com>
Generate and enable an mldsa44-ed25519 host key alongside rsa and
ed25519, and preserve it across sysupgrade. OpenSSH 10.6 enables
mldsa44-ed25519 by default and includes it in sshd's default HostKey
list; match that.
Signed-off-by: John Audia <therealgraysky@proton.me>
The package is a git snapshot from December 2016. Upstream's last
commit is from February 2021, and the GPIO sysfs interface it is built
around is deprecated in favour of the GPIO character device, which
libgpiod in the feed supports.
Nothing in the feeds depends on it.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
saned has no version option, so the generic runtime test finds no
executable in sane-daemon that reports the package version and fails:
sane-daemon: No executables in the package provided version 1.4.0
This shows up in any PR whose CI installs sane-daemon, for example
through hplip-sane. With an override script the check applies to every
package built from sane-backends, so check sane-config's version for
sane-frontends and skip the packages that have no executable reporting
one: sane-daemon, libsane, the backend modules and the meta packages.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
udns is maintained again: 0.5 (March 2024) and 0.6 (July 2024) were the
first releases in ten years, and 0.7 followed in October 2026.
0.7 fixes several bugs in DNS name parsing, among them a heap buffer
overflow: a reply whose first name contained a compression pointer
made dns_stdrr_size() undersize a buffer that dns_stdrr_finish()
then wrote past. It also fixes dns_cancel() leaking the cancelled
query.
0.5 and 0.6 fix repeated queries for non-existing domains and the
inet_ntop()/inet_pton() checks, among others.
The autotools patch only needs its AC_INIT version bumped; the set of
source files is unchanged.
Release notes: https://www.corpit.ru/mjt/udns/NEWS
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
downloadbuffer computes each BUFFERING message under its lock but posts
it after unlocking, from both the upstream and the downstream streaming
thread, so a stale message below 100% can reach the application after
the 100% one. The element posts nothing further after that, and a
playbin3 application such as WPE WebKit keeps waiting for buffering that
has finished and never starts playback. Add a patch that serialises
posting the way queue2 does.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
A flush that arrives while a stateless V4L2 decoder is mid-frame makes
the h264, h265 and mpeg2 decoders turn GST_FLOW_FLUSHING from the output
buffer pool into a fatal "Failed to decode data". Every flushing seek
risks it, and a looping video on RK3588 stops with a decode error. Add
a patch that returns the flushing flow up through end_picture() and
decode_slice() so the base class handles it.
Fixes: d86f866af1 ("gst1-plugins-bad: update to 1.17.1")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The v4l2codecs plugin links against libgudev-1.0, which meson requires
whenever the plugin is enabled, yet gst1-mod-v4l2codecs neither depends
on libgudev nor lists it as a build dependency. The plugin builds only
when libgudev happens to be staged first and loads only on images that
ship libgudev for other reasons.
Fixes: d86f866af1 ("gst1-plugins-bad: update to 1.17.1")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Meson feature options the Makefile does not pin stay at their auto
default and get switched on by whatever happens to sit in the staging
directory: pangocairo enables analyticsoverlay, libva the va plugin,
openssl the aes plugin. None of them is a declared dependency, so the
built set depends on build order, and a library being re-staged while
gst-plugins-bad compiles breaks the build, as pango did with the
analyticsoverlay plugin.
Set auto_features=disabled so only explicitly enabled features are
built, and pin nls to enabled as the other GStreamer packages do.
Fixes: e7f535c3f6 ("gst1-plugins-bad: update to 1.26.2")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The adaptive streaming demuxers dashdemux2, hlsdemux2 and mssdemux2 were
built whenever libxml2 happened to be staged, but never packaged, so no
image carried them. Select the plugin explicitly and package it, with
libsoup 3, which it loads at run time, as a dependency. Pin hls-crypto to
nettle, the library the package depends on, so that meson fails when
nettle is missing.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The RV1126 ISP 2.0 feeds its post-processor, the ISPP, through an
in-kernel buffer pool, and the ISPP carries the main output, a scaler
output and its own parameters node. Drive the ISPP from the rkisp2
pipeline handler when its media device exists: the ISPP main output
becomes the stream's capture node, the first scaler output is offered
as a second stream, the IPA fills the ISPP parameters alongside the
ISP parameters, and the delayed sensor controls follow the measured
frame-start lag of the pool pipe. Stream strides requested by DMA
consumers, such as the hardware encoders behind the GStreamer source,
are honoured on the way.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
hostip was a subpackage of dnscrypt-proxy, which is removed in the
previous commit. Drop its detection and the lookup and parsing branches
in get_registered_ip(), so lookups fall through to BusyBox nslookup when
none of bind-host, knot-host or drill are installed.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>