From 3483703acf6fb6c4636131f4f4caa5f473cd5724 Mon Sep 17 00:00:00 2001
From: Martin Schlemmer <azarah@gentoo.org>
Date: Mon, 22 May 2006 10:16:54 +0000
Subject: Bump version to work with latest sysfsutils. Package-Manager:
 portage-2.1_rc1-r4

---
 sys-fs/multipath-tools/ChangeLog                   |  8 +++-
 sys-fs/multipath-tools/Manifest                    | 38 +++++++++++----
 .../files/digest-multipath-tools-0.4.7             |  3 ++
 .../multipath-tools/multipath-tools-0.4.7.ebuild   | 54 ++++++++++++++++++++++
 4 files changed, 92 insertions(+), 11 deletions(-)
 create mode 100644 sys-fs/multipath-tools/files/digest-multipath-tools-0.4.7
 create mode 100644 sys-fs/multipath-tools/multipath-tools-0.4.7.ebuild

diff --git a/sys-fs/multipath-tools/ChangeLog b/sys-fs/multipath-tools/ChangeLog
index 1a00b86ecae3..a2e38c6ad2d1 100644
--- a/sys-fs/multipath-tools/ChangeLog
+++ b/sys-fs/multipath-tools/ChangeLog
@@ -1,6 +1,12 @@
 # ChangeLog for sys-fs/multipath-tools
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.11 2006/04/27 23:08:39 antarus Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.12 2006/05/22 10:16:54 azarah Exp $
+
+*multipath-tools-0.4.7 (22 May 2006)
+
+  22 May 2006; Martin Schlemmer <azarah@gentoo.org>
+  +multipath-tools-0.4.7.ebuild:
+  Bump version to work with latest sysfsutils.
 
   27 Apr 2006; Alec Warner <antarus@gentoo.org>
   files/digest-multipath-tools-0.4.6.1, Manifest:
diff --git a/sys-fs/multipath-tools/Manifest b/sys-fs/multipath-tools/Manifest
index 115c64910d3e..03dd7c6f33a9 100644
--- a/sys-fs/multipath-tools/Manifest
+++ b/sys-fs/multipath-tools/Manifest
@@ -1,25 +1,33 @@
-AUX multipath-tools-0.4.6.1-udev-rules.patch 469 RMD160 486a10aa8e5f930bfc0ddabf6153d667de978d67 SHA1 75efc8d0ae3baad00744d01bbd533eb5c86df82a SHA256 916a389699324f6bee303febfe105a2e73f6e3c6d9f15f2f0a44c7de06d1bfab size 469
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX multipath-tools-0.4.6.1-udev-rules.patch 469 RMD160 486a10aa8e5f930bfc0ddabf6153d667de978d67 SHA1 75efc8d0ae3baad00744d01bbd533eb5c86df82a SHA256 916a389699324f6bee303febfe105a2e73f6e3c6d9f15f2f0a44c7de06d1bfab
 MD5 03c2a26ee058b1f021538b1b34fa3d91 files/multipath-tools-0.4.6.1-udev-rules.patch 469
 RMD160 486a10aa8e5f930bfc0ddabf6153d667de978d67 files/multipath-tools-0.4.6.1-udev-rules.patch 469
 SHA256 916a389699324f6bee303febfe105a2e73f6e3c6d9f15f2f0a44c7de06d1bfab files/multipath-tools-0.4.6.1-udev-rules.patch 469
-AUX rc-multipathd 503 RMD160 dd089ece6f315da56b6f685f0b3c027ed80c09ad SHA1 ec6e77f59691fea48069029d82158b45b3e6e791 SHA256 97cd9172034f9fd5cc12e63984df69687945847d57129bad6af0b7ad11d3a9d0 size 503
+AUX rc-multipathd 503 RMD160 dd089ece6f315da56b6f685f0b3c027ed80c09ad SHA1 ec6e77f59691fea48069029d82158b45b3e6e791 SHA256 97cd9172034f9fd5cc12e63984df69687945847d57129bad6af0b7ad11d3a9d0
 MD5 7cd2431a33f3bd590b824e48243b53dc files/rc-multipathd 503
 RMD160 dd089ece6f315da56b6f685f0b3c027ed80c09ad files/rc-multipathd 503
 SHA256 97cd9172034f9fd5cc12e63984df69687945847d57129bad6af0b7ad11d3a9d0 files/rc-multipathd 503
-DIST multipath-tools-0.4.6.1.tar.bz2 138759 RMD160 ba3dba34ca93d6d4deac7d65faf3ed1c37c082a0 SHA256 72bbf5eb7a6cc81ef2fbff04d3f7c873bb2dbaad8b520f3b5df287d6a33898d8 size 138759
-EBUILD multipath-tools-0.4.6.1-r1.ebuild 1775 RMD160 872cfb7a7b45915b06ed04ed99bb282df645f088 SHA1 cfd316954c0dc02b0b2c23f796b2334c3e054000 SHA256 ff76415d1cdbcb4cbf90cb7018c88421c1b9414974d30776a57508fb3cf50f7f size 1775
+DIST multipath-tools-0.4.6.1.tar.bz2 138759 RMD160 ba3dba34ca93d6d4deac7d65faf3ed1c37c082a0 SHA256 72bbf5eb7a6cc81ef2fbff04d3f7c873bb2dbaad8b520f3b5df287d6a33898d8
+DIST multipath-tools-0.4.7.tar.bz2 139312 RMD160 b9ecd84e01e03fe631e9ee9953ea7dbadb04c01d SHA256 1b48684c9ce956bb2294640a92f1da8ddea4e991e4d7b974697660de5e44a9d7
+EBUILD multipath-tools-0.4.6.1-r1.ebuild 1775 RMD160 872cfb7a7b45915b06ed04ed99bb282df645f088 SHA1 cfd316954c0dc02b0b2c23f796b2334c3e054000 SHA256 ff76415d1cdbcb4cbf90cb7018c88421c1b9414974d30776a57508fb3cf50f7f
 MD5 44def5072b3f477f3061f437b71424db multipath-tools-0.4.6.1-r1.ebuild 1775
 RMD160 872cfb7a7b45915b06ed04ed99bb282df645f088 multipath-tools-0.4.6.1-r1.ebuild 1775
 SHA256 ff76415d1cdbcb4cbf90cb7018c88421c1b9414974d30776a57508fb3cf50f7f multipath-tools-0.4.6.1-r1.ebuild 1775
-EBUILD multipath-tools-0.4.6.1.ebuild 1667 RMD160 5c6cce2e919042054a25808e940e632ce285ab4b SHA1 15c02dfea57153b19384275286f0febc71324bbe SHA256 cb376a62369032d168f0a29b8eb5b6501ae169be20686bff66bd6608aa643b81 size 1667
+EBUILD multipath-tools-0.4.6.1.ebuild 1667 RMD160 5c6cce2e919042054a25808e940e632ce285ab4b SHA1 15c02dfea57153b19384275286f0febc71324bbe SHA256 cb376a62369032d168f0a29b8eb5b6501ae169be20686bff66bd6608aa643b81
 MD5 78f233ca871b17e2d5a08def242bcb09 multipath-tools-0.4.6.1.ebuild 1667
 RMD160 5c6cce2e919042054a25808e940e632ce285ab4b multipath-tools-0.4.6.1.ebuild 1667
 SHA256 cb376a62369032d168f0a29b8eb5b6501ae169be20686bff66bd6608aa643b81 multipath-tools-0.4.6.1.ebuild 1667
-MISC ChangeLog 1985 RMD160 a3fd1d197fca7bbc56be4b5f32c7126384502949 SHA1 a938be4f6a99b3b22083fabac2e11f92339b6af1 SHA256 4d727986a675dce19083da7e4e4a530596b0d08cc1aba182421ecd00da80de8c size 1985
-MD5 2b0c0efc65025ecdfe9e12d64ea813ae ChangeLog 1985
-RMD160 a3fd1d197fca7bbc56be4b5f32c7126384502949 ChangeLog 1985
-SHA256 4d727986a675dce19083da7e4e4a530596b0d08cc1aba182421ecd00da80de8c ChangeLog 1985
-MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 size 164
+EBUILD multipath-tools-0.4.7.ebuild 1672 RMD160 3504d02fd54e8858bd0e6fc0c39e546d615b2966 SHA1 1e345e31582d63bb806fa0de05fc5799daf3c588 SHA256 bc232faaf2032ee5f8eeeae0d8a9e527b3c5703267ab353b021197ee9520bd5e
+MD5 1e7547b4661c3cca7fabb3c1d7e7cb5f multipath-tools-0.4.7.ebuild 1672
+RMD160 3504d02fd54e8858bd0e6fc0c39e546d615b2966 multipath-tools-0.4.7.ebuild 1672
+SHA256 bc232faaf2032ee5f8eeeae0d8a9e527b3c5703267ab353b021197ee9520bd5e multipath-tools-0.4.7.ebuild 1672
+MISC ChangeLog 2155 RMD160 be8717149b1208fd8e74008655fed0f7c9e7848d SHA1 1a1f5a8852378baa03fd2436ca6ebc0b89f04f43 SHA256 9d0b95ccfed1cf30443de91041b41b4b3ced4366ff7366606a8e38d7d87e4546
+MD5 f19dd3b3fe1ca07c54813e269a92daa8 ChangeLog 2155
+RMD160 be8717149b1208fd8e74008655fed0f7c9e7848d ChangeLog 2155
+SHA256 9d0b95ccfed1cf30443de91041b41b4b3ced4366ff7366606a8e38d7d87e4546 ChangeLog 2155
+MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 metadata.xml 164
 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 metadata.xml 164
@@ -29,3 +37,13 @@ SHA256 705d114d3a513522c085ca2fe5716bb91559d4e332538748f8011869a6f87c49 files/di
 MD5 3c87ecbe3c1d31b45aa83798b203a8f2 files/digest-multipath-tools-0.4.6.1-r1 274
 RMD160 f92fb520ee2743dc3cf8c5fb30976aa06984f230 files/digest-multipath-tools-0.4.6.1-r1 274
 SHA256 705d114d3a513522c085ca2fe5716bb91559d4e332538748f8011869a6f87c49 files/digest-multipath-tools-0.4.6.1-r1 274
+MD5 89106fb0c6e5705700bdf79e981b3588 files/digest-multipath-tools-0.4.7 268
+RMD160 79e1107d6e6fec7f68eb14a77b08bc78f15cd381 files/digest-multipath-tools-0.4.7 268
+SHA256 76b875dc5cb844d2224dafb9b9389b30c6ca09edf7f7549fb1c8767e25b18a01 files/digest-multipath-tools-0.4.7 268
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.3 (GNU/Linux)
+
+iD8DBQFEcZHZ1ZcsMnZjRyIRAlVVAKCPx0bo4AiT3VcjHbbKiaFFCrOK2ACghiev
+KZnn2GK9suMZ90TOa6RBqfQ=
+=bOTU
+-----END PGP SIGNATURE-----
diff --git a/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.7 b/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.7
new file mode 100644
index 000000000000..57225a5b6b98
--- /dev/null
+++ b/sys-fs/multipath-tools/files/digest-multipath-tools-0.4.7
@@ -0,0 +1,3 @@
+MD5 0a7574f0dd85f2b50f6aff91d83633ad multipath-tools-0.4.7.tar.bz2 139312
+RMD160 b9ecd84e01e03fe631e9ee9953ea7dbadb04c01d multipath-tools-0.4.7.tar.bz2 139312
+SHA256 1b48684c9ce956bb2294640a92f1da8ddea4e991e4d7b974697660de5e44a9d7 multipath-tools-0.4.7.tar.bz2 139312
diff --git a/sys-fs/multipath-tools/multipath-tools-0.4.7.ebuild b/sys-fs/multipath-tools/multipath-tools-0.4.7.ebuild
new file mode 100644
index 000000000000..81aedc0bee5a
--- /dev/null
+++ b/sys-fs/multipath-tools/multipath-tools-0.4.7.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2006 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.7.ebuild,v 1.1 2006/05/22 10:16:54 azarah Exp $
+
+inherit eutils toolchain-funcs
+
+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="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND=">=sys-fs/device-mapper-1.00.19
+	sys-fs/udev
+	sys-fs/sysfsutils"
+DEPEND="${RDEPEND}"
+
+src_unpack() {
+	unpack ${A}
+	cd "${S}"
+	sed -i -e 's:^bindir.*:bindir = /usr/sbin:' multipathd/Makefile
+	sed -i -e 's:rules.d/.*:rules.d/40-multipath.rules:' multipath/Makefile
+}
+
+src_compile() {
+	emake -j1 CC=$(tc-getCC) || die "emake failed"
+}
+
+src_install() {
+	dodir /sbin /usr/share/man/man8
+	make DESTDIR="${D}" install || die "install failed"
+
+	insinto /etc
+	newins ${S}/multipath.conf.annotated multipath.conf
+	fperms 644 /etc/udev/rules.d/40-multipath.rules
+	newinitd ${FILESDIR}/rc-multipathd multipathd
+
+	# The dev.d script was previously wrong and is now removed (the udev rules
+	# file does the job instead), but it won't be removed from live systems due
+	# to cfgprotect.
+	# This should help out a little...
+	if [[ -e "${ROOT}"/etc/dev.d/block/multipath.dev ]] ; then
+		mkdir -p "${D}"/etc/dev.d/block
+		echo "# Please delete this file. It is obsoleted by /etc/udev/rules.d/40-multipath.rules" \
+			> "${D}"/etc/dev.d/block/multipath.dev
+	fi
+
+	dodoc AUTHOR COPYING ChangeLog FAQ README TODO
+	docinto dmadm; dodoc README
+	docinto kpartx; dodoc ChangeLog README
+}
-- 
cgit v1.2.3-65-gdbad