diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-24 06:13:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-06-24 07:12:35 +0000 |
commit | 63820d0da622cfe314620a53d2fbc3d76a127a94 (patch) | |
tree | 3097a3a68bde4ffaaf7ceda3df48f1c1878d6c41 /testing | |
parent | b62134eb5ddc6ae780dc5ad1bc2e6b3743699233 (diff) | |
download | aports-63820d0da622cfe314620a53d2fbc3d76a127a94.tar.bz2 aports-63820d0da622cfe314620a53d2fbc3d76a127a94.tar.xz |
testing/drbd: upgrade to 8.4.2
Diffstat (limited to 'testing')
-rw-r--r-- | testing/drbd/APKBUILD | 12 | ||||
-rw-r--r-- | testing/drbd/drbd.initd | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/testing/drbd/APKBUILD b/testing/drbd/APKBUILD index 2e735a4b9a..348d906ece 100644 --- a/testing/drbd/APKBUILD +++ b/testing/drbd/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=drbd -pkgver=8.3.12 +pkgver=8.4.2 pkgbase=${pkgver%.*} pkgrel=0 pkgdesc="Network-based RAID 1" @@ -55,5 +55,9 @@ pacemaker() { mv "$pkgdir"/usr/lib/ocf "$subpkgdir"/usr/lib } -md5sums="1a555c11d89cc90a8fab5dc76b749036 drbd-8.3.12.tar.gz -f1c9e2fa7afd249284b7615f5d2c8254 drbd.initd" +md5sums="b081f1046adda1d51ba351c40a8b1107 drbd-8.4.2.tar.gz +0b589553e3f3ea54c7f1696582bb49d3 drbd.initd" +sha256sums="f3d86bb5645c067bc61e9461a5d570a184912daedfe6f88623bbd920f8b5b5fa drbd-8.4.2.tar.gz +548b14d6b15c39779f2723e6caf61ee8fce5c18767fb7c940de733c760393ce2 drbd.initd" +sha512sums="c32371e1fb89b479bf5136ee1c00d8e07dd15769654977dfcde71fcc24264c1dae2feda82e8f61b4caf57b9ac88e2861ee7270aa8c867f6245b52d65c45ada46 drbd-8.4.2.tar.gz +9497004b73db57ecb569ced7712937434ef180707fc7c3e822ac5e5dc17fa30f1cef4ce37b2c7439bedb779f9c27c96c0bce6bb61f8ddb3d1045ed3e6e5c38fa drbd.initd" diff --git a/testing/drbd/drbd.initd b/testing/drbd/drbd.initd index 48f9e19fee..d5ce7d8e32 100644 --- a/testing/drbd/drbd.initd +++ b/testing/drbd/drbd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.7 2011/12/04 13:07:20 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.8 2013/01/17 19:09:04 robbat2 Exp $ extra_started_commands="reload" @@ -117,12 +117,12 @@ stop() { if ! grep -q '^/dev/drbd' /proc/mounts &>/dev/null; then if [ -e ${PROC_DRBD} ]; then ${DRBDADM} down all + ret=$? sleep 3 - if grep -q '^drbd' /proc/modules ; then - ${RMMOD} drbd - fi + if [ -e /proc/modules ] && grep -q '^drbd' /proc/modules ; then + ${RMMOD} drbd + fi fi - ret=$? eend $ret return $ret else |