diff options
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.5 | 3 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.5.ebuild | 46 |
3 files changed, 55 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index dace8ad663bc..04bbaf73a4f8 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.27 2006/04/25 05:41:51 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.28 2006/06/08 10:22:39 vapier Exp $ + +*mdadm-2.5 (08 Jun 2006) + + 08 Jun 2006; Mike Frysinger <vapier@gentoo.org> +mdadm-2.5.ebuild: + Version bump #135452 by Wolfram Schlich. *mdadm-2.4.1-r1 (25 Apr 2006) diff --git a/sys-fs/mdadm/files/digest-mdadm-2.5 b/sys-fs/mdadm/files/digest-mdadm-2.5 new file mode 100644 index 000000000000..d5fea9e68ed8 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.5 @@ -0,0 +1,3 @@ +MD5 52b7264d6d06258c77439a9ed8dee5e5 mdadm-2.5.tar.bz2 133036 +RMD160 b00da521aad2bd3e3f3e2df7192b6fd71d29ee67 mdadm-2.5.tar.bz2 133036 +SHA256 b6ec7ff2da406b09fb6231238969db334c3881c2470c3e344ae9b0a98ceabff1 mdadm-2.5.tar.bz2 133036 diff --git a/sys-fs/mdadm/mdadm-2.5.ebuild b/sys-fs/mdadm/mdadm-2.5.ebuild new file mode 100644 index 000000000000..0a14ce47f5bd --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.5.ebuild @@ -0,0 +1,46 @@ +# 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.ebuild,v 1.1 2006/06/08 10:22:39 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" + +RDEPEND="" +DEPEND="${RDEPEND} + >=sys-apps/portage-2.0.51" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.3.1-endian.patch #122269 + 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() { + 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 || die + newconfd "${FILESDIR}"/mdadm.confd mdadm || die +} |