summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-06-13apkbuild-cpan: replace deprecated shell `backticks` with $(...)Jakub Jirutka1-4/+4
2016-06-13apkbuild-cpan: rename _builddir to builddirJakub Jirutka1-10/+9
2016-06-13abuild: fix apk_up2date checkNatanael Copa1-1/+1
fix check that all subpackages exists, not only main package
2016-06-13sample.initd: modernizeJakub Jirutka1-20/+7
2016-06-13sample.APKBUILD: rename _builddir to builddirJakub Jirutka1-8/+6
2016-05-20abuild-fetch: fix -Wformat-security warningsNatanael Copa1-3/+3
2016-05-20abuild-tar: improve portabilityNatanael Copa1-0/+4
splice is a linux thing.
2016-05-16==== release 2.27.1 ====v2.27.1Natanael Copa1-1/+1
2016-05-16abuild-fetch: retry to create lock on ESTALENatanael Copa1-2/+10
2016-04-14abuild-sudo: error check getlogin()Natanael Copa1-1/+2
2016-04-14abuild-sudo: make error msg "Not a member of group abuild" more clearJakub Jirutka1-2/+4
Few days ago some user on IRC pointed out that the current error message: abuild-apk: Not a member of group abuild is confusing. He was trying to build a package using abuild -r and didn't know what this message means. fixes #5408
2016-04-05abuild: don't cd to $builddir unless patches existsNatanael Copa1-0/+13
some packages don't have patches. We should not error if builddir is not set in this case.
2016-03-23==== release 2.27.0 ====v2.27.0Natanael Copa1-1/+1
2016-03-23newapkbuild: rename _builddir to builddirNatanael Copa1-6/+6
the _builddir should never been used bu abuild due to the _ prefix.
2016-03-23abuild: rename _builddir to builddirNatanael Copa1-1/+2
the _ prefix is reserved for APKBUILD. This is to avoid use variable names in APKBUILD that may clash with abuilds internal vars
2016-03-17abuild: set umaskKaarle Ritvanen1-0/+2
consistent result regardless of current setting
2016-03-14abuild: allow passing custom flags to patch(1) in prepareSören Tempel1-1/+1
To do so you need to set the patch_args variable to your desired command line flags.
2016-03-10abuild-fetch: use _exit after execvpNatanael Copa1-1/+1
2016-02-22==== release 2.26.0 ====v2.26.0Natanael Copa1-1/+1
2016-02-22abuild: fix getfattr matchTimo Teräs1-1/+1
it's a regular expression, not shell pattern. empty match will match everything (default is ^user\\.)
2016-02-22abuild: use gnu find supported way to find suid binariesTimo Teräs1-1/+1
2016-02-22newapkbuild: remove default prepare()Michael Zuo1-15/+0
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.
2016-02-22abuild: use standard-issue prepare by defaultMichael Zuo1-1/+14
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().
2016-02-11abuild: Respect $reporev variable when fetching git repositoriesSören Tempel1-1/+2
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.
2016-02-11abuild: Fix indention of the snapshot() functionMichael Zuo1-44/+44
The snapshot function was indented with spaces while the rest of the code is indented with tabs.
2016-02-03abuild: minor speed improvement in symlink compressionNatanael Copa1-2/+2
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.
2016-02-03abuild: fix finding already compressed manpagesNatanael Copa1-2/+3
2016-02-03abuild: avoid compress man pages doubleNatanael Copa1-0/+2
we should not compress man pages that are already compressed.
2016-02-03abuild: update symlinks before updating hardlinksSören Tempel1-7/+7
This should be a minimal performance improvement since hardlinks are replaced with symlinks and should thus already point to the correct file.
2016-02-03abuild: rewrite hardlink handling when compressing man pagesSören Tempel1-18/+22
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.
2016-02-03abuild: there is no man page section 9Sören Tempel1-3/+3
2016-02-03abuild: use id instead of whoamiSören Tempel1-1/+1
Furthermore compare the UID instead of the username.
2016-01-27- fix Makefile CFLAGS for abuild-tar.o - make ssl flags overridable (e.g. if ↵Laurent Bercot1-4/+5
we don't have pkg-config)
2016-01-27abuild: avoid dupes in provides so:*Natanael Copa1-1/+2
similar as commit b3174ba76 ("abuild: make sure we don't add dupes of provides", Fri Jun 5 12:56:44 2015 +0000)
2016-01-02apkbuild-gem-resolver: support community repoKaarle Ritvanen1-6/+9
2016-01-02apkbuild-gem-resolver: support ruby 2.2.4Kaarle Ritvanen1-1/+9
2015-12-12apkbuild-gem-resolver: support ruby 2.2.3Kaarle Ritvanen1-0/+8
2015-11-30add abuild-fetch to the .gitignore fileSören Tempel1-0/+1
2015-11-30abuild: exclude non-dangling symlinks from dependency resolutionKaarle Ritvanen1-10/+13
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.
2015-11-30newapkbuild: dont set CXX/C COMPILERNatanael Copa1-3/+1
cmake is normally able to figure it out and setting them may break ccache.
2015-11-30newapkbuild: do not add --infodirNatanael Copa1-1/+0
normally not used
2015-11-12abuild: fix conflict checkingTimo Teräs1-4/+10
2015-11-12add armv7 build targetTimo Teräs1-1/+2
2015-10-29abuild: do not install itself as a makedependNatanael Copa1-7/+4
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.
2015-10-28release 2.25.0_rc1v2.25.0_rc1Natanael Copa1-1/+1
2015-10-28abuild: avoid division by zero when input is zero for calculating human size ↵Christian Kampka1-2/+1
for packages This occurs when building meta packages that do not have any package content.
2015-10-12abuild: fix check_depends_devNatanael Copa1-8/+9
2015-10-08abuild-fetch: add missing headerAndrew Wilcox1-0/+1
2015-10-06abuild-tar: add missing includesTimo Teräs1-0/+2
2015-10-06abuild-tar: Initialise memory before useAndrew Wilcox1-0/+2