<feed xmlns='http://www.w3.org/2005/Atom'>
<title>abuild, branch v3.2.0</title>
<subtitle>Build script to build alpine 1.9.x
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/'/>
<entry>
<title>==== release 3.2.0 ====</title>
<updated>2018-06-22T07:24:10+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2018-06-22T07:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=07b6609d745dfffd009f76fc93599e8960d54fbb'/>
<id>07b6609d745dfffd009f76fc93599e8960d54fbb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>newapkbuild: check arguments and improve usage()</title>
<updated>2018-06-21T15:30:58+00:00</updated>
<author>
<name>Oliver Smith</name>
<email>ollieparanoid@bitmessage.ch</email>
</author>
<published>2018-03-12T23:41:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=a68354ebc50f60369ce465d0d59020cdf081bf22'/>
<id>a68354ebc50f60369ce465d0d59020cdf081bf22</id>
<content type='text'>
Changes:
* argument sanity checks:
  * `PKGNAME[-PKGVER] | SRCURL`
    * check if missing
    * check if specified more than once (see below)
  * specifying more than one buildtype flag
  * `-n` (set pkgname) without using SRCURL as last argument
  * `-s` (sourceforge source) without using PKGNAME as last argument
* Typo fix: exist -&gt; exists
* `usage()`:
  * always print PKGNAME and PKGDESC (instead of NAME and DESC,
    NAME was used in one place and PKGNAME in another)
  * link to &lt;https://spdx.org/licenses/&gt;
  * `-m` (meson) flag was missing in short usage line at the top
  * indicate that the buildtypes are exclusive
  * `-c` flag: remove "to new directory" wording to make the
    message shorter (this should be obvious)
  * remove empty line at the end

NOTE: Before this commit, the `PKGNAME[-PKGVER] | SRCURL` was allowed
to be specified more than once, and the code looped over the arguments.
But this was not documented in `usage()` and had unexpected results:

```
$ newapkbuild first second third
$ tree
.
___ first
    ___ APKBUILD
    ___ first
    ___ ___ APKBUILD
    ___ ___ first
    ___ ___ ___ APKBUILD
    ___ ___ ___ src
    ___ ___ src
    ___ src
```
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes:
* argument sanity checks:
  * `PKGNAME[-PKGVER] | SRCURL`
    * check if missing
    * check if specified more than once (see below)
  * specifying more than one buildtype flag
  * `-n` (set pkgname) without using SRCURL as last argument
  * `-s` (sourceforge source) without using PKGNAME as last argument
* Typo fix: exist -&gt; exists
* `usage()`:
  * always print PKGNAME and PKGDESC (instead of NAME and DESC,
    NAME was used in one place and PKGNAME in another)
  * link to &lt;https://spdx.org/licenses/&gt;
  * `-m` (meson) flag was missing in short usage line at the top
  * indicate that the buildtypes are exclusive
  * `-c` flag: remove "to new directory" wording to make the
    message shorter (this should be obvious)
  * remove empty line at the end

NOTE: Before this commit, the `PKGNAME[-PKGVER] | SRCURL` was allowed
to be specified more than once, and the code looped over the arguments.
But this was not documented in `usage()` and had unexpected results:

```
$ newapkbuild first second third
$ tree
.
___ first
    ___ APKBUILD
    ___ first
    ___ ___ APKBUILD
    ___ ___ first
    ___ ___ ___ APKBUILD
    ___ ___ ___ src
    ___ ___ src
    ___ src
```
</pre>
</div>
</content>
</entry>
<entry>
<title>==== release 3.2.0_rc2 ====</title>
<updated>2018-05-31T14:43:10+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2018-05-31T14:43:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=0bb0bd8498d9898f2ef2b003ddb25a1a378f5268'/>
<id>0bb0bd8498d9898f2ef2b003ddb25a1a378f5268</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild: fix race when stripping</title>
<updated>2018-05-31T14:37:31+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2018-05-31T14:37:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=c0a862930c1bd033be30f2c48e91a6f7e76a5a58'/>
<id>c0a862930c1bd033be30f2c48e91a6f7e76a5a58</id>
<content type='text'>
scanelf may pick up tempfiles created by strip or setfattr since it runs
in spearate process and pipes the out to a subshell. This causes a race
and may lead to the while loop attempt to strip seomthing that no longer
exists.

