summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-01-21 00:33:19 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-01-21 00:33:19 +0000
commit1584451d1a7c01040bb59a508dc56f07a2e5a365 (patch)
treebe85f540979298b2696b494e9774fd683066d2c4 /sys-fs/mdadm
parentVersion bump (diff)
downloadhistorical-1584451d1a7c01040bb59a508dc56f07a2e5a365.tar.gz
historical-1584451d1a7c01040bb59a508dc56f07a2e5a365.tar.bz2
historical-1584451d1a7c01040bb59a508dc56f07a2e5a365.zip
Bug #399565: version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/ChangeLog9
-rw-r--r--sys-fs/mdadm/Manifest14
-rw-r--r--sys-fs/mdadm/mdadm-3.2.3.ebuild77
3 files changed, 87 insertions, 13 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 26913735158e..509d77626b46 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mdadm
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.146 2011/11/12 21:06:44 vapier Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.147 2012/01/21 00:33:19 robbat2 Exp $
+
+*mdadm-3.2.3 (21 Jan 2012)
+
+ 21 Jan 2012; Robin H. Johnson <robbat2@gentoo.org> +mdadm-3.2.3.ebuild:
+ Bug #399565: version bump.
12 Nov 2011; Mike Frysinger <vapier@gentoo.org> mdadm-3.2.1.ebuild,
+files/mdraid.rc:
diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
index 34817b2ea747..fe1a6d8a5bdb 100644
--- a/sys-fs/mdadm/Manifest
+++ b/sys-fs/mdadm/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
AUX mdadm-2.6-syslog-updates.patch 1117 RMD160 c7de674fc76eb444d1d5f97a5a4c59c955aa51b6 SHA1 c00f4f283acd226241aed07e35133f965bb8b154 SHA256 207fd5ec76829fed5310f766001686807c623fe3eee541701f3366f96ef77b86
AUX mdadm-2.6.4-mdassemble.patch 465 RMD160 4abcfcd75242d552f674a850ea116835a8f56aea SHA1 609161b594c51644f30de98a7a74473361bdb98b SHA256 015321cbb219f80444c9d56d01bde36f828d2814c57712a7655bdbae811ff8c4
AUX mdadm-3.0-dont-make-man.patch 278 RMD160 a0275251626d91dc53b3fadfab6543961f5d7608 SHA1 0c74b7f10fab185442654bb965ac557daa567c17 SHA256 bfc42300913a178c3bcd5f9af4c721893224b2741beddcfba6498d012b1d5679
@@ -18,15 +15,10 @@ AUX raid-stop.sh 645 RMD160 a2855fbdad1222044a9de5b7a9f441592d42960b SHA1 daa205
DIST mdadm-3.1.4.tar.bz2 288578 RMD160 f41a2be4158efac08dbe2e95f1c6812609475fad SHA1 4ee43922d38b15a930daaaa026ef1b4efacdbc8a SHA256 849ad0ad4ad3c1d2d8806a16b30e1f59ab2daf313cb103807207f7cba889ea63
DIST mdadm-3.1.5.tar.bz2 292709 RMD160 e0542c4556988cae551b3399f0f0d27e42b68bda SHA1 e71859f16e1184df2c033a9e24a6f3f262bbf9a5 SHA256 1d547d0b36a88968e9fc9fb08b0e64de54a53f3d1cfa3656a9f319180f0727d3
DIST mdadm-3.2.1.tar.bz2 348062 RMD160 a05f6786b13f649899195e3bbb744d1704c0d004 SHA1 4e85f65748c8070a6b4befa1eab0688baaf93127 SHA256 7f68f149c6c0e8893d0b9220ac255b46af08e6a6b81223cab57ed54d628ae125
+DIST mdadm-3.2.3.tar.bz2 366770 RMD160 3f5b3edb4a99e5d9ecd8d519ba540c98f6b543d9 SHA1 511f4104fe4035515925613e358bef0ea0823148 SHA256 0ff49a04c6250834ce1b5be5a1581532e70e2221a87e1eedec46d6656b37ab40
EBUILD mdadm-3.1.4.ebuild 2265 RMD160 3ecc8441938b6280e174272ef926c8f9b3f15a97 SHA1 2c5de61b9a6f53adfb01d575a3ec88d6b3117a70 SHA256 832f1f81afb743e62e51c598261c93cf778c5bd4276586e08fb72818cffe4db6
EBUILD mdadm-3.1.5.ebuild 2223 RMD160 0ef216b3ea0f49a15fb63a322dfe1cf97764a8cb SHA1 85f876251597fe31f6a700481bd9b969aa6cdc28 SHA256 5d429930b7b7af3d1f117c676a3f97d1b8b17bbdb86eb15fcb2e229989bcca3e
EBUILD mdadm-3.2.1.ebuild 2088 RMD160 c47998464429b1259f646aab3f596679fc4eae70 SHA1 eba277314c7962cf85f52dfad759069661b571df SHA256 9350c7cc56e44efad784447dc4a238cbf0adf30808802dc412ffcb4362fdbbe7
-MISC ChangeLog 22360 RMD160 30596c9fbfe413ba1c6c30ef0fbe19112ef58f1e SHA1 d10aa068da7b063200d15338e085619162a4c9b0 SHA256 b8003d6381a06bcd32ffb210ac2d453689a89a14468dfa75a64d3ca9f7eac0c4
+EBUILD mdadm-3.2.3.ebuild 2147 RMD160 c660f3aac2a8d9a045239a1053642155e793bf85 SHA1 9ac0c0ac3752c8d34d0068db000b6056d66fb028 SHA256 2f3b0ea4a82d47fee0e4489ffb74b0f7201b615b2f2d4650934fde09e2bbf12f
+MISC ChangeLog 22493 RMD160 4697fe4a5c023002b737b27ff8649f348e5124aa SHA1 bb69622215ba8e77695ba3e91dd767e855158afc SHA256 7d1cbc21c0dbe9c25e6536e2297f146d6674c5958c7d2254a868fe3a94d29279
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
-
-iF0EAREIAAYFAk6+3+oACgkQaC/OocHi7Ja2/wD/QEqb32GDWRV2ia+YXhCTYT21
-cECtNcws/254IrSHfSgA9Alh5t1qZvN0rG+k5xXfXqJUZlSncPKdGsSVBJKXGi8=
-=aqQs
------END PGP SIGNATURE-----
diff --git a/sys-fs/mdadm/mdadm-3.2.3.ebuild b/sys-fs/mdadm/mdadm-3.2.3.ebuild
new file mode 100644
index 000000000000..bba814afcff4
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-3.2.3.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-3.2.3.ebuild,v 1.1 2012/01/21 00:33:19 robbat2 Exp $
+
+EAPI="2"
+inherit eutils flag-o-matic toolchain-funcs
+
+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"
+# until it's safe !
+#KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="static"
+
+DEPEND=""
+RDEPEND="!<sys-apps/baselayout-2
+ >=sys-apps/util-linux-2.16"
+
+# The tests edit values in /proc and run tests on software raid devices.
+# Thus, they shouldn't be run on systems with active software RAID devices.
+RESTRICT="test"
+
+src_prepare() {
+ #epatch "${FILESDIR}"/${PN}-3.0-dont-make-man.patch # Merged upstream
+ #epatch "${FILESDIR}"/${PN}-3.2.1-syslog-updates.patch # Merged upstream
+ epatch "${FILESDIR}"/${PN}-3.2.1-mdassemble.patch #211426
+ #epatch "${FILESDIR}"/${PN}-3.1.5-cflags.patch #336175 # Merged upstream
+}
+
+mdadm_emake() {
+ emake \
+ CC="$(tc-getCC)" \
+ CWFLAGS="-Wall" \
+ CXFLAGS="${CFLAGS}" \
+ "$@" \
+ || die
+}
+
+src_compile() {
+ use static && append-ldflags -static
+ mdadm_emake all mdassemble
+}
+
+src_test() {
+ mdadm_emake test
+
+ sh ./test || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ into /
+ dosbin mdassemble || die
+ dodoc ChangeLog INSTALL TODO README* ANNOUNCE-${PV}
+
+ insinto /etc
+ newins mdadm.conf-example mdadm.conf
+ newinitd "${FILESDIR}"/mdadm.rc mdadm || die
+ newconfd "${FILESDIR}"/mdadm.confd mdadm || die
+ newinitd "${FILESDIR}"/mdraid.rc mdraid || die
+ newconfd "${FILESDIR}"/mdraid.confd mdraid || die
+
+ # do not rely on /lib -> /libXX link
+ sed -i \
+ -e "s:/lib/rcscripts/:/$(get_libdir)/rcscripts/:" \
+ "${D}"/etc/init.d/*
+}
+
+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"
+}