<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kunkku/abuild, branch master</title>
<subtitle>[no description]</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/'/>
<entry>
<title>abuild: rename makedepends_host virtual package</title>
<updated>2019-08-05T11:57:21+00:00</updated>
<author>
<name>Oliver Smith</name>
<email>ollieparanoid@bitmessage.ch</email>
</author>
<published>2019-07-29T18:42:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=c54d39d8aa5f4070778ab57f94ae0bcfb1c7a824'/>
<id>c54d39d8aa5f4070778ab57f94ae0bcfb1c7a824</id>
<content type='text'>
With a recent change in apk [1], virtual packages of the same name will
upgrade each other. Adjust abuild to this by not using the same virtual
package name for two types of dependencies.

This fixes the way crosscompilers are built in postmarketOS [2], which
is essentially the same as running this on Alpine's gcc aport:
$ cd aports/main/gcc
$ C_TARGET_ARCH=armhf CTARGET=armv6-alpine-linux-musleabihf \
  BOOTSTRAP=nobuildbase CBUILDROOT=/ abuild -r
...
&gt;&gt;&gt; gcc-armhf: Installing for host:
(1/24) Upgrading .makedepends-gcc-armhf (20190714.104731 -&gt; 20190714.104741)
(2/24) Purging binutils-armhf (2.31.1-r2)
...

[1] apk-tools.git 37fbafcd928c466c82c892a7868d686d710e5d07
    ("add: make virtual packages upgradeable (ref #9957)")
[2] https://gitlab.com/postmarketOS/pmaports/blob/master/cross/gcc-armhf/APKBUILD

Fixes: https://gitlab.alpinelinux.org/alpine/apk-tools/issues/10649
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With a recent change in apk [1], virtual packages of the same name will
upgrade each other. Adjust abuild to this by not using the same virtual
package name for two types of dependencies.

This fixes the way crosscompilers are built in postmarketOS [2], which
is essentially the same as running this on Alpine's gcc aport:
$ cd aports/main/gcc
$ C_TARGET_ARCH=armhf CTARGET=armv6-alpine-linux-musleabihf \
  BOOTSTRAP=nobuildbase CBUILDROOT=/ abuild -r
...
&gt;&gt;&gt; gcc-armhf: Installing for host:
(1/24) Upgrading .makedepends-gcc-armhf (20190714.104731 -&gt; 20190714.104741)
(2/24) Purging binutils-armhf (2.31.1-r2)
...

[1] apk-tools.git 37fbafcd928c466c82c892a7868d686d710e5d07
    ("add: make virtual packages upgradeable (ref #9957)")
[2] https://gitlab.com/postmarketOS/pmaports/blob/master/cross/gcc-armhf/APKBUILD

