diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 05:02:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-11 05:02:17 +0000 |
commit | 84185b935f78aac37dfbed506a4a947aabc6913d (patch) | |
tree | 28e6efa496ac52ff13eea7cde37d3aefc24830bc /sys-fs/mdadm | |
parent | Added ~sparc keyword. (diff) | |
download | gentoo-2-84185b935f78aac37dfbed506a4a947aabc6913d.tar.gz gentoo-2-84185b935f78aac37dfbed506a4a947aabc6913d.tar.bz2 gentoo-2-84185b935f78aac37dfbed506a4a947aabc6913d.zip |
Version bump #118599 by Andrey.
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'sys-fs/mdadm')
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 9 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.2 | 1 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.2.ebuild | 43 |
3 files changed, 51 insertions, 2 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index e4cafb194e4d..b3d9632976d2 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.20 2005/12/21 15:09:32 cryos Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.21 2006/01/11 05:02:17 vapier Exp $ + +*mdadm-2.2 (11 Jan 2006) + + 11 Jan 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.2.ebuild: + Version bump #118599 by Andrey. 21 Dec 2005; Marcus D. Hanwell <cryos@gentoo.org> mdadm-1.12.0.ebuild: Stable on amd64. diff --git a/sys-fs/mdadm/files/digest-mdadm-2.2 b/sys-fs/mdadm/files/digest-mdadm-2.2 new file mode 100644 index 000000000000..a6a8374d21f2 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.2 @@ -0,0 +1 @@ +MD5 c8df672f809aa4a43a88a2516d421d6e mdadm-2.2.tar.bz2 106815 diff --git a/sys-fs/mdadm/mdadm-2.2.ebuild b/sys-fs/mdadm/mdadm-2.2.ebuild new file mode 100644 index 000000000000..2998ab747f3b --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.2.ebuild @@ -0,0 +1,43 @@ +# 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.2.ebuild,v 1.1 2006/01/11 05:02:17 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 ~mips" +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 +} |