summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-10-19 11:57:05 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-10-19 11:57:05 +0000
commitff490c3984c6a3a2595c1edc7187db11d61197c6 (patch)
tree33a3f3951994a8cdcf62830e349266cfd636e6b5 /sys-fs
parentpunted net-irc/xdcc-fetch (diff)
downloadgentoo-2-ff490c3984c6a3a2595c1edc7187db11d61197c6.tar.gz
gentoo-2-ff490c3984c6a3a2595c1edc7187db11d61197c6.tar.bz2
gentoo-2-ff490c3984c6a3a2595c1edc7187db11d61197c6.zip
Version bump.
(Portage version: 2.1.3.14)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/mdadm/ChangeLog7
-rw-r--r--sys-fs/mdadm/files/digest-mdadm-2.6.43
-rw-r--r--sys-fs/mdadm/mdadm-2.6.4.ebuild54
3 files changed, 63 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog
index 84d4b8f9f33b..9a3129f9ebd4 100644
--- a/sys-fs/mdadm/ChangeLog
+++ b/sys-fs/mdadm/ChangeLog
@@ -1,6 +1,11 @@
# 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.84 2007/10/08 21:07:06 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.85 2007/10/19 11:57:05 robbat2 Exp $
+
+*mdadm-2.6.4 (19 Oct 2007)
+
+ 19 Oct 2007; Robin H. Johnson <robbat2@gentoo.org> +mdadm-2.6.4.ebuild:
+ Version bump.
*mdadm-2.6.3-r4 (08 Oct 2007)
diff --git a/sys-fs/mdadm/files/digest-mdadm-2.6.4 b/sys-fs/mdadm/files/digest-mdadm-2.6.4
new file mode 100644
index 000000000000..b824df051c69
--- /dev/null
+++ b/sys-fs/mdadm/files/digest-mdadm-2.6.4
@@ -0,0 +1,3 @@
+MD5 b616697aecc870d5d580bd6e010472a3 mdadm-2.6.4.tar.bz2 152401
+RMD160 dcd17d2f4c42061de44c27f3bf80cf5fee6aaab3 mdadm-2.6.4.tar.bz2 152401
+SHA256 1d39f110eda550b9e7dbe9d1e56098ef77197029cb8c5f5d638d2c255feaf23d mdadm-2.6.4.tar.bz2 152401
diff --git a/sys-fs/mdadm/mdadm-2.6.4.ebuild b/sys-fs/mdadm/mdadm-2.6.4.ebuild
new file mode 100644
index 000000000000..c66a82361044
--- /dev/null
+++ b/sys-fs/mdadm/mdadm-2.6.4.ebuild
@@ -0,0 +1,54 @@
+# 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.4.ebuild,v 1.1 2007/10/19 11:57: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
+ newexe "${FILESDIR}"/raid-start.sh-2.6.3-r4 raid-start.sh || die "addon failed"
+ newexe "${FILESDIR}"/raid-stop.sh-2.6.3-r2 raid-stop.sh || die "addon failed"
+ dodoc INSTALL TODO "ANNOUNCE-${PV}"
+
+ insinto /etc
+ newins mdadm.conf-example mdadm.conf
+ newinitd "${FILESDIR}"/mdadm.rc mdadm || die "installing mdadm.rc failed"
+ newconfd "${FILESDIR}"/mdadm.confd mdadm || die "installing mdadm.confd failed"
+ newinitd "${FILESDIR}"/mdraid.rc-2.6.3-r4 mdraid || die "installing mdraid.rc failed"
+
+ insinto /etc/udev/rules.d/
+ newins "${FILESDIR}"/64-md-raid.rules-2.6.3-r2 64-md-raid.rules || die
+}
+
+pkg_postinst() {
+ elog "If using baselayout-2 and not relying on kernel auto-detect"
+ elog "of your RAID devices, you need to add 'mdraid' to your 'boot'"
+ elog "runlevel. Run the following command:"
+ elog "rc-update add mdraid boot"
+}