<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/package-ipkg.mk, branch master</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2022-01-27T12:38:48Z</updated>
<entry>
<title>tools: build bash on macOS and use it for ipkg-build</title>
<updated>2022-01-27T12:38:48Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-01-27T12:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=3869ccbcc891a7185550a2a422e2db01fd994b7d'/>
<id>urn:sha1:3869ccbcc891a7185550a2a422e2db01fd994b7d</id>
<content type='text'>
On macOS, system binaries silently drop the environment variables for injecting
extra shared libraries (used by fakeroot). This is done for security reasons.
Work around this by building bash from source, so that it gets an ad-hoc signature
and does not have these restrictions

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: allow package to be built for all variants</title>
<updated>2021-11-14T23:38:46Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2021-11-03T18:51:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=91a5d69ea40196044e7456d72095afb655b0c5aa'/>
<id>urn:sha1:91a5d69ea40196044e7456d72095afb655b0c5aa</id>
<content type='text'>
This allows a package to be rebuilt for all different VARIANTs.
To do so, set VARIANT=*.

The wpa-cli package is not getting built after changes made by
19aae94 [build: avoid rebuilds of unset VARIANT packages], because
wpa-cli is only built when compiling a variant that includes
supplicant support, and the first selected variant may not build it.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: avoid rebuilds of unset VARIANT packages</title>
<updated>2021-11-01T19:18:55Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2021-10-22T19:12:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=19aae949c608c8e78475988a8c7b453b8187d865'/>
<id>urn:sha1:19aae949c608c8e78475988a8c7b453b8187d865</id>
<content type='text'>
If a Makefile defines some packages with VARIANT set, and others without
it, the latter will be built once for every different VARIANT set, each
build trumping the previous one.

Avoid rebuilds by only building unnamed variant packages when the first
variant is built.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: prepend ABI suffixes with a dash if package name ends with digit</title>
<updated>2021-06-14T13:14:19Z</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/chunkeey/commit/?id=f6a03bff5bccdbf9165087bccbb35095903d05c6'/>
<id>urn:sha1:f6a03bff5bccdbf9165087bccbb35095903d05c6</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;
</content>
</entry>
<entry>
<title>build: introduce $(MKHASH)</title>
<updated>2021-05-13T13:13:15Z</updated>
<author>
<name>Leonardo Mörlein</name>
</author>
<published>2021-05-09T20:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=b993b68b6ca8444b5227a0c18df4600b37ac565c'/>
<id>urn:sha1:b993b68b6ca8444b5227a0c18df4600b37ac565c</id>
<content type='text'>
Before this commit, it was assumed that mkhash is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein &lt;me@irrelefant.net&gt;
</content>
</entry>
<entry>
<title>include: store ABIVersion in Packages index</title>
<updated>2021-03-09T05:04:35Z</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/chunkeey/commit/?id=fc5b101c06928884d2b0c42b11bf917d29538971'/>
<id>urn:sha1:fc5b101c06928884d2b0c42b11bf917d29538971</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;
</content>
</entry>
<entry>
<title>build: fix ABI version for PROVIDES symbols</title>
<updated>2021-02-18T18:57:57Z</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/chunkeey/commit/?id=0db9d118657dd93509abec817eb22ce13d0ec1b6'/>
<id>urn:sha1:0db9d118657dd93509abec817eb22ce13d0ec1b6</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;
</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/chunkeey/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/chunkeey/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/chunkeey/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>
</feed>
