summaryrefslogtreecommitdiff
path: root/community/drbd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
committerroot <root@rshg054.dnsready.net>2013-03-23 00:06:21 -0700
commita42cd7aaabfdb3ecc0a538548e8dbcc7ca860b2d (patch)
treebbea919c4d1e7d8d747e636040d0cd510c279d68 /community/drbd
parent6b3123e5628817e3cef9c44989dffd21c49b0817 (diff)
Sat Mar 23 00:06:20 PDT 2013
Diffstat (limited to 'community/drbd')
-rw-r--r--community/drbd/PKGBUILD21
1 files changed, 11 insertions, 10 deletions
diff --git a/community/drbd/PKGBUILD b/community/drbd/PKGBUILD
index d34757355..fc79acfde 100644
--- a/community/drbd/PKGBUILD
+++ b/community/drbd/PKGBUILD
@@ -1,22 +1,24 @@
-# $Id: PKGBUILD 83703 2013-02-04 14:42:03Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
+# $Id: PKGBUILD 86842 2013-03-22 19:15:09Z seblu $
+# Maintainer: Sébastien Luttringer
pkgname=drbd
-pkgver=8.3.13
-pkgrel=2
+pkgver=8.4.2
+pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Userland tools for Distributed Replicated Block Device'
url='http://www.drbd.org'
license=('GPL2')
depends=('perl' 'bash')
-source=("http://oss.linbit.com/drbd/8.3/$pkgname-$pkgver.tar.gz"
+source=("http://oss.linbit.com/drbd/8.4/$pkgname-$pkgver.tar.gz"
"$pkgname.service")
backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf')
-md5sums=('760a25459ef6b7262a2a3572c1561c5b'
+md5sums=('b081f1046adda1d51ba351c40a8b1107'
'afbb345094db49b0a474c0b4e51c0acd')
build() {
cd $pkgname-$pkgver
+ # fix hardcoded path in udev rules
+ sed -i 's,/sbin/drbdadm,/usr/sbin/drbdadm,' scripts/drbd.rules
./configure \
--prefix=/usr \
--localstatedir=/var \
@@ -30,8 +32,7 @@ build() {
--without-pacemaker \
--without-heartbeat \
--without-xen \
- --with-initdir=/etc/rc.d
- #--with-legacy_utils \
+ --without-legacy_utils
make
}
@@ -42,8 +43,6 @@ package() {
cd "$pkgdir"
mv sbin/* usr/sbin
rmdir sbin
- # fix hardcoded path in udev rules
- sed -i 's,/sbin/drbdadm,/usr/sbin/drbdadm,' etc/udev/rules.d/65-drbd.rules
# move udev files
mv etc/udev usr/lib
# move bash completion
@@ -51,6 +50,8 @@ package() {
mv etc/bash_completion.d usr/share/bash-completion/completions
# remove /var/lock
rmdir var/lock
+ # remove embeded init stuff
+ rm -r etc/init.d
# autoload module
install -Dm 644 /dev/null usr/lib/modules-load.d/$pkgname.conf
echo 'drbd' > usr/lib/modules-load.d/$pkgname.conf