summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2016-06-13newapkbuild: remove trailing spacesJakub Jirutka1-2/+2
2016-06-13newapkbuild: add empty line after builddir= and quote whole valueJakub Jirutka1-3/+1
2016-06-13newapkbuild: omit depends_dev if no *.h or *.hpp file foundJakub Jirutka1-0/+6
2016-06-13newapkbuild: fix undefined variable $_builddirJakub Jirutka1-1/+1
2016-06-13apkbuild-pypi: fix misspelled _pkg_realJakub Jirutka1-1/+1
2016-06-13apkbuild-pypi: rename _builddir to builddirJakub Jirutka1-3/+3
2016-06-13apkbuild-cpan: invoke default_prepare in prepare() functionJakub Jirutka1-0/+6
2016-06-13apkbuild-cpan: replace deprecated shell `backticks` with $(...)Jakub Jirutka1-4/+4
2016-06-13apkbuild-cpan: rename _builddir to builddirJakub Jirutka1-10/+9
2016-06-13abuild: fix apk_up2date checkNatanael Copa1-1/+1
fix check that all subpackages exists, not only main package
2016-06-13sample.initd: modernizeJakub Jirutka1-20/+7
2016-06-13sample.APKBUILD: rename _builddir to builddirJakub Jirutka1-8/+6
2016-05-20abuild-fetch: fix -Wformat-security warningsNatanael Copa1-3/+3
2016-05-20abuild-tar: improve portabilityNatanael Copa1-0/+4
splice is a linux thing.
2016-05-16==== release 2.27.1 ====v2.27.1Natanael Copa1-1/+1
2016-05-16abuild-fetch: retry to create lock on ESTALENatanael Copa1-2/+10
2016-04-14abuild-sudo: error check getlogin()Natanael Copa1-1/+2
2016-04-14abuild-sudo: make error msg "Not a member of group abuild" more clearJakub Jirutka1-2/+4
Few days ago some user on IRC pointed out that the current error message: abuild-apk: Not a member of group abuild is confusing. He was trying to build a package using abuild -r and didn't know what this message means. fixes #5408
2016-04-05abuild: don't cd to $builddir unless patches existsNatanael Copa1-0/+13
some packages don't have patches. We should not error if builddir is not set in this case.
2016-03-23==== release 2.27.0 ====v2.27.0Natanael Copa1-1/+1
2016-03-23newapkbuild: rename _builddir to builddirNatanael Copa1-6/+6
the _builddir should never been used bu abuild due to the _ prefix.
2016-03-23abuild: rename _builddir to builddirNatanael Copa1-1/+2
the _ prefix is reserved for APKBUILD. This is to avoid use variable names in APKBUILD that may clash with abuilds internal vars
2016-03-17abuild: set umaskKaarle Ritvanen1-0/+2
consistent result regardless of current setting
2016-03-14abuild: allow passing custom flags to patch(1) in prepareSören Tempel1-1/+1
To do so you need to set the patch_args variable to your desired command line flags.