From 0a3989a779bd48957a6d50a6d081016092ef6fb0 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 7 Sep 2006 13:58:56 +0000 Subject: [PATCH] Add lvm2 2.02.09 to the tree Package-Manager: portage-2.1.1_pre4-r1 --- sys-fs/lvm2/ChangeLog | 7 +- sys-fs/lvm2/Manifest | 16 +++- sys-fs/lvm2/files/digest-lvm2-2.02.09 | 3 + sys-fs/lvm2/lvm2-2.02.09.ebuild | 108 ++++++++++++++++++++++++++ 4 files changed, 129 insertions(+), 5 deletions(-) create mode 100644 sys-fs/lvm2/files/digest-lvm2-2.02.09 create mode 100644 sys-fs/lvm2/lvm2-2.02.09.ebuild diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog index c6071762a859..86eccbc28f59 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.83 2006/09/04 06:03:55 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.84 2006/09/07 13:58:56 rocket Exp $ + +*lvm2-2.02.09 (07 Sep 2006) + + 07 Sep 2006; Eric Edgar +lvm2-2.02.09.ebuild: + Add version 2.02.09 to the tree 04 Sep 2006; Joshua Kinard lvm2-2.02.06.ebuild: Marked stable on mips. diff --git a/sys-fs/lvm2/Manifest b/sys-fs/lvm2/Manifest index 0fcd42211a88..c4d153be88f1 100644 --- a/sys-fs/lvm2/Manifest +++ b/sys-fs/lvm2/Manifest @@ -28,6 +28,7 @@ DIST LVM2.2.02.02.tgz 466054 RMD160 0b5440feece630fa290d2bd9aa166e3b9ec5fa12 SHA DIST LVM2.2.02.04.tgz 473585 RMD160 c594ecc57124f7f522abd80344010edceb445336 SHA256 71bbe89b6c21b32099577044c150ef09a0dd4cd4bfda4e012d33309fd0aebe66 DIST LVM2.2.02.05.tgz 473621 RMD160 7295f14e64dc25035d46e3512db6cae1b2be5f9b SHA1 9fb6f850811be0bca8948636ac0683a6c1dd23ac SHA256 707c596c7a2f11cc08d3b1099995be2a4a3859a5454ed5af1a6c5361a821a402 DIST LVM2.2.02.06.tgz 484317 RMD160 4ebaf77fdccd0f86fd79871be6644bd8f09c1aa4 SHA1 fc02c56260c590e9491578ed228da5f68313b24c SHA256 ed5a7e32804f48d82b300076cb0f521a3be33c14b983986812a39c96b93a4a32 +DIST LVM2.2.02.09.tgz 487599 RMD160 ee56c644c567a24c3de04f1fd733072e21eaea18 SHA1 0fc3e524a19129234141578de17492febfea8ac1 SHA256 d6493169666058ea7514b6782de9985d1df1230fcca072306dbe645bb91ac177 EBUILD lvm2-2.01.09-r1.ebuild 1399 RMD160 6ae6189559e42d630ae8b5d37a2f204b7f5223de SHA1 b77f0b1aaae069b1f53a848053e06aeae03985e0 SHA256 15124bffdb2b37fcb362ddfdffc87d29e8e19dcadae974327efe1bb3c06c2b7f MD5 03b3cb1f6d49f4b6fe96c6ad3a9c47f0 lvm2-2.01.09-r1.ebuild 1399 RMD160 6ae6189559e42d630ae8b5d37a2f204b7f5223de lvm2-2.01.09-r1.ebuild 1399 @@ -56,10 +57,14 @@ EBUILD lvm2-2.02.06.ebuild 3071 RMD160 e067abf9b946291a86d4cad630cd87b9794f67a9 MD5 9bb03ff9ae2ff35c66127be80427b829 lvm2-2.02.06.ebuild 3071 RMD160 e067abf9b946291a86d4cad630cd87b9794f67a9 lvm2-2.02.06.ebuild 3071 SHA256 da51664bb0eb6f4387d1a04c996b761a70f0e5aaaee5bfd08d93967ebddd3c94 lvm2-2.02.06.ebuild 3071 -MISC ChangeLog 12932 RMD160 aacb9095a085cfb88b596a59d32784c519979fb3 SHA1 274308e2504aa6c8e5b2397dcd0094eaf7b131d1 SHA256 125bacb5ade4fcd1e6813ba0c764fcdc594a121bb385aae0fbad5e86c3a06166 -MD5 5c12d9fbba66ef5c23162cfa255eaf0e ChangeLog 12932 -RMD160 aacb9095a085cfb88b596a59d32784c519979fb3 ChangeLog 12932 -SHA256 125bacb5ade4fcd1e6813ba0c764fcdc594a121bb385aae0fbad5e86c3a06166 ChangeLog 12932 +EBUILD lvm2-2.02.09.ebuild 3079 RMD160 40574597578c29adbadcaab1e95828e93427a1ee SHA1 8523318525c70c2f5ae6064210470950328ccc6c SHA256 0d19f3d2ddfa4a4dc879b681c31f4ad6d97a4839164ba45834a0ad366f75f6b3 +MD5 e854d6d27b8edad0671c08caf725368b lvm2-2.02.09.ebuild 3079 +RMD160 40574597578c29adbadcaab1e95828e93427a1ee lvm2-2.02.09.ebuild 3079 +SHA256 0d19f3d2ddfa4a4dc879b681c31f4ad6d97a4839164ba45834a0ad366f75f6b3 lvm2-2.02.09.ebuild 3079 +MISC ChangeLog 13065 RMD160 ba6ac7ea1b5ec4aa08cd5cbbf6f66b8b1468c7a3 SHA1 663d791b33f8821413bd7d0e45b3e6678cb56f69 SHA256 7187bff4965b71beec1dff85e562c0092644c5556c45e5a933782cff6cc18665 +MD5 3f6b8cb6fb6d4cf23faf29a86ac2b1c0 ChangeLog 13065 +RMD160 ba6ac7ea1b5ec4aa08cd5cbbf6f66b8b1468c7a3 ChangeLog 13065 +SHA256 7187bff4965b71beec1dff85e562c0092644c5556c45e5a933782cff6cc18665 ChangeLog 13065 MISC metadata.xml 250 RMD160 8ad600a9a885a287fedaefcf9c5d372535f2e0a3 SHA1 a59908c8c7cc121b12087387497e15f752940815 SHA256 864a2281a78b4cf3e5acf3342998b775f00d5b25ec9473d3e98b643e5d1acad7 MD5 9934e11f9ed27c97b024100380fde4d9 metadata.xml 250 RMD160 8ad600a9a885a287fedaefcf9c5d372535f2e0a3 metadata.xml 250 @@ -85,3 +90,6 @@ SHA256 5ce24263df5b99d7fb425addcaa172e4e0c5b3a9ae3cb31b16448a0accbc980d files/di MD5 3322a5bb97dd34def9c51be8480bbf2a files/digest-lvm2-2.02.06 229 RMD160 966fe800e36db759751157926d133775c9384657 files/digest-lvm2-2.02.06 229 SHA256 7a435181b084f3fd64ceb1fe666230bb24bda901959161089e078e390ea8d299 files/digest-lvm2-2.02.06 229 +MD5 385a7ce3f39b156a41eb1342d9562108 files/digest-lvm2-2.02.09 229 +RMD160 7d641b6a0a7b4611d103852bb3727172062e758a files/digest-lvm2-2.02.09 229 +SHA256 9b58297e8dae97076c33e8c43a91644ac534c88da5cd0a918ab19c9088797eaa files/digest-lvm2-2.02.09 229 diff --git a/sys-fs/lvm2/files/digest-lvm2-2.02.09 b/sys-fs/lvm2/files/digest-lvm2-2.02.09 new file mode 100644 index 000000000000..eec4ee13b745 --- /dev/null +++ b/sys-fs/lvm2/files/digest-lvm2-2.02.09 @@ -0,0 +1,3 @@ +MD5 04aa4bd7781e9b57bf214654d5a0267c LVM2.2.02.09.tgz 487599 +RMD160 ee56c644c567a24c3de04f1fd733072e21eaea18 LVM2.2.02.09.tgz 487599 +SHA256 d6493169666058ea7514b6782de9985d1df1230fcca072306dbe645bb91ac177 LVM2.2.02.09.tgz 487599 diff --git a/sys-fs/lvm2/lvm2-2.02.09.ebuild b/sys-fs/lvm2/lvm2-2.02.09.ebuild new file mode 100644 index 000000000000..bb85163905cf --- /dev/null +++ b/sys-fs/lvm2/lvm2-2.02.09.ebuild @@ -0,0 +1,108 @@ +# 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.09.ebuild,v 1.1 2006/09/07 13:58:56 rocket Exp $ + +inherit eutils + +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_unpack() { + unpack ${A} + cd ${S} || die + #epatch ${FILESDIR}/lvm2-2.02.04-vgid.patch +} + +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" + ewarn "" + ewarn "Rebuild your genkernel initramfs if you are using lvm" +} -- 2.26.2