diff options
author | Jay Pfeifer <pfeifer@gentoo.org> | 2003-07-13 07:10:38 +0000 |
---|---|---|
committer | Jay Pfeifer <pfeifer@gentoo.org> | 2003-07-13 07:10:38 +0000 |
commit | e38edb6308164a1ffd08ba5bda8f702e6edee262 (patch) | |
tree | 3ded2bc06fad6f096da15414c93c0896a97d46ab /sys-apps/evms | |
parent | Updated version. See ChangeLog for needed kernel support details. (diff) | |
download | gentoo-2-e38edb6308164a1ffd08ba5bda8f702e6edee262.tar.gz gentoo-2-e38edb6308164a1ffd08ba5bda8f702e6edee262.tar.bz2 gentoo-2-e38edb6308164a1ffd08ba5bda8f702e6edee262.zip |
Updated version. See ChangeLog for needed kernel support details.
Diffstat (limited to 'sys-apps/evms')
-rw-r--r-- | sys-apps/evms/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/evms/Manifest | 4 | ||||
-rw-r--r-- | sys-apps/evms/evms-2.1.0.ebuild | 83 | ||||
-rw-r--r-- | sys-apps/evms/files/digest-evms-2.1.0 | 1 |
4 files changed, 93 insertions, 3 deletions
diff --git a/sys-apps/evms/ChangeLog b/sys-apps/evms/ChangeLog index 293efb77adf7..7d4d8b0dcdca 100644 --- a/sys-apps/evms/ChangeLog +++ b/sys-apps/evms/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/evms # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/ChangeLog,v 1.18 2003/05/10 04:07:01 pfeifer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/ChangeLog,v 1.19 2003/07/13 07:10:34 pfeifer Exp $ + +*evms-2.1.0 (13 Jul 2003) + + 13 Jul 2003; Jay Pfeifer <pfeifer@gentoo.org>: + Version bump. + Kernel support for 2.1.0 is in pfeifer-sources-2.4.21-pre3 *evms-2.0.1 (10 May 2003) diff --git a/sys-apps/evms/Manifest b/sys-apps/evms/Manifest index 31cc5833d9fb..8d06d84d59ba 100644 --- a/sys-apps/evms/Manifest +++ b/sys-apps/evms/Manifest @@ -1,11 +1,11 @@ -MD5 9779c993c6a88e7417169974cf2ddea2 evms-2.1.0.ebuild 2302 +MD5 85c12197a899111596530f3d80010170 evms-2.1.0.ebuild 2301 MD5 677f7b95c691a0bd8fd69cfde7afa8b5 evms-1.2.0.ebuild 1719 MD5 8fa0adc7fb55f4de787cab8ba60217c6 evms-2.0.0-r1.ebuild 1935 MD5 39b0ae1bf3514b78cda3225dcdc5727f evms-1.2.1-r1.ebuild 1999 MD5 712fbca9c907a6ff41c8eafa6e2f64d4 evms-2.0.1.ebuild 1932 MD5 7dffb6b43c06bd8b52e4759a54d7d490 evms-1.2.0-r1.ebuild 1990 MD5 cd7fa7065cd56bdb0578ad892fd3f6e1 evms-1.2.1.ebuild 1987 -MD5 d4f92ab32dd21aaae7cc52e21552e9c4 ChangeLog 2428 +MD5 e99faba102f91808eb120b1396e13154 ChangeLog 2428 MD5 a517e498166c7e91d886ad9c88844802 files/digest-evms-1.2.0-r1 63 MD5 cd670e457535a10c1c329aea559f7696 files/digest-evms-1.2.1-r1 63 MD5 a517e498166c7e91d886ad9c88844802 files/digest-evms-1.2.0 63 diff --git a/sys-apps/evms/evms-2.1.0.ebuild b/sys-apps/evms/evms-2.1.0.ebuild new file mode 100644 index 000000000000..619049b4bde8 --- /dev/null +++ b/sys-apps/evms/evms-2.1.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/evms/evms-2.1.0.ebuild,v 1.1 2003/07/13 07:10:34 pfeifer Exp $ + +IUSE="ncurses gtk" + +inherit eutils + +DESCRIPTION="Utilities for the IBM Enterprise Volume Management System" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.sourceforge.net/projects/evms" + +KEYWORDS="~x86 -amd64 -ppc -sparc -alpha -arm -hppa -mips" +LICENSE="GPL-2" +SLOT="0" + +#EVMS uses libuuid from e2fsprogs +DEPEND="virtual/glibc + sys-apps/e2fsprogs + gtk? ( =x11-libs/gtk+-1* ) + ncurses? ( sys-libs/ncurses )" + +src_compile() { + local excluded_interfaces="" + use ncurses || excluded_interfaces="--disable-text-mode" + use gtk || excluded_interfaces="${excluded_interfaces} --disable-gui" + + ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --sbindir=/sbin \ + --mandir=/usr/share/man \ + --includedir=/usr/include \ + ${excluded_interfaces} || die "Failed configure" + emake || die "Failed emake" +} + +src_install() { + make DESTDIR=${D} install || die "Make install died" + dodoc ChangeLog COPYING TERMINOLOGY PLUGIN.IDS INSTALL INSTALL.HA INSTALL.initrd + + # move static libraries to /usr/lib + dodir /usr/lib + mv -f ${D}/lib/*.a ${D}/usr/lib + + # Create linker scripts for dynamic libs in /lib, else gcc + # links to the static ones in /usr/lib first. Bug #4411. + for x in ${D}/usr/lib/*.a + do + if [ -f ${x} ] + then + local lib="${x##*/}" + gen_usr_ldscript ${lib/\.a/\.so} + fi + done + + # realize these symlinks now so they get included + cd ${D}/lib + rm -f libdlist.so libevms.so + ln -sf libevms-${PV}.so libevms.so.1 + ln -sf libevms.so.1 libevms.so + ln -sf libdlist-1.0.so libdlist.so.1 + ln -sf libdlist.so.1 libdlist.so + + # the gtk+ frontend should live in /usr/sbin + if [ -n "`use gtk`" ] + then + dodir /usr/sbin + mv -f ${D}/sbin/evmsgui ${D}/usr/sbin + fi + + exeinto /etc/init.d + newexe ${FILESDIR}/evms2-init evms +} + +pkg_postinst() { + + ewarn "You just installed evms 2.1.0 - See the ChangeLog for current kernel support" + ewarn "At this time, only pfeifer-sources-2.4.21_pre3 supports this." + ewarn "Ensure you add evms2 to your use flags when emerging pfeifer-sources..." + ewarn "If you do not, you will only have evms 1.2.1 support in the kernel." + +} diff --git a/sys-apps/evms/files/digest-evms-2.1.0 b/sys-apps/evms/files/digest-evms-2.1.0 new file mode 100644 index 000000000000..f5ac70c3f932 --- /dev/null +++ b/sys-apps/evms/files/digest-evms-2.1.0 @@ -0,0 +1 @@ +MD5 fa5b6dcfec8b3b11123d904754037a67 evms-2.1.0.tar.gz 1836796 |