summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2016-08-23indent heredocs when possibleJakub Jirutka7-135/+135
2016-08-20add .editorconfig and fix code formattingJakub Jirutka6-25/+40
2016-08-18abuild: don't overwrite existing files when using unzip in unpackSören Tempel1-1/+1
Default is asking for each file.
2016-08-12abuild: add update_config_guessCarlo Landmeter4-29/+1537
2016-08-11abuild: ash only always local in functions these daysSören Tempel1-1/+0
2016-08-09checkapk: fix to work with https repositoriesJakub Jirutka1-2/+2
2016-08-01abuild: fix dependency tracing for cross buildsTimo Teräs1-8/+15
2016-08-01abuild: unify dependency installation and removal codeTimo Teräs1-44/+43
this fixes cross deps such as "CHOST=armhf abuild deps" to work properly. if makedepends is not defined the following default will be used (as that's the definition cross-build aware apkbuilds use): makedepends="$makedepends_build $makedepends_host"
2016-08-01abuild: check both build and host dependencies firstTimo Teräs1-2/+5
So we don't waste time installing dependencies on builder if the host dependencies are not satisfiable.
2016-08-01abuild: display target arch in xterm title for cross buildTimo Teräs1-1/+1
2016-08-01functions: add s390x triplet and archTimo Teräs1-0/+2
2016-08-01abuild: use subpkgarch to construct the package paths everywhereTimo Teräs1-58/+81
2016-08-01abuild: remove PKGDEST and install_after featuresTimo Teräs2-106/+43
supporting these features with cross building is non-trivial and they do are generally not useful features, so remove them. as result the abuildrepo is also removed to write out paths. all package generation paths now use $REPODEST/$repo/$CARCH which allows easily writing packages to correct $subpkgarch in future commits.
2016-08-01abuild: use proper strip for each subpkg according to it's archTimo Teräs2-11/+13
2016-08-01abuild: support subpackages="pkg:split:arch" syntaxTimo Teräs1-39/+47
For proper cross-build support, the subpackage arch needs to be known before invoking the split function. This implements a way to do that. This also changes to write the actual subpkg arch to .PKGINFO - apk index --rewrite-arch still overwrites index to have machine arch for noarch packages.
2016-08-01abuild: improve cross compiling supportTimo Teräs2-0/+43
2016-07-28apkbuild-cpan: fixed error "Experimental keys on scalar is now forbidden" ↵Francesco Colista1-1/+1
due to perl upgrade to 5.24 version
2016-07-27checkapk: treat subpackages items as colon separated listsTimo Teräs1-1/+1
fixes to pick correct subpackage name when "pkg:split:arch" syntax is used.
2016-07-27==== release 2.28.0 ====v2.28.0Natanael Copa1-1/+1
2016-07-27abuild: don't set and reset xterm title when splitting subpkgTimo Teräs1-2/+2
it's annoying flickering, and results the title being unset for the time when last split is executed and packages are created.
2016-07-26abuild: treat subpackages items as colon separated listsTimo Teräs1-15/+19
This is in preparation to support subpackages="pkg:split:arch" syntax, and just makes the current code ignore anything after the second colon if it exists. This allows to use the new syntax in aports git without running experimental abuild on the official builders.
2016-07-23abuild: use apk --no-scripts for target sysrootTimo Teräs1-3/+3
we probably will not be able to run the scripts as it can be incompatible system type
2016-07-23default to host gcc's machine for CBUILDTimo Teräs2-9/+2
2016-07-20Fix src buildsPaul Lorenz1-1/+19
Fix filename_from_uri call Ensure remote sources are fetched Include remote sources in source package Include pre/post scripts Include trigger scripts
2016-07-08abuild: rename distfile copy when checksum does not matchTimo Teräs1-4/+7
The previous deletion of file did not work properly at all. Fix this instead to rename the file, so we keep the previous download. This allows builders to redownload upstream file if the checksum has been changed in aports.
2016-07-08add aarch64 architectureTimo Teräs1-0/+1
2016-07-07abuild: support arch="all !armhf"Timo Teräs1-1/+10
this allows blacklisting architectures instead of just whitelisting them. useful when more architectures comeabout.
2016-07-06abuild: perform unzip operations quietlySören Tempel1-1/+1
unzip(1) is verbose by default since we don't run tar(1) in verbose mode we should run unzip with -q for consistency.
2016-07-05abuild: fix cross compilation undeps()Timo Teräs1-1/+1
"apk del" now returns error if the package name does not exist. Thus when cross compiling, always install the virtual .makedepends-$pkgname name for chroot also since undeps() will try to uninstall it always.
2016-06-20newapkbuild: redirect find(1) stderr to /dev/nullSören Tempel1-1/+1
If $sdir is not defined find writes an error message to stderr. For example when running: newapkbuild -n foo -a foo You will see a find error message because no source url was provided. This commit silences any find error message. An alternative solution would be to not invoke find unless $sdir is set.
2016-06-14==== release 2.27.2 ====v2.27.2Natanael Copa1-1/+1