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>
This is the C implementation of dnscrypt-proxy 1.x, which its author
abandoned in 2017 in favour of the Go rewrite. The package builds the
dyne.org fork, pinned to a 2019 commit; the fork has had no code
changes since. The bundled resolver list was last updated in 2021.
Its LuCI frontend is already gone: luci-app-dnscrypt-proxy was removed
in luci.git commit 148863ed8e05 ("luci-app-dnscrypt-proxy: Remove app"),
see https://github.com/openwrt/luci/issues/7310#issuecomment-2408437770.
Nothing in the feeds depends on dnscrypt-proxy, dnscrypt-proxy-resolvers
or hostip.
dnscrypt-proxy2 packages the maintained Go implementation, and
https-dns-proxy and dns-over-https provide encrypted DNS as well.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
- add a new generic 'ban_authkey' option and an '{authkey}' feed URL
placeholder for sources which require a personal API-Key, feeds with
this placeholder are skipped as long as no valid key is set
- mask the key in the debug error log
- switch the 'urlhaus' feed to the authenticated 'urls_recent.txt' export
(requires a free abuse.ch Auth-Key); the old IDS ruleset URL is frozen
since 2024-10
- readme update
Signed-off-by: Dirk Brenken <dev@brenken.org>
Adds new plugins off by default:
- siit
- dynupdate
Also adds extra plugins:
- multicluster github.com/coredns/multicluster
- gslb github.com/dmachard/coredns-gslb
Fixes plugin order.
Adds new UCI option `rw_mount` to pass writable volume to ujail for
GSLB.
Changelog: https://github.com/coredns/coredns/releases/tag/v1.15.0
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
rrdcgi has no version or help option, so the generic runtime test finds
no executable in rrdcgi1 that reports the package version and fails:
rrdcgi1: No executables in the package provided version 1.0.50
This shows up in any PR whose CI installs rrdcgi1, for example through
lighttpd-mod-rrdtool. Neither rrdcgi nor librrd contains the version
string, so skip the check for librrd1 and rrdcgi1, as other packages do
for executables without a version option, and keep checking rrdtool's
own output for rrdtool1.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
If liburing library is found (as previously selected by other packages)
the package fails to build on packaging the tcpbridge app.
Select the dependency directly to address this corner case.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
ariang and ariang-nginx both install /www/ariang/index.html, 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>
umurmur-openssl and umurmur-mbedtls both install /usr/sbin/umurmurd, 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>
rtorrent and rtorrent-rpc both install /usr/bin/rtorrent, 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 with defconfig: rtorrent-rpc drops to m when rtorrent is also
selected.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>