<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/zorun/include, branch main</title>
<subtitle>Staging tree of Baptiste Jonglez</subtitle>
<id>https://git.openwrt.org/openwrt/staging/zorun/atom?h=main</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/zorun/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/'/>
<updated>2026-02-17T00:29:57Z</updated>
<entry>
<title>build: pass CPPFLAGS to cmake build</title>
<updated>2026-02-17T00:29:57Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2026-02-15T23:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=7bf8d568f6c83411041e504e0ca231d4081c2534'/>
<id>urn:sha1:7bf8d568f6c83411041e504e0ca231d4081c2534</id>
<content type='text'>
The TARGET_CPPFLAGS contain the include paths used by OpenWrt. This also
contains the including of the fortify sources headers. If they are not
provided, the applications will not use fortify sources headers when
compiled against musl. Add them to cmake builds too. cmake does not
support a special CPPFLGS option [0], just add them to CFLAGS and
CXXFLAGS like we also do it for meson and normal make.
This should fix fortify sources support for cmake builds.

I found this explanation for the flags:
 * CFLAGS: C flags, passed during compile AND link
 * CXXFLAGS: C++ flags, passed during compile AND link
 * CPPFLAGS: pre-processor flags, passed ONLY during compile
 * LDFLAGS: linker flags, passed ONLY during link

[0]: https://gitlab.kitware.com/cmake/cmake/-/issues/12928

Link: https://github.com/openwrt/openwrt/pull/22042
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>treewide: drop CVS support</title>
<updated>2026-02-13T14:40:13Z</updated>
<author>
<name>Yanase Yuki</name>
</author>
<published>2025-12-31T09:15:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=2c099e5623089522d843ccd334e15e6b58874c6e'/>
<id>urn:sha1:2c099e5623089522d843ccd334e15e6b58874c6e</id>
<content type='text'>
We have no CVS-managed package in official repositories.
This commit drops obsolete SCM system support.

Signed-off-by: Yanase Yuki &lt;dev@zpc.st&gt;
Link: https://github.com/openwrt/openwrt/pull/21340
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>image: support generating per device targz rootfs</title>
<updated>2026-02-09T15:43:29Z</updated>
<author>
<name>Robert Marko</name>
</author>
<published>2026-02-09T11:25:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=d89cb72c23fea53883c1e6203020d9b555208452'/>
<id>urn:sha1:d89cb72c23fea53883c1e6203020d9b555208452</id>
<content type='text'>
Currently, for targets that use the CONFIG_TARGET_ROOTFS_TARGZ a single
rootfs tarball is generated for the subtarget based of $(TARGET_DIR).

However, this means that it does not respect DEVICE_PACKAGES like other
rootfs images.

So, lets augment CONFIG_TARGET_ROOTFS_TARGZ by adding a proper targz fstype
so that per device rootfs is generated under lock.

This is required so that devices that use custom sysupgrade archives like
Methode devices, can actually include a per device rootfs so when building
for multiple devices and with CONFIG_TARGET_PER_DEVICE_ROOTFS set the built
image actually includes the listed DEVICE_PACKAGES.

Signed-off-by: Robert Marko &lt;robert.marko@sartura.hr&gt;
</content>
</entry>
<entry>
<title>package-pack: fix Ubuntu 18.04 compilation</title>
<updated>2026-02-07T23:23:13Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2026-02-07T02:39:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=71ad91ecfa74427fce0dd5cfa68b95213b9a3e76'/>
<id>urn:sha1:71ad91ecfa74427fce0dd5cfa68b95213b9a3e76</id>
<content type='text'>
Add \ to fix parsing with make 4.1.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21910
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: purge DESCRIPTION</title>
<updated>2026-01-24T10:03:40Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-24T02:30:48Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=87b72fefcb373da99463a7b9eaf881b968d1b71f'/>
<id>urn:sha1:87b72fefcb373da99463a7b9eaf881b968d1b71f</id>
<content type='text'>
DESCRIPTION field has been deprecated since 2007, yet internal exporting
causes intermittent package build failures due to the deprecation check,
even with packages that don't have that fields set. Replace all
DESCRIPTION exports with alternative variables defined through shexport
and shvar helpers and remove the check.

