diff options
author | root <root@rshg054.dnsready.net> | 2012-06-04 00:01:23 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-04 00:01:23 +0000 |
commit | 1e6588d64f084decf287a58b7ff93ff0ce4d0446 (patch) | |
tree | 29bf5b8778e1eb67871d9e6e8bb6e205bdde5db7 /community/multipath-tools/PKGBUILD | |
parent | 80053e720288b6205a59c52c1b31c14a0f830989 (diff) |
Mon Jun 4 00:01:23 UTC 2012
Diffstat (limited to 'community/multipath-tools/PKGBUILD')
-rw-r--r-- | community/multipath-tools/PKGBUILD | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD index 7d9c38e2d..111059043 100644 --- a/community/multipath-tools/PKGBUILD +++ b/community/multipath-tools/PKGBUILD @@ -1,34 +1,41 @@ -# $Id: PKGBUILD 68933 2012-04-06 00:04:44Z dreisner $ -# Maintainer: +# $Id: PKGBUILD 71861 2012-06-02 13:06:55Z dreisner $ +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Thomas S Hatch <thatch45 ar gmail dot com> # Contributor: Michael P <ptchinster@archlinux.us> # Contributor: Matt Heagney <matt@heagney.com> pkgname=multipath-tools pkgver=0.4.9 -pkgrel=6 -pkgdesc="Multipath Tools For Linux" +pkgrel=8 +pkgdesc='Multipath tools for Linux' arch=('i686' 'x86_64') url="http://christophe.varoqui.free.fr/" license=('GPL') depends=('libaio' 'device-mapper') backup=('etc/multipath.conf' 'etc/multipath.conf.annotated') install=multipath-tools.install -options=('!emptydirs') -source=("http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2" - "multipath.conf" "multipath.conf.annotated" "multipathd.rc" 'fix-build.patch') +options=(!emptydirs) +source=(http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2 + multipath.conf multipath.conf.annotated multipathd.rc + fix-build.patch buffer-overflows.patch log_enquery_overflow.patch + blacklist-cciss-devices.patch explicitly-include-posix_types.h.patch) md5sums=('a6d4b48afc28f1f50f5ee4b1b06d2765' '9324ff0ba8330dcb21b2fcf64988026f' 'be11462922eeeb9fcd2ba5f3f137b7d9' '7c04ef96441363b0d43a2ebb13a87659' - '2576fc535d7fa767837b1c7827013e52') + '885c0ba9c90b73cc93aa3f78005f81d6' + 'c5aab36777b0304a3525533cdd31bddc' + '00eae05e02f1b85062e998574ab1b833' + '61b4038c4c145ca52e836145ea6bdd6c' + 'd99beb6d8a9b84f90125c7cacf8a6006') build() { - patch -p1 -i fix-build.patch + patch -Np1 -i fix-build.patch + patch -Np1 -i buffer-overflows.patch + patch -Np1 -i log_enquery_overflow.patch + patch -Np1 -i blacklist-cciss-devices.patch + patch -Np1 -i explicitly-include-posix_types.h.patch - sed -i 's|etc/udev|usr/lib/udev|g' multipath/Makefile kpartx/Makefile - sed -i 's|/sbin/|/usr/bin/|g' kpartx/kpartx.rules - # Needs to be fixed upstream. Refer to # https://bbs.archlinux.org/viewtopic.php?pid=793814#p793814 export LDFLAGS=${LDFLAGS/-Wl,--as-needed} @@ -37,7 +44,7 @@ build() { } package() { - make LIB="usr/lib" DESTDIR="$pkgdir" bindir="/usr/bin" libudevdir="/usr/lib/udev" install + make LIB='usr/lib' DESTDIR="$pkgdir" bindir='/usr/bin' libudevdir='/usr/lib/udev' install install -D -m 644 multipath.conf "$pkgdir"/etc/multipath.conf install -D -m 644 multipath.conf.annotated "$pkgdir"/etc/multipath.conf.annotated install -D -m 755 multipathd.rc "$pkgdir"/etc/rc.d/multipathd |