From 5a3c1f0064c79d5397fe6161144d64a732b017f7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 7 Jul 2005 23:23:04 +0000 Subject: Version bump #98286 by Daniel Webert. (Portage version: 2.0.51.22-r1) --- sys-fs/mdadm/ChangeLog | 7 +++++- sys-fs/mdadm/files/digest-mdadm-1.12.0 | 1 + sys-fs/mdadm/mdadm-1.12.0.ebuild | 44 ++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 1 deletion(-) create mode 100644 sys-fs/mdadm/files/digest-mdadm-1.12.0 create mode 100644 sys-fs/mdadm/mdadm-1.12.0.ebuild diff --git a/sys-fs/mdadm/ChangeLog b/sys-fs/mdadm/ChangeLog index ab8e09575bb8..e03a711e2833 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.7 2005/06/10 02:09:28 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/ChangeLog,v 1.8 2005/07/07 23:23:04 vapier Exp $ + +*mdadm-1.12.0 (07 Jul 2005) + + 07 Jul 2005; Mike Frysinger +mdadm-1.12.0.ebuild: + Version bump #98286 by Daniel Webert. 10 Jun 2005; Mike Frysinger files/raid-start.sh: Tweak device node creation to handle subpaths #95593 by Milan Holzäpfel. diff --git a/sys-fs/mdadm/files/digest-mdadm-1.12.0 b/sys-fs/mdadm/files/digest-mdadm-1.12.0 new file mode 100644 index 000000000000..a00c6ee19888 --- /dev/null +++ b/sys-fs/mdadm/files/digest-mdadm-1.12.0 @@ -0,0 +1 @@ +MD5 736705240e918294740929518477fc6f mdadm-1.12.0.tar.bz2 79934 diff --git a/sys-fs/mdadm/mdadm-1.12.0.ebuild b/sys-fs/mdadm/mdadm-1.12.0.ebuild new file mode 100644 index 000000000000..2ad1313269af --- /dev/null +++ b/sys-fs/mdadm/mdadm-1.12.0.ebuild @@ -0,0 +1,44 @@ +# 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-1.12.0.ebuild,v 1.1 2005/07/07 23:23:04 vapier Exp $ + +inherit eutils + +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/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 + if use static ; then + sed -i \ + -e "/^# LDFLAGS = -static/s:#::" \ + Makefile || die "sed Makefile failed" + fi +} + +src_compile() { + emake 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 +} -- cgit v1.2.3-65-gdbad