[arch-commits] Commit in drbd-utils/trunk (PKGBUILD)
Sébastien Luttringer
seblu at archlinux.org
Sat Jan 14 17:14:51 UTC 2017
Date: Saturday, January 14, 2017 @ 17:14:50
Author: seblu
Revision: 207355
upgpkg: drbd-utils 8.9.10-1
Modified:
drbd-utils/trunk/PKGBUILD
----------+
PKGBUILD | 23 ++++++++---------------
1 file changed, 8 insertions(+), 15 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-14 17:09:05 UTC (rev 207354)
+++ PKGBUILD 2017-01-14 17:14:50 UTC (rev 207355)
@@ -2,25 +2,20 @@
# Maintainer: Sébastien Luttringer
pkgname=drbd-utils
-pkgver=8.9.9
+pkgver=8.9.10
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc='Userland tools for Distributed Replicated Block Device'
-url='http://www.drbd.org'
+url='https://www.drbd.org'
license=('GPL2')
depends=('perl' 'bash')
makedepends=('libxslt' 'systemd')
conflicts=('drbd')
replaces=('drbd')
-source=("http://www.drbd.org/download/drbd/utils/drbd-utils-$pkgver.tar.gz")
+source=("https://www.drbd.org/download/drbd/utils/drbd-utils-$pkgver.tar.gz")
backup=('etc/drbd.conf' 'etc/drbd.d/global_common.conf')
-md5sums=('db24f778a14245b0edc867b3abc7eea5')
+md5sums=('186a59a714084026c074ce7d8f2a9d11')
-#prepare() {
-# # fix hardcoded path in udev rules
-# sed -i 's,/sbin/drbdadm,/usr/bin/drbdadm,' $pkgname-$pkgver/scripts/drbd.rules
-#}
-
build() {
cd $pkgname-$pkgver
./configure \
@@ -31,11 +26,12 @@
--libdir=/usr/lib \
--with-distro=generic \
--with-bashcompletion \
+ --with-initscripttype=systemd \
--with-udev \
--without-rgmanager \
--without-pacemaker \
--without-heartbeat \
- --with-initscripttype=systemd \
+ --without-83support \
--without-xen
make
}
@@ -43,8 +39,9 @@
package() {
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
+ cd "$pkgdir"
+
# move /lib files under /usr/lib
- cd "$pkgdir"
mv lib/drbd/* usr/lib/drbd
rmdir lib/drbd lib
@@ -58,10 +55,6 @@
# autoload module
install -Dm 644 /dev/null usr/lib/modules-load.d/drbd.conf
echo 'drbd' > usr/lib/modules-load.d/drbd.conf
-
- # fix rights on systemd files
- chmod 644 usr/lib/systemd/system/*
-
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list