aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-conf/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-13 17:14:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-14 11:57:01 +0000
commit43d7bb60e7f4c525b13bb2b5842ef65b73ece26c (patch)
tree48ca1f8d9bbcbe6aa884c9b6992d7cd6c88fd39b /main/alpine-conf/APKBUILD
parent5ffd9b46d64ad0c31abf77cba2e9a4e1dcd76067 (diff)
downloadaports-43d7bb60e7f4c525b13bb2b5842ef65b73ece26c.tar.bz2
aports-43d7bb60e7f4c525b13bb2b5842ef65b73ece26c.tar.xz
main/alpine-conf: setup-disk boot fix for mdadm-3.1.1
fixes #277
Diffstat (limited to 'main/alpine-conf/APKBUILD')
-rw-r--r--main/alpine-conf/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/main/alpine-conf/APKBUILD b/main/alpine-conf/APKBUILD
index 06e26daba3..26590feca1 100644
--- a/main/alpine-conf/APKBUILD
+++ b/main/alpine-conf/APKBUILD
@@ -1,14 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-conf
pkgver=2.1
-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
+ 0001-setup-disk-boot-fix-for-mdadm-3.1.1.patch"
license="GPL-2"
_builddir="$srcdir"/$pkgname-$pkgver
+prepare() {
+ cd "$_builddir"
+ patch -p1 -i "$srcdir"/0001-setup-disk-boot-fix-for-mdadm-3.1.1.patch
+}
+
build() {
cd "$_builddir"
make || return 1
@@ -21,4 +27,5 @@ package() {
ln -s lbu "$pkgdir"/sbin/lbu_$i
done
}
-md5sums="d9b13b849abbe5f2061aa8af0c4ac7ce alpine-conf-2.1.tar.bz2"
+md5sums="d9b13b849abbe5f2061aa8af0c4ac7ce alpine-conf-2.1.tar.bz2
+be3e55fd58e798ec3a235d7220b31811 0001-setup-disk-boot-fix-for-mdadm-3.1.1.patch"