aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-19 15:48:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-19 15:48:38 +0000
commit2a87688010b283f11294cc8a5ae277cd3692c6e1 (patch)
treee9aad78f6f4909490907e7ee0c12ff43ce2fb256 /community
parent7772819f568aba3c8f917c49d22272bdd4fa47d5 (diff)
downloadaports-2a87688010b283f11294cc8a5ae277cd3692c6e1.tar.bz2
aports-2a87688010b283f11294cc8a5ae277cd3692c6e1.tar.xz
main/multipath-tools: move back from community
we ship multipath-tools with alpine-xen iso image so we should have it in main.
Diffstat (limited to 'community')
-rw-r--r--community/multipath-tools/0001-disable-rados.patch25
-rw-r--r--community/multipath-tools/APKBUILD45
-rw-r--r--community/multipath-tools/multipath-tools.conf113
-rw-r--r--community/multipath-tools/multipath-tools.confd2
-rw-r--r--community/multipath-tools/multipath-tools.initd37
5 files changed, 0 insertions, 222 deletions
diff --git a/community/multipath-tools/0001-disable-rados.patch b/community/multipath-tools/0001-disable-rados.patch
deleted file mode 100644
index 2f1c8be4f4..0000000000
--- a/community/multipath-tools/0001-disable-rados.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 490431efb3eb3a8746af5b3ad97797ae85b5bc0b Mon Sep 17 00:00:00 2001
-From: Leonardo Arena <rnalrd@alpinelinux.org>
-Date: Fri, 5 May 2017 12:14:35 +0000
-Subject: [PATCH] disable rados
-
----
- Makefile.inc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Makefile.inc b/Makefile.inc
-index 8361e6c..67fab53 100644
---- a/Makefile.inc
-+++ b/Makefile.inc
-@@ -10,7 +10,7 @@
- # WITH_LOCAL_LIBSYSFS = 1
- #
- # Uncomment to disable RADOS support (e.g. if rados headers are missing).
--# ENABLE_RADOS = 0
-+ENABLE_RADOS = 0
- #
- # Uncomment to disable libdmmp support
- # ENABLE_LIBDMMP = 0
---
-2.12.2
-
diff --git a/community/multipath-tools/APKBUILD b/community/multipath-tools/APKBUILD
deleted file mode 100644
index 87f9b31502..0000000000
--- a/community/multipath-tools/APKBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-pkgname="multipath-tools"
-pkgver=0.7.1
-pkgrel=1
-pkgdesc="Device Mapper Multipathing Driver"
-url="http://christophe.varoqui.free.fr/"
-arch="all"
-license="GPL"
-depends="eudev"
-makedepends="lvm2-dev libaio-dev readline-dev ncurses-dev eudev-dev
- userspace-rcu-dev json-c-dev perl"
-_snapid="be1191b1d2726ed94498dac3505ca455bb6cb64e"
-subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::http://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=$_snapid;sf=tgz
- multipath-tools.conf
- multipath-tools.confd
- multipath-tools.initd
-
- 0001-disable-rados.patch
- "
-options="!check"
-_snapdirsuffix=$(echo $_snapid | cut -c1-7)
-builddir="$srcdir"/multipath-tools-$_snapdirsuffix
-
-build() {
- cd $builddir
- make prefix="/usr" \
- sysconfdir="/etc" \
- mandir="/usr/share/man" \
- infodir="/usr/share/info" || return 1
-}
-
-package() {
- cd $builddir
- make DESTDIR="$pkgdir" install || return 1
- install -D -m644 "$srcdir"/$pkgname.conf $pkgdir/etc/multipath.conf
- install -D -m644 "$srcdir"/$pkgname.confd $pkgdir/etc/conf.d/multipathd
- install -D -m755 "$srcdir"/$pkgname.initd $pkgdir/etc/init.d/multipathd
-}
-
-sha512sums="473fa45314786b3c6183da03fe0a804f3e7fe75fd3ef8d20943806b8c721786becf9b16cd6449adb2243e851472f13d07eb50dce1d1fd404c7cf7abc72f0c039 multipath-tools-0.7.1.tar.gz
-e81462b22c0cbc92ea935d7544b9f9a0c4ccbcf13f3bc03dadf6de96407c9cf49964c9bbf02f12a134e1255c66421c6fde39d54b15eef975e8df81bdc88b2213 multipath-tools.conf
-303c62b7506b207ba2266310e7a701d76151e6f1544b44faf666dfabdc59c5aeb98544d380988e18b4a7b8235e4000380f025c4dd6c95d45a7b8b51bbf39dce5 multipath-tools.confd
-1ca0a8be7ddd0d57b810ab4905bc35d6b89b924ef528a7ee77dad162b86b990e0b86ef714f63857def4a61e30bfabe7a3980f624d63b80108408dd876a7c468c multipath-tools.initd
-2cdf669823d24fea230784fc911bf01942980ea04c611e973996ba6baa051c64ef5defc00161deccdf6ede45e3b38c526c6f6aaaf4ba9137c010ebbc1f97038f 0001-disable-rados.patch"
diff --git a/community/multipath-tools/multipath-tools.conf b/community/multipath-tools/multipath-tools.conf
deleted file mode 100644
index 11194176df..0000000000
--- a/community/multipath-tools/multipath-tools.conf
+++ /dev/null
@@ -1,113 +0,0 @@
-##
-## This is a template multipath-tools configuration file
-## Uncomment the lines relevent to your environment
-##
-#defaults {
-# udev_dir /dev
-# polling_interval 10
-# selector "round-robin 0"
-# path_grouping_policy multibus
-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
-# prio_callout /bin/true
-# path_checker directio
-# rr_min_io 100
-# rr_weight priorities
-# failback immediate
-# no_path_retry fail
-# user_friendly_names no
-#}
-#blacklist {
-# wwid 26353900f02796769
-# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
-# devnode "^hd[a-z][[0-9]*]"
-# devnode "^cciss!c[0-9]d[0-9]*[p[0-9]*]"
-# device {
-# vendor DEC.*
-# product MSA[15]00
-# }
-#}
-#blacklist_exceptions {
-# devnode "^dasd[c-d]+[0-9]*"
-# wwid "IBM.75000000092461.4d00.34"
-#}
-#multipaths {
-# multipath {
-# wwid 3600508b4000156d700012000000b0000
-# alias yellow
-# path_grouping_policy multibus
-# path_checker directio
-# path_selector "round-robin 0"
-# failback manual
-# rr_weight priorities
-# no_path_retry 5
-# rr_min_io 100
-# }
-# multipath {
-# wwid 1DEC_____321816758474
-# alias red
-# }
-#}
-#devices {
-# device {
-# vendor "COMPAQ "
-# product "HSV110 (C)COMPAQ"
-# path_grouping_policy multibus
-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
-# path_checker directio
-# path_selector "round-robin 0"
-# hardware_handler "0"
-# failback 15
-# rr_weight priorities
-# no_path_retry queue
-# rr_min_io 100
-# product_blacklist LUN_Z
-# }
-# device {
-# vendor "COMPAQ "
-# product "MSA1000 "
-# path_grouping_policy multibus
-# }
-#}
-
-#defaults {
-# udev_dir /dev
-# user_friendly_names yes
-#}
-
-#blacklist {
-# devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
-# devnode "^hd[a-z]"
-# devnode "^sda"
-# devnode "^sdb"
-# devnode "^sdc"
-# devnode "^sdd"
-# devnode "^sda[0-9]"
-# devnode "^sdb[0-9]"
-# device {
-# vendor DELL
-# product "PERC|Universal"
-# }
-#}
-
-#devices {
-# device {
-# vendor DELL
-# product MD3000i
-# hardware_handler "1 rdac"
-# path_checker rdac
-# path_grouping_policy group_by_prio
-# prio_callout "/sbin/mpath_prio_rdac /dev/%n"
-# failback immediate
-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n"
-# }
-#}
-
-#multipaths {
-# multipath {
-# device {
-# vendor DELL
-# product MD3000i
-# }
-# }
-#}
-
diff --git a/community/multipath-tools/multipath-tools.confd b/community/multipath-tools/multipath-tools.confd
deleted file mode 100644
index 979aa96e2d..0000000000
--- a/community/multipath-tools/multipath-tools.confd
+++ /dev/null
@@ -1,2 +0,0 @@
-rc_before="lvm"
-rc_after="iscsid"
diff --git a/community/multipath-tools/multipath-tools.initd b/community/multipath-tools/multipath-tools.initd
deleted file mode 100644
index 14f28efccf..0000000000
--- a/community/multipath-tools/multipath-tools.initd
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/sys-fs/multipath-tools/files/rc-multipathd,v 1.5 2009/03/17 22:48:13 solar Exp $
-
-depend() {
- after firewall
-}
-
-do_nodes() {
- for dev in $(ls /dev/mapper/mpath*)
- do
- kpartx -a $dev
- done
-}
-
-undo_nodes() {
- for dev in $(ls /dev/mapper/mpath*)
- do
- kpartx -d $dev
- done
-}
-
-start() {
- ebegin "Starting multipathd"
- start-stop-daemon --start --quiet --make-pidfile \
- --pidfile /var/run/multipathd.pid --exec /sbin/multipathd
- do_nodes
- eend $?
-}
-
-stop() {
- ebegin "Stopping multipathd"
- undo_nodes
- start-stop-daemon --stop --quiet --retry --pidfile /var/run/multipathd.pid
- eend $?
-}