aboutsummaryrefslogtreecommitdiffstats
path: root/main/apk-tools/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-06 11:36:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-06 11:36:59 +0000
commitdd2128cffe618ac1e3ebf109da0df111a4988044 (patch)
tree25af2b51bf43d6c3cc21c155a84dda52c066b421 /main/apk-tools/APKBUILD
parent2251f300c3c86a3ef7256ed088ad4c4b1dd388e1 (diff)
downloadaports-dd2128cffe618ac1e3ebf109da0df111a4988044.tar.bz2
aports-dd2128cffe618ac1e3ebf109da0df111a4988044.tar.xz
main/apk-tools: fixes from upstream
Diffstat (limited to 'main/apk-tools/APKBUILD')
-rw-r--r--main/apk-tools/APKBUILD19
1 files changed, 16 insertions, 3 deletions
diff --git a/main/apk-tools/APKBUILD b/main/apk-tools/APKBUILD
index 215e7d04da..ccc505957b 100644
--- a/main/apk-tools/APKBUILD
+++ b/main/apk-tools/APKBUILD
@@ -1,13 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=apk-tools
pkgver=2.0_rc1
-pkgrel=1
+pkgrel=2
pkgdesc="Alpine Package Keeper - package manager for alpine"
subpackages="$pkgname-static"
depends=
makedepends="zlib-dev openssl-dev pkgconfig"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch
+ 0002-audit-fix-backup.patch
+ 0003-db-command-line-repositories-take-preference.patch
+ 0004-state-ignore-missing-world-dependencies-with-force-a.patch
+ 0005-audit-do-not-load-repositories.patch
+ 0006-db-make-missing-index-non-fatal.patch
"
@@ -17,7 +22,10 @@ license=GPL-2
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i -e 's:-Werror::' Make.rules
- patch -p1 -i ../0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch || return 1
+ for i in ../*.patch; do
+ msg "Applying $i"
+ patch -p1 -i $i || return 1
+ done
make || return 1
make static || return 1
@@ -38,4 +46,9 @@ static() {
}
md5sums="f790182792a41841e6932ae0b6737a43 apk-tools-2.0_rc1.tar.bz2
-87dd230bf89f429db06dcad96be235c0 0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch"
+c0be62f4ca4153241f82a29ee0e5ac7d 0001-info-fix-a-exists-to-work-if-the-name-is-non-existan.patch
+515b39f942d6ad6ee8f022869b5ed3ab 0002-audit-fix-backup.patch
+c59e35ef85ebeed98fa04dbf32fee6e6 0003-db-command-line-repositories-take-preference.patch
+3377a1bc507bb3f5218e2957d642c77c 0004-state-ignore-missing-world-dependencies-with-force-a.patch
+ab2d76d6308215407dfd9f2f67c05b67 0005-audit-do-not-load-repositories.patch
+5d2fcd1c6a7c5040fc189ffa7d12c1e5 0006-db-make-missing-index-non-fatal.patch"