diff options
-rw-r--r-- | sys-fs/mdadm/ChangeLog | 7 | ||||
-rw-r--r-- | sys-fs/mdadm/files/digest-mdadm-2.5.4 | 3 | ||||
-rw-r--r-- | sys-fs/mdadm/mdadm-2.5.4.ebuild | 41 |
3 files changed, 50 insertions, 1 deletions
diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index f98a53916bae..f344997c0ef7 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.49 2006/10/21 04:17:28 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.50 2006/10/21 04:23:21 agriffis Exp $ + +*mdadm-2.5.4 (21 Oct 2006) + + 21 Oct 2006; Aron Griffis <agriffis@gentoo.org> +mdadm-2.5.4.ebuild: + Bump to 2.5.4 (from 2.5.3) 21 Oct 2006; Aron Griffis <agriffis@gentoo.org> mdadm-2.5.3.ebuild: Mark 2.5.3 stable on alpha diff --git a/sys-fs/mdadm/files/digest-mdadm-2.5.4 b/sys-fs/mdadm/files/digest-mdadm-2.5.4 new file mode 100644 index 000000000000..b8b7a4ef1540 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-2.5.4 @@ -0,0 +1,3 @@ +MD5 e72099f441d7c9065c34396875612a01 mdadm-2.5.4.tar.bz2 136104 +RMD160 6567ba65cf56cdb1466157d485ae758d7e1fbc81 mdadm-2.5.4.tar.bz2 136104 +SHA256 97433a441c4f1276f3248e71098eb127db971b8740a7a622307dd3f0e07ebb15 mdadm-2.5.4.tar.bz2 136104 diff --git a/sys-fs/mdadm/mdadm-2.5.4.ebuild b/sys-fs/mdadm/mdadm-2.5.4.ebuild new file mode 100644 index 000000000000..844c4069e6bc --- /dev/null +++ b/sys-fs/mdadm/mdadm-2.5.4.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.4.ebuild,v 1.1 2006/10/21 04:23:21 agriffis 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 +} |