summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Edgar <rocket@gentoo.org>2005-04-12 02:33:48 +0000
committerEric Edgar <rocket@gentoo.org>2005-04-12 02:33:48 +0000
commit05f72e38357d86250ffa1b1eec5d61394638565b (patch)
treec66dffbb97c3da2691fb5297862c9f29059d244a /sys-fs/lvm2
parentAdded ~sparc keyword. (diff)
downloadgentoo-2-05f72e38357d86250ffa1b1eec5d61394638565b.tar.gz
gentoo-2-05f72e38357d86250ffa1b1eec5d61394638565b.tar.bz2
gentoo-2-05f72e38357d86250ffa1b1eec5d61394638565b.zip
Adding lvm2-2.01.09.ebuild
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/ChangeLog7
-rw-r--r--sys-fs/lvm2/files/digest-lvm2-2.01.091
-rw-r--r--sys-fs/lvm2/lvm2-2.01.09.ebuild39
3 files changed, 46 insertions, 1 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index d948751cb1df..91cce7f7217d 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,6 @@
# ChangeLog for sys-fs/lvm2
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.32 2005/04/09 13:16:26 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.33 2005/04/12 02:33:48 rocket Exp $
09 Apr 2005; Markus Rothe <corsair@gentoo.org> lvm2-2.00.33-r1.ebuild:
Stable on ppc64
@@ -8,6 +8,11 @@
07 Apr 2005; Simon Stelling <blubb@gentoo.org> lvm2-2.00.33-r1.ebuild:
stable on amd64
+*lvm2-2.01.09 (12 Apr 2005)
+
+ 12 Apr 2005; Eric Edgar <rocket@gentoo.org> +lvm2-2.01.09.ebuild:
+ Adding lvm2-2.01.09.ebuild
+
*lvm2-2.00.33-r4 (04 Apr 2005)
04 Apr 2005; Eric Edgar <rocket@gentoo.org> -lvm2-2.00.33-r3.ebuild,
diff --git a/sys-fs/lvm2/files/digest-lvm2-2.01.09 b/sys-fs/lvm2/files/digest-lvm2-2.01.09
new file mode 100644
index 000000000000..979595b5a2f7
--- /dev/null
+++ b/sys-fs/lvm2/files/digest-lvm2-2.01.09
@@ -0,0 +1 @@
+MD5 ed6fe3b734d05c6497cfa4f9932046e6 LVM2.2.01.09.tgz 446348
diff --git a/sys-fs/lvm2/lvm2-2.01.09.ebuild b/sys-fs/lvm2/lvm2-2.01.09.ebuild
new file mode 100644
index 000000000000..a94767915f81
--- /dev/null
+++ b/sys-fs/lvm2/lvm2-2.01.09.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.01.09.ebuild,v 1.1 2005/04/12 02:33:48 rocket Exp $
+
+DESCRIPTION="User-land utilities for LVM2 (device-mapper) software."
+HOMEPAGE="http://sources.redhat.com/lvm2/"
+SRC_URI="ftp://sources.redhat.com/pub/lvm2/${PN/lvm/LVM}.${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64 ~alpha ~hppa"
+IUSE="readline nolvmstatic"
+
+DEPEND=">=sys-fs/device-mapper-1.00.17"
+RDEPEND="${DEPEND}
+ !sys-fs/lvm-user"
+
+S="${WORKDIR}/${PN/lvm/LVM}.${PV}"
+
+src_compile() {
+ # Static compile of lvm2 so that the install described in the handbook works
+ # http://www.gentoo.org/doc/en/lvm2.xml
+ # fixes http://bugs.gentoo.org/show_bug.cgi?id=84463
+ local myconf
+ use nolvmstatic || myconf="--enable-static_link"
+
+ econf $(use_enable readline) ${myconf}
+ emake || die "compile problem"
+}
+
+src_install() {
+ einstall sbindir="${D}/sbin" staticdir="${D}/sbin" confdir="${D}/etc/lvm"
+ mv -f "${D}/sbin/lvm.static" "${D}/sbin/lvm"
+
+ dodoc COPYING* INSTALL README VERSION WHATS_NEW doc/*.{conf,c,txt}
+ insinto /lib/rcscripts/addons
+ newins ${FILESDIR}/lvm2-start.sh lvm-start.sh
+ newins ${FILESDIR}/lvm2-stop.sh lvm-stop.sh
+}