aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf
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
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')
-rw-r--r--main/alpine-conf/APKBUILD16
-rw-r--r--main/alpine-conf/setup-acf.patch21
2 files changed, 34 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"
diff --git a/main/alpine-conf/setup-acf.patch b/main/alpine-conf/setup-acf.patch
new file mode 100644
index 0000000000..d317adb383
--- /dev/null
+++ b/main/alpine-conf/setup-acf.patch
@@ -0,0 +1,21 @@
+commit cd1dc75d09e5ac8f5e55100e5b9099c85a91db7f
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Tue Jul 20 09:02:05 2010 +0000
+
+ setup-acf: install openssl
+
+ so we can generate the certificate
+
+diff --git a/setup-acf.in b/setup-acf.in
+index 5144a21..4f2afec 100644
+--- a/setup-acf.in
++++ b/setup-acf.in
+@@ -11,7 +11,7 @@ usage() {
+ exit 0;
+ }
+
+-pkgs="acf-core acf-alpine-baselayout acf-apk-tools"
++pkgs="acf-core acf-alpine-baselayout acf-apk-tools openssl"
+
+ while getopts "ae:hl:n" opt ; do
+ case $opt in