summaryrefslogtreecommitdiff
path: root/system/drbd-utils
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-09-25 11:22:10 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-09-30 07:19:35 +0700
commit07efe8658c0f31705c451fef8907bde9cc85e8a9 (patch)
treece9e2b43b51fcc26a65209894ec52959ec9bea3d /system/drbd-utils
parent9df5f85c243aaaa259dd0e6345c5e166ecaf5a1f (diff)
downloadslackbuilds-07efe8658c0f31705c451fef8907bde9cc85e8a9.tar.gz
system/drbd-utils: Updated for version 9.1.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/drbd-utils')
-rw-r--r--system/drbd-utils/drbd-utils.SlackBuild2
-rw-r--r--system/drbd-utils/drbd-utils.info6
-rw-r--r--system/drbd-utils/patches/xen_handle_physical_device_paths.diff24
3 files changed, 16 insertions, 16 deletions
diff --git a/system/drbd-utils/drbd-utils.SlackBuild b/system/drbd-utils/drbd-utils.SlackBuild
index d40eae424a..00ad88b0a7 100644
--- a/system/drbd-utils/drbd-utils.SlackBuild
+++ b/system/drbd-utils/drbd-utils.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=drbd-utils
-VERSION=${VERSION:-9.0.0}
+VERSION=${VERSION:-9.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
diff --git a/system/drbd-utils/drbd-utils.info b/system/drbd-utils/drbd-utils.info
index d9a03b9e70..38311c958c 100644
--- a/system/drbd-utils/drbd-utils.info
+++ b/system/drbd-utils/drbd-utils.info
@@ -1,8 +1,8 @@
PRGNAM="drbd-utils"
-VERSION="9.0.0"
+VERSION="9.1.0"
HOMEPAGE="http://www.drbd.org"
-DOWNLOAD="http://www.drbd.org/download/drbd/utils/drbd-utils-9.0.0.tar.gz"
-MD5SUM="5077734153dd43a6811765382f4dcec7"
+DOWNLOAD="http://www.drbd.org/download/drbd/utils/drbd-utils-9.1.0.tar.gz"
+MD5SUM="6d37a45b0c5af451b6bceb10a91187ec"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/system/drbd-utils/patches/xen_handle_physical_device_paths.diff b/system/drbd-utils/patches/xen_handle_physical_device_paths.diff
index dd36a4af57..5419417596 100644
--- a/system/drbd-utils/patches/xen_handle_physical_device_paths.diff
+++ b/system/drbd-utils/patches/xen_handle_physical_device_paths.diff
@@ -1,19 +1,19 @@
---- drbd-utils-8.9.1/scripts/block-drbd.orig 2014-07-04 14:23:23.000000000 +0200
-+++ drbd-utils-8.9.1/scripts/block-drbd 2015-02-16 02:50:39.257522006 +0100
-@@ -251,6 +251,7 @@
-
- case $t in
- drbd|phy)
-+ p=${p/*dev*drbd*by-res\/} # Clean physical device paths
- drbd_resource=$p
- drbd_role="$(drbdadm role $drbd_resource)"
- drbd_lrole="${drbd_role%%/*}"
-@@ -280,12 +281,14 @@
+--- drbd-utils-9.1.0/scripts/block-drbd.orig 2017-08-31 14:25:29.000000000 +0200
++++ drbd-utils-9.1.0/scripts/block-drbd 2017-09-22 21:25:51.309873782 +0200
+@@ -249,6 +249,7 @@
+ if [ -n "$t" ]
+ then
+ p=$(xenstore_read "$XENBUS_PATH/params")
++ p=${p/*dev*drbd*by-res\/} # Clean physical device paths
+ p=${p#drbd:}
+ mode=$(xenstore_read "$XENBUS_PATH/mode")
+ fi
+@@ -284,12 +285,14 @@
case $t in
drbd|phy)
p=$(xenstore_read "$XENBUS_PATH/params")
+ p=${p/*dev*drbd*by-res\/} # Clean physical device paths
- drbd_resource=$p
+ drbd_resource=${p#drbd:}
drbd_role="$(drbdadm role $drbd_resource)"
drbd_lrole="${drbd_role%%/*}"
drbd_dev="$(drbdadm sh-dev $drbd_resource)"