diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-10-26 19:53:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-10-26 19:53:19 +0000 |
commit | 7c33253aeab2251b82ac40baef9484dc965fd90f (patch) | |
tree | dc8bcde0995114beee5123dab0d29d36e2c228d5 /sys-fs | |
parent | Nuke 2.12.x versions; they still dep on mozilla (diff) | |
download | gentoo-2-7c33253aeab2251b82ac40baef9484dc965fd90f.tar.gz gentoo-2-7c33253aeab2251b82ac40baef9484dc965fd90f.tar.bz2 gentoo-2-7c33253aeab2251b82ac40baef9484dc965fd90f.zip |
Version bump #152839 by Jonathan Adamczewski and fix by him for cross-compiling #152841.
(Portage version: 2.1.2_pre3-r9)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.5.5 | 3 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.5.5.ebuild | 42 |
3 files changed, 52 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index f344997c0ef7..0b7ff7da6116 100644 --- a/sys-fs/mdadm/ChangeLog +++ b/sys-fs/mdadm/ChangeLog @@ -1,6 +1,12 @@ # 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.50 2006/10/21 04:23:21 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.51 2006/10/26 19:53:19 vapier Exp $ + +*mdadm-2.5.5 (26 Oct 2006) + + 26 Oct 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.5.5.ebuild: + Version bump #152839 by Jonathan Adamczewski and fix by him for + cross-compiling #152841. *mdadm-2.5.4 (21 Oct 2006) diff --git a/sys-fs/mdadm/files/digest-mdadm-2.5.5 b/sys-fs/mdadm/files/digest-mdadm-2.5.5 new file mode 100644 index 000000000000..44f4ddcfd474 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.5.5 @@ -0,0 +1,3 @@ +MD5 099bb5f340c5d334445dd003a6d86460 mdadm-2.5.5.tar.bz2 136908 +RMD160 ad89d0d417a0acc916da507f6dd9ff7e5f5d1372 mdadm-2.5.5.tar.bz2 136908 +SHA256 d54ae28bdafdbd3c71bfafa8f8814583356714b6a1436783161413a1e34a38c9 mdadm-2.5.5.tar.bz2 136908 diff --git a/sys-fs/mdadm/mdadm-2.5.5.ebuild b/sys-fs/mdadm/mdadm-2.5.5.ebuild new file mode 100644 index 000000000000..e8c7789da844 --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.5.5.ebuild @@ -0,0 +1,42 @@ +# 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.5.ebuild,v 1.1 2006/10/26 19:53:19 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 \ + 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 + 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 +} |