Subject: [alpine-aports] [PATCH 1/1] community/drbdmanage: upgrade to 0.98.2

From: Roland Kammerer <[email-masked]>
Date: Fri, 18 Nov 2016 15:49:02 +0100

- New upstream release
- Upstream removed systemd socket activation, adapt patch
---
 community/drbdmanage/APKBUILD                  | 18 +++++++++---------
 community/drbdmanage/rm-systemd-and-bash.patch |  5 ++---
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/community/drbdmanage/APKBUILD b/community/drbdmanage/APKBUILD
index 95f5cdc..b38548f 100644
--- a/community/drbdmanage/APKBUILD
+++ b/community/drbdmanage/APKBUILD
@@ -2,18 +2,18 @@
 # Maintainer: Roland Kammerer <[email-masked]>
 _usname=drbdmanage
 pkgname=$_usname
-pkgver=0.95
+pkgver=0.98.2
 pkgrel=0
 pkgdesc="DRBD9 Cluster Management Tool"
 url="http://www.drbd.org"
 arch="noarch"
 license="GPL"
-depends="python2 py-gobject dbus py-dbus lvm2 drbd-utils>=8.9.6"
+depends="python2 py-gobject dbus py-dbus lvm2 drbd-utils>=8.9.9"
 depends_dev=""
 makedepends="python2-dev libxslt docbook-xsl help2man"
 install=""
 subpackages="$pkgname-doc"
-source="http://oss.linbit.com/$_usname/$_usname-$pkgver.tar.gz
+source="https://www.drbd.org/download/$_usname/$_usname-$pkgver.tar.gz
         rm-systemd-and-bash.patch"
 
 _builddir=$srcdir/$_usname-$pkgver
@@ -38,9 +38,9 @@ package() {
 	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
 }
 
-md5sums="2598d5c451012223aaedbbf18ff985f3  drbdmanage-0.95.tar.gz
-24c95b3312a4ee69e7225bdb0e19b4ed  rm-systemd-and-bash.patch"
-sha256sums="bc65f85fe26349961052588fe27743de93123c61aec466390d81bfd8b6f40f49  drbdmanage-0.95.tar.gz
-14bc5ac238ccd56794f24f21ed5bbe2d957edb725b4cb0889d1f539e4c187e23  rm-systemd-and-bash.patch"
-sha512sums="61d82c611a64d0d1805bb7419496fe2a7731c36164608d5c8a47bed251ad504a70559a73e7953b3c5d25eb05c707efdc1417a398a2b7486cfbe78ea3111af43b  drbdmanage-0.95.tar.gz
-ca8108c2a46b6cac54bc0b811547107329d34f58462075010d5af7c7b0c3cdbf58061e80057b54f095f0dedde54b3b8cb99b5b0aab21960e7c0d47b01528037e  rm-systemd-and-bash.patch"
+md5sums="82f03e5a76d70f97ab398c3340ce1c94  drbdmanage-0.98.2.tar.gz
+b6df3b5eecf44b750fd0ffc9580deed2  rm-systemd-and-bash.patch"
+sha256sums="f432eb1b701d2b024f3c85771b1a717a82c34451f17d884aec78dd94581d3749  drbdmanage-0.98.2.tar.gz
+c8978bcc3c42115a0de5cf49942977096159b4157a391652a52fba0cd8c852a1  rm-systemd-and-bash.patch"
+sha512sums="70dc6946fa023f4c3092113e97c603ec2da5b07064372a35e91ec00a3f50d203fd4d0af859c043f4cef6946e4ff5ac3aa44aac8ebf666094d931ea688fd2be2c  drbdmanage-0.98.2.tar.gz
+ad3c18c6fc56df0ca594afb56accb8832509489234736098c6a40b4ed2f81be16efe2c552ae6e19375d44881cf24e534d2d8cc04e14f0d98817fd8d4c614ed99  rm-systemd-and-bash.patch"
diff --git a/community/drbdmanage/rm-systemd-and-bash.patch b/community/drbdmanage/rm-systemd-and-bash.patch
index 0041a62..b8cacb9 100644
--- a/community/drbdmanage/rm-systemd-and-bash.patch
+++ b/community/drbdmanage/rm-systemd-and-bash.patch
@@ -1,11 +1,10 @@
 --- a/setup.py
 +++ b/setup.py
-@@ -166,11 +166,8 @@
+@@ -161,10 +161,8 @@ def gen_data_files():
                    ("/etc/dbus-1/system.d", ["conf/org.drbd.drbdmanaged.conf"]),
                    ("/usr/share/dbus-1/system-services",
                     ["conf/org.drbd.drbdmanaged.service"]),
--                  ("/lib/systemd/system/", ["conf/drbdmanaged.service",
--                                            "conf/drbdmanaged.socket"]),
+-                  ("/lib/systemd/system/", ["conf/drbdmanaged.service"]),
                    ("/var/lib/drbd.d", []),
 -                  ("/var/lib/drbdmanage", []),
 -                  ("/etc/bash_completion.d", ["scripts/bash_completion/drbdmanage"])]
-- 
2.10.2

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---