<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/nbd/package/system, branch master</title>
<subtitle>Felix Fietkaus staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/'/>
<updated>2026-02-12T09:23:56Z</updated>
<entry>
<title>apk: handle edge case when parsing .apk files</title>
<updated>2026-02-12T09:23:56Z</updated>
<author>
<name>Matt Merhar</name>
</author>
<published>2026-02-11T22:30:53Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=8c6ed4e927373282b654420ad3962a6a0ea110c3'/>
<id>urn:sha1:8c6ed4e927373282b654420ad3962a6a0ea110c3</id>
<content type='text'>
This was a regression introduced in the recent alignment changes and led
to failures when reading (i.e. 'mkndx') certain packages like follows:

ERROR: python3-botocore-1.31.7-r1.apk: unexpected end of file

It affected packages with a header size greater than the read buffer
size of 128KB but less than 160KB (128KB + (128KB / 4)).

In those cases, we'd attempt a 0 byte read, leading to APKE_EOF.

Based on some tests of files across multiple archs and feeds, it seems
the only packages meeting those criteria were python3-botocore and
golang-github-jedisct1-dnscrypt-proxy2-dev.

Fixes: 64ec08eee1 ("apk: backport upstream fixes for unaligned access")
Signed-off-by: Matt Merhar &lt;mattmerhar@protonmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21992
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>apk: backport upstream fixes for unaligned access</title>
<updated>2026-02-10T14:06:52Z</updated>
<author>
<name>Matt Merhar</name>
</author>
<published>2026-02-09T23:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=64ec08eee1cc35417a6b0189e40b92665056da25'/>
<id>urn:sha1:64ec08eee1cc35417a6b0189e40b92665056da25</id>
<content type='text'>
On the kirkwood target, packages would frequently fail to install with
APKE_ADB_SCHEMA, APKE_ADB_BLOCK, and/or segfaults. The culprit was
unaligned access leading to bogus values being read out of memory on
these particular ARMv5 CPUs.

Pull in the relevant upstream fixes to address this.

Fixes: https://github.com/openwrt/openwrt/issues/21307
Link: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/391
Link: https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/392
Signed-off-by: Matt Merhar &lt;mattmerhar@protonmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21958
Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>procd: update to git HEAD</title>
<updated>2026-02-09T16:41:57Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2026-02-09T11:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=361885b1331860f683eb4beeeae1bcac1e05dd40'/>
<id>urn:sha1:361885b1331860f683eb4beeeae1bcac1e05dd40</id>
<content type='text'>
 7e5b324 instance: check length of names when creating cgroups
 014f94c procd: jail/cgroups: fix OOB write in cgroups_apply()
 e08cdc8 hotplug-dispatch: fix filter disallowing setting PATH
 afa4391 service instance: Improve handling of watchdog config changes
 52c64d2 service instance: Fix overwriting of watchdog linked list members
 96c827f coldplug: fix missing header include
 6b10c71 hotplug-dispatch: fix missing header include
 58d7aaa initd/coldplug: create /dev/null before running udevtrigger
 64f97ff hotplug-dispatch: redirect output to /dev/null
 c4e9859 hotplug-dispatch: use stat if d_type is DT_UNKNOWN
 bafdfff system: fix arguments validation in ubus handler

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>procd: reload_config: support UCI overlay directory</title>
<updated>2026-02-07T09:04:17Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2026-01-23T08:54:11Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=aaa2d9f1e5b417b8ac76dacb0aa2d7baacf4527b'/>
<id>urn:sha1:aaa2d9f1e5b417b8ac76dacb0aa2d7baacf4527b</id>
<content type='text'>
Check /var/run/uci/ before /etc/config/ so that overlay configs
also trigger service reload events.

The overlay directory takes precedence, and uci show already handles
merging overlay + base configuration correctly.

