diff options
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.5.1 | 3 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.5.1.ebuild | 41 |
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index e5a7039f45d6..f2d91a303074 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.32 2006/06/25 00:51:37 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.33 2006/06/26 20:49:08 vapier Exp $ + +*mdadm-2.5.1 (26 Jun 2006) + + 26 Jun 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.5.1.ebuild: + Version bump #138070 by H. Meissner. *mdadm-2.5-r1 (25 Jun 2006) diff --git a/sys-fs/mdadm/files/digest-mdadm-2.5.1 b/sys-fs/mdadm/files/digest-mdadm-2.5.1 new file mode 100644 index 000000000000..2259a3aeb53d --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.5.1 @@ -0,0 +1,3 @@ +MD5 62bc0d8e21116f34bb5c2060eaad7502 mdadm-2.5.1.tar.bz2 133936 +RMD160 7c3bbd56d4d5849e8c3157b497c2165ca5e31616 mdadm-2.5.1.tar.bz2 133936 +SHA256 10c8e3fbc1afddba9f6b8551f6ef0b71df182d46d3d2b9ab0d745ad4f1105902 mdadm-2.5.1.tar.bz2 133936 diff --git a/sys-fs/mdadm/mdadm-2.5.1.ebuild b/sys-fs/mdadm/mdadm-2.5.1.ebuild new file mode 100644 index 000000000000..b11a18189ef8 --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.5.1.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.1.ebuild,v 1.1 2006/06/26 20:49:08 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 +} |