summaryrefslogtreecommitdiffstats
path: root/abuild.in
Commit message (Collapse)AuthorAgeFilesLines
...
* abuild: if ABUILD_BOOTSTRAP environment variable is set, do not ever enable ↵William Pitcock2017-03-211-0/+1
| | | | check() or checkdepends
* abuild: fix runpartNatanael Copa2017-03-211-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.
* abuild: enable -e shell optionKaarle Ritvanen2017-03-071-27/+42
|
* abuild: fix dependency checkingKaarle Ritvanen2017-03-071-25/+23
| | | | | - versioned dependencies - dependencies on 'provides' tags or library names
* abuild: expand on APKBUILD check() warning messageWilliam Pitcock2017-02-281-1/+3
|
* abuild: use BOOTSTRAP to determine if build-base is neededTimo Teräs2017-02-241-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.
* abuild: $depends should not part of $makedepends_buildTimo Teräs2017-02-241-1/+1
|
* abuild: fix setting build-base properly for cross-create/cross-buildTimo Teräs2017-02-231-2/+10
|
* abuild: use $builddir in default_prepare only if it existsTimo Teräs2017-02-171-1/+2
|
* abuild: unset md5 and sha256 sums when updating checksumNatanael Copa2017-02-171-0/+2
| | | | this fixes problem with abump
* abuild: remove g++ makedepends warning from toolchain packagesTimo Teräs2017-02-171-1/+1
|
* abuild: make build-base target specificTimo Teräs2017-02-161-2/+4
|
* abuild: allow injecting extra dependencies for bootstrapTimo Teräs2017-02-161-3/+4
| | | | | Allowing bootstrap.sh to inject extra dependencies for build/host/target, simplifies things greatly in the bootstrap script.
* abuild: preserve xattrs when creating -dbgTimo Teräs2017-02-091-2/+4
|
* abuild: fix package size calculation on certain filesystemsG.J.R. Timmer2017-02-081-0/+7
|
* abuild: fix location of built apkNatanael Copa2017-02-011-1/+1
| | | | we need to replace noarch with CARCH for now
* abuild: add symlinksrc target for create the source file symlinksTimo Teräs2017-01-311-0/+12
| | | | needed for upcoming 'rootbld' support
* abuild: support local archivesTuomas Jaakola2017-01-311-1/+6
|
* abuild: implement check and $checkdepends support.William Pitcock2017-01-291-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.
* abuild.in: fix dealing with named remote patches (closes github #11)Valery Kartel2017-01-271-4/+4
| | | | | | | for patches like: patchname.patch::http://github/.../commit/<md5hash>.patch use strict filename instead of the whole line
* abuild: use only sha512sumTimo Teräs2017-01-261-10/+0
| | | | use only the strongest hash. this simplifies apkbuilds a bit.
* abuild: check for ppc64le on config.guessBreno Leitao2017-01-191-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.
* abuild: remove noarch files from CARCH target directTimo Teräs2017-01-091-1/+1
| | | | this is where it is built too
* abuild: pass --arch to apk whenever sysroot is usedxentec2016-12-211-5/+5
| | | | so we can crosscompile for different architectures
* abuild: make default_prepare() always end up in "$builddir"Przemyslaw Pawelczyk2016-12-041-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.
* abuild: change shebang to /bin/ashJakub Jirutka2016-11-231-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.
* abuild: properly detect failure of dependency installationTimo Teräs2016-10-311-2/+4
|
* abuild: set default builddir when not defined in APKBUILDJakub Jirutka2016-09-021-2/+3
|
* indent heredocs when possibleJakub Jirutka2016-08-231-60/+60
|
* abuild: don't overwrite existing files when using unzip in unpackSören Tempel2016-08-181-1/+1
| | | | Default is asking for each file.
* abuild: add update_config_guessCarlo Landmeter2016-08-121-0/+17
|
* abuild: ash only always local in functions these daysSören Tempel2016-08-111-1/+0
|
* abuild: fix dependency tracing for cross buildsTimo Teräs2016-08-011-8/+15
|
* abuild: unify dependency installation and removal codeTimo Teräs2016-08-011-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"
* abuild: check both build and host dependencies firstTimo Teräs2016-08-011-2/+5
| | | | | So we don't waste time installing dependencies on builder if the host dependencies are not satisfiable.
* abuild: display target arch in xterm title for cross buildTimo Teräs2016-08-011-1/+1
|
* abuild: use subpkgarch to construct the package paths everywhereTimo Teräs2016-08-011-58/+81
|
* abuild: remove PKGDEST and install_after featuresTimo Teräs2016-08-011-104/+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.
* abuild: use proper strip for each subpkg according to it's archTimo Teräs2016-08-011-11/+12
|
* abuild: support subpackages="pkg:split:arch" syntaxTimo Teräs2016-08-011-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.
* abuild: improve cross compiling supportTimo Teräs2016-08-011-0/+4
|
* abuild: don't set and reset xterm title when splitting subpkgTimo Teräs2016-07-271-2/+2
| | | | | it's annoying flickering, and results the title being unset for the time when last split is executed and packages are created.
* abuild: treat subpackages items as colon separated listsTimo Teräs2016-07-261-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.
* abuild: use apk --no-scripts for target sysrootTimo Teräs2016-07-231-3/+3
| | | | | we probably will not be able to run the scripts as it can be incompatible system type
* Fix src buildsPaul Lorenz2016-07-201-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
* abuild: rename distfile copy when checksum does not matchTimo Teräs2016-07-081-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.
* abuild: support arch="all !armhf"Timo Teräs2016-07-071-1/+10
| | | | | this allows blacklisting architectures instead of just whitelisting them. useful when more architectures comeabout.
* abuild: perform unzip operations quietlySören Tempel2016-07-061-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.
* abuild: fix cross compilation undeps()Timo Teräs2016-07-051-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.
* abuild: fix apk_up2date checkNatanael Copa2016-06-131-1/+1
| | | | fix check that all subpackages exists, not only main package