summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-08 00:33:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-08 00:33:44 +0000
commit67ac30ea9cdf038eb62ecdb05a4a5fa8f2e7ecc5 (patch)
tree8e71430811116ddcf7d569d0d0b8d60706189b62 /sys-fs
parentsome error checking (diff)
downloadgentoo-2-67ac30ea9cdf038eb62ecdb05a4a5fa8f2e7ecc5.tar.gz
gentoo-2-67ac30ea9cdf038eb62ecdb05a4a5fa8f2e7ecc5.tar.bz2
gentoo-2-67ac30ea9cdf038eb62ecdb05a4a5fa8f2e7ecc5.zip
Version bump #128790 by Nathan Blomquist.
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.43
-rw-r--r--sys-fs/mdadm/mdadm-2.4.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 6a784a4ba814..5ca0487bab41 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/mdadm
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.24 2006/02/10 04:09:01 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.25 2006/04/08 00:33:44 vapier Exp $
+
+*mdadm-2.4 (08 Apr 2006)
+
+ 08 Apr 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.4.ebuild:
+ Version bump #128790 by Nathan Blomquist.
10 Feb 2006; Mike Frysinger <vapier@gentoo.org>
+files/mdadm-2.3.1-endian.patch, mdadm-2.3.1.ebuild:
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.4 b/sys-fs/mdadm/files/digest-mdadm-2.4
new file mode 100644
index 000000000000..44aed53ebb05
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.4
@@ -0,0 +1,3 @@
+MD5 3f82d45b8d2b08e3c6953d5808dc64ba mdadm-2.4.tar.bz2 121280
+RMD160 82761ec00f090e67e1c1971899d16913bd947e03 mdadm-2.4.tar.bz2 121280
+SHA256 1b605b02b9691f675b2e3020bf04d8f1cea58870eaba97b3622d3aeb5a17e064 mdadm-2.4.tar.bz2 121280
diff --git a/sys-fs/mdadm/mdadm-2.4.ebuild b/sys-fs/mdadm/mdadm-2.4.ebuild
new file mode 100644
index 000000000000..512847b70aa0
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.4.ebuild,v 1.1 2006/04/08 00:33:44 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://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"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ >=sys-apps/portage-2.0.51"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-2.3.1-endian.patch #122269
+ epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch
+ use static && append-ldflags -static
+}
+
+src_compile() {
+ emake \
+ CWFLAGS="-Wall" \
+ CXFLAGS="${CFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ make 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
+}