We fix that by test if file exists before try manipulate it. We could
have written he file list to a temp file first, but this way we benefit
from multiple cores working in parallel.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
scanelf may pick up tempfiles created by strip or setfattr since it runs
in spearate process and pipes the out to a subshell. This causes a race
and may lead to the while loop attempt to strip seomthing that no longer
exists.

We fix that by test if file exists before try manipulate it. We could
have written he file list to a temp file first, but this way we benefit
from multiple cores working in parallel.
</pre>
</div>
</content>
</entry>
<entry>
<title>newapkbuild: move checksum call to after fetch</title>
<updated>2018-05-24T15:58:55+00:00</updated>
<author>
<name>A. Wilcox</name>
<email>AWilcox@Wilcox-Tech.com</email>
</author>
<published>2018-05-23T02:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=75b8cacaf0468470c502314560a436b80b7fe9af'/>
<id>75b8cacaf0468470c502314560a436b80b7fe9af</id>
<content type='text'>
unpack will no longer unpack without a checksum, even with -f.  This
means that newapkbuild will not be able to deduce what kind of build
system is contained within, so the templates for CMake, Perl, etc are
never used.

This patch ensures checksumming is done right after fetch, so that
unpack works properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
unpack will no longer unpack without a checksum, even with -f.  This
means that newapkbuild will not be able to deduce what kind of build
system is contained within, so the templates for CMake, Perl, etc are
never used.

This patch ensures checksumming is done right after fetch, so that
unpack works properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>newapkbuild: fix typo</title>
<updated>2018-05-24T15:58:55+00:00</updated>
<author>
<name>A. Wilcox</name>
<email>AWilcox@Wilcox-Tech.com</email>
</author>
<published>2018-05-23T02:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=db5ca2996a607137fe97724fbbd1ec1c677e6ed6'/>
<id>db5ca2996a607137fe97724fbbd1ec1c677e6ed6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>newapkbuild: create check() function</title>
<updated>2018-05-07T20:33:12+00:00</updated>
<author>
<name>Jakub Jirutka</name>
<email>jakub@jirutka.cz</email>
</author>
<published>2018-05-07T20:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=6c2fc64d74a1369a856eb3dbb324f1f263d58255'/>
<id>6c2fc64d74a1369a856eb3dbb324f1f263d58255</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>newapkbuild: change python to python3</title>
<updated>2018-05-07T20:22:26+00:00</updated>
<author>
<name>Jakub Jirutka</name>
<email>jakub@jirutka.cz</email>
</author>
<published>2018-05-07T20:22:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=1264917824163aa4c25d3b4482619a79eba41d54'/>
<id>1264917824163aa4c25d3b4482619a79eba41d54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild: Fix usage info about package command</title>
<updated>2018-04-24T22:10:15+00:00</updated>
<author>
<name>Jonathan Sieber</name>
<email>mail@strfry.org</email>
</author>
<published>2018-04-02T06:39:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=20f5ea679be4d0b4463160edd3a678853c968f88'/>
<id>20f5ea679be4d0b4463160edd3a678853c968f88</id>
<content type='text'>
abuild package misleadingly stated that it will create packages in
$REPODIR (suggesting that it actually creates apks).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
abuild package misleadingly stated that it will create packages in
$REPODIR (suggesting that it actually creates apks).
</pre>
</div>
</content>
</entry>
<entry>
<title>abuild.in: don't fail if git describe fails</title>
<updated>2018-04-22T14:21:21+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2018-04-22T14:17:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/abuild/commit/?id=720a2c185e792b289ce52a56aa15857faa8fa35a'/>
<id>720a2c185e792b289ce52a56aa15857faa8fa35a</id>
<content type='text'>
`git describe` by default looks for tags, but `git clone` does not clone
tags by default which causes failures on travis currently.

Also redirect `git describe` errors to /dev/null while being here.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`git describe` by default looks for tags, but `git clone` does not clone
tags by default which causes failures on travis currently.

Also redirect `git describe` errors to /dev/null while being here.
</pre>
</div>
</content>
</entry>
</feed>
