summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2004-09-20 15:28:36 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2004-09-20 15:28:36 +0000
commitd53b6c6a174f0ce14731b0050173529781281f7c (patch)
treee83c728b30982d31f49e047c2ef8e3b8d46c8421 /sys-fs/evms
parentMarked ~ppc (diff)
downloadgentoo-2-d53b6c6a174f0ce14731b0050173529781281f7c.tar.gz
gentoo-2-d53b6c6a174f0ce14731b0050173529781281f7c.tar.bz2
gentoo-2-d53b6c6a174f0ce14731b0050173529781281f7c.zip
Version bump, and get_libdir support. This version fixes the problem in 2.3.x where you could not use evmsn to format your volumes.
Diffstat (limited to 'sys-fs/evms')
-rw-r--r--sys-fs/evms/ChangeLog9
-rw-r--r--sys-fs/evms/Manifest4
-rw-r--r--sys-fs/evms/evms-2.4.0.ebuild87
-rw-r--r--sys-fs/evms/files/digest-evms-2.4.01
4 files changed, 99 insertions, 2 deletions
diff --git a/sys-fs/evms/ChangeLog b/sys-fs/evms/ChangeLog
index 656c95e6058b..65605833285c 100644
--- a/sys-fs/evms/ChangeLog
+++ b/sys-fs/evms/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/evms
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.21 2004/09/03 19:16:58 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.22 2004/09/20 15:28:36 eradicator Exp $
+
+*evms-2.4.0 (20 Sep 2004)
+
+ 20 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> +evms-2.4.0.ebuild:
+ Version bump, and get_libdir support. This version fixes the
+ problem in 2.3.x where you could not use evmsn to format your
+ volumes.
03 Sep 2004; Pieter Van den Abeele <pvdabeel@gentoo.org>
evms-1.2.1-r1.ebuild, evms-2.2.2.ebuild, evms-2.3.2-r1.ebuild,
diff --git a/sys-fs/evms/Manifest b/sys-fs/evms/Manifest
index f4323faa4b24..7278105e8d11 100644
--- a/sys-fs/evms/Manifest
+++ b/sys-fs/evms/Manifest
@@ -1,12 +1,14 @@
MD5 8211e5891c76aead8eae82365f01c820 ChangeLog 6266
MD5 eaf8f6a7d79d64294bfa75183906f803 evms-1.2.1-r1.ebuild 1951
MD5 15b44ca0a4828e1342e2074a3c6518d6 evms-2.2.2.ebuild 1784
+MD5 c15531ac0aae0c3deee22373f0f79158 evms-2.4.0.ebuild 2218
MD5 fd272d625ba14756145436ab81ccd44c evms-2.3.2-r1.ebuild 2143
-MD5 592511daa287d41db6acf3355035a699 evms-2.3.4-r1.ebuild 2215
MD5 eab25fc0bfde7fd3c7fdf3c937fa52f6 metadata.xml 450
+MD5 592511daa287d41db6acf3355035a699 evms-2.3.4-r1.ebuild 2215
MD5 cd670e457535a10c1c329aea559f7696 files/digest-evms-1.2.1-r1 63
MD5 bbf4b9e76bc984677b897fe19c107185 files/digest-evms-2.2.2 63
MD5 0a317817eea119e0888984775b8734e0 files/digest-evms-2.3.2-r1 63
MD5 634b1de02d7c1f3df88366c87f655a96 files/digest-evms-2.3.4-r1 63
MD5 8f95e61903246ea287b1025913864ad9 files/evms-init 1000
MD5 bef1ae81a93d9fe33c78e7883409a889 files/evms2-init 379
+MD5 d6a26be5028e70e5d6ff233f2f47ac21 files/digest-evms-2.4.0 63
diff --git a/sys-fs/evms/evms-2.4.0.ebuild b/sys-fs/evms/evms-2.4.0.ebuild
new file mode 100644
index 000000000000..d3e35b02d4c4
--- /dev/null
+++ b/sys-fs/evms/evms-2.4.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.4.0.ebuild,v 1.1 2004/09/20 15:28:36 eradicator Exp $
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
+HOMEPAGE="http://www.sourceforge.net/projects/evms"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE="ncurses gtk"
+
+#EVMS uses libuuid from e2fsprogs
+DEPEND="virtual/libc
+ sys-fs/e2fsprogs
+ sys-libs/device-mapper
+ gtk? ( =x11-libs/gtk+-1* )
+ ncurses? ( sys-libs/ncurses )"
+
+src_compile() {
+ # Bug #54856
+ # filter-flags "-fstack-protector"
+ replace-flags -O3 -O2
+ replace-flags -Os -O2
+
+ local excluded_interfaces=""
+ use ncurses || excluded_interfaces="--disable-text-mode"
+ use gtk || excluded_interfaces="${excluded_interfaces} --disable-gui"
+
+ econf \
+ --libdir=/$(get_libdir) \
+ --sbindir=/sbin \
+ --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 INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
+
+ # install the sample configuration into the doc dir
+ dodoc ${D}/etc/evms.conf.sample
+ rm -f ${D}/etc/evms.conf.sample
+
+ # the kernel patches may come handy for people compiling their own kernel
+ docinto kernel/2.4
+ dodoc kernel/2.4/*
+ docinto kernel/2.6
+ dodoc kernel/2.6/*
+
+ # move static libraries to /usr/lib
+ dodir /usr/$(get_libdir)
+ mv -f ${D}/$(get_libdir)/*.a ${D}/usr/$(get_libdir)
+
+ # 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/$(get_libdir)/*.a
+ do
+ if [ -f ${x} ]
+ then
+ local lib="${x##*/}"
+ gen_usr_ldscript ${lib/\.a/\.so}
+ fi
+ done
+
+ # the gtk+ frontend should live in /usr/sbin
+ if 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 "Presently gentoo-sources-2.4.22 has basic support for evms2,"
+ ewarn "but does NOT support some of the more advanced features."
+
+ # Needed for bug #51252
+ ldconfig
+}
diff --git a/sys-fs/evms/files/digest-evms-2.4.0 b/sys-fs/evms/files/digest-evms-2.4.0
new file mode 100644
index 000000000000..ca22ca27dcac
--- /dev/null
+++ b/sys-fs/evms/files/digest-evms-2.4.0
@@ -0,0 +1 @@
+MD5 50be066be9c23774663605187f99b9ff evms-2.4.0.tar.gz 2178515