summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-19newapkbuild: fix build_cmake template - escape parametersJakub Jirutka1-3/+2
2017-04-27Fix false `set -e` terminationAndrej1-0/+1
`readconfig()` would return the result of `[ -z "$CBUILDROOT" ]` condition (line 123) and trigger shell termination in abuild. This also fixes building packages with a different $CTARGET and therefore cross-compile tools.
2017-04-08abuild: Add support for lzip source packagesBreno Leitao1-0/+3
Currently abuild does not understand .tar.lz packages, which blocks the inclusion of certain packages in Alpine Linux. I found this issue when adding 'ed' package to the repository. With this change, abuild package will now depend on lzip package. I might send a patch for abuild's APKBUILD.
2017-04-05remove explicit `|| return 1` from all sample APKBUILDsSören Tempel2-18/+16
Those statement are no longer needed because abuild now runs with `set -e` by default. See also: 36d5193776180385a39626a83241822736a5f6b8
2017-04-04abuild: set -e fix for update_config_{sub,guess}Natanael Copa1-12/+4
2017-03-27abuild: wrap check() with fakerootWilliam Pitcock1-1/+8
2017-03-27abuild: use new PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH env variable to disable ↵William Pitcock1-1/+1
the SAT solver
2017-03-24==== release 3.0.0_rc2 ====v3.0.0_rc2Natanael Copa1-1/+1
2017-03-24abuild: fix -K optionNatanael Copa1-6/+7
make sure we don't delete files when -K is specified fixes #7008
2017-03-21abuild: if ABUILD_BOOTSTRAP environment variable is set, do not ever enable ↵William Pitcock1-0/+1
check() or checkdepends
2017-03-21abuild: fix runpartNatanael Copa1-18/+11
we need to run the function for runpart in the same shell, otherwise we will lose the global variables set in the split functions.
2017-03-20functions: fix abuild -ANatanael Copa1-1/+1
fix so abuild -A does not exit with error if gitbase fails this was introduced with the set -e
2017-03-20==== release 3.0.0_rc1 ====v3.0.0_rc1Natanael Copa1-1/+1
2017-03-07abuild: enable -e shell optionKaarle Ritvanen1-27/+42
2017-03-07abuild: fix dependency checkingKaarle Ritvanen1-25/+23
- versioned dependencies - dependencies on 'provides' tags or library names
2017-02-28abuild: expand on APKBUILD check() warning messageWilliam Pitcock1-1/+3
2017-02-24functions.sh: set host compiler when cross-compilingTimo Teräs1-0/+7
We chose to use kernel style HOST* instead of the gcc's *_FOR_HOST.
2017-02-24abuild: use BOOTSTRAP to determine if build-base is neededTimo Teräs1-9/+9
Just checking the build, host and target triplet is not enough due to various different combinations used in the early bootstrap. So use detect specifical bootstrap setting.
2017-02-24abuild: $depends should not part of $makedepends_buildTimo Teräs1-1/+1
2017-02-23abuild: fix setting build-base properly for cross-create/cross-buildTimo Teräs1-2/+10
2017-02-17abuild: use $builddir in default_prepare only if it existsTimo Teräs1-1/+2
2017-02-17abuild: unset md5 and sha256 sums when updating checksumNatanael Copa1-0/+2
this fixes problem with abump
2017-02-17abuild: remove g++ makedepends warning from toolchain packagesTimo Teräs1-1/+1
2017-02-16abuild: make build-base target specificTimo Teräs1-2/+4
2017-02-16abuild: allow injecting extra dependencies for bootstrapTimo Teräs1-3/+4
Allowing bootstrap.sh to inject extra dependencies for build/host/target, simplifies things greatly in the bootstrap script.
2017-02-14functions: fix cross-compile triplet for armhf architectureWilliam Pitcock1-1/+1
2017-02-09abuild: preserve xattrs when creating -dbgTimo Teräs1-2/+4
2017-02-08abuild: fix package size calculation on certain filesystemsG.J.R. Timmer1-0/+7
2017-02-01abuild: fix location of built apkNatanael Copa1-1/+1
we need to replace noarch with CARCH for now
2017-01-31abuild: add symlinksrc target for create the source file symlinksTimo Teräs1-0/+12
needed for upcoming 'rootbld' support
2017-01-31abuild: support local archivesTuomas Jaakola1-1/+6
2017-01-31apkbuild-cpan: fix warnings, improve recreate, add check supportTimo Teräs1-15/+47
2017-01-29sample apkbuild: document check() function usageWilliam Pitcock1-0/+7
2017-01-29abuild: implement check and $checkdepends support.William Pitcock1-4/+28
The check() function is an APKBUILD overridable function which runs a testsuite. The packages listed in $checkdepends are packages which will be installed at build time only if check() will be run.
2017-01-27abuild.in: fix dealing with named remote patches (closes github #11)Valery Kartel1-4/+4
for patches like: patchname.patch::http://github/.../commit/<md5hash>.patch use strict filename instead of the whole line
2017-01-26abuild: use only sha512sumTimo Teräs1-10/+0
use only the strongest hash. this simplifies apkbuilds a bit.
2017-01-24abuild: add missing triplet definitions for ppc and ppc64 architecturesWilliam Pitcock1-0/+4
2017-01-19abuild: check for ppc64le on config.guessBreno Leitao1-1/+1
Currently, if aarch64 exists in config.guess, it is not updated. This breaks spl, which has aarch64 entry, but not ppc64le. update_config_guess should update config.guess if any of those does not exists.
2017-01-17abuild: Add support for ppc64leBreno Leitao1-0/+2
This is the initial patches that starts to add support for the ppc64le platform.
2017-01-10abuild-gzsplit: new tool to split .apk to it's base componentsTimo Teräs2-2/+83
required tool for re-signing packages
2017-01-09abuild: remove noarch files from CARCH target directTimo Teräs1-1/+1
this is where it is built too
2016-12-21abuild: pass --arch to apk whenever sysroot is usedxentec1-5/+5
so we can crosscompile for different architectures
2016-12-04abuild: make default_prepare() always end up in "$builddir"Przemyslaw Pawelczyk1-1/+1
So far default_prepare() ended up in "$builddir" only if there were any patches. It's better to be more consistent and make such change always.
2016-11-23abuild-sign: indent heredocJakub Jirutka1-8/+8
2016-11-23abuild: change shebang to /bin/ashJakub Jirutka1-1/+1
This script uses variable expansion / pattern replacement, which is not defined in POSIX-sh. Also APKBUILDs are not required to be strictly POSIX-sh compatible. If someone run abuild on system with e.g. dash as /bin/sh, then it fails (and someone reported exactly that on IRC today). Therefore abuild should explicitly use /bin/ash in shebang and not /bin/sh.
2016-10-31abuild: properly detect failure of dependency installationTimo Teräs1-2/+4
2016-10-24==== release 2.29.0 ====v2.29.0Natanael Copa1-1/+1
2016-09-02abuild: set default builddir when not defined in APKBUILDJakub Jirutka1-2/+3
2016-08-23replace deprecated `...` syntax with $(...) in shell scriptsJakub Jirutka5-7/+7
2016-08-23buildlab: replace echos in usage with heredocJakub Jirutka1-27/+29