diff options
author | Eric Edgar <rocket@gentoo.org> | 2005-03-08 05:30:33 +0000 |
---|---|---|
committer | Eric Edgar <rocket@gentoo.org> | 2005-03-08 05:30:33 +0000 |
commit | decca284aecd5efc46b97964f394036b7190f10a (patch) | |
tree | 3a624f454457585b975066681d9ca5dd035a4af3 /sys-fs/lvm2 | |
parent | Version bump. (diff) | |
download | gentoo-2-decca284aecd5efc46b97964f394036b7190f10a.tar.gz gentoo-2-decca284aecd5efc46b97964f394036b7190f10a.tar.bz2 gentoo-2-decca284aecd5efc46b97964f394036b7190f10a.zip |
Added a new ebuild so that lvm2 is forced to be compiled statically. This should be the default for files located in /sbin
(Portage version: 2.0.51-r15)
Diffstat (limited to 'sys-fs/lvm2')
-rw-r--r-- | sys-fs/lvm2/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/lvm2/files/digest-lvm2-2.00.33-r2 | 1 | ||||
-rw-r--r-- | sys-fs/lvm2/lvm2-2.00.33-r2.ebuild | 33 |
3 files changed, 41 insertions, 1 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog index 77a62b7b9bd3..9e06b7528caa 100644 --- a/sys-fs/lvm2/ChangeLog +++ b/sys-fs/lvm2/ChangeLog @@ -1,6 +1,12 @@ # 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.27 2005/03/02 19:45:39 rocket Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.28 2005/03/08 05:30:33 rocket Exp $ + +*lvm2-2.00.33-r2 (07 Mar 2005) + + 07 Mar 2005; Eric Edgar <rocket@gentoo.org> +lvm2-2.00.33-r2.ebuild: + Added a new ebuild so that lvm2 is forced to be compiled statically. This + should be the default for files located in /sbin 02 Mar 2005; Eric Edgar <rocket@gentoo.org> lvm2-2.00.33-r1.ebuild: Marking stable on x86 - this has several important feature improvements, diff --git a/sys-fs/lvm2/files/digest-lvm2-2.00.33-r2 b/sys-fs/lvm2/files/digest-lvm2-2.00.33-r2 new file mode 100644 index 000000000000..cb399135b497 --- /dev/null +++ b/sys-fs/lvm2/files/digest-lvm2-2.00.33-r2 @@ -0,0 +1 @@ +MD5 3d151d18304d6e0c7b34afa6f5648609 LVM2.2.00.33.tgz 440444 diff --git a/sys-fs/lvm2/lvm2-2.00.33-r2.ebuild b/sys-fs/lvm2/lvm2-2.00.33-r2.ebuild new file mode 100644 index 000000000000..505fabe93044 --- /dev/null +++ b/sys-fs/lvm2/lvm2-2.00.33-r2.ebuild @@ -0,0 +1,33 @@ +# 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.00.33-r2.ebuild,v 1.1 2005/03/08 05:30:33 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 static" + +DEPEND=">=sys-fs/device-mapper-1.00.17" +RDEPEND="${DEPEND} + !sys-fs/lvm-user" + +S="${WORKDIR}/${PN/lvm/LVM}.${PV}" + +src_compile() { + econf $(use_enable readline) --enable-static_link + 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 +} |