summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-04-10 23:04:58 +0000
committerMike Frysinger <vapier@gentoo.org>2006-04-10 23:04:58 +0000
commita3d21d0370ca7b84de5844f8e89935beec708d65 (patch)
treed31d6f290ca5ac5c6dc834a0de87d60899c7caed /sys-fs/mdadm
parentLet portage compress the docs #129486 by Stefan de Konink. (diff)
downloadgentoo-2-a3d21d0370ca7b84de5844f8e89935beec708d65.tar.gz
gentoo-2-a3d21d0370ca7b84de5844f8e89935beec708d65.tar.bz2
gentoo-2-a3d21d0370ca7b84de5844f8e89935beec708d65.zip
Version bump #129240 by Duncan.
(Portage version: 2.1_pre7-r5)
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.4.13
-rw-r--r--sys-fs/mdadm/mdadm-2.4.1.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 5ca0487bab41..1182feb857c6 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.25 2006/04/08 00:33:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.26 2006/04/10 23:04:58 vapier Exp $
+
+*mdadm-2.4.1 (10 Apr 2006)
+
+ 10 Apr 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.4.1.ebuild:
+ Version bump #129240 by Duncan.
*mdadm-2.4 (08 Apr 2006)
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.4.1 b/sys-fs/mdadm/files/digest-mdadm-2.4.1
new file mode 100644
index 000000000000..32105cd0067f
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.4.1
@@ -0,0 +1,3 @@
+MD5 b203e978a3e10de702a80a8ef98d2356 mdadm-2.4.1.tar.bz2 121105
+RMD160 bd33aaa71fc0846e0199efd368321ea4235aa524 mdadm-2.4.1.tar.bz2 121105
+SHA256 2bff784204ab76a728f119341ee610282d12bcc117d66188dbc51088cd1813a3 mdadm-2.4.1.tar.bz2 121105
diff --git a/sys-fs/mdadm/mdadm-2.4.1.ebuild b/sys-fs/mdadm/mdadm-2.4.1.ebuild
new file mode 100644
index 000000000000..a42a8f1b7dde
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.4.1.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.1.ebuild,v 1.1 2006/04/10 23:04:58 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
+}