aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drbd
diff options
context:
space:
mode:
author= <=>2011-11-03 15:37:08 +0000
committer= <=>2011-11-03 15:39:20 +0000
commit566fb6410127182c138070b977b6bd4d05585e38 (patch)
tree2b3e060279eb55895b228a9b9d7c04b9e5ad5eaa /testing/drbd
parent971471b59729b779308a561f7cadde794b367799 (diff)
downloadaports-566fb6410127182c138070b977b6bd4d05585e38.tar.bz2
aports-566fb6410127182c138070b977b6bd4d05585e38.tar.xz
testing/drbd: downgrade to 8.3.10 to match current kernel module. Split pacemaker support in subpkg
Diffstat (limited to 'testing/drbd')
-rw-r--r--testing/drbd/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/testing/drbd/APKBUILD b/testing/drbd/APKBUILD
index 4369f19678..37fdff819f 100644
--- a/testing/drbd/APKBUILD
+++ b/testing/drbd/APKBUILD
@@ -1,9 +1,9 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=drbd
-pkgver=8.4.0
-pkgbase=8.4
-pkgrel=2
+pkgver=8.3.10
+pkgbase=8.3
+pkgrel=0
pkgdesc="Network-based RAID 1"
url="http://www.drbd.org"
arch="all"
@@ -12,7 +12,7 @@ depends="bash"
depends_dev="bash bison flex"
makedepends="$depends_dev"
install=
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-pacemaker"
source="http://oss.linbit.com/$pkgname/$pkgbase/$pkgname-$pkgver.tar.gz
$pkgname.initd"
@@ -48,5 +48,12 @@ package() {
"$pkgdir/etc/init.d/$pkgname" || return 1
}
-md5sums="8519246dff4e2de14595d71abcd54db4 drbd-8.4.0.tar.gz
+pacemaker() {
+ arch="noarch"
+ depends="drbd"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/ocf "$subpkgdir"/usr/lib
+}
+
+md5sums="7d80edc2da10de5bfffe0ca9e9996fed drbd-8.3.10.tar.gz
f2e0173a6056ce4b9c2e3847b59899ba drbd.initd"