summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-05-24 08:08:05 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-05-24 08:08:05 +0000
commita07e4b6cb823307fc0e82119c98fcb695de38c42 (patch)
tree4a3a4a671cd25175c8b5cebeda68e717f3a49ab8 /sys-fs
parentMarked stable on x86. (diff)
downloadgentoo-2-a07e4b6cb823307fc0e82119c98fcb695de38c42.tar.gz
gentoo-2-a07e4b6cb823307fc0e82119c98fcb695de38c42.tar.bz2
gentoo-2-a07e4b6cb823307fc0e82119c98fcb695de38c42.zip
Version bump. mdadm now has an auto-detect option to fire the kernel auto-detection code.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog8
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.6.23
-rw-r--r--sys-fs/mdadm/mdadm-2.6.2.ebuild42
3 files changed, 52 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index f42ef75efe86..7abd8b9efae3 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/mdadm
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.69 2007/05/11 04:38:25 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.70 2007/05/24 08:08:05 robbat2 Exp $
+
+*mdadm-2.6.2 (24 May 2007)
+
+ 24 May 2007; Robin H. Johnson <robbat2@gentoo.org> +mdadm-2.6.2.ebuild:
+ Version bump. mdadm now has an auto-detect option to fire the kernel
+ auto-detection code.
11 May 2007; Joshua Kinard <kumba@gentoo.org> mdadm-2.6.1.ebuild:
Stable on mips, per #166309.
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.6.2 b/sys-fs/mdadm/files/digest-mdadm-2.6.2
new file mode 100644
index 000000000000..c50e1dba3a56
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.6.2
@@ -0,0 +1,3 @@
+MD5 87089d35d6a308ee3b3ebc34824e1629 mdadm-2.6.2.tar.bz2 151082
+RMD160 04f7598019b28dadcb7ca35c630910e65a036cdf mdadm-2.6.2.tar.bz2 151082
+SHA256 b026731babd23013277d7a0e087d2233ff044deb616c51851dc3adffaae32a55 mdadm-2.6.2.tar.bz2 151082
diff --git a/sys-fs/mdadm/mdadm-2.6.2.ebuild b/sys-fs/mdadm/mdadm-2.6.2.ebuild
new file mode 100644
index 000000000000..3539d86eb881
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.6.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.6.2.ebuild,v 1.1 2007/05/24 08:08:05 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://cgi.cse.unsw.edu.au/~neilb/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
+ use static && append-ldflags -static
+}
+
+src_compile() {
+ emake \
+ CROSS_COMPILE=${CHOST}- \
+ CWFLAGS="-Wall" \
+ CXFLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ exeinto /$(get_libdir)/rcscripts/addons
+ doexe "${FILESDIR}"/raid-{start,stop}.sh || die "addon failed"
+ dodoc INSTALL TODO "ANNOUNCE-${PV}"
+
+ insinto /etc
+ newins mdadm.conf-example mdadm.conf
+ newinitd "${FILESDIR}"/mdadm.rc mdadm || die
+ newconfd "${FILESDIR}"/mdadm.confd mdadm || die
+}