diff options
-rw-r--r-- | system/drbd-utils/drbd-utils.SlackBuild | 2 | ||||
-rw-r--r-- | system/drbd-utils/drbd-utils.info | 6 | ||||
-rw-r--r-- | system/drbd-utils/patches/xen_handle_physical_device_paths.diff | 24 |
3 files changed, 16 insertions, 16 deletions
diff --git a/system/drbd-utils/drbd-utils.SlackBuild b/system/drbd-utils/drbd-utils.SlackBuild index d40eae424a89..00ad88b0a784 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 d9a03b9e7096..38311c958cf2 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 dd36a4af5785..541941759697 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)" |