rtty-openssl, rtty-wolfssl, rtty-mbedtls and rtty-nossl install the
same files, for example /usr/sbin/rtty and /etc/config/rtty. They share
PROVIDES:=rtty, so apk refuses to install two of them, but Kconfig lets
them be selected together and the image build then fails.
Pass the conflicts as a third argument of Package/rtty/Default. Each
variant conflicts with the ones listed after it.
Checked with defconfig for each pair of variants: the one that
declares the conflict drops to m and the other stays y.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
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>
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.
Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.
So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.
Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").
Signed-off-by: Petr Štetiar <ynezz@true.cz>
NTRU support has been removed in wolfssl 5.0 so it is required to
mask NTRU specific code if wolfssl >= 5.0
Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
faster to compile.
A small selection of packages was tested going from:
Executed in 696.30 secs fish external
usr time 82.98 mins 395.00 micros 82.98 mins
sys time 9.02 mins 0.00 micros 9.02 mins
to:
Executed in 592.20 secs fish external
usr time 84.84 mins 361.00 micros 84.84 mins
sys time 8.85 mins 57.00 micros 8.85 mins
Tested by running make -j 12 and wiping staging/build_dir/target_x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This replaces the use of uci_validate_section() with
uci_load_validate(), which removes the need to declare local variables
for every config option.
This also adds a service_triggers() function.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>