diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-13 23:21:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-13 23:21:53 +0000 |
commit | 7fd5079296202e43d514f22532ebcc87cabb28e4 (patch) | |
tree | ede61cf72428d003979c9e314a3f8fee82080156 /sys-fs | |
parent | hppa/ia64/x86 stable (diff) | |
download | gentoo-2-7fd5079296202e43d514f22532ebcc87cabb28e4.tar.gz gentoo-2-7fd5079296202e43d514f22532ebcc87cabb28e4.tar.bz2 gentoo-2-7fd5079296202e43d514f22532ebcc87cabb28e4.zip |
Version bump #105892 by Daniel Webert.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.1 | 1 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.1.ebuild | 43 |
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index 0c70ed08174e..af0db47b3aef 100644 --- a/sys-fs/mdadm/ChangeLog +++ b/sys-fs/mdadm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-fs/mdadm # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.12 2005/07/19 23:14:07 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.13 2005/09/13 23:21:53 vapier Exp $ + +*mdadm-2.1 (13 Sep 2005) + + 13 Sep 2005; Mike Frysinger <vapier@gentoo.org> +mdadm-2.1.ebuild: + Version bump #105892 by Daniel Webert. 19 Jul 2005; Bryan Østergaard <kloeri@gentoo.org> mdadm-1.11.0.ebuild: Stable on alpha. diff --git a/sys-fs/mdadm/files/digest-mdadm-2.1 b/sys-fs/mdadm/files/digest-mdadm-2.1 new file mode 100644 index 000000000000..1fe678837b71 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.1 @@ -0,0 +1 @@ +MD5 d0d80386186dc274ce0319651251de2b mdadm-2.1.tar.bz2 103201 diff --git a/sys-fs/mdadm/mdadm-2.1.ebuild b/sys-fs/mdadm/mdadm-2.1.ebuild new file mode 100644 index 000000000000..7c631467886d --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/mdadm-2.1.ebuild,v 1.1 2005/09/13 23:21:53 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 ~ppc ~ppc64 ~sparc ~x86" +IUSE="static" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51" + +src_unpack() { + unpack ${A} + cd "${S}" + 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 +} |