summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/mdadm')
-rw-r--r--sys-apps/mdadm/ChangeLog7
-rw-r--r--sys-apps/mdadm/files/digest-mdadm-1.2.01
-rw-r--r--sys-apps/mdadm/mdadm-1.2.0.ebuild45
3 files changed, 52 insertions, 1 deletions
diff --git a/sys-apps/mdadm/ChangeLog b/sys-apps/mdadm/ChangeLog
index b6064e000a37..a2f244014aca 100644
--- a/sys-apps/mdadm/ChangeLog
+++ b/sys-apps/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/mdadm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mdadm/ChangeLog,v 1.3 2003/02/12 09:02:48 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mdadm/ChangeLog,v 1.4 2003/04/29 08:30:58 aliz Exp $
+
+*mdadm-1.2.0 (29 Apr 2003)
+
+ 29 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> :
+ Version bump. Submitted by Jeremy Huddleston <jeremyhu@cory.eecs.berkeley.edu> in #19794.
*mdadm-1.0.1 (26 Oct 2002)
diff --git a/sys-apps/mdadm/files/digest-mdadm-1.2.0 b/sys-apps/mdadm/files/digest-mdadm-1.2.0
new file mode 100644
index 000000000000..762e0d776699
--- /dev/null
+++ b/sys-apps/mdadm/files/digest-mdadm-1.2.0
@@ -0,0 +1 @@
+MD5 cf8e2f4c2c77ced0fe54f87164fc3c8c mdadm-1.2.0.tgz 72805
diff --git a/sys-apps/mdadm/mdadm-1.2.0.ebuild b/sys-apps/mdadm/mdadm-1.2.0.ebuild
new file mode 100644
index 000000000000..1849cc980083
--- /dev/null
+++ b/sys-apps/mdadm/mdadm-1.2.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mdadm/mdadm-1.2.0.ebuild,v 1.1 2003/04/29 08:30:58 aliz Exp $
+
+DESCRIPTION="An extremely useful tool for running RAID systems - it can be used as a replacement for the raidtools, or as a supplement."
+HOMEPAGE="http://www.cse.unsw.edu.au/~neilb/source"
+SRC_URI="http://www.cse.unsw.edu.au/~neilb/source/mdadm/${P}.tgz
+ mirror://kernel/pub/utils/raid/mdadm/${P}.tgz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="static"
+DEPEND=""
+RDEPEND=""
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ mv Makefile Makefile.orig
+ sed -e "36s:^CXFLAGS =:CXFLAGS = $CFLAGS:" Makefile.orig > Makefile
+
+ if [ `use static` ]; then
+ mv Makefile Makefile.orig
+ echo "yes"
+ sed \
+ -e "42s:^# ::" \
+ -e "43s:^# ::" \
+ Makefile.orig > Makefile
+ fi
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ make DESTDIR=${D} install
+
+ dodoc INSTALL COPYING TODO ANNOUNCE-${PV}
+
+ insinto /etc
+ newins mdadm.conf-example mdadm.conf
+}