summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-07-02 20:35:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-07-02 20:35:33 +0000
commitd7e8217d1c9656c3da72cf799af430860663bc3b (patch)
treeaa9ab0d69e87e81b12e1b2c7265697675deed485 /sys-fs
parentJapanese metadata.xml translation. Thanks to Yoshino-san in bug #133928. (diff)
downloadgentoo-2-d7e8217d1c9656c3da72cf799af430860663bc3b.tar.gz
gentoo-2-d7e8217d1c9656c3da72cf799af430860663bc3b.tar.bz2
gentoo-2-d7e8217d1c9656c3da72cf799af430860663bc3b.zip
Version bump #138818.
(Portage version: 2.1.1_pre2-r1)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.5.23
-rw-r--r--sys-fs/mdadm/mdadm-2.5.2.ebuild41
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 2f9ff134d3cb..4625d35567ad 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.38 2006/06/28 18:01:27 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.39 2006/07/02 20:35:33 vapier Exp $
+
+*mdadm-2.5.2 (02 Jul 2006)
+
+ 02 Jul 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.5.2.ebuild:
+ Version bump #138818.
28 Jun 2006; Gustavo Zacarias <gustavoz@gentoo.org> mdadm-2.5-r1.ebuild:
Stable on sparc wrt #138194
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.5.2 b/sys-fs/mdadm/files/digest-mdadm-2.5.2
new file mode 100644
index 000000000000..0085debb911d
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.5.2
@@ -0,0 +1,3 @@
+MD5 f95d58d3ce8d43c628345d76197ce97b mdadm-2.5.2.tar.bz2 134591
+RMD160 a684d9ff83e49862682a75a115c58b1cea1a7efc mdadm-2.5.2.tar.bz2 134591
+SHA256 379050a659dde8480c167725438b0c952649894572dff261581f8a41968031e6 mdadm-2.5.2.tar.bz2 134591
diff --git a/sys-fs/mdadm/mdadm-2.5.2.ebuild b/sys-fs/mdadm/mdadm-2.5.2.ebuild
new file mode 100644
index 000000000000..2ceb82cce487
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.5.2.ebuild
@@ -0,0 +1,41 @@
+# 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.5.2.ebuild,v 1.1 2006/07/02 20:35:33 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"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.9.0-dont-make-man.patch
+ epatch "${FILESDIR}"/${PN}-2.4.1-syslog-updates.patch
+ use static && append-ldflags -static
+}
+
+src_compile() {
+ emake \
+ 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
+}