Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
it's a regular expression, not shell pattern. empty match will
match everything (default is ^user\\.)
|
|
|
|
Do not add prepare() to new APKBUILDs in the future, as this
functionality is superseded by the addition of the default prepare
patcher in abuild.
|
|
A majority of APKBUILDs currently use exactly the prepare() provided by
newapkbuild verbatim, even for packages where no patches exist, which
has created the expectation that patches listed as sources are applied
by default.
This rev simply adds that default prepare() to abuild (and exposes it as
default_prepare), with no configurability. If needed, default behaviour
can be overridden by providing explicitly prepare().
|
|
For git repositories the $reporev variable is not really used since the
$_rev variable is passed to git and $_rev was only set when $reporev was
empty.
|
|
The snapshot function was indented with spaces while the rest of the
code is indented with tabs.
|
|
instead of forking stat once force every file with one file argument,
we fork it once with all the files as arg. This reduces number of forks.
|
|
|
|
we should not compress man pages that are already compressed.
|
|
This should be a minimal performance improvement since hardlinks are
replaced with symlinks and should thus already point to the correct
file.
|
|
The problem is that gzip refuses to run if it detects that a file has
more than 1 link. Our existing solution (removing hardlinks, compressing
the man page and recreating the hardlinks) made certain assumptions
about inode order that are only given on Unix v7 like filesystems
meaning it didn't work properly on 'tree-based' filesystems like BTRFS
or ZFS.
This patch has a different more bulletproof approach: It simply replaces
all hardlinks with symlinks. This is way easier because symlinks (unlike
hardlinks) can point to a file that doesn't exist, therefore we can
update all links before compressing the file in an easy way.
|
|
|
|
Furthermore compare the UID instead of the username.
|
|
we don't have pkg-config)
|
|
similar as commit b3174ba76 ("abuild: make sure we don't add dupes of
provides", Fri Jun 5 12:56:44 2015 +0000)
|
|
|
|
|
|
|
|
|
|
This commit also fixes incorrect behavior in case where an absolute
symlink points to a file installed on the build host but which is
missing from the package.
|
|
cmake is normally able to figure it out and setting them may break
ccache.
|
|
normally not used
|
|
|
|
|
|
we might need add $pkgname as a dependency for $pkgname-dev and then we
should not install ourselves in case makedepends="$depends_dev"
This is needed foor bootstraping.
|
|
|
|
for packages
This occurs when building meta packages that do not have any package content.
|
|
|
|
|
|
|
|
|
|
|
|
depends_dev are dependencies of the of the developement subpackage
it does not need to be set when there is no developement subpackage
|
|
seems the maintainer variable is not set anymore when building .PKGINFO
|
|
abuild will error when the maintainer is set but is not a RFC822 address
|
|
|
|
|
|
flock(2) on an NFS mount will on the server side convert the lock to a
POSIX lock (fcntl(F_SETLK)). This means that abuild running on NFS
server and client will create different locks and they will both try
download same file at same time.
We fix this by creating a small abuild-fetch application that will
create a POSIX lock which works with NFS.
|
|
|
|
fix handling of hardlinks and symlinks.
also compress n man pages and localized man pages
|
|
This is a feature to prefix all so:* provides with a tag. This was done
so that the openjdk8 so depends would only be satisfied by openjdk8
provides and not openjdk7, which might provide same so:lib*.so file.
To use it do: sonameprefix="openjdk8:"
|
|
|
|
|
|
Output a warning if those directories exist on a non-doc package.
Furthermore, check if uncompressed man pages where installed to
/usr/share/man.
|
|
Force dependency scanning when main pkg has noarch but subpackage
overrides it. We need to save the arch setting set in split func for
later if it differs from main pkg's arch in a temp file because the
splitfunc runs in a subprocess.
fixes #4491
|
|
This lets users 'apk add docs' to always pull in -doc packages.
|
|
|
|
overlapping variable names
|