summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Edgar <rocket@gentoo.org>2006-04-20 19:20:12 +0000
committerEric Edgar <rocket@gentoo.org>2006-04-20 19:20:12 +0000
commit2afbd5667fb2d3b8fbeb1305a885a9b65df5c2cb (patch)
treec4971d25b326778c9d5ce7be0b060528fd62f5eb /sys-fs/lvm2
parentAdded ~amd64 keyword wrt Bug #121761. (diff)
downloadgentoo-2-2afbd5667fb2d3b8fbeb1305a885a9b65df5c2cb.tar.gz
gentoo-2-2afbd5667fb2d3b8fbeb1305a885a9b65df5c2cb.tar.bz2
gentoo-2-2afbd5667fb2d3b8fbeb1305a885a9b65df5c2cb.zip
add lvm2-2.02.02-r1 ebuild back in incase the newer ones are broken
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r--sys-fs/lvm2/ChangeLog7
-rw-r--r--sys-fs/lvm2/Manifest3
-rw-r--r--sys-fs/lvm2/files/digest-lvm2-2.02.02-r11
-rw-r--r--sys-fs/lvm2/lvm2-2.02.02-r1.ebuild98
4 files changed, 108 insertions, 1 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index 2715b5ad4794..cb8c85a8c9e2 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-fs/lvm2
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.58 2006/04/20 19:12:15 rocket Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.59 2006/04/20 19:20:12 rocket Exp $
+
+*lvm2-2.02.02-r1 (20 Apr 2006)
+
+ 20 Apr 2006; Eric Edgar <rocket@gentoo.org> +lvm2-2.02.02-r1.ebuild:
+ add lvm2-2.02.02-r1 ebuild back in incase the newer ones are broken
*lvm2-2.02.04 (20 Apr 2006)
diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest
index c3b3cb122d8f..1e5a9cac28f9 100644
--- a/sys-fs/lvm2/Manifest
+++ b/sys-fs/lvm2/Manifest
@@ -4,6 +4,8 @@ MD5 540e8a304be1860275577f326c7bd0f0 files/digest-lvm2-2.01.09 61
MD5 540e8a304be1860275577f326c7bd0f0 files/digest-lvm2-2.01.09-r1 61
MD5 d1e295db9aa6771cdc6506033bc98f69 files/digest-lvm2-2.01.13 61
MD5 bd5702de4e53595969129c176cb028dc files/digest-lvm2-2.01.14-r1 61
+MD5 5ae9ef0569741a9c0e43621ca61cc270 files/digest-lvm2-2.02.02 61
+MD5 5ae9ef0569741a9c0e43621ca61cc270 files/digest-lvm2-2.02.02-r1 61
MD5 75bc19619bdb87793f11cf26faaaf7a6 files/digest-lvm2-2.02.03 61
MD5 48c308553f535bb57a58ecef7f0548c5 files/digest-lvm2-2.02.04 61
MD5 3216475436df8fbd33aa3ef4e2889ef8 files/lvm2-2.01.14.patch 1034
@@ -13,6 +15,7 @@ MD5 03b3cb1f6d49f4b6fe96c6ad3a9c47f0 lvm2-2.01.09-r1.ebuild 1399
MD5 97aaa43ef70e84140f8d1b940eb73025 lvm2-2.01.09.ebuild 1277
MD5 bfbb6af0f144e530589562ca3b79c61a lvm2-2.01.13.ebuild 1402
MD5 68ce8d0c58bc2d71ff72354b5299f359 lvm2-2.01.14-r1.ebuild 1586
+MD5 8358870ee2d16f243988e0049dadb1ae lvm2-2.02.02-r1.ebuild 2898
MD5 8358870ee2d16f243988e0049dadb1ae lvm2-2.02.03.ebuild 2898
MD5 592425246cb50d076533121ffa200cb8 lvm2-2.02.04.ebuild 2898
MD5 9934e11f9ed27c97b024100380fde4d9 metadata.xml 250
diff --git a/sys-fs/lvm2/files/digest-lvm2-2.02.02-r1 b/sys-fs/lvm2/files/digest-lvm2-2.02.02-r1
new file mode 100644
index 000000000000..0e884c9e5992
--- /dev/null
+++ b/sys-fs/lvm2/files/digest-lvm2-2.02.02-r1
@@ -0,0 +1 @@
+MD5 c80ccdf621090bf85aa4e9102eb47099 LVM2.2.02.02.tgz 466054
diff --git a/sys-fs/lvm2/lvm2-2.02.02-r1.ebuild b/sys-fs/lvm2/lvm2-2.02.02-r1.ebuild
new file mode 100644
index 000000000000..8e2ddd847005
--- /dev/null
+++ b/sys-fs/lvm2/lvm2-2.02.02-r1.ebuild
@@ -0,0 +1,98 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.02-r1.ebuild,v 1.1 2006/04/20 19:20:12 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="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="readline nolvmstatic clvm cman gulm nolvm1 nosnapshots nomirrors selinux"
+
+DEPEND=">=sys-fs/device-mapper-1.02.03
+ clvm? ( >=sys-cluster/dlm-1.01.00
+ cman? ( >=sys-cluster/cman-1.01.00 )
+ gulm? ( >=sys-cluster/gulm-1.00.00 ) )"
+
+RDEPEND="${DEPEND}
+ !sys-fs/lvm-user
+ !sys-fs/clvm"
+
+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
+
+ if ! use nolvmstatic
+ then
+ myconf="${myconf} --enable-static_link"
+ use nosnapshots || myconf="${myconf} --with-snapshots=internal"
+ use nomirrors || myconf="${myconf} --with-mirrors=internal"
+ if use nolvm1
+ then
+ myconf="${myconf} --with-lvm1=none"
+ else
+ myconf="${myconf} --with-lvm1=internal"
+ fi
+ else
+ use nosnapshots || myconf="${myconf} --with-snapshots=shared"
+ use nomirrors || myconf="${myconf} --with-mirrors=shared"
+ if use nolvm1
+ then
+ myconf="${myconf} --with-lvm1=none"
+ else
+ myconf="${myconf} --with-lvm1=shared"
+ fi
+ fi
+
+ # disable O_DIRECT support on hppa, breaks pv detection (#99532)
+ use hppa && myconf="${myconf} --disable-o_direct"
+
+ if use clvm; then
+ if use nolvmstatic
+ then
+ myconf="${myconf} --with-cluster=shared"
+ else
+ myconf="${myconf} --with-cluster=internal"
+ fi
+ if useq cman && useq gulm; then
+ myconf="${myconf} --with-clvmd=all"
+ fi
+ if useq cman && ! useq gulm; then
+ myconf="${myconf} --with-clvmd=cman"
+ fi
+ if useq gulm && ! useq cman; then
+ myconf="${myconf} --with-clvmd=gulm"
+ fi
+ if ! useq gulm && ! useq cman; then
+ myconf="${myconf} --with-clvmd=none"
+ fi
+ fi
+
+ econf $(use_enable readline) $(use_enable selinux) ${myconf} || die
+ 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 || die
+ newins ${FILESDIR}/lvm2-stop.sh lvm-stop.sh || die
+ if use clvm; then
+ newinitd ${FILESDIR}/clvmd.rc clvmd || die
+ fi
+
+ ewarn "use flag nocman is deprecated and replaced"
+ ewarn "with cman and gulm use flags."
+ ewarn ""
+ ewarn "use flags clvm,cman and gulm are masked"
+ ewarn "by default and need to be unmasked to use them"
+}