Age | Commit message (Collapse) | Author | Files | Lines |
|
That should be /usr/lib/pkgconfig. There are already some packages
being fixed in packages.git that suffer from this issue.
|
|
This adds splitpkg support for the dinit and systemd service managers.
|
|
This allows test suites that require X11 and/or D-Bus to run.
|
|
This prevents mangling of, i.e., system/coreutils.
Closes: #9
|
|
$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
|
|
Closes: #1
|
|
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
|
|
abuild: Set default distfiles mirror for Adélie
Closes #4
See merge request adelie/abuild!7
|
|
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
|
|
This adds the running nodename, arch, and target arch to the build log.
Closes: #6
|
|
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.
|
|
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>
|
|
|
|
|
|
|
|
|
|
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.
|
|
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>
|
|
|
|
|
|
|
|
abuild, abuild-keygen: drop echo -n as well
See merge request adelie/abuild!4
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
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.
|
|
|
|
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'.
|
|
|
|
So we make sure chdir $builddir happens when it should.
|
|
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.
|
|
instead of printing abuild version, print package version. This is to
avoid confuse the abuild version with the package version.
|
|
chdir to $builddir before running prepare, build, package or check.
|