Changes since 1.13.3:
- 1.14.0: bound the resources MMDB_get_entry_data_list() spends
decoding a single entry; a crafted database could previously make
decoding cost exponential time and memory. Calls are now limited to
65,536 values and 2 MiB of payload and return the new
MMDB_DECODER_LIMIT_ERROR status
- 1.14.1: fix a -Wsign-compare warning in MMDB_open() that broke
builds with -Werror where ssize_t is 32 bits
Release notes: https://github.com/maxmind/libmaxminddb/releases/tag/1.14.1
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Notable changes since 2.3.1:
- verify values parsed from files to prevent resource exhaustion,
denial of service and out-of-range conversions from crafted input
(AIFF, APE, DSDIFF, FLAC, MP3, MP4, MPC, Matroska, Ogg, SHN, WMA, XM)
- MP3: fix parsing of per-frame unsynchronized ID3v2 frames
- MP4: support AC3, DTS, EAC3, FLAC and Opus codecs
- RIFF: support RF64 and BW64
- fix data races in lazily initialized shared caches
- use Requires.private for zlib in the pkg-config file
Release notes: https://github.com/taglib/taglib/releases/tag/v2.3.2
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
libshout, libshout-nossl and libshout-full install the same library, but
only libshout satisfies the packages that depend on libshout. Nothing
marks them as conflicting either, so installing libshout-full for oggfwd
next to libshout for mpd silently overwrites libshout.so.3.
Let libshout-nossl and libshout-full provide libshout, make libshout the
default variant and declare the conflicts. The conflicts sit on libshout
and libshout-full, as packages depending on libshout select it depending
on the other variants, and a conflict in the other direction creates a
Kconfig dependency cycle.
Checked the generated package metadata and Kconfig.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
CUPS development moved from Apple to OpenPrinting; the apple/cups
repository has not been updated since 2023. Switch the source to
OpenPrinting's release and update from 2.2.12 (2019) to 2.4.20, picking
up several years of fixes, including security fixes.
Changes:
- download from OpenPrinting's GitHub releases; update URL, CPE ID and
license (CUPS is Apache-2.0 since 2.3)
- libcupsimage is now built from cups/ (a compatibility stub since
2.3); the image filters and their libpng/libjpeg dependencies are
gone, and libusb is only used by the USB backend, which isn't built
- replace configure options that no longer exist with their 2.4
equivalents (--with-tls=no, --with-dnssd=no)
- backport two fixes from the 2.4.x branch:
010: "Fix destination enumeration without DNS-SD" (23a183b63a4c),
needed to build without DNS-SD
011: "Validate printer/server responses (GHSA-hp44-ph36-rc52)"
(0beeb4e78730)
Signed-off-by: Sander van Deijck <sander@vandeijck.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>
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>
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>
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>
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>
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>
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>
libwebsockets-mbedtls and libwebsockets-full both install
/usr/lib/libwebsockets.so.21. They share PROVIDES:=libwebsockets, so
apk refuses to install both, but Kconfig lets both be selected and the
image build then fails.
Add libwebsockets-full to the CONFLICTS of libwebsockets-mbedtls. It
cannot go on libwebsockets-full, because ttyd selects it by name, and
with the existing CONFLICTS it would close a Kconfig dependency cycle.
Checked with defconfig: libwebsockets-mbedtls drops to m when it is
selected together with libwebsockets-full or ttyd, and owntone still
selects libwebsockets-mbedtls when neither of them is.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
A program that pins a connection to an interface or source address
still resolves its hostnames through the system resolver over the
default route, so content networks choose edges for the wrong uplink.
libuplinkdns interposes the C library resolver and socket calls and
resolves a socket's names through the uplink it is bound to, against
the servers configured for that uplink. Kodi uses it for add-ons and
preloads it into its web client.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Little CMS is the ICC colour management engine WPE WebKit uses for
colour-managed images when built with LCMS support. Only the library is
packaged; the jpeg, tiff and zlib support serves the bundled command
line tools alone and is disabled, so that the build does not depend on
which of those libraries happen to be staged.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
New libmanette version require libevdev library to correctly compile. Add
the missing dependency.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
The boost-context-exclude switch, and the coroutine and fiber
exclusions chained to it, only ever applied to the arc770 and archs38
targets, because Boost.Context has no ARC support. Both targets have
been removed from openwrt.git, in
commit fcb29171bc9a ("arc770: Remove arc770 target") and
commit df9ffedb75b5 ("archs38: drop target").
With no target left to set them, these hidden symbols are always
disabled. Remove them and the dependencies on them.
There is no functional change: the dependencies of the boost-context,
boost-coroutine, boost-fiber and boost packages only lose conditions
that were always true.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
This is a security release.
Security:
* Memory corruption when an application cancels its lookups after a connection failure.
* A DNS reply that arrived from a different server than the one queried could be accepted.
* Use-after-free of a lookup after shutting down a failed connection.
* Use-after-free when an application cancels lookups from a callback, or shuts a channel down.
* Use-after-free of a connection after the socket-state callback returns.
* Use-after-free when an application cancels lookups from a server-state callback.
* Use-after-free of a server record when an application changes its DNS servers from a callback.
* Use-after-free of a cached DNS answer while the application is still reading it.
* Buffer overflow when ares_dup() or ares_save_options() runs while another thread changes the srv
* Uninitialized memory returned for a numeric IPv6 name with a prefix length.
* The query cache could return an answer obtained using different EDNS options.
Fixes:
GHSA-wpr3-8q3r-4q8c
GHSA-fqh5-3x7m-wp44
GHSA-97vq-4mxv-7vhm
GHSA-rf6g-ww74-97qh
GHSA-mw23-pfg6-2x9r
GHSA-v33j-65h4-4ch8
GHSA-pj7p-v3cw-hq66
GHSA-grv7-fq5q-9vfc
GHSA-ph6c-3cvx-mq6v
GHSA-cfcv-8v2j-qj6r
GHSA-wrgc-prmw-27xh
Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
--disable-asm dates back to the import of the package from the old
packages repository (5bf972ecf). libgcrypt detects CPU features at
runtime, and with its assembly it uses the Armv8 crypto extensions and
NEON on ARM and the vector crypto extensions on RISC-V.
bench-slope, median of 3 runs, Cortex-A53: AES-CBC decryption 23.9 ->
1357 MiB/s, AES-GCM 19.1 -> 646 MiB/s, SHA-256 70.8 -> 620 MiB/s.
Cortex-A72 in AArch32, without crypto extensions: SHA-512 45.7 -> 78.0
MiB/s, AES-GCM 33.0 -> 47.7 MiB/s.
libgcrypt.so grows by 34 KiB on aarch64, 35 KiB on riscv64 and 12 KiB on
arm, compressed with xz. mips and loongarch64 gain no assembly and grow
by less than 5 KiB.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
1.12.3 and 1.12.4 fix bugs and security issues, among them RSA PSS and
OAEP input validation and an out-of-bounds read in the GOST28147 MAC.
1.12.3 also adds interfaces; the SONAME stays libgcrypt.so.20.
Release notes:
https://dev.gnupg.org/T8223https://dev.gnupg.org/T8417
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
libudev-zero does not use libevdev. It reads input capabilities from
sysfs and uevents with the constants from <linux/input.h>. The
dependency was carried over from libudev-fbsd.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Julius Bairaktaris <julius@bairaktaris.de>
Jump from the 3.x series to 4.x, which tracks libyang 5.x and moves its
SONAME from libnetconf2.so.3 to libnetconf2.so.5.
Switch DEPENDS back to +libyang and drop the legacy staging prefix
override. ENABLE_PAM=OFF is upstream now, so its patch goes away.
4.x owns the transport YANG modules netopeer2 registers at first boot,
so ship them to /etc/netconf2/modules.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Jump from the 3.x series to 5.x; the SONAME moves from libyang.so.3 to
libyang.so.5, an ABI break for anything linked against the old package.
In-tree consumers were moved to libyang-legacy in the previous commit
and stay there until their own bumps later in this series.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Build a second package from the same libyang 3.13.6 tarball, so
consumers bound to the v3 ABI keep working once libyang moves to 5.x.
It ships only /usr/lib/libyang.so.3* and stages its headers, library
and .pc under /usr/lib/libyang-legacy to avoid colliding with libyang.
All in-tree consumers are switched to it here; the commits that follow
move libnetconf2, sysrepo and netopeer2 back to +libyang as their
upstream releases gain v5 support. frr stays on the legacy ABI.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
The lua-plugins option is left at its default, auto, so libinput builds
its Lua plugin support whenever pkg-config finds Lua 5.4 (lua-5.4,
lua5.4 or lua >= 5.4) in the staging directory. lua5.4 installs no
pkg-config file so far, so the package has been built without it. Once
lua5.4 stages lua5.4.pc, libinput links liblua5.4 without depending on
it, and packaging fails with "missing dependencies for the following
libraries: liblua5.4.so.*".
Set -Dlua-plugins=disabled, so the package is built as before.
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
Building python3-libtorrent with CMake 4 and Python 3.14 fails in
several places, which the distutils error of 2.0.11 used to hide:
- On 32-bit targets FindPython rejects the 64-bit host interpreter.
Pass the host python of OpenWrt as Python3_EXECUTABLE, which skips
that check and keeps CMake on the python that gets setuptools.
- The egg_info step needs setuptools, which the host python no longer
bundles since Python 3.12. Depend on python-setuptools/host when
python3-libtorrent is selected.
- CMake names the module after the SOABI of the host interpreter, for
example libtorrent.cpython-314-x86_64-linux-gnu.so, which the target
python does not load. Rename it to libtorrent.so after installing.
- The wheel from Py3Build/Compile only held the example scripts as
top-level modules and a second dist-info. The module always came
from the CMake install, so drop the wheel steps.
- The module imports datetime when it loads, which python3-base does
not ship. Depend on python3-light.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Check that the python bindings can be imported on the target and that
they report the package version.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Since 2.0.12 the python bindings read the install paths from sysconfig
instead of distutils, which Python 3.12 removed. With 2.0.11 CMake
fails to configure the python bindings, so neither libtorrent-rasterbar
nor python3-libtorrent builds.
Release notes:
https://github.com/arvidn/libtorrent/blob/v2.0.15/ChangeLog
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Refresh PKG_HASH from the upstream GitHub release tarball.
Drop 010-CVE-2022-40320.patch. Upstream commit d73777c2c356, which the
patch carried, is part of 3.4: cfg_tilde_expand() now terminates the
username before handing it to getpwnam(). Keeping the patch would fail
to apply.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>