<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/package-ipkg.mk, branch v21.02.0</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.0</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.0'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-07-11T14:09:30Z</updated>
<entry>
<title>build: prepend ABI suffixes with a dash if package name ends with digit</title>
<updated>2021-07-11T14:09:30Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2021-06-14T12:58:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=47f617ef8d44e4d7428ff3e0b42acb4a75f5cd37'/>
<id>urn:sha1:47f617ef8d44e4d7428ff3e0b42acb4a75f5cd37</id>
<content type='text'>
Ensure that ABI suffixes are separated with a dash from the package name if
the name happens to end with a digit. This implementation detail got lost
during the recent refactoring of the ABI_VERSION handling in buildroot.

Ref: https://github.com/openwrt/packages/pull/14237#issuecomment-860473585
Fixes: c921650382 ("build: drop ABI version from metadata")
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
(cherry picked from commit f6a03bff5bccdbf9165087bccbb35095903d05c6)
</content>
</entry>
<entry>
<title>include: store ABIVersion in Packages index</title>
<updated>2021-03-15T21:53:16Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-03-08T04:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=67166fabda53f17beac304db5bc44e4be6a3ba13'/>
<id>urn:sha1:67166fabda53f17beac304db5bc44e4be6a3ba13</id>
<content type='text'>
With the existence of ABI versions there is no clean way to determine
the package name without an attached ABI version. The Packages index is
stored on device to know what packages are installed.

The ABIVersion was recently removed in c921650382 "build: drop ABI
version from metadata", while ABI versions still exists. This becomes a
problem if a user tries to export installed packages via `ubus call
rpcd-sys packagelist` which would return package names including the ABI
version. Trying to find these packages in a later release with changes
ABI version is impossible.

This commits adds the `ABIVersion` field again. Knowing both the
combined (SourceName + ABIVersion) and the `ABIVersion` it is possible
to calculate the package `SourceName` without storing it in the
on-device package list.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
(cherry picked from commit fc5b101c06928884d2b0c42b11bf917d29538971)
Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
<entry>
<title>build: fix ABI version for PROVIDES symbols</title>
<updated>2021-02-18T18:58:53Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-18T18:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=cbe4beb442e10f9ad8fc71202e87c15a0859c44c'/>
<id>urn:sha1:cbe4beb442e10f9ad8fc71202e87c15a0859c44c</id>
<content type='text'>
GetABISuffix does not work for intra-package ABI version of provided symbols,
since ABIV_$(provided) is not set.
Fix ABI version by using $(ABIV_$(1)) directly

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry-picked from commit 0db9d118657d)
</content>
</entry>
<entry>
<title>build: only overwrite ABI version for provided packages when base version changed</title>
<updated>2021-02-15T17:56:50Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T17:53:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=542eab31a60227bd429cb0207199daf83dd6850f'/>
<id>urn:sha1:542eab31a60227bd429cb0207199daf83dd6850f</id>
<content type='text'>
Should avoid some spurious rebuilds

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>Mostly revert "build: add support for fixing up library soname"</title>
<updated>2021-02-15T17:47:21Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T16:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=075fa4cd9ae2ee5e9715fad2f70b2092ddc9ac2d'/>
<id>urn:sha1:075fa4cd9ae2ee5e9715fad2f70b2092ddc9ac2d</id>
<content type='text'>
This reverts commit b12288fa69b171f7c9405518c9bed3581a06f7ce.
The patchelf approach is too fragile, and the only users of this have been
converted to make patching unnecessary
Leave the abi_version_str variable in place in rules.mk

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: drop ABI version from metadata</title>
<updated>2021-02-14T18:41:52Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-12T10:16:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c92165038217e49075098479704da58a2a3a89bd'/>
<id>urn:sha1:c92165038217e49075098479704da58a2a3a89bd</id>
<content type='text'>
Preparation for supporting dynamic ABI versions that depend on the runtime
configuration. Read the suffix from the staging dir pkginfo version files.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: add support for fixing up library soname</title>
<updated>2021-02-14T18:41:51Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-12T08:56:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b12288fa69b171f7c9405518c9bed3581a06f7ce'/>
<id>urn:sha1:b12288fa69b171f7c9405518c9bed3581a06f7ce</id>
<content type='text'>
This makes it possible to declare a package ABI_VERSION independent from the
upstream soname by setting PKG_ABI_VERSION in the package makefile.
The library filename is fixed up for files installed to packages and to the
staging dir. References to the original from executables within the same
package are also fixed up

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>base-files: remove execute bit and shebang from functions.sh</title>
<updated>2021-01-29T13:30:32Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2021-01-25T11:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=396a35dd51f1d58c051d0c1f1100e44950933d3b'/>
<id>urn:sha1:396a35dd51f1d58c051d0c1f1100e44950933d3b</id>
<content type='text'>
/lib/functions.sh was executable for no obvious reason and its
execute property was even checked in package-ipkg.mk just to
source it afterwards.

Remove the execute bit and shebang as this is clearly a library.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
Reviewed-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
</content>
</entry>
<entry>
<title>build: use mkhash for IPK metadata checksums</title>
<updated>2020-11-27T05:06:13Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-07-16T20:34:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e34f04f4bcaae2abead8e85b42dbcbba3ab2a065'/>
<id>urn:sha1:e34f04f4bcaae2abead8e85b42dbcbba3ab2a065</id>
<content type='text'>
When setting the option IPK_FILES_CHECKSUMS the build system stores
checksums of all package file as metadata. In combination with pkg_check
this allows to see if a package is broken, e.g. caused by bad flash.

To create those checksums the tool `sha256sum` were used while the rest
of OpenWrt uses `mkhash`, a small &amp; fast implementation of sha256. As
the build system does not check the existence of `sha256sum` and the
stderr output is moved to /dev/null, a situation where the option is
enabled but no actual checksum are created may occur.

Instead of adding `sha256sum` as a requirement, this replaces it with
`mkhash sha256` and adapts the `sed` pipe command to fit spacing.

CC: Xu Wang &lt;xwang1498@gmx.com&gt;
CC: Michal Hrusecky &lt;Michal@Hrusecky.net&gt;

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
