aboutsummaryrefslogtreecommitdiffstats
path: root/testing/drbd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/drbd/APKBUILD')
-rw-r--r--testing/drbd/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/drbd/APKBUILD b/testing/drbd/APKBUILD
index fc74ab4dbc..4369f19678 100644
--- a/testing/drbd/APKBUILD
+++ b/testing/drbd/APKBUILD
@@ -3,7 +3,7 @@
pkgname=drbd
pkgver=8.4.0
pkgbase=8.4
-pkgrel=1
+pkgrel=2
pkgdesc="Network-based RAID 1"
url="http://www.drbd.org"
arch="all"
@@ -13,7 +13,8 @@ depends_dev="bash bison flex"
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
-source="http://oss.linbit.com/$pkgname/$pkgbase/$pkgname-$pkgver.tar.gz"
+source="http://oss.linbit.com/$pkgname/$pkgbase/$pkgname-$pkgver.tar.gz
+ $pkgname.initd"
_builddir="$srcdir"/$pkgname-$pkgver
@@ -30,8 +31,9 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
+ --with-pacemaker \
+ --without-udev \
--without-heartbeat \
- --without-pacemaker \
--without-rgmanager \
--without-xen \
--without-bashcompletion
@@ -42,6 +44,9 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install
+ install -m755 -D "$srcdir/$pkgname.initd" \
+ "$pkgdir/etc/init.d/$pkgname" || return 1
}
-md5sums="8519246dff4e2de14595d71abcd54db4 drbd-8.4.0.tar.gz"
+md5sums="8519246dff4e2de14595d71abcd54db4 drbd-8.4.0.tar.gz
+f2e0173a6056ce4b9c2e3847b59899ba drbd.initd"