summaryrefslogtreecommitdiff
path: root/abuild.in
AgeCommit message (Collapse)AuthorFilesLines
2024-08-27abuild: Error out on /lib/pkgconfig existenceawilfox/yell-about-pkgconfigA. Wilcox1-0/+6
That should be /usr/lib/pkgconfig. There are already some packages being fixed in packages.git that suffer from this issue.
2024-08-22abuild: Add default splitpkgs for service managersA. Wilcox1-1/+55
This adds splitpkg support for the dinit and systemd service managers.
2024-06-06abuild: Add checkx11 optionA. Wilcox1-0/+12
This allows test suites that require X11 and/or D-Bus to run.
2024-06-06abuild: Ensure single set of cksums before updateA. Wilcox1-0/+2
This prevents mangling of, i.e., system/coreutils. Closes: #9
2024-06-06abuild: 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
2024-06-06abuild: Pass --latest to `apk add`A. Wilcox1-2/+2
Closes: #1
2024-06-06Utilities: Use grep -E instead of egrepA. Wilcox1-2/+2
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
2024-06-06Merge 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
2024-06-06abuild: 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
2024-06-06abuild: Print arch and hostname infoA. Wilcox1-1/+1
This adds the running nodename, arch, and target arch to the build log. Closes: #6
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-07-05abuild: add ABUILD_TMP for easier out-of-tree buildsMax Rees1-2/+8
2020-03-07abuild: use $ABUILD_FETCH for abuild-fetchMax Rees1-1/+2
2020-03-07Use $ABUILD_GIT for git from abuild.conf / environmentMax Rees1-11/+10
2020-03-07abuild, buildlab, checkapk: use $APK for apkMax Rees1-1/+1
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-31Merge branch 'bashisms' into 'master'A. Wilcox1-2/+2
abuild, abuild-keygen: drop echo -n as well See merge request adelie/abuild!4
2020-01-14abuild: Use bash for bangA. Wilcox1-1/+1
2019-08-02abuild, abuild-keygen: drop echo -n as wellMax Rees1-2/+2
2019-07-21dash is my god now. and it hungers for quotes around local var= expansions.Max Rees1-55/+55
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-20abuild, abump: use type(1) portablyMax Rees1-6/+10
2019-07-20abuild: use case instead of grep for normalize_target_pathMax Rees1-1/+3
2019-07-20Initial removal of bashismsMax Rees1-13/+20
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-06abuild: continue faking POSIX support for nowA. Wilcox1-2/+2
2019-03-06abuild: OpenRC scripts are noarchA. Wilcox1-1/+1
2019-03-06abuild: force pax format to error out *early* with bb tarA. Wilcox1-2/+2
2019-03-06abuild: require tests alwaysA. Wilcox1-3/+1
2019-03-06abuild: do not add busybox dep if package has triggersA. Wilcox1-1/+1
2019-03-06abuild: more tar portability fixesA. Wilcox1-6/+2
2019-03-05abuild: replace command -v with which to fix build issuesMike Sullivan1-1/+1
2019-02-22abuild: add support for pkg-config prefix pcprefixNatanael Copa1-2/+12
Fix issue when two -dev packages provides same pkg-config wil but with different versions. For example libressl-dev and openssl-dev both ships libssl.pc and libcrypto.pc, which resulted in automatic provides of pc:libssl and pc:libcrypto. apk would end up picking libressl-dev over openssl-dev for packages that had automatic pc:libssl depends (for example libssl2-dev), when openssl-dev was the one that was used during build. To fix this we add support for a pcprefix so we can set pcprefix="libressl:" in libressl APKBUILD which makes libressl-dev provide pc:libressl:libssl. This is similar to what we do with sonameprefix. We do not yet automatically detect when the prefixed variant should be used so for now we will have to explicitly add libressl-dev. ref #9959
2019-01-10abuild: replace $0 with $abuild_path, add $forceroot where missingDisassembler1-6/+6
2019-01-10abuild: use pigz to compress control.tar.gz and manpagesNatanael Copa1-2/+3
2019-01-09abuild: avoid add depends to itselfNatanael Copa1-1/+3
packages should never depend on themselves which does not make sense. This may happen if main package depends on a subpackage, then the subpackages will inherit the global depends and the subpackage ends up depend on itself. Fix abuild to avoid this.
2018-12-02abuild: fix typoCarlo Landmeter1-1/+1
2018-11-08abuild.in: add multithreaded compressionTiago Ilieve1-1/+2
The 'Compressing data' step takes a significant amount of time when packaging software with huge binaries, like Kubernetes. This can certainly be shortened using multithreaded compression, like 'pigz'.
2018-11-08abuild: print build start, end date and elapsed timeTimo Teräs1-1/+5
2018-10-03abuild: run build actions via runpartNatanael Copa1-11/+5
So we make sure chdir $builddir happens when it should.
2018-10-03abuild: do not run check in fakeroot by defaultNatanael Copa1-6/+6
Only run check in fakeroot if options="checkroot" is set. This makes options="!checkroot" the default. I expect most checks work as non-root, and if a testsuite requires root, it will likely fail in fakeroot too. Fakeroot has also shown lower performance for parallel builds.
2018-10-03abuild: print version of built package earlyNatanael Copa1-1/+1
instead of printing abuild version, print package version. This is to avoid confuse the abuild version with the package version.
2018-10-03abuild: chdir to $builddir if it existsNatanael Copa1-0/+6
chdir to $builddir before running prepare, build, package or check.