Signed-off-by: John Crispin &lt;john@phrozen.org&gt;
</content>
</entry>
<entry>
<title>apk: backport upstream fix for invalid fetch timestamps</title>
<updated>2026-02-05T16:11:42Z</updated>
<author>
<name>Matt Merhar</name>
</author>
<published>2026-02-05T04:45:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=f750e3096f692391d9fdd27402b505f1a8c3a10c'/>
<id>urn:sha1:f750e3096f692391d9fdd27402b505f1a8c3a10c</id>
<content type='text'>
Uninitialized memory led to bogus, huge timestamps being set on files
downloaded with the wget backend. This caused odd issues like 'ls -l'
crashing busybox when attempting to list the .apk file afterwards.

Link: https://gitlab.alpinelinux.org/alpine/apk-tools/-/commit/42f159e67bafe1dad16839c0c0a005b5e89487ba
Signed-off-by: Matt Merhar &lt;mattmerhar@protonmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21874
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>uclient: provide virtual wget-any</title>
<updated>2026-01-12T13:28:52Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-02T14:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=af1fa176c31368e5e56c5a1f31d8a12273536378'/>
<id>urn:sha1:af1fa176c31368e5e56c5a1f31d8a12273536378</id>
<content type='text'>
Packages shouldn't provide a package that another package, in this case
wget from packages provides. Explicitly provide a virtual @wget-any
instead to match the implicit wget provide and switch the only consumer
to use the new provider.

Set uclient-fetch as the default variant for wget-any.

Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21369
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: update SELinux project URL</title>
<updated>2026-01-02T17:07:02Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2025-12-25T04:15:57Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=c8756e825f2d357e620a801f356f718c23cdf766'/>
<id>urn:sha1:c8756e825f2d357e620a801f356f718c23cdf766</id>
<content type='text'>
It seems old website has been retired.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
Link: https://github.com/openwrt/openwrt/pull/21279
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add explicit default variant</title>
<updated>2026-01-02T13:46:30Z</updated>
<author>
<name>Eric Fahlgren</name>
</author>
<published>2026-01-02T02:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=f4fdb9964a1add146e0efdeba864a6478212a9fa'/>
<id>urn:sha1:f4fdb9964a1add146e0efdeba864a6478212a9fa</id>
<content type='text'>
Some packages with variants did not specify the default among the
alternatives, so were left without any apk 'provider_priority'
for that package.  This caused the apk solver to select the wrong
variant, silently changing the requested package list.

Notable among these were busybox, procd and the hostapd/wpad suite.
This behavior presented in the imagebuilders when creating the
image as follows, silently replacing packages even when explicitly
requested:

    $ make image PACKAGES=busybox
    ...
    ( 14/148) Installing busybox-selinux (1.37.0-r6)
    ...

We add 'DEFAULT_VARIANT:=1' to the packages that were missing one,
providing apk with sufficient information to choose the correct
package.

See link below for further examples and discussion.

Link: https://github.com/openwrt/openwrt/pull/21288#issuecomment-3704101422
Signed-off-by: Eric Fahlgren &lt;ericfahlgren@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21358
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>ca-certificates: provide a virtual package</title>
<updated>2025-12-31T17:16:48Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2025-12-25T15:16:18Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=d75a6bed7a520c7a556e04b9270b0a3dc41e0d10'/>
<id>urn:sha1:d75a6bed7a520c7a556e04b9270b0a3dc41e0d10</id>
<content type='text'>
Switch ca-certs provides to use the new virtual provides semantic that
enables ca-bundle and ca-certificates to be installed side-by-side.

Provide the new format virtual ca-certificates-any in ca-bundle.

Fixes: https://github.com/openwrt/openwrt/issues/21257
Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21288
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>apk: bump to 3.0.2</title>
<updated>2025-12-12T12:59:39Z</updated>
<author>
<name>Paul Donald</name>
</author>
<published>2025-12-10T23:51:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/nbd/commit/?id=b15628ec80160d4eeadbd5a7c71702cef1249fe4'/>
<id>urn:sha1:b15628ec80160d4eeadbd5a7c71702cef1249fe4</id>
<content type='text'>
We drop patch 0020-apk-fix-compile: integrated at source.
Compressed help now functions normally.

Signed-off-by: Paul Donald &lt;newtwen+github@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21127
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
</feed>
