diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-06-16 22:42:25 -0300 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-20 11:43:49 +0000 |
commit | 8b4b52aa8cb72bba73198f7024ad0067db5274e1 (patch) | |
tree | 5b0c40a6b65b407d6c8a47a800778efe1fabfd74 /main/drbd-utils | |
parent | d8bd8fafd7963bddc3ce52c7daf6b52b86029de6 (diff) | |
download | aports-8b4b52aa8cb72bba73198f7024ad0067db5274e1.tar.bz2 aports-8b4b52aa8cb72bba73198f7024ad0067db5274e1.tar.xz |
main/drbd-utils: upgrade to 9.0.0
Diffstat (limited to 'main/drbd-utils')
-rw-r--r-- | main/drbd-utils/APKBUILD | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/main/drbd-utils/APKBUILD b/main/drbd-utils/APKBUILD index 39ffa6b580..5e9768c101 100644 --- a/main/drbd-utils/APKBUILD +++ b/main/drbd-utils/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=drbd-utils -pkgver=8.9.11 +pkgver=9.0.0 pkgrel=0 pkgdesc="Network-based RAID 1" url="http://www.drbd.org" @@ -9,27 +9,16 @@ arch="all" license="GPL" depends="bash" makedepends="bash bison flex linux-headers libxslt docbook-xsl" -install= provides="drbd" subpackages="$pkgname-doc $pkgname-pacemaker::noarch" source="https://links.linbit.com/sources/drbd/utils/drbd-utils-$pkgver.tar.gz drbdsetup-permissions.patch drbd.initd" - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure --prefix=/usr \ --sbindir=/sbin \ --sysconfdir=/etc \ @@ -45,14 +34,14 @@ build() { --without-bashcompletion\ --without-83support - make || return 1 + make } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install install -m755 -D "$srcdir/drbd.initd" \ - "$pkgdir/etc/init.d/drbd" || return 1 + "$pkgdir/etc/init.d/drbd" } pacemaker() { @@ -61,6 +50,6 @@ pacemaker() { mv "$pkgdir"/usr/lib/ocf "$subpkgdir"/usr/lib } -sha512sums="2e66f9ee32b0e6fe71d1ab9b2d27eb59632e601cce8c718d241394ccb5947f04e9d11df5836d83f1468da4de6aac8630287b91f3a4158d76c3b9b25f5e726582 drbd-utils-8.9.11.tar.gz +sha512sums="17a5214f67ae6bc6d4d7baf443a33208306e6fac1d045a27e958c6fb242915e817bc8e8a19abe42dc70c441334022603ad1a8c41b06bc8c0a24dc14a12fe836a drbd-utils-9.0.0.tar.gz 562ae8eee03148666fb6e6e700c1eb9086f6901e176ea6cd007e3ac4e39d1cdaf967064de74dc1ad620155996dc7011bd0e2abd1c9595ff9bf5f4413673726f3 drbdsetup-permissions.patch bb465e32273aaba0b86ae681bc94c58bb51f542221f51ced197e22b316ce1bc9a0b4fe1f43af07ef13b3f0946466a43218f0a2ab7f4210adbb00174a503b64d7 drbd.initd" |