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>
acl 2.4.0 declares acl_get_file_at(), acl_set_file_at() and
acl_delete_def_file_at() in sys/acl.h, which clash with the static
helpers of the same names in tar's src/xattrs.c and break the build
with POSIX ACL support. Backport the upstream commit that renames the
helpers with a tar_ prefix; no tar release contains it yet.
Fixes: 0f5b47363e ("acl: update to 2.4.0")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Most cgroup tests fail on OpenWrt because the test suite can only read
cgroup v1, and several assertions contradict the runtime-spec or depend
on the test host. Carry the fixes pending upstream in
opencontainers/runtime-tools until they are merged: #812 (cgroup v2
reader), #813 (lifecycle assertions), #814 (pids limit by value), #816
(device rules checked from inside the container), #820 (misc_props
process), #821 (blkio rules on an existing block device) and #822
(RLIMIT_NOFILE read from a child process).
The default seccomp profile of the test configurations lists only the
32-bit time syscalls. On 32-bit targets the Go runtime of runtimetest
uses futex_time64 on Linux 5.1 and later, which the profile denies, so
runtimetest crashes inside every container and most tests report
nothing on i386. Add a patch allowing the time64 variant of every
syscall the profile already allows.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
- Major security and robustness improvements: fix CVE-2026-54369 and CVE-2026-54370
- New library functions: acl_get_file_at, acl_set_file_at, acl_delete_def_file_at
- API improvements and bug fixes: Remove libacl dependency on libattr
- Build system and code organization
- Test suite improvements
- Documentation updates
- Translation updates
- Add test-version.sh
Changelog: https://cgit.git.savannah.nongnu.org/cgit/acl.git/plain/doc/CHANGES
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
See the changelog for the complete list
- Many improvements to floating panes
- Layout strings now use a JSON subset format which includes floating panes
- Add support for themes and improve default colours
Changelog: https://raw.githubusercontent.com/tmux/tmux/3.8/CHANGES
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
uvol creates /tmp/run/uvol/.meta/apk as the database directory of apk's
uvol layer, but leaves it empty. apk only activates a layer other than
the root one when its world file can be read, so every package built
for that layer is refused as "masked in: layer" until something writes
the file. The container runtime keeps its global state in
/tmp/run/uvol/.meta/uxc, which only container packages ship, so on a
device without any of them that state cannot be stored.
Create an empty world file and the uxc directory when they are missing,
whenever .meta is created or adopted at boot.
uvol up on an LVM volume that is already active and registered with
blockd registers it again. blockd answers each registration with a
mount.add notification, so a consumer that brings volumes up from a
mount.add trigger, such as the container runtime, triggers itself again
without end. Return success for such a volume without registering it,
as the UBI backend already does for an active volume.
Fixes: 6772c0fe44 ("uvol: clean up paths and fix delayed startup")
Fixes: cb60600aec ("uvol: bump version to 1.1")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
See https://github.com/fwupd/fwupd/releases/tag/2.1.8
Remove backported patches which were adding support for
the MaxLinear MxL862xx switch family to 2.1.7 downstream.
Restore the glib2 host build dependency
src/meson.build calls gnome.compile_resources(), which resolves
glib_compile_resources from the staged gio-2.0.pc. glib2 rewrites that
variable to point into staging_dir/hostpkg, as a cross-built generator
cannot run on the build host, so fwupd has to build glib2/host. With
the dependency gone, meson only configures when an unrelated package
stages the host tools first, and otherwise fails with "tool variable
'glib_compile_resources' contains erroneous value".
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
One $(INSTALL_BIN) per binary, where several share a source directory.
Use brace expansion as the rest of the feed does. Packaged contents are
unchanged.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Upstream dropped the standalone hcidump tool, whose functionality has
lived inside btmon for years, so stop installing it; bluez-utils-btmon
covers it. Refresh 211-shared-gatt-helpers-Ignore-invalid-characteristic-
entries.patch, which otherwise applies with an offset of twelve lines,
and give 201-readline.patch and 202-fix-endianness.patch the git headers
the formality check asks for.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
Run collectd in a VRF, using the procd 'vrf' parameter:
config globals 'globals'
option vrf '<dev>'
Assisted-by: Claude:claude-fable-5-1
Signed-off-by: Nick Hainke <vincent@systemli.org>
Changes:
- clear old retained topics when a topic translation is added
- configurable sensor offline time (sensor-offline-seconds)
- fix a buffer overflow and a crash on empty MQTT messages
- add --version option
- do not build the tests in the package (BUILD_TESTING=OFF)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FKXWPFfkJSBzsjL6umsjGD
Signed-off-by: Peter Liedholm <peterfromswe884@gmail.com>
liblzma.pc is generated by a make rule that expands $(libdir) and
$(includedir) to absolute paths, which OpenWrt's pkg-config wrapper
cannot redirect at the staging directory. Rewrite the staged copy with
SED instead of patching the template, as ~50 other packages here do.
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
tio embeds Lua for its scripting support, which is not optional. It
looks Lua up through pkg-config as lua-5.4, lua-5.3, lua-5.2, lua-5.1
and lua, in this order, with no option to select the version. The
package depends on lua (5.1), which tio has found as lua.pc so far.
Since lua5.4 stages lua-5.4.pc, tio finds Lua 5.4 first and links
liblua5.4 without depending on it.
Depend on liblua5.4, the version tio looks up first, instead of lua,
which is the documented preferred version anyway.
Only the library is needed; tio does not run the lua interpreter.
Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>