| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Due to fakeroot being very permissive with regards to file permissions,
some package testsuites that explicitly check for failing permission checks
will fail.
For those testsuites, give the APKBUILD the option to run the tests outside
of a fakeroot environment.
|
|
|
|
|
|
|
|
|
|
|
| |
This patch allows to set a nice description for the APKINDEX, in case
the aport that is being built is not inside a git repository.
I have tested it, and it behaves exactly like without the patch,
even when git is not installed, or the folder is not inside a git repository:
The `|| true` at the end of the DESCRIPTION= line makes sure, aport
does not get aborted, just like it does not get aborted in that case
as of now, as the `git describe` command gets executed in a subshell.
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently abuild does not understand .tar.lz packages, which blocks
the inclusion of certain packages in Alpine Linux.
I found this issue when adding 'ed' package to the repository. With
this change, abuild package will now depend on lzip package. I might
send a patch for abuild's APKBUILD.
|
| |
|
| |
|
|
|
|
| |
the SAT solver
|
|
|
|
|
|
| |
make sure we don't delete files when -K is specified
fixes #7008
|
|
|
|
| |
check() or checkdepends
|
|
|
|
|
| |
we need to run the function for runpart in the same shell, otherwise we
will lose the global variables set in the split functions.
|
| |
|
|
|
|
|
| |
- versioned dependencies
- dependencies on 'provides' tags or library names
|
| |
|
|
|
|
|
|
| |
Just checking the build, host and target triplet is not enough
due to various different combinations used in the early bootstrap.
So use detect specifical bootstrap setting.
|
| |
|
| |
|
| |
|
|
|
|
| |
this fixes problem with abump
|
| |
|
| |
|
|
|
|
|
| |
Allowing bootstrap.sh to inject extra dependencies for build/host/target,
simplifies things greatly in the bootstrap script.
|
| |
|
| |
|
|
|
|
| |
we need to replace noarch with CARCH for now
|
|
|
|
| |
needed for upcoming 'rootbld' support
|
| |
|
|
|
|
|
| |
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 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.
|