Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
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.
|
|
for patches like:
patchname.patch::http://github/.../commit/<md5hash>.patch
use strict filename instead of the whole line
|
|
use only the strongest hash. this simplifies apkbuilds a bit.
|
|
|
|
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.
|
|
This is the initial patches that starts to add support for the ppc64le
platform.
|
|
required tool for re-signing packages
|
|
this is where it is built too
|
|
so we can crosscompile for different architectures
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default is asking for each file.
|
|
|
|
|
|
|
|
|
|
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"
|
|
So we don't waste time installing dependencies on builder if
the host dependencies are not satisfiable.
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
due to perl upgrade to 5.24 version
|
|
fixes to pick correct subpackage name when "pkg:split:arch" syntax
is used.
|
|
|
|
it's annoying flickering, and results the title being unset for
the time when last split is executed and packages are created.
|
|
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.
|
|
we probably will not be able to run the scripts as it can
be incompatible system type
|
|
|
|
Fix filename_from_uri call
Ensure remote sources are fetched
Include remote sources in source package
Include pre/post scripts
Include trigger scripts
|
|
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.
|
|
|
|
this allows blacklisting architectures instead of just
whitelisting them. useful when more architectures comeabout.
|
|
unzip(1) is verbose by default since we don't run tar(1) in verbose mode
we should run unzip with -q for consistency.
|
|
"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.
|
|
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.
|
|
|