summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
11 daysabuild: Add checkx11 optionHEADmasterA. Wilcox2-0/+18
This allows test suites that require X11 and/or D-Bus to run.
11 daysabuild-fetch: Add retry options to cURL invocationA. Wilcox1-2/+5
This implements a significant number of quality-of-life improvements for automated package building, including: * Connection timeout of 10 seconds, for mirrors that are unresponsive. * Two retries, to try a different mirror on round-robin for i.e. KDE. Closes: #5
11 daysabuild: Ensure single set of cksums before updateA. Wilcox1-0/+2
This prevents mangling of, i.e., system/coreutils. Closes: #9
11 daysabuild: Use $pkgarch instead of $arch for dbg testA. Wilcox1-5/+6
$arch may be set to a list, for example, "noarch !armv7". $pkgarch is always the "effective" arch for a package, which will evaluate to "noarch" if the package is a noarch package. Closes: #13
12 daysabuild: Pass --latest to `apk add`A. Wilcox1-2/+2
Closes: #1
12 daysabuild-fetch: Use User-Agent properlyA. Wilcox1-1/+14
* Use ABUILD_USER_AGENT environment variable, if present, to customise. * Default to abuild/VERSION, meeting HTTP spec and preventing us from being blocked as a bot by silly upstreams that don't like curl. Closes: #7
12 daysMakefile: Update base version, define in CA. Wilcox1-2/+2
Allows us to have access to the abuild version we are from the compiled C utilities. Also update the defined version to what we last released.
12 daysUtilities: Use grep -E instead of egrepA. Wilcox2-3/+3
egrep has been deprecated for a long time. This only appeared in packages with provider_priority or replaces_priority, which presently only affects user/netqmail and user/postfix. It's still good to fix. Closes: #12
12 daysMerge branch 'awilfox/feature-4' into 'master'Zach van Rijn1-0/+1
abuild: Set default distfiles mirror for Adélie Closes #4 See merge request adelie/abuild!7
12 daysMerge branch 'awilfox/feature-6' into 'master'Zach van Rijn1-1/+1
abuild: Print arch and hostname info Closes #6 See merge request adelie/abuild!6
12 daysabuild: Set default distfiles mirror for AdélieA. Wilcox1-0/+1
We can't set $DISTFILES_MIRROR in abuild.conf because each package has its own distfiles directory with $pkgname-$pkgver. For that reason, we set the default programmatically in abuild itself. Closes: #4
12 daysabuild: Print arch and hostname infoA. Wilcox1-1/+1
This adds the running nodename, arch, and target arch to the build log. Closes: #6
2022-06-12newapkbuild: force meson to use system dependenciesZach van Rijn1-0/+1
2022-02-20abuild: Fix package building with libarchive >=3.6A. Wilcox1-2/+5
Now that we have sparse file support, libarchive wants to use it. APK doesn't support sparse file entries in tar files, so it fails to install any package made in this manner.
2022-01-19abuild: Correctly package files that fit in inodeSamuel Holland1-1/+1
On filesystems such as XFS, abuild will skip small files and symlinks because the file fits in an inode and shows a size of 0. Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com> Acked-by: Zach van Rijn <me@zv.io>
2020-11-28Merge branch 'apkfoundry' into 'master'3.4.2A. Wilcox7-32/+46
Add interposition fixes for use with APK Foundry See merge request adelie/abuild!5
2020-07-05abuild: add ABUILD_TMP for easier out-of-tree buildsMax Rees1-2/+8
2020-06-01checkapk: use APK_FETCH for apkMax Rees1-3/+3
2020-03-07abuild: use $ABUILD_FETCH for abuild-fetchMax Rees1-1/+2
2020-03-07abump, apkgrel: ensure git is maybe installed firstMax Rees2-0/+2
2020-03-07Use $ABUILD_GIT for git from abuild.conf / environmentMax Rees5-20/+24
2020-03-07abuild, buildlab, checkapk: use $APK for apkMax Rees3-9/+10
2020-03-07abuild: change $srcdir and $pkgbasedir overridesMax Rees1-2/+2
Occasionally, a package will use the $srcdir environment variable for its own purposes and change its behavior during build if it is set. This is not normally a problem since $srcdir is not normally exported by abuild. However, if $srcdir is inherited from the environment in order to override its default value of $startdir/src, it will continue to be inherited and thus confuse those packages. Instead, check for $ABUILD_SRCDIR. Likewise for $pkgbasedir and $ABUILD_PKGBASEDIR for consistency sake.
2020-02-27abuild: Use $APK instead of apkA. Wilcox1-1/+1
This is the only appearance of `apk` in the source. Appears accidental. Fixes: 41343329 ("abuild: fix dependency tracing for cross builds") Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
2020-02-21abuild: Solve, once and for all, 'apk: not found'A. Wilcox1-1/+1
2020-02-06abuild: Add the 'dev' and 'symbols' metapackages3.4.1A. Wilcox1-0/+2
2020-02-06abuild: Verified safe for dashA. Wilcox1-1/+1
2020-01-31abuild-gzsplit: support libarchive pax format tar archives3.4Max Rees1-2/+9
2020-01-31newapkbuild: Ensure empty scripts are still validA. Wilcox1-3/+3
2020-01-31README: Update stuffA. Wilcox1-2/+17
2020-01-31Merge branch 'bashisms' into 'master'A. Wilcox2-3/+3
abuild, abuild-keygen: drop echo -n as well See merge request adelie/abuild!4
2020-01-31Merge branch 'fix-test-suite' into 'master'A. Wilcox1-4/+4
tests: fix newapkbuild tests See merge request adelie/abuild!2
2020-01-14newapkbuild: Newline after sourceA. Wilcox1-1/+1
2020-01-14newapkbuild: Drastically modernise output APKBUILD fileA. Wilcox1-13/+31
2020-01-14abuild: Use bash for bangA. Wilcox1-1/+1
2019-08-14tests: fix newapkbuild testsMax Rees1-4/+4
* Do not use the -n option for newapkbuild_simple_test: since commit a68354ebc50f60369ce465d0d59020cdf081bf22, this option is not allowed when providing PKGNAME[-PKGVER] (i.e. not SRCURL) as the final argument. * Use newapkbuild from the working tree, not whatever is in $PATH.
2019-08-02abuild, abuild-keygen: drop echo -n as wellMax Rees2-3/+3
2019-08-02Merge branch 'bashisms' into 'master'A. Wilcox9-86/+107
POSIX me harder See merge request adelie/abuild!3
2019-07-21dash is my god now. and it hungers for quotes around local var= expansions.Max Rees4-58/+58
2019-07-20normalize_target_path: It was ||, not &&...Max Rees1-1/+2
2019-07-20abuild: use command(1) portablyMax Rees1-2/+2
According to POSIX, the "command -v" form of command(1) accepts only a single argument (command_name). Some shells will check additional arguments, but not dash.
2019-07-20tests: cd "$OLDPWD" even on failure in newapkbuild_simple_testMax Rees1-0/+1
2019-07-20abuild, abump: use type(1) portablyMax Rees2-8/+17
2019-07-20abuild: use case instead of grep for normalize_target_pathMax Rees1-1/+3
2019-07-20Initial removal of bashismsMax Rees5-20/+28
2019-03-06Add documentation for the repositoryA. Wilcox3-0/+176
2019-03-06Take -k out into the backyard and shoot itv3.3.1+adelieLuis Ressel1-2/+2
2019-03-06abuild: command -v is the only portable solutionA. Wilcox1-1/+1
2019-03-06abuild: slightly cleaner way to deduce pigz presenceA. Wilcox1-1/+1
2019-03-06checkapk: Use tar(1) portablyA. Wilcox1-1/+1