summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-11-07 03:08:43 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-11-07 03:08:43 +0000
commit13d35b9d3c141eff2520bbbca644cdf086080347 (patch)
tree7f48f2f9a4eb047af4e6a6fdb87691e740eb62bc /sys-fs
parentFix quoting. (diff)
downloadhistorical-13d35b9d3c141eff2520bbbca644cdf086080347.tar.gz
historical-13d35b9d3c141eff2520bbbca644cdf086080347.tar.bz2
historical-13d35b9d3c141eff2520bbbca644cdf086080347.zip
Version bump, fixes forced assemble and v1.x device size issues.
Package-Manager: portage-2.2_rc13/cvs/Linux 2.6.28-rc3-00054-g75fa677 x86_64
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/Manifest14
-rw-r--r--sys-fs/mdadm/mdadm-2.6.7.1.ebuild59
3 files changed, 68 insertions, 12 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index ab7441610cef..4bb56c09359f 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mdadm
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.101 2008/06/29 23:04:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.102 2008/11/07 03:08:43 robbat2 Exp $
+
+*mdadm-2.6.7.1 (07 Nov 2008)
+
+ 07 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> +mdadm-2.6.7.1.ebuild:
+ Version bump, fixes forced assemble and v1.x device size issues.
*mdadm-2.6.7 (29 Jun 2008)
diff --git a/sys-fs/mdadm/Manifest b/sys-fs/mdadm/Manifest
index 8188d38ca4c8..1dd238fa442c 100644
--- a/sys-fs/mdadm/Manifest
+++ b/sys-fs/mdadm/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 64-md-raid.rules 738 RMD160 95f8934aded76f5b85e5f2ff9f9f250f8c4a4300 SHA1 4c4a103fd8ed7134f8b86b1f7d2f4f6cf439184e SHA256 9ad68b9efc5bf7785c1a5cc4b49568f54b25ad0b9783a7642e60a131ef238f3b
AUX mdadm-1.9.0-dont-make-man.patch 260 RMD160 439a95518c7890bf72ef463ec274c53437f4ac5e SHA1 b40ab96938d0a0d80a25d67fc263c94c76749269 SHA256 71c81dbbfa1d466e9ee2d3ff0afa8b2d57e75be5dbccdbdd837786723943f7cd
AUX mdadm-2.6-syslog-updates.patch 1117 RMD160 c7de674fc76eb444d1d5f97a5a4c59c955aa51b6 SHA1 c00f4f283acd226241aed07e35133f965bb8b154 SHA256 207fd5ec76829fed5310f766001686807c623fe3eee541701f3366f96ef77b86
@@ -13,17 +10,12 @@ AUX raid-start.sh 1445 RMD160 6c210b05103376ea0e6d9c251ef8cc3b7b74957f SHA1 dda9
AUX raid-start.sh-2.6.4 1470 RMD160 c779e6f5ff5fb74c46c8d590a87bc07d97f21943 SHA1 4cd319c799b2ff9c186b89d16a80da64506e7b02 SHA256 f9a65d5947053bc7c6930f2b011b7e4b3a37f1f390beac7a72f0ac3a54d0d174
AUX raid-stop.sh 645 RMD160 a2855fbdad1222044a9de5b7a9f441592d42960b SHA1 daa2052a3835ca178005a96a3675759a96119203 SHA256 167a6bd452b5831cd5235eb80bf5f91bb2e5a10db132408fce29e60eb9d200db
DIST mdadm-2.6.4.tar.bz2 152401 RMD160 dcd17d2f4c42061de44c27f3bf80cf5fee6aaab3 SHA1 efcd1ef9a5fc5fbce30d03d371cbd6997a4e2c40 SHA256 1d39f110eda550b9e7dbe9d1e56098ef77197029cb8c5f5d638d2c255feaf23d
+DIST mdadm-2.6.7.1.tar.bz2 154158 RMD160 ed6a7c58fc025636a3a54cf1287fd1d0551735e5 SHA1 217d49fd00152ffd841962a5ae3059040c648c55 SHA256 179e305240cacb6c9ca679773b7fbd03625f813d9fb251111ea802f72f7f9222
DIST mdadm-2.6.7.tar.bz2 153982 RMD160 050ad044392a804e3a08282de10e56eb2411f15e SHA1 6b9ac8e7e9b7f60cc2d709883028221be8a949d9 SHA256 f2ec116bb1fc0102861796bc56777e751ea65202b460b0d43ae6ad277def807e
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
EBUILD mdadm-2.6.4-r3.ebuild 1919 RMD160 510abe2d735bef32d8891e4ed87637277e22e61f SHA1 e9b06a6f4d17b0609184a1285e7ea895dcfe5f5d SHA256 177a565875bde702854ffe1b78fc812933cae5c0b2ad43ec1683f7205b24921e
+EBUILD mdadm-2.6.7.1.ebuild 1919 RMD160 e40a87f7501898cc48ee57886c9b7a5eed25c45a SHA1 aaa3f7e35313ed7f4982dc2f5f172dac6df44b86 SHA256 3ba6fe351b8912ab55e26f20913f668aeb2917905ab417baed691f14db5d48a7
EBUILD mdadm-2.6.7.ebuild 1916 RMD160 71cb832574dc44eafe9ca1eafa5e322c79462844 SHA1 2428e7bb28e86eded9abda570c230027788e3d30 SHA256 b2fdc8f4e5351961c3e68ef2c2d5c8d0d50c9092603db365c9ad46d83bd7049b
-MISC ChangeLog 16132 RMD160 c09648d243bfb2492b9984bcb41a831011d2dc7a SHA1 8d1e00ec08a24875a172795b60632be432eda567 SHA256 c960be8aaa0cef5180ee87f681c2aebe1edef26b5ad5b4f3485a25377fc438fe
+MISC ChangeLog 16307 RMD160 6d174b53c661476139ade2c85ea6d0a2217aea00 SHA1 01a1fb9ab0cf04ceee875273d13456ef78e7070d SHA256 faa0ff6648a566431a04da10bfec5dc852c84ea6ca05c20a0104b9cf8d72ab88
MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213f5803676c56439df3716be07d6692588856 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkhoFPwACgkQ67wieSYcaxfm1QCg34Ohe2ITjZXioiwlFM9CAdNw
-7J0AoNbtoTT6ipS7ZiX2rvDsumeB85ZY
-=8Q4h
------END PGP SIGNATURE-----
diff --git a/sys-fs/mdadm/mdadm-2.6.7.1.ebuild b/sys-fs/mdadm/mdadm-2.6.7.1.ebuild
new file mode 100644
index 000000000000..5f9457994081
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.6.7.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.7.1.ebuild,v 1.1 2008/11/07 03:08:43 robbat2 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"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.9.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 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}"/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"
+}