Fixes: https://gitlab.alpinelinux.org/alpine/apk-tools/issues/10649
</pre>
</div>
</content>
</entry>
<entry>
<title>add missing backslash on rmdir command</title>
<updated>2019-07-30T05:48:40+00:00</updated>
<author>
<name>Leo</name>
<email>thinkabit.ukim@gmail.com</email>
</author>
<published>2019-07-29T18:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=cb3a67edcaee0533df296cb82afab72aa93db71c'/>
<id>cb3a67edcaee0533df296cb82afab72aa93db71c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild: remove empty dirs in main package</title>
<updated>2019-07-17T13:57:17+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-07-17T13:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=b8b8a651fc147669e3e811f55198305b97c1001c'/>
<id>b8b8a651fc147669e3e811f55198305b97c1001c</id>
<content type='text'>
clean up empty dirs
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clean up empty dirs
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild: add SOURCE_DATE_EPOCH support</title>
<updated>2019-07-17T13:11:20+00:00</updated>
<author>
<name>kpcyrd</name>
<email>git@rxv.cc</email>
</author>
<published>2019-06-08T19:42:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=ba16a67781993e4017a1a5a5bc34703b3b975bc1'/>
<id>ba16a67781993e4017a1a5a5bc34703b3b975bc1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>change ~ to /home/pdietl</title>
<updated>2019-07-17T12:47:12+00:00</updated>
<author>
<name>Pete Dietl</name>
<email>petedietl@gmail.com</email>
</author>
<published>2019-05-23T03:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=2c2a518ac7c0babae0048de806e7c43fe398c166'/>
<id>2c2a518ac7c0babae0048de806e7c43fe398c166</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild.in: fixup flags and usage text</title>
<updated>2019-07-17T12:43:44+00:00</updated>
<author>
<name>Pete Dietl</name>
<email>petedietl@gmail.com</email>
</author>
<published>2019-05-22T12:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=beb1b410548527a2eeb22af97dd2367e352ece83'/>
<id>beb1b410548527a2eeb22af97dd2367e352ece83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Better use license.lst in abuild sanitycheck</title>
<updated>2019-07-17T12:06:32+00:00</updated>
<author>
<name>Keith Maxwell</name>
<email>keith.maxwell@gmail.com</email>
</author>
<published>2019-05-12T17:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=e476188c6f415ad3b4aa3a444709784fbba1ebb1'/>
<id>e476188c6f415ad3b4aa3a444709784fbba1ebb1</id>
<content type='text'>
Before this change an invalid licence= in an APKBUILD will pass `abuild
sanitycheck`. '/usr/share/spdx/license.lst' contains one licence per line.
`grep -x` will match partial lines whereas `grep -w` will only match whole
lines.

An simple demonstration is with 'GPL-3.0' which is not a valid SPDX licence
identifier. 'GPL-3.0-only' and 'GPL-3.0-or-later' are valid licences.

```
$ grep --help
BusyBox v1.30.1 (2019-04-26 06:26:16 UTC) multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

✂
        -w      Match whole words only
        -x      Match whole lines only
✂
$ grep -w -F GPL-3.0 /usr/share/spdx/license.lst
GPL-3.0-only
GPL-3.0-or-later
$ grep -x -F GPL-3.0 /usr/share/spdx/license.lst
$
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this change an invalid licence= in an APKBUILD will pass `abuild
sanitycheck`. '/usr/share/spdx/license.lst' contains one licence per line.
`grep -x` will match partial lines whereas `grep -w` will only match whole
lines.

An simple demonstration is with 'GPL-3.0' which is not a valid SPDX licence
identifier. 'GPL-3.0-only' and 'GPL-3.0-or-later' are valid licences.

```
$ grep --help
BusyBox v1.30.1 (2019-04-26 06:26:16 UTC) multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

✂
        -w      Match whole words only
        -x      Match whole lines only
✂
$ grep -w -F GPL-3.0 /usr/share/spdx/license.lst
GPL-3.0-only
GPL-3.0-or-later
$ grep -x -F GPL-3.0 /usr/share/spdx/license.lst
$
```
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild-fetch: use local insecure variable</title>
<updated>2019-07-17T12:02:13+00:00</updated>
<author>
<name>tcely</name>
<email>tcely@users.noreply.github.com</email>
</author>
<published>2019-05-08T18:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=c9d6159637a75eec19edf571c1e10c3510f4dd94'/>
<id>c9d6159637a75eec19edf571c1e10c3510f4dd94</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild-fetch: when http:// was used, ignore https:// problems</title>
<updated>2019-07-17T12:02:13+00:00</updated>
<author>
<name>tcely</name>
<email>tcely@users.noreply.github.com</email>
</author>
<published>2019-05-08T18:07:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=59c1c4a97a57c224ba8df167b05d8951e3f81bc2'/>
<id>59c1c4a97a57c224ba8df167b05d8951e3f81bc2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild-fetch: add -k (insecure as in curl) option</title>
<updated>2019-07-17T12:02:13+00:00</updated>
<author>
<name>tcely</name>
<email>tcely@users.noreply.github.com</email>
</author>
<published>2019-05-08T16:47:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/user/kunkku/abuild/commit/?id=7bd32679b3cf4d2fe1238759e67b43a69bfb41bf'/>
<id>7bd32679b3cf4d2fe1238759e67b43a69bfb41bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
