summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-09-30 03:19:27 +0000
committerMike Frysinger <vapier@gentoo.org>2009-09-30 03:19:27 +0000
commitbdcac2be03b629f9ca76c1b238b66b12688ce1da (patch)
tree0f453aba28ad00dcbb6b9df0eaaa3f4d118d2bd9 /sys-fs
parentVersion bump #286533 by fdupoux. (diff)
downloadhistorical-bdcac2be03b629f9ca76c1b238b66b12688ce1da.tar.gz
historical-bdcac2be03b629f9ca76c1b238b66b12688ce1da.tar.bz2
historical-bdcac2be03b629f9ca76c1b238b66b12688ce1da.zip
Version bump #286544 by Krzysztof Oledzki.
Package-Manager: portage-2.2_rc40/cvs/Linux x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/Manifest10
-rw-r--r--sys-fs/mdadm/mdadm-3.0.2.ebuild62
3 files changed, 74 insertions, 5 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 9847ef318f89..c2cb13b69cc9 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.112 2009/08/23 11:19:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.113 2009/09/30 03:19:27 vapier Exp $
+
+*mdadm-3.0.2 (30 Sep 2009)
+
+ 30 Sep 2009; Mike Frysinger <vapier@gentoo.org> +mdadm-3.0.2.ebuild:
+ Version bump #286544 by Krzysztof Oledzki.
*mdadm-3.0 (23 Aug 2009)
diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
index 6f25809d35be..6afa810ffbfc 100644
--- a/sys-fs/mdadm/Manifest
+++ b/sys-fs/mdadm/Manifest
@@ -21,6 +21,7 @@ DIST mdadm-2.6.7.1.tar.bz2 154158 RMD160 ed6a7c58fc025636a3a54cf1287fd1d0551735e
DIST mdadm-2.6.7.tar.bz2 153982 RMD160 050ad044392a804e3a08282de10e56eb2411f15e SHA1 6b9ac8e7e9b7f60cc2d709883028221be8a949d9 SHA256 f2ec116bb1fc0102861796bc56777e751ea65202b460b0d43ae6ad277def807e
DIST mdadm-2.6.8.tar.bz2 155837 RMD160 c0aeacd37f0a0f38e095e5eb5ec43082a6d84524 SHA1 4147e0b067ae74b71bcfd9bdb4c3c23564d65f73 SHA256 cc7f97d67c7a33123eb3950f3bb00ce84bc0931573024beac0d9cf27dd09e3ea
DIST mdadm-2.6.9.tar.bz2 156358 RMD160 46fca913d409ad58e510a666c4d3356d9112b6e5 SHA1 11559036be68876e3c55f3cc27d67801d3d71aca SHA256 9852c90de6b6d1c40f8d419a67f1e1cf3913febe232d04caf8a5cc9aca72a611
+DIST mdadm-3.0.2.tar.bz2 252754 RMD160 3cb6407272c797cebd7496cf19b2b3a52ee68633 SHA1 e7f95e0554b51c251d04397eb1cb0884ac2fa336 SHA256 821c2a073daed4916973226a6c623de5d697cceb077de935e2b1c316b11f3da7
DIST mdadm-3.0.tar.bz2 250775 RMD160 b54ef427b1561216995b43171114042ecd4b4368 SHA1 e94defc72c585bed607eff51075045d172894229 SHA256 6fd6ab77c4d996879192edd8ad90cd512165a857795c25c98fc35206df6c2e64
EBUILD mdadm-2.6.4-r1.ebuild 1813 RMD160 00d28b3a8b5558f6cbbe66a23931e3d0a478ccf6 SHA1 454926263053c403f3a97488c079d2316554d47f SHA256 b766ca3cae7ad05213e9dc007a073d08705e4c3e92c112c1860e6e3f5a9d0dcc
EBUILD mdadm-2.6.4-r2.ebuild 1934 RMD160 81ad3cd0ee45ce3fc90710b0e94bcc79fc0b1878 SHA1 c6e66e609439e76ce4673538f5510340a73f8b74 SHA256 9776ed5ddf707f50f8c6f89a25abe1577fd8df4d28ab7ef56a52fcc144341ebd
@@ -30,13 +31,14 @@ EBUILD mdadm-2.6.7.ebuild 1916 RMD160 71cb832574dc44eafe9ca1eafa5e322c79462844 S
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-2.6.9.ebuild 1926 RMD160 fbab6a88da1b92712c13bba16cc3c6e638ac6a21 SHA1 02e1351e1f2ec54d7a32d48b7ce3b5777524001e SHA256 6c612f19fbcebe9abef1b0e07477522e41105711ff59b89382863d35af7b9c23
+EBUILD mdadm-3.0.2.ebuild 1975 RMD160 d8b2199b759aa74172d52c40cfb14818a590b13e SHA1 29e6a861feceaec8a90c5cedcf8ea2c1d0c26e2c SHA256 9b4c524887dcf527f0ddd8a29fc9e7f7b3b7cbcefb83dda0a9f9bfd403b698ac
EBUILD mdadm-3.0.ebuild 1973 RMD160 1eac0cec51a28775e70d822d76b5c670772de1da SHA1 3bd671a56a98d984945d5df2bbc4fa83c1db0964 SHA256 5da7e4db024a3d6b6ccd3d98ca0a4264afeda56e34a434f6fc9d34716bd62fa8
-MISC ChangeLog 17774 RMD160 a613dc65bc442736fd2a297cfcd8e2e575455150 SHA1 28674b3b3c07c885c9cf370a014bfcdd68ee4751 SHA256 d888d81ec20b567780009af2754049d943fdec3a681d7efce2cd4611b323959f
+MISC ChangeLog 17919 RMD160 a3d0c8d693157909783d6be4a3f0e29efca8ab95 SHA1 38a5f6bac17f164ebfaaae16c922ec2e76f82eb8 SHA256 57beea43d754e038ed5fade2c1ed3ac6443ba2609d1a4c2058b0df240d69626f
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
-iEYEARECAAYFAkqRJdgACgkQlPl3HsVfCDqhGQCePNEnFhYl7mpq1LrSotYOL32n
-5doAmwWEy1PrSgozl7CAwyL4GN4/gscI
-=bIvJ
+iEYEARECAAYFAkrCzkUACgkQlPl3HsVfCDpbBACfXF4taFxS3e1pN/TFuJ5dh32q
+iAkAnRB4LexqL8/iXH7kf9Ys8fnByDRz
+=kqWg
-----END PGP SIGNATURE-----
diff --git a/sys-fs/mdadm/mdadm-3.0.2.ebuild b/sys-fs/mdadm/mdadm-3.0.2.ebuild
new file mode 100644
index 000000000000..b1992c554be4
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-3.0.2.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.0.2.ebuild,v 1.1 2009/09/30 03:19:27 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"
+}