Fixes: 547b127d ("make kernel module packaging code reusable and use it in madwifi")
Fixes: 7558f028 ("DESCRIPTION:= is obselete, so complain if it is used and use TITLE if no description is set")
Fixes: cc435322 ("build: optimize target metadata dump")
Fixes: d081edf7 ("build: clean up and optimize ipkg control generator code")
Signed-off-by: George Sapkin &lt;george@sapk.in&gt;
Link: https://github.com/openwrt/openwrt/pull/21668
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: fix stale package install stamps for unselected variants</title>
<updated>2026-01-22T10:20:17Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2026-01-13T12:37:50Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=bb22a514dcb7e79d6dd13e44be4d517f6ed923d0'/>
<id>urn:sha1:bb22a514dcb7e79d6dd13e44be4d517f6ed923d0</id>
<content type='text'>
When a package variant changes from =y to =m, its .install stamp file
was not being cleaned up, causing both variants to appear in the
package install list.

Fix by making compile depend on prepare-package-install, ensuring
the stamp file is always cleared. Only =y packages recreate it.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>netfilter: remove nf-conntrack6</title>
<updated>2026-01-21T21:42:20Z</updated>
<author>
<name>Qingfang Deng</name>
</author>
<published>2026-01-20T05:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=5b61a50244ebc82096f5949de294ad69851e1fd6'/>
<id>urn:sha1:5b61a50244ebc82096f5949de294ad69851e1fd6</id>
<content type='text'>
nf_conntrack_ipv6 is no longer a separate kernel module, so remove it.

Signed-off-by: Qingfang Deng &lt;dqfext@gmail.com&gt;
Link: https://github.com/openwrt/openwrt/pull/21612
Signed-off-by: Robert Marko &lt;robimarko@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: add default priority to ABI-versioned packages</title>
<updated>2026-01-12T13:28:52Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-06T01:50:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=470e030a5eae77e94192e0dd933d7b1b657f7b2c'/>
<id>urn:sha1:470e030a5eae77e94192e0dd933d7b1b657f7b2c</id>
<content type='text'>
If a package has an ABI version defined, set priority to 10. The enables
packages with an ABI version to be installed by their base name instead
of a name and an ABI version, e.g.:

libfoo3, where 3 is the ABI version can be installed by just libfoo.

This affects manual installation only, as the dependency resolution
takes care of ABI versions.

Refactor apk priority logic into a helper define.

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>build: remove redundant shebang from apk lifecycle scripts</title>
<updated>2026-01-12T13:28:52Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-05T22:56:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=1dec4683f6a91cb0734e97186738b0ea413bb356'/>
<id>urn:sha1:1dec4683f6a91cb0734e97186738b0ea413bb356</id>
<content type='text'>
Due to the way apk lifecycle scripts are defined, they might end up with
multiple shebangs. Remove them.

Before:

  post-upgrade: |
    #!/bin/sh
    export PKG_UPGRADE=1
    #!/bin/sh
    [ "${IPKG_NO_SCRIPT}" = "1" ] &amp;&amp; exit 0
    [ -s ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
    . ${IPKG_INSTROOT}/lib/functions.sh
    export root="${IPKG_INSTROOT}"
    export pkgname="adblock-fast"
    add_group_and_user
    default_postinst
    #!/bin/sh
    # check if we are on real system
    if [ -z "${IPKG_INSTROOT}" ]; then
    	/etc/init.d/adblock-fast enable
    fi
    exit 0

After:

  post-upgrade: |
    #!/bin/sh
    export PKG_UPGRADE=1
    [ "${IPKG_NO_SCRIPT}" = "1" ] &amp;&amp; exit 0
    [ -s ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
    . ${IPKG_INSTROOT}/lib/functions.sh
    export root="${IPKG_INSTROOT}"
    export pkgname="adblock-fast"
    add_group_and_user
    default_postinst
    # check if we are on real system
    if [ -z "${IPKG_INSTROOT}" ]; then
    	/etc/init.d/adblock-fast enable
    fi
    exit 0

Fixes: b52e897 ("include/package-pack: remove leading whitespace from install scripts")
Fixes: 03880e2 ("include/package-pack: add missing apk package lifecycle events")
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>build: fix implicit self-provides</title>
<updated>2026-01-12T13:28:52Z</updated>
<author>
<name>George Sapkin</name>
</author>
<published>2026-01-05T02:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/zorun/commit/?id=2d844a077089575ab67fcbd15e021a981387e668'/>
<id>urn:sha1:2d844a077089575ab67fcbd15e021a981387e668</id>
<content type='text'>
Fix setting implicit self-provides for packages when they don't have any
PROVIDES specified.

Remove redundant self-provide for kmods, since kmods are packages and
will have a self-provide added already.

Fixes: 5ed650a ("build: add support for virtual provides")
Fixes: 9b37b71 ("build: provide virtual self in kmods")
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>
</feed>
