From: Stefan Schweizer Date: Thu, 12 Apr 2007 18:12:33 +0000 (+0000) Subject: Remove check_KV usage and clean up ebuilds, bug 150058 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0bb54a5660f4fa14ced7a2e1c257e9b39ec5fea7;p=gentoo.git Remove check_KV usage and clean up ebuilds, bug 150058 Package-Manager: portage-2.1.2-r12 --- diff --git a/sys-fs/lvm-user/ChangeLog b/sys-fs/lvm-user/ChangeLog index 02ad89652f97..e7b67bd93f02 100644 --- a/sys-fs/lvm-user/ChangeLog +++ b/sys-fs/lvm-user/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/lvm-user # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/ChangeLog,v 1.14 2007/02/09 06:05:17 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/ChangeLog,v 1.15 2007/04/12 18:12:33 genstef Exp $ + + 12 Apr 2007; Stefan Schweizer + -lvm-user-1.0.7-r2.ebuild, lvm-user-1.0.7-r3.ebuild, + -lvm-user-1.0.7-r4.ebuild, -lvm-user-1.0.8.ebuild, + lvm-user-1.0.8-r1.ebuild: + Remove check_KV usage and clean up ebuilds, bug 150058 09 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/sys-fs/lvm-user/Manifest b/sys-fs/lvm-user/Manifest index 9dc7d1f7c52a..6f78fecad4a6 100644 --- a/sys-fs/lvm-user/Manifest +++ b/sys-fs/lvm-user/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX lvm-user-1.0.7-statics.patch 1040 RMD160 08a194426cb9368f0b54ba81bb357c30cf4dd2f0 SHA1 d8344861f537d5953148f172dc117c25a8aca1ef SHA256 101f965d1710bae972f27f62c1463c08a4070b216b5607f193b77fb0c004c823 MD5 7484cb0ecb2a997be4910a8612e951cf files/lvm-user-1.0.7-statics.patch 1040 RMD160 08a194426cb9368f0b54ba81bb357c30cf4dd2f0 files/lvm-user-1.0.7-statics.patch 1040 @@ -23,53 +20,25 @@ RMD160 fb2d4133c504cdad98318f37e9a365452222473d files/lvm-user-stop.sh 440 SHA256 c2993090ad79d6ee0e7df7e1f7d6f4409db78c7fd11fe31d6270babb2178def0 files/lvm-user-stop.sh 440 DIST lvm_1.0.7.tar.gz 372838 RMD160 9d19fc22cfa4ccca41d73b0e4fd6e585144da51c SHA1 7761d2eaab4e88861485d2df840cb6c56e4f9686 SHA256 570d483356adc8722ee15f228059b7bae88f140f8f6480f5dc6a64ac76a64f14 DIST lvm_1.0.8.tar.gz 373482 RMD160 f23594db540210fd8c27ab3c3f2937cf5460a6ea SHA1 ec67678cdfd2707e77aedf0a85f7f900e8cef49a SHA256 7735ff8d0c2548f3d3a399531c94b022edda5f39d851dfcbccb9cd8ce60047ad -EBUILD lvm-user-1.0.7-r2.ebuild 1790 RMD160 f54997c7d4744f8daf4b13474f5720a0f35de2d5 SHA1 4ba894f849e6e92a1f10a79a8845e6fa11580c3e SHA256 ac2197f53993251072e6f3531aed56b020888e7d34905da49667d26e933d99ab -MD5 2c0f0c295b886eff7a4fef23c4822669 lvm-user-1.0.7-r2.ebuild 1790 -RMD160 f54997c7d4744f8daf4b13474f5720a0f35de2d5 lvm-user-1.0.7-r2.ebuild 1790 -SHA256 ac2197f53993251072e6f3531aed56b020888e7d34905da49667d26e933d99ab lvm-user-1.0.7-r2.ebuild 1790 -EBUILD lvm-user-1.0.7-r3.ebuild 1923 RMD160 e8099c4bae1bf0ea25cce6f9c6ec486442301f70 SHA1 df89ee4d5eebd2837a4758509c3fa08f6f0497ca SHA256 5300be2b18cd46bc2bfbf38c290d87affc4a005215add8e979d5fdac5507c438 -MD5 6c4843e465bc701edfd2848bc61b9816 lvm-user-1.0.7-r3.ebuild 1923 -RMD160 e8099c4bae1bf0ea25cce6f9c6ec486442301f70 lvm-user-1.0.7-r3.ebuild 1923 -SHA256 5300be2b18cd46bc2bfbf38c290d87affc4a005215add8e979d5fdac5507c438 lvm-user-1.0.7-r3.ebuild 1923 -EBUILD lvm-user-1.0.7-r4.ebuild 2063 RMD160 9d266732e82b100082d3023cd6c391c028ec37a8 SHA1 2f26ea0d746e5a258f9e60ea29791f920f976bdb SHA256 de79107010d30fba2f570496e77a4d9f67b581b41f56eeec00ed8de9e68e6cc5 -MD5 af522a2bf30dd73356656143e3068b2f lvm-user-1.0.7-r4.ebuild 2063 -RMD160 9d266732e82b100082d3023cd6c391c028ec37a8 lvm-user-1.0.7-r4.ebuild 2063 -SHA256 de79107010d30fba2f570496e77a4d9f67b581b41f56eeec00ed8de9e68e6cc5 lvm-user-1.0.7-r4.ebuild 2063 -EBUILD lvm-user-1.0.8-r1.ebuild 2146 RMD160 413e8ef67c1bfde5ffedfc4d9c55e836d97e5c25 SHA1 fe04daeeec8f6935d4cfc9c87a937be736cde2d8 SHA256 2e90d4d412f3027c8b297ff6ecf46b26efe45a64d73bd0ec4e92612dac969136 -MD5 585de65dca6a06cf98f085d24937a915 lvm-user-1.0.8-r1.ebuild 2146 -RMD160 413e8ef67c1bfde5ffedfc4d9c55e836d97e5c25 lvm-user-1.0.8-r1.ebuild 2146 -SHA256 2e90d4d412f3027c8b297ff6ecf46b26efe45a64d73bd0ec4e92612dac969136 lvm-user-1.0.8-r1.ebuild 2146 -EBUILD lvm-user-1.0.8.ebuild 2061 RMD160 204ad784a6fd67536462f7d0c7cb45ce28bb1274 SHA1 04b65216c4690927da4e6842d2fe131622ccec83 SHA256 0670ad807d24780b9578cef9310aa023c0498fde588c50112a5cc9249057e636 -MD5 92336fa695c6dca54cc10b46cd44bdef lvm-user-1.0.8.ebuild 2061 -RMD160 204ad784a6fd67536462f7d0c7cb45ce28bb1274 lvm-user-1.0.8.ebuild 2061 -SHA256 0670ad807d24780b9578cef9310aa023c0498fde588c50112a5cc9249057e636 lvm-user-1.0.8.ebuild 2061 -MISC ChangeLog 5914 RMD160 80d26be3d0de2df847b2df1f1af643241daf0491 SHA1 5751818f6aa1255ac2b1d1bf970fa305caa4c4a4 SHA256 bae6477fb22a5883ae93bec011db01194230d3d2ae5375870c96b1e3bf212a4a -MD5 d20ac6c1bfa4a258b3be585f3cc9c56f ChangeLog 5914 -RMD160 80d26be3d0de2df847b2df1f1af643241daf0491 ChangeLog 5914 -SHA256 bae6477fb22a5883ae93bec011db01194230d3d2ae5375870c96b1e3bf212a4a ChangeLog 5914 +EBUILD lvm-user-1.0.7-r3.ebuild 1894 RMD160 96f3c458a0eb42277ca19c2ad4ce5d7655aa5702 SHA1 b755e9f36ae539bd292626866d5265195ee40fe5 SHA256 62889190bca3a545b36544097d9427c40427ff60c189b5e952023e1c83759b34 +MD5 c9352b7aea3e749327629a342f2ecaf7 lvm-user-1.0.7-r3.ebuild 1894 +RMD160 96f3c458a0eb42277ca19c2ad4ce5d7655aa5702 lvm-user-1.0.7-r3.ebuild 1894 +SHA256 62889190bca3a545b36544097d9427c40427ff60c189b5e952023e1c83759b34 lvm-user-1.0.7-r3.ebuild 1894 +EBUILD lvm-user-1.0.8-r1.ebuild 2118 RMD160 0bd6b9ad235f5f9fda97b5109aed7a72c70f84b8 SHA1 303515adc54927ec552a5ae36115bc5a4b705d9c SHA256 e3e959792dbcfee0b91d0a15bd635c1b86e8a1364abd4e5714aa3664ead239b5 +MD5 8f3f473edbf4d0dda2765595e80238ec lvm-user-1.0.8-r1.ebuild 2118 +RMD160 0bd6b9ad235f5f9fda97b5109aed7a72c70f84b8 lvm-user-1.0.8-r1.ebuild 2118 +SHA256 e3e959792dbcfee0b91d0a15bd635c1b86e8a1364abd4e5714aa3664ead239b5 lvm-user-1.0.8-r1.ebuild 2118 +MISC ChangeLog 6159 RMD160 0d58a3b4dc3d24ba0e73401a528e96813b7c29f3 SHA1 92c9140be7b7c314809a402bed36fbcce692ad0f SHA256 ee180f11a4c97ce5a1627882bbc751ffe4b07eef773b028b3ac2448f2ef7bae4 +MD5 4d8af77630baafe2a82807d36dcaf091 ChangeLog 6159 +RMD160 0d58a3b4dc3d24ba0e73401a528e96813b7c29f3 ChangeLog 6159 +SHA256 ee180f11a4c97ce5a1627882bbc751ffe4b07eef773b028b3ac2448f2ef7bae4 ChangeLog 6159 MISC metadata.xml 256 RMD160 d9ccc1f6489f76582536db7cda1a39cfd23bd111 SHA1 0df3452c3d914203edbf6a7aadb884f07fc96488 SHA256 4908d8e8c6c6f6c57d4b167318f1b9757eec3f4688859d2135005d0f609c1f46 MD5 7b301d7420e1c916ab2c582cf98928ff metadata.xml 256 RMD160 d9ccc1f6489f76582536db7cda1a39cfd23bd111 metadata.xml 256 SHA256 4908d8e8c6c6f6c57d4b167318f1b9757eec3f4688859d2135005d0f609c1f46 metadata.xml 256 -MD5 9eb3cf163be65836cd670ff1660221d1 files/digest-lvm-user-1.0.7-r2 229 -RMD160 8cd704efc6d35fe1f391eda9169517f51a009d04 files/digest-lvm-user-1.0.7-r2 229 -SHA256 72d08a3b02596eeb0704d7715e2eb93c29b9b064ca44b56cd4978eca9b47b864 files/digest-lvm-user-1.0.7-r2 229 MD5 9eb3cf163be65836cd670ff1660221d1 files/digest-lvm-user-1.0.7-r3 229 RMD160 8cd704efc6d35fe1f391eda9169517f51a009d04 files/digest-lvm-user-1.0.7-r3 229 SHA256 72d08a3b02596eeb0704d7715e2eb93c29b9b064ca44b56cd4978eca9b47b864 files/digest-lvm-user-1.0.7-r3 229 -MD5 9eb3cf163be65836cd670ff1660221d1 files/digest-lvm-user-1.0.7-r4 229 -RMD160 8cd704efc6d35fe1f391eda9169517f51a009d04 files/digest-lvm-user-1.0.7-r4 229 -SHA256 72d08a3b02596eeb0704d7715e2eb93c29b9b064ca44b56cd4978eca9b47b864 files/digest-lvm-user-1.0.7-r4 229 -MD5 dbf5e934382bc29e04a216078701eaaa files/digest-lvm-user-1.0.8 229 -RMD160 a8e0102b7a71136a83ab0589fdacdaa4787e7db5 files/digest-lvm-user-1.0.8 229 -SHA256 2565b85768c38f636a41222cdf3f278b3737206b62fee581f35c1df0970c4d30 files/digest-lvm-user-1.0.8 229 MD5 dbf5e934382bc29e04a216078701eaaa files/digest-lvm-user-1.0.8-r1 229 RMD160 a8e0102b7a71136a83ab0589fdacdaa4787e7db5 files/digest-lvm-user-1.0.8-r1 229 SHA256 2565b85768c38f636a41222cdf3f278b3737206b62fee581f35c1df0970c4d30 files/digest-lvm-user-1.0.8-r1 229 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) - -iD8DBQFFzA8jAiZjviIA2XgRArwoAJ9tZJRtkYv8KjcSK5vPZGfKD8GBcgCg7OO0 -yhWtw0wRIqUp9sikIzibiN8= -=WvR+ ------END PGP SIGNATURE----- diff --git a/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r2 b/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r2 deleted file mode 100644 index 7e81ef29adbe..000000000000 --- a/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 de56e9ab0384596b795702802f1c1e6a lvm_1.0.7.tar.gz 372838 -RMD160 9d19fc22cfa4ccca41d73b0e4fd6e585144da51c lvm_1.0.7.tar.gz 372838 -SHA256 570d483356adc8722ee15f228059b7bae88f140f8f6480f5dc6a64ac76a64f14 lvm_1.0.7.tar.gz 372838 diff --git a/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r4 b/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r4 deleted file mode 100644 index 7e81ef29adbe..000000000000 --- a/sys-fs/lvm-user/files/digest-lvm-user-1.0.7-r4 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 de56e9ab0384596b795702802f1c1e6a lvm_1.0.7.tar.gz 372838 -RMD160 9d19fc22cfa4ccca41d73b0e4fd6e585144da51c lvm_1.0.7.tar.gz 372838 -SHA256 570d483356adc8722ee15f228059b7bae88f140f8f6480f5dc6a64ac76a64f14 lvm_1.0.7.tar.gz 372838 diff --git a/sys-fs/lvm-user/files/digest-lvm-user-1.0.8 b/sys-fs/lvm-user/files/digest-lvm-user-1.0.8 deleted file mode 100644 index 59052aebffc0..000000000000 --- a/sys-fs/lvm-user/files/digest-lvm-user-1.0.8 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f8520b9e100970ff13328fd08eb64dcd lvm_1.0.8.tar.gz 373482 -RMD160 f23594db540210fd8c27ab3c3f2937cf5460a6ea lvm_1.0.8.tar.gz 373482 -SHA256 7735ff8d0c2548f3d3a399531c94b022edda5f39d851dfcbccb9cd8ce60047ad lvm_1.0.8.tar.gz 373482 diff --git a/sys-fs/lvm-user/lvm-user-1.0.7-r2.ebuild b/sys-fs/lvm-user/lvm-user-1.0.7-r2.ebuild deleted file mode 100644 index 30a797e60a85..000000000000 --- a/sys-fs/lvm-user/lvm-user-1.0.7-r2.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.7-r2.ebuild,v 1.3 2005/05/03 20:15:02 plasmaroo Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software" -HOMEPAGE="http://www.sistina.com/products_lvm.htm" -SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${PV}.tar.gz" - -LICENSE=" || ( GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="alpha amd64 hppa -ppc sparc x86" -IUSE="static" - -RDEPEND="!sys-fs/lvm2" -DEPEND="${RDEPEND} - >=sys-apps/sed-4.0 - !>=sys-kernel/linux-headers-2.6 - virtual/linux-sources" # Use lvm2 for 2.6; lvm-user is for 2.4; see #90897. - -S=${WORKDIR}/LVM/${PV} - -pkg_setup() { - check_KV -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-tmpfile.patch -} - -src_compile() { - local myconf - - filter-flags -fomit-frame-pointer #598 - - if use static; then - myconf="--enable-static_link" - else - # bug 29694 -- make static vgscan and vgchange for initrds - epatch ${FILESDIR}/lvm-user-1.0.7-statics.patch - fi - - ./configure --prefix=/ \ - --mandir=/usr/share/man \ - --with-kernel_dir="/usr/src/linux" \ - ${myconf} || die "configure failed" - - # Fix flags - sed -i -e "54,56d" -e "73d" make.tmpl - - make || die "Make failed" -} - -src_install() { - einstall sbindir=${D}/sbin libdir=${D}/lib - - if use static; then - # already static, make symlinks - dosym vgscan /sbin/vgscan.static - dosym vgchange /sbin/vgchange.static - else - # install vgscan.static and vgchange.static - into / - dosbin ${S}/tools/{vgscan,vgchange}.static - fi - - # no need for a static library in /lib - dodir /usr/lib - mv ${D}/lib/*.a ${D}/usr/lib - - dodoc ABSTRACT CONTRIBUTORS INSTALL LVM-HOWTO TODO CHANGELOG FAQ KNOWN_BUGS README WHATSNEW -} diff --git a/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild b/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild index f4c6d7a9c718..473f21f4dd10 100644 --- a/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild +++ b/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild,v 1.2 2005/05/03 20:15:02 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.7-r3.ebuild,v 1.3 2007/04/12 18:12:33 genstef Exp $ inherit flag-o-matic eutils @@ -21,10 +21,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/LVM/${PV} -pkg_setup() { - check_KV -} - src_unpack() { unpack ${A} cd ${S} diff --git a/sys-fs/lvm-user/lvm-user-1.0.7-r4.ebuild b/sys-fs/lvm-user/lvm-user-1.0.7-r4.ebuild deleted file mode 100644 index c3209818b9ed..000000000000 --- a/sys-fs/lvm-user/lvm-user-1.0.7-r4.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.7-r4.ebuild,v 1.1 2005/06/01 20:28:50 rocket Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software" -HOMEPAGE="http://www.sistina.com/products_lvm.htm" -SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${PV}.tar.gz" - -LICENSE=" || ( GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa -ppc ~sparc ~x86" -IUSE="static" - -RDEPEND="!sys-fs/lvm2" -DEPEND="${RDEPEND} - >=sys-apps/sed-4.0 - !>=sys-kernel/linux-headers-2.6 - virtual/linux-sources" # Use lvm2 for 2.6; lvm-user is for 2.4; see #90897. - -S=${WORKDIR}/LVM/${PV} - -pkg_setup() { - check_KV -} - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${P}-tmpfile.patch -} - -src_compile() { - local myconf - - filter-flags -fomit-frame-pointer #598 - - if use static; then - myconf="--enable-static_link" - else - # bug 29694 -- make static vgscan and vgchange for initrds - epatch ${FILESDIR}/lvm-user-1.0.7-statics.patch - fi - - ./configure --prefix=/ \ - --mandir=/usr/share/man \ - --with-kernel_dir="/usr/src/linux" \ - ${myconf} || die "configure failed" - - # Fix flags - sed -i -e "54,56d" -e "73d" make.tmpl - - # Fix tail - # bug 27420 -- lvmcreate_initrd contains obsolete use of `tail -1' - sed -i -e 's/tail -1/tail -n 1/' tools/lvmcreate_initrd - - make || die "Make failed" -} - -src_install() { - einstall sbindir=${D}/sbin libdir=${D}/lib - - if use static; then - # already static, make symlinks - dosym vgscan /sbin/vgscan.static - dosym vgchange /sbin/vgchange.static - else - # install vgscan.static and vgchange.static - into / - dosbin ${S}/tools/{vgscan,vgchange}.static - fi - - # no need for a static library in /lib - dodir /usr/lib - mv ${D}/lib/*.a ${D}/usr/lib - - dodoc ABSTRACT CONTRIBUTORS INSTALL LVM-HOWTO TODO CHANGELOG FAQ KNOWN_BUGS README WHATSNEW - - insinto /lib/rcscripts/addons - newins ${FILESDIR}/lvm-user-start.sh lvm-start.sh - newins ${FILESDIR}/lvm-user-stop.sh lvm-stop.sh - -} diff --git a/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild b/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild index 2f5a48c81fbf..6b7effee8e64 100644 --- a/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild +++ b/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild,v 1.2 2005/08/22 18:57:30 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.8-r1.ebuild,v 1.3 2007/04/12 18:12:33 genstef Exp $ inherit flag-o-matic eutils @@ -21,10 +21,6 @@ DEPEND="${RDEPEND} S=${WORKDIR}/LVM/${PV} -pkg_setup() { - check_KV -} - src_unpack() { unpack ${A} cd ${S} diff --git a/sys-fs/lvm-user/lvm-user-1.0.8.ebuild b/sys-fs/lvm-user/lvm-user-1.0.8.ebuild deleted file mode 100644 index 2bc4fdd8268f..000000000000 --- a/sys-fs/lvm-user/lvm-user-1.0.8.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm-user/lvm-user-1.0.8.ebuild,v 1.1 2005/06/28 17:56:40 rocket Exp $ - -inherit flag-o-matic eutils - -DESCRIPTION="User-land utilities for LVM (Logical Volume Manager) software" -HOMEPAGE="http://www.sistina.com/products_lvm.htm" -SRC_URI="ftp://ftp.sistina.com/pub/LVM/1.0/lvm_${PV}.tar.gz" - -LICENSE=" || ( GPL-2 LGPL-2 )" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa -ppc ~sparc ~x86" -IUSE="static" - -RDEPEND="!sys-fs/lvm2" -DEPEND="${RDEPEND} - >=sys-apps/sed-4.0 - !>=sys-kernel/linux-headers-2.6 - virtual/linux-sources" # Use lvm2 for 2.6; lvm-user is for 2.4; see #90897. - -S=${WORKDIR}/LVM/${PV} - -pkg_setup() { - check_KV -} - -src_unpack() { - unpack ${A} - cd ${S} - #epatch ${FILESDIR}/${P}-tmpfile.patch -} - -src_compile() { - local myconf - - filter-flags -fomit-frame-pointer #598 - - if use static; then - myconf="--enable-static_link" - else - # bug 29694 -- make static vgscan and vgchange for initrds - epatch ${FILESDIR}/lvm-user-1.0.7-statics.patch - fi - - ./configure --prefix=/ \ - --mandir=/usr/share/man \ - --with-kernel_dir="/usr/src/linux" \ - ${myconf} || die "configure failed" - - # Fix flags - sed -i -e "54,56d" -e "73d" make.tmpl - - # Fix tail - # bug 27420 -- lvmcreate_initrd contains obsolete use of `tail -1' - sed -i -e 's/tail -1/tail -n 1/' tools/lvmcreate_initrd - - make || die "Make failed" -} - -src_install() { - einstall sbindir=${D}/sbin libdir=${D}/lib - - if use static; then - # already static, make symlinks - dosym vgscan /sbin/vgscan.static - dosym vgchange /sbin/vgchange.static - else - # install vgscan.static and vgchange.static - into / - dosbin ${S}/tools/{vgscan,vgchange}.static - fi - - # no need for a static library in /lib - dodir /usr/lib - mv ${D}/lib/*.a ${D}/usr/lib - - dodoc ABSTRACT CONTRIBUTORS INSTALL LVM-HOWTO TODO CHANGELOG FAQ KNOWN_BUGS README WHATSNEW - - insinto /lib/rcscripts/addons - newins ${FILESDIR}/lvm-user-start.sh lvm-start.sh - newins ${FILESDIR}/lvm-user-stop.sh lvm-stop.sh - -}