aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-20 09:05:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-20 09:05:09 +0000
commit580b429561e3371e429e75c0d5aaea187c907ce4 (patch)
tree59e39125c6672361658c5faeb7a3dff029de6996 /main/alpine-conf/APKBUILD
parentcbeb37ad9bde2f4f54c990a8f446db0517079c7f (diff)
downloadaports-580b429561e3371e429e75c0d5aaea187c907ce4.tar.bz2
aports-580b429561e3371e429e75c0d5aaea187c907ce4.tar.xz
main/alpine-conf: add fix for setup-acf
fixes #386
Diffstat (limited to 'main/alpine-conf/APKBUILD')
-rw-r--r--main/alpine-conf/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index 64333a38c4..bab4a16c64 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,16 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.4
-pkgrel=0
+pkgrel=1
pkgdesc="Alpine configuration management scripts"
url=http://git.alpinelinux.org/cgit/$pkgname
depends="openrc"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ setup-acf.patch"
license="GPL-2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
}
build() {
@@ -25,4 +34,5 @@ package() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
-md5sums="4c8db8948a21b0435f577d1e0f8d7c8e alpine-conf-2.4.tar.bz2"
+md5sums="4c8db8948a21b0435f577d1e0f8d7c8e alpine-conf-2.4.tar.bz2
+882e555ab6f319846930f933d7fe0dd0 setup-acf.patch"