diff options
author | 2005-02-21 15:03:24 +0000 | |
---|---|---|
committer | 2005-02-21 15:03:24 +0000 | |
commit | 0eb960bc8703b92400556523eeb7de727f9c7ba3 (patch) | |
tree | ee9cdf875b8b5a65e19f247b7e03e9d4f83d3e18 /sys-fs/multipath-tools | |
parent | add ~ia64 (diff) | |
download | historical-0eb960bc8703b92400556523eeb7de727f9c7ba3.tar.gz historical-0eb960bc8703b92400556523eeb7de727f9c7ba3.tar.bz2 historical-0eb960bc8703b92400556523eeb7de727f9c7ba3.zip |
Initial version. Ebuild and scripts by Seemant.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'sys-fs/multipath-tools')
-rw-r--r-- | sys-fs/multipath-tools/ChangeLog | 10 | ||||
-rw-r--r-- | sys-fs/multipath-tools/Manifest | 5 | ||||
-rw-r--r-- | sys-fs/multipath-tools/files/digest-multipath-tools-0.4.2 | 1 | ||||
-rw-r--r-- | sys-fs/multipath-tools/files/rc-multipathd | 20 | ||||
-rw-r--r-- | sys-fs/multipath-tools/metadata.xml | 8 | ||||
-rw-r--r-- | sys-fs/multipath-tools/multipath-tools-0.4.2.ebuild | 43 |
6 files changed, 87 insertions, 0 deletions
diff --git a/sys-fs/multipath-tools/ChangeLog b/sys-fs/multipath-tools/ChangeLog new file mode 100644 index 000000000000..bb4fe0ebe608 --- /dev/null +++ b/sys-fs/multipath-tools/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for <CATEGORY>/<PACKAGE_NAME> +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.1 2005/02/21 15:03:24 azarah Exp $ + +*multipath-tools-0.4.2 (21 Feb 2005) + + 21 Feb 2005; Martin Schlemmer <azarah@gentoo.org> +metadata.xml, + +files/rc-multipathd, +multipath-tools-0.4.2.ebuild: + Initial version. Ebuild and scripts by Seemant. + diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest new file mode 100644 index 000000000000..26dd54267904 --- /dev/null +++ b/sys-fs/multipath-tools/Manifest @@ -0,0 +1,5 @@ +MD5 14a6cf2b99b9a19a340527536ed8475b multipath-tools-0.4.2.ebuild 1148 +MD5 62cda1df1733f26e10cb3f4cc4f7aeb1 ChangeLog 432 +MD5 cf274d10abad475cbb2a5ac340dda64c metadata.xml 231 +MD5 114c0deb56fb152358609d958c855fea files/rc-multipathd 501 +MD5 68c0760f1e402683c1b76f5cb2ceca9c files/digest-multipath-tools-0.4.2 74 diff --git a/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.2 b/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.2 new file mode 100644 index 000000000000..ffe6d9e56bdc --- /dev/null +++ b/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.2 @@ -0,0 +1 @@ +MD5 48a1174ed4a6afb30f80764a5e67285a multipath-tools-0.4.2.tar.bz2 323062 diff --git a/sys-fs/multipath-tools/files/rc-multipathd b/sys-fs/multipath-tools/files/rc-multipathd new file mode 100644 index 000000000000..ef4ee2f63140 --- /dev/null +++ b/sys-fs/multipath-tools/files/rc-multipathd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/files/rc-multipathd,v 1.1 2005/02/21 15:03:24 azarah Exp $ + +depend() { + need localmount +} + +start() { + ebegin "Starting multipathd" + start-stop-daemon --start --quiet --exec /usr/sbin/multipathd + eend $? +} + +stop() { + ebegin "Stopping multipathd" + start-stop-daemon --stop --quiet --exec /usr/sbin/multipathd + eend $? +} diff --git a/sys-fs/multipath-tools/metadata.xml b/sys-fs/multipath-tools/metadata.xml new file mode 100644 index 000000000000..2c427493585d --- /dev/null +++ b/sys-fs/multipath-tools/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>base-system</herd> +<maintainer> + <email>base-system@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sys-fs/multipath-tools/multipath-tools-0.4.2.ebuild b/sys-fs/multipath-tools/multipath-tools-0.4.2.ebuild new file mode 100644 index 000000000000..099db31b8b56 --- /dev/null +++ b/sys-fs/multipath-tools/multipath-tools-0.4.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.2.ebuild,v 1.1 2005/02/21 15:03:24 azarah Exp $ + +DESCRIPTION="Device mapper target autoconfig." +HOMEPAGE="http://christophe.varoqui.free.fr/wiki/wakka.php?wiki=Home" +SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" +LICENSE="" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="" + +RDEPEND="sys-libs/device-mapper + sys-fs/udev + sys-fs/sysfsutils" + +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A}; cd ${S} + sed -i -e 's:^bindir.*:bindir = /usr/sbin:' \ + ${S}/multipathd/Makefile + sed -i -e 's:rules.d/.*:rules.d/40-multipath.rules:' \ + ${S}/multipath/Makefile +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + make DESTDIR=${D} install || die "install failed" + + insinto /etc + newins ${S}/multipath.conf.annotated multipath.conf + fperms 644 /etc/udev/rules.d/multipath.rules + newinitd ${FILESDIR}/rc-multipathd multipathd + + dodoc AUTHOR COPYING ChangeLog FAQ README TODO + docinto dmadm; dodoc README + docinto kpartx; dodoc ChangeLog README +} |