3.18.3 is a security release. Notable fixes since 3.18.2:
- fusermount3: resolve the mountpoint once through an O_PATH|O_NOFOLLOW
descriptor, so a symlink swapped in between the type check and the
second lookup can no longer redirect the mount
- fusermount3: run the auto-unmount probe as the calling user instead
of opening a caller-supplied path with elevated privileges
- mount_util: terminate the /bin/mount and /bin/umount argument vectors
with "--" and skip the mtab update for option-like arguments
- fuse_session_custom_io() is disabled unless libfuse is built with
-Denable-custom-io=true
Release notes: https://github.com/libfuse/libfuse/releases/tag/fuse-3.18.3
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
Changes since 1.11.0:
- new --format string %{progress-conemu} and option --conemu
- eliminate potential closure of standard output under a combination
of error conditions when using --monitor
- Italian and Romanian translations added, Russian updated
Changelog: https://codeberg.org/ivarch/pv (docs/NEWS.md, 1.12.0)
Signed-off-by: Roberto Andrei Bolda <rbolda@taladin.ro>
The generic runtime test fails for both variants:
lcd4linux-full: No executables in the package provided version 2019.07.19~0b83bb3a
lcd4linux -h prints the upstream version 0.11.0-SVN-1193. PKG_VERSION
is built from the date and hash of the git snapshot, and the binary
contains neither, so there is nothing to match.
The override skips the check for lcd4linux-custom and lcd4linux-full.
Tested in the CI test container (aarch64_generic, main) with the
snapshot packages. Both variants pass.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The runtime test fails for all three variants on master:
/ci/utils/cache-domains/pre-test.sh: line 21: opkg: not found
apk downloads through uclient-fetch too, so the libustream swap is still
needed. If the variant's libustream only comes in as a dependency,
removing the tested package purges it with /lib/libustream-ssl.so and
the next download fails. So add the variant with apk, which keeps it in
world, and run apk fix to put its file back if another variant
overwrote it. The opkg part is unchanged.
The generic test then fails on the version check, because
/usr/bin/cache-domains is a shell script that prints only its usage.
test-version.sh skips it.
Tested in the CI test container (aarch64_generic, main) with the
snapshot packages. All three variants pass, each with its own libustream
in place.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
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>
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>
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>
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>
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>
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>
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>
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].
Package/telegraf/install and Package/telegraf-full/install are recipes
and start with a tab.
The Package/telegraf/Default, Package/telegraf and Package/telegraf-full
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>
telegraf and telegraf-full both install /usr/bin/telegraf, 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>
-thermal management (temp and cooling devices)
-uname amendment to oneline and help string
-realtek-poe
-odhcp6c
-entropy help strings
-time help string
-hwmon
-time clocksources
-watchdog
-metrics help strings
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
augeas-lenses copies the whole lenses/dist directory, including the
tests that augeas-lenses-tests ships, so both packages own the same test
files.
Copy only the lenses, the *.aug files, into augeas-lenses.
Checked that lenses/dist holds nothing but the *.aug files and the tests
directory.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The nano, nano-tiny and nano-full variants all install /usr/bin/nano,
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>
A hand-set '00m' or '00h' passed the zero check, which compared strings,
and cron reads a zero step as its first value only, so the test ran
every hour or once a day while LuCI listed no upcoming run. A day list
ending in a comma, such as '1,2,', reached the crontab, where crond logs
a parse error at every load, and a weekly test could land on Sunday.
An interval with a leading zero now gets no cron line, and such a day
list counts as unset, as other invalid values do. LuCI already refuses
such an interval and never writes such a list. test.sh adds invalid
and injected values of every option.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Daily was the longest interval. A backup link that sits idle most of
the time needs a measurement less often, and each one saturates the
link while it runs.
'7d' runs a test once a week, at a time drawn in the hours window as a
daily test is, on a day drawn from 'days' (any day when none is set).
The drawn slot is kept across reloads while it still fits, so a week
neither loses its test nor gets two. '24h', which the sub-daily branch
always took first, leaves that pattern.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
Every result named main.interface, even when the test had gone out
another link, so a backup uplink such as LTE could not be measured on
its own, and a day's aggregate mixed all links.
librespeed-run and ubus start take an optional interface. IPv4 and IPv6
on one device (wan and wan6) count as one link. Each test is bound to
the device of its link, and its result names that link. A link with
none of its interfaces up is not measured; its failure is shown. The
same holds for an interface netifd does not know, such as a disabled
one, and for any while netifd does not answer; ubus start refuses these
at once. 'librespeed-run --links' and ubus links print the link each
interface is recorded under and the links to offer, leaving out a
static interface without a gateway such as lan, so a frontend need not
repeat the rule. A failure is reported per interface until a result is
recorded on its link, or until no configuration names that interface
any more. The init script writes one cron line per interface,
aggregates are kept per day and interface, and a run that finds another
in progress waits up to 3 minutes, as several schedules fire at the
same minute, then gives up and records that as the interface's failure.
Existing configs, cron lines and history keep working, except that a
default interface whose link is down, or that netifd does not know, is
no longer measured.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
The traffic sampler of a bound run inherited the lock's descriptor, so
its last 'sleep 1' held the lock up to a second after the run ended,
and a test started right then was refused as already running.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This fixes a buffer overflow when decompressing an .lzh file after a .Z
file and a use of uninitialized memory on some malformed inputs.
Fixes: CVE-2026-41992
CVE-2026-41991 is in gzexe, which this package does not install.
Backport the upstream fix for the build on aarch64 with musl, where the
head macro from gzip.h breaks a struct member in <signal.h>.
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
`puts` needs to be writable for the cli code path.
Fixes the error:
"Unable to compile ucode handler: Syntax error: Invalid assignment to
constant 'puts'"
since ucode commit
ddb06a19 "compiler: make strict mode function names constant bindings"
Signed-off-by: Andre Heider <a.heider@gmail.com>
As uci config file editing is an essential functionality for editors
in OpenWrt context, change nano packaging:
* make the old 'plus' variant to be the new default 'nano' package,
with syntax highlighting enabled for uci, ucode, sh, javascript and
patch files.
* define a new minimal nano-tiny variant for the minimal size.
* adjust nanorc by removing the old 'extra' dir include,
copy all nanorc files to the same dir. (Still create 'extra' dir
to avoid problem with old nanorc files.)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Some properties may not be available, properly guard them.
Fixes error like:
error running collector 'wifi':
left-hand side expression is null
In this case it corresponds to a link with a signal too weak.
iwinfo phy0-mesh0 assoclist
xx:xx:xx:xx:xx:xx -89 dBm / -107 dBm (SNR 18) 90 ms ago
RX: unknown 183148 Pkts.
TX: unknown 53985 Pkts.
expected throughput: unknown
Co-authored-by: OpenWrt AI review account <openwrt-ai@hauke-m.de>
Signed-off-by: Samuele Longhi <agave@dracaena.it>
Specify correct make targets instead of source patching. Avoid noisy
gitdir lookup failures triggered repeatedly by the podman build system.
Follow upstream's switch from slirp4netns to passt.
Supply an upgraded v2-format registries.conf with entries matching those
previously pulled from the old Fedora Atomic vendor repo. Though we
retain them for now, these entries are specific to RedHat products and
are likely not meaningful long-term defaults for OpenWrt.
Link: https://github.com/podman-container-tools/podman/releases/tag/v6.1.2
Signed-off-by: Gary Dotzler <geldot@protonmail.com>
Reduce installed footprint by ~30 MiB: The main podman executable
already includes podman-remote via its --remote flag, so there is never
a reason to install both binaries simultaneously. Provide a tiny
podman-remote wrapper script for compatibility instead.
This commit does not introduce a subpackage for the standalone
podman-remote binary though we can do so in future if a use-case arises.
Signed-off-by: Gary Dotzler <geldot@protonmail.com>
The KERNEL_DIRECT_IO option was removed from OpenWrt in 2017 together
with the out-of-tree hack to disable direct I/O, and direct I/O is
always available. Selecting the undefined symbol has no effect.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
KERNEL_MEMCG_SWAP_ENABLED and KERNEL_CFQ_GROUP_IOSCHED refer to kernel
symbols that no longer exist (MEMCG swap accounting is no longer a
separate option, and CFQ was removed in Linux 5.0). The selects have
no effect.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
KERNEL_MEMCG_KMEM and KERNEL_DEVPTS_MULTIPLE_INSTANCES refer to kernel
symbols that no longer exist: kernel memory accounting is always part of
MEMCG, and devpts always supports multiple instances. The selects have
no effect.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
With gnupg removed, let gnupg2, gpgv2 and gnupg2-utils provide gnupg,
gpgv and gnupg-utils, so apk can replace an installed GnuPG 1.4 with
GnuPG 2 on upgrade.
gnupg2 already installs /usr/bin/gpg and /usr/bin/gpgv as alternatives,
and GnuPG 2 migrates a GnuPG 1.x secret keyring on first use.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
GnuPG 1.4 is the legacy branch; its last release, 1.4.23, dates from
June 2018. gnupg2 covers its uses, and fwknop, the last package
depending on it, now uses gnupg2.
The next commit lets gnupg2 provide gnupg, so existing installations
are upgraded to it.
Signed-off-by: Sander van Deijck <sander@vandeijck.com>
The rootfs archive the OCI tests unpack is installed among the test
binaries in /usr/libexec/oci-runtime-test, where the packages CI
expects every file to be executable, so the generic tests of
oci-runtime-tests fail on every architecture that builds it. Install
the archive in /usr/share/oci-runtime-test and link it from its old
place, where test harnesses copy it into the test directory from.
Fixes: 6b9fdf2e77 ("oci-runtime-tools: add package")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
The hugetlb tests fail on kernels without huge pages or the hugetlb
cgroup controller, and the rlimit test sets limits of 4 GiB and more
that a 32-bit kernel turns into RLIM_INFINITY, so they fail against
every runtime on most OpenWrt targets. Carry the pending upstream
fixes that skip the hugetlb tests on such kernels, report a refused
hugetlb container as a failed test and leave out the rlimits the host
cannot hold.
Link: https://github.com/opencontainers/runtime-tools/pull/823
Signed-off-by: Daniel Golle <daniel@makrotopia.org>