diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/multipath-tools/PKGBUILD | 49 | ||||
-rw-r--r-- | pcr/multipath-tools/blacklist-cciss-devices.patch | 30 | ||||
-rw-r--r-- | pcr/multipath-tools/buffer-overflows.patch | 13 | ||||
-rw-r--r-- | pcr/multipath-tools/multipath-tools.install | 5 |
4 files changed, 0 insertions, 97 deletions
diff --git a/pcr/multipath-tools/PKGBUILD b/pcr/multipath-tools/PKGBUILD deleted file mode 100644 index 906f118f3..000000000 --- a/pcr/multipath-tools/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# Maintainer (AUR): Michael Lass <bevan@bi-co.net> -# Contributor (AUR): Justin Dray <justin@dray.be> -# Contributor (AUR): Patrick McCarty <pnorcks at gmail dot com> -# Contributor (AUR): Bartłomiej Piotrowski <nospam@bpiotrowski.pl> -# Contributor (AUR): Thomas S Hatch <thatch45 ar gmail dot com> -# Contributor (AUR): Michael P <ptchinster@archlinux.us> -# Contributor (AUR): Matt Heagney <matt@heagney.com> - -# This PKGBUILD is maintained on github: -# https://github.com/michaellass/AUR - -# parabola changes and rationale: -# - removed buildtime optdepends - -pkgname=multipath-tools -pkgver=0.7.4 -pkgrel=1 -pkgdesc='Multipath tools for Linux (including kpartx)' -arch=('i686' 'x86_64' 'armv7h') -url="http://christophe.varoqui.free.fr/" -license=('GPL2') -depends=('libaio' 'device-mapper' 'json-c' 'liburcu') -makedepends=('git') -conflicts=('multipath-tools-git') -install=multipath-tools.install -source=("multipath-tools::git+http://git.opensvc.com/multipath-tools/.git#tag=${pkgver}") -sha256sums=('SKIP') - -prepare() { - cd "${srcdir}/${pkgname}" - - # Fix bindir in Makefile - sed -i 's|$(exec_prefix)/sbin|$(exec_prefix)/bin|g' Makefile.inc -} - -build() { - cd "${srcdir}/${pkgname}" - make -} - -package() { - cd "${srcdir}/${pkgname}" - - make \ - DESTDIR="${pkgdir}" \ - exec_prefix="/usr" \ - LIB="/usr/lib" \ - install -} diff --git a/pcr/multipath-tools/blacklist-cciss-devices.patch b/pcr/multipath-tools/blacklist-cciss-devices.patch deleted file mode 100644 index 30a4400a7..000000000 --- a/pcr/multipath-tools/blacklist-cciss-devices.patch +++ /dev/null @@ -1,30 +0,0 @@ -From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org> -Date: Fri, 3 Oct 2008 12:39:48 +0200 -Subject: [PATCH] blacklist cciss devices - -cciss support isn't complete in 0.4.8 and the half functioning causes -problems in d-i among other things. -Closes: #500991 ---- - libmultipath/blacklist.c | 6 ++++++ - 1 files changed, 6 insertions(+), 0 deletions(-) - - -diff --git a/libmultipath/blacklist.c b/libmultipath/blacklist.c -index 79ddcde..6d0a0ad 100644 ---- a/libmultipath/blacklist.c -+++ b/libmultipath/blacklist.c -@@ -182,6 +182,13 @@ setup_default_blist (struct config * conf) - if (store_ble(conf->elist_property, str, ORIGIN_DEFAULT)) - return 1; - -+ str = STRDUP("^cciss!c[0-9]d[0-9]*"); -+ if (!str) -+ return 1; -+ if (store_ble(conf->blist_devnode, str, ORIGIN_DEFAULT)) -+ return 1; -+ -+ - vector_foreach_slot (conf->hwtable, hwe, i) { - if (hwe->bl_product) { - if (_blacklist_device(conf->blist_device, hwe->vendor,
\ No newline at end of file diff --git a/pcr/multipath-tools/buffer-overflows.patch b/pcr/multipath-tools/buffer-overflows.patch deleted file mode 100644 index 7d84ea91c..000000000 --- a/pcr/multipath-tools/buffer-overflows.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/libmultipath/prioritizers/hds.c b/libmultipath/prioritizers/hds.c -index f748707..1cec8a7 100644 ---- a/libmultipath/prioritizers/hds.c -+++ b/libmultipath/prioritizers/hds.c -@@ -125,7 +125,7 @@ int hds_modular_prio (const char *dev, int fd) - return -1; - } - -- snprintf (vendor, 9, "%.8s", inqBuffp + 8); -+ snprintf (vendor, 8, "%.8s", inqBuffp + 8); - snprintf (product, 17, "%.16s", inqBuffp + 16); - snprintf (serial, 5, "%.4s", inqBuffp + 40); - snprintf (ldev, 5, "%.4s", inqBuffp + 44);
\ No newline at end of file diff --git a/pcr/multipath-tools/multipath-tools.install b/pcr/multipath-tools/multipath-tools.install deleted file mode 100644 index 95df1b7ee..000000000 --- a/pcr/multipath-tools/multipath-tools.install +++ /dev/null @@ -1,5 +0,0 @@ -post_install() { - cat <<-EOF - * For full functonality ensure that the dm_multipath kernel module is loaded - EOF -} |