summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-11-21 23:12:39 +0000
committerMike Frysinger <vapier@gentoo.org>2009-11-21 23:12:39 +0000
commite349f5e737cf8cc6958d8657bf351932d17df4a2 (patch)
treef0a6c4a8bf74cc715cb9ba6b0cac27d882d889a2
parentVersion bump; thanks to Tom Hendriks in bug #293981 (also for ipv6 USE flag). (diff)
downloadhistorical-e349f5e737cf8cc6958d8657bf351932d17df4a2.tar.gz
historical-e349f5e737cf8cc6958d8657bf351932d17df4a2.tar.bz2
historical-e349f5e737cf8cc6958d8657bf351932d17df4a2.zip
Version bump #293972 by Torsten Kurbad.
Package-Manager: portage-2.2_rc49/cvs/Linux x86_64
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/Manifest14
-rw-r--r--sys-fs/mdadm/mdadm-3.1.1.ebuild62
3 files changed, 75 insertions, 8 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index a2626cd11044..f4cc31c98360 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mdadm
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.122 2009/11/09 11:57:42 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.123 2009/11/21 23:12:39 vapier Exp $
+
+*mdadm-3.1.1 (21 Nov 2009)
+
+ 21 Nov 2009; Mike Frysinger <vapier@gentoo.org> +mdadm-3.1.1.ebuild:
+ Version bump #293972 by Torsten Kurbad.
09 Nov 2009; Christian Faulhammer <fauli@gentoo.org> mdadm-3.0.ebuild:
stable x86, bug 287013
diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
index 7ff815c52285..406ff361f3d8 100644
--- a/sys-fs/mdadm/Manifest
+++ b/sys-fs/mdadm/Manifest
@@ -22,20 +22,20 @@ DIST mdadm-2.6.9.tar.bz2 156358 RMD160 46fca913d409ad58e510a666c4d3356d9112b6e5
DIST mdadm-3.0.2.tar.bz2 252754 RMD160 3cb6407272c797cebd7496cf19b2b3a52ee68633 SHA1 e7f95e0554b51c251d04397eb1cb0884ac2fa336 SHA256 821c2a073daed4916973226a6c623de5d697cceb077de935e2b1c316b11f3da7
DIST mdadm-3.0.3.tar.bz2 257554 RMD160 dec3d2aea136c5ac256fdda2822cf28d800afaf2 SHA1 de020e1869c85601fa86752c0d19d05446e9048f SHA256 b51a52aebfb83b09ae7faee9eebb4d49a7ad27767bcc9569079df62c7d510599
DIST mdadm-3.0.tar.bz2 250775 RMD160 b54ef427b1561216995b43171114042ecd4b4368 SHA1 e94defc72c585bed607eff51075045d172894229 SHA256 6fd6ab77c4d996879192edd8ad90cd512165a857795c25c98fc35206df6c2e64
-DIST mdadm-3.1.tar.bz2 268814 RMD160 8f015616a3d5f82a7210a55ec651292a17573f6d SHA1 6c8e27d220bd7e18200438241f71b678769f9dee SHA256 dc9ce46636673a3c11dbdcaf09afc7daebdb5785b6d2f6c9d5fe960647938647
+DIST mdadm-3.1.1.tar.bz2 270338 RMD160 2d34a90f8a34e784a77bbf568dc59a69bd68e6aa SHA1 8902fd57eeb416455182bf0627a808275c5183ba SHA256 31c0d3040774283b1e1fad7830cef53a3b89087b2021ec108696a7fad0eb005e
EBUILD mdadm-2.6.8.ebuild 1905 RMD160 544dee7abda556795d2cd00d357afa15305334b1 SHA1 946cbde625acd4be80514f3aeb94e15d2333ff46 SHA256 db3c592725b327caa5bc56fce00d504afe9b25eab19f7a8f502a38c2ed62cc44
EBUILD mdadm-2.6.9-r1.ebuild 1977 RMD160 41dd3c473fa25f4942f4b8f148f399495aff1f2d SHA1 475642c948ce06532965f8d3bbc4e591a53aa7be SHA256 a593744ea7bf85213781ec50d29554ae402da78e11046219d409428198ae76cc
EBUILD mdadm-3.0.2-r1.ebuild 2059 RMD160 67abd4c018d55b94cb69b3323f08cf13dd61f614 SHA1 97553bd59b7f0eea30dced9e5c40b3d0b44dad69 SHA256 e0e86b80b4931ed77441ba3c4d5e111a86fa26e0589017e85e2e2b4c5f31a70e
EBUILD mdadm-3.0.2.ebuild 1975 RMD160 d8b2199b759aa74172d52c40cfb14818a590b13e SHA1 29e6a861feceaec8a90c5cedcf8ea2c1d0c26e2c SHA256 9b4c524887dcf527f0ddd8a29fc9e7f7b3b7cbcefb83dda0a9f9bfd403b698ac
EBUILD mdadm-3.0.3.ebuild 1975 RMD160 5cf4714e6e15910176a14d056ad15fba05176953 SHA1 d8d7faf8646ab3bcc6869016100a82e28408f128 SHA256 b91f78defd6bd829e111393b77460fd31ff57e11b47488de0d093f88964f8ef1
EBUILD mdadm-3.0.ebuild 1968 RMD160 b4f6cd7eb2a6d1ac799aae831ec2d82cefd37bbf SHA1 f536321109919c31f6d2b92524d10e1944d60933 SHA256 f9da6513f802b0ee9c6714e506513226414f08a1c5456bb5b2b23ffa53307d1d
-EBUILD mdadm-3.1.ebuild 2034 RMD160 c1a55084f5d23dd31584eaf1f334620e35b6c194 SHA1 b6fcc55f35b439b17475643bacdffdf3ecdc61c6 SHA256 2cda96e34ce64152d6dc9cd5659972d22f73230f3e92762490bd0c2e2f73dc15
-MISC ChangeLog 19068 RMD160 6fafbd05495658174cfd00992516bbd5d354578b SHA1 d766d34dc28544a275f6b5ddf9e6f5b44d37379c SHA256 a7dcc6b0a116ca73fee23bd35fc18899b92c307cfb736d3d8130c775181d24a2
+EBUILD mdadm-3.1.1.ebuild 1975 RMD160 d5d3f6ee1a84d35f3e5f7e704b779ebc09a083d1 SHA1 1aba89528c965019255fb5ca1106dcdcfddbbebf SHA256 c35bc9ed297c3d41e62a07fa2a579a940b0cd33ef10c8ec076cd3c34964dff4e
+MISC ChangeLog 19211 RMD160 f328eb929fad53467efdb31bfe8f88d57b81bd75 SHA1 b1457f6b802606635d8a56fad4cb83e1d321261a SHA256 6745f1922ec58f1aaf37af74d1f101206bf42ecad067d388bafeaa09f2a4100b
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.13 (GNU/Linux)
-iEYEARECAAYFAkr4A70ACgkQNQqtfCuFneOd6gCffyB255LhLPnTL7simylwJWfi
-cCMAniQVBsi/UFuQS+tbLabxnw/2ZTBJ
-=L33X
+iEYEARECAAYFAksIdMIACgkQlPl3HsVfCDrQbgCggiGVbUWWTb/cLNsIgJ3JTyX0
+Z3QAn1idSV3TuZ1LUoPwOjvLmtrPADFb
+=N8LP
-----END PGP SIGNATURE-----
diff --git a/sys-fs/mdadm/mdadm-3.1.1.ebuild b/sys-fs/mdadm/mdadm-3.1.1.ebuild
new file mode 100644
index 000000000000..4d9c761b8ec1
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-3.1.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.1.1.ebuild,v 1.1 2009/11/21 23:12:39 vapier Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="A useful tool for running RAID systems - it can be used as a replacement for the raidtools"
+HOMEPAGE="http://neil.brown.name/blog/mdadm"
+SRC_URI="mirror://kernel/linux/utils/raid/mdadm/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+DEPEND=""
+RDEPEND=">=sys-apps/util-linux-2.16"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.0-dont-make-man.patch
+ epatch "${FILESDIR}"/${PN}-2.6-syslog-updates.patch
+ epatch "${FILESDIR}"/${PN}-2.6.4-mdassemble.patch #211426
+ use static && append-ldflags -static
+}
+
+src_compile() {
+ emake \
+ CROSS_COMPILE=${CHOST}- \
+ CWFLAGS="-Wall" \
+ CXFLAGS="${CFLAGS}" \
+ all mdassemble \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ into /
+ dosbin mdassemble || die
+ dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
+
+ exeinto /$(get_libdir)/rcscripts/addons
+ newexe "${FILESDIR}"/raid-start.sh-3.0 raid-start.sh || die "addon failed"
+ newexe "${FILESDIR}"/raid-stop.sh raid-stop.sh || die "addon failed"
+
+ insinto /etc
+ newins mdadm.conf-example mdadm.conf
+ newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed"
+ newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed"
+ newinitd "${FILESDIR}"/mdraid.rc mdraid || die "installing mdraid.rc failed"
+
+ insinto /etc/udev/rules.d/
+ newins "${FILESDIR}"/udev-145-64-md-raid.rules 64-md-raid.rules || die
+}
+
+pkg_postinst() {
+ elog "If using baselayout-2 and not relying on kernel auto-detect"
+ elog "of your RAID devices, you need to add 'mdraid' to your 'boot'"
+ elog "runlevel. Run the following command:"
+ elog "rc-update add mdraid boot"
+}