diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 17:46:26 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2003-09-15 17:46:26 +0000 |
commit | ac473605b2a5b4138218869a7f6140686c664e1c (patch) | |
tree | aeabad1544e1c315445e0d3361afa57a8e40b715 /sys-fs/evms | |
parent | added filesystem related apps to sys-fs from sys-apps (diff) | |
download | gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.gz gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.tar.bz2 gentoo-2-ac473605b2a5b4138218869a7f6140686c664e1c.zip |
added filesystem related apps to sys-fs from sys-apps
Diffstat (limited to 'sys-fs/evms')
-rw-r--r-- | sys-fs/evms/ChangeLog | 85 | ||||
-rw-r--r-- | sys-fs/evms/Manifest | 20 | ||||
-rw-r--r-- | sys-fs/evms/evms-1.2.1-r1.ebuild | 80 | ||||
-rw-r--r-- | sys-fs/evms/evms-2.0.1.ebuild | 74 | ||||
-rw-r--r-- | sys-fs/evms/evms-2.1.0.ebuild | 83 | ||||
-rw-r--r-- | sys-fs/evms/files/digest-evms-1.2.1-r1 | 1 | ||||
-rw-r--r-- | sys-fs/evms/files/digest-evms-2.0.1 | 1 | ||||
-rw-r--r-- | sys-fs/evms/files/digest-evms-2.1.0 | 1 | ||||
-rw-r--r-- | sys-fs/evms/files/evms-init | 33 | ||||
-rw-r--r-- | sys-fs/evms/files/evms2-init | 16 |
10 files changed, 380 insertions, 14 deletions
diff --git a/sys-fs/evms/ChangeLog b/sys-fs/evms/ChangeLog new file mode 100644 index 000000000000..b1761c4a2f17 --- /dev/null +++ b/sys-fs/evms/ChangeLog @@ -0,0 +1,85 @@ +# ChangeLog for sys-fs/evms +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.1 2003/09/15 17:46:24 seemant Exp $ + +*evms-2.0.0-r1 (15 Sep 2003) + + 15 Sep 2003; Seemant Kulleen <seemant@gentoo.org> evms-1.2.0-r1.ebuild, + evms-1.2.0.ebuild, evms-1.2.1-r1.ebuild, evms-1.2.1.ebuild, + evms-2.0.0-r1.ebuild, evms-2.0.1.ebuild, evms-2.1.0.ebuild, files/evms-init, + files/evms2-init: + moved to sys-fs + +*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) + + 10 May 2003; Jay Pfeifer <pfeifer@gentoo.org>: + Version bump. + Kernel support for 2.0.1 is in gentoo-sources-2.4.20-r5 + +*evms-2.0.0-r1 (08 Apr 2003) + + 08 Apr 2003; Michael Imhof <tantive@gentoo.org>: + Version bumped to -r1 as -r0 was borked. Removed -r0. + Added new init-script for 2.0.0 + Should close #18835. + +*evms-2.0.0 (06 Apr 2003) + + 06 Apr 2003; Michael Imhof <tantive@gentoo.org>: + Version bumped. + +*evms-1.2.1-r1 (05 Mar 2003) + + 03 Apr 2003; Graham Forest <vladimir@gentoo.org> evms-1.2.1-r1.ebuild: + set ~ppc in keywords + + 05 Mar 2003; Brandon Low <lostlogic@gentoo.org> evms-1.2.1-r1.ebuild: + Set keyword stable to match gentoo-sources release + +*evms-1.2.1 (27 Dec 2002) + + 27 Dec 2002; Seth Chandler <sethbc@gentoo.org>: added evms 1.2.1 to + portage ~masked + +*evms-1.2.0 (02 Oct 2002) + + 02 Oct 2002; Donny Davies <woodchip@gentoo.org>: New evms-1.2.0 release + which is backwards compatible with 1.1.0 kernel drivers. Now builds + independent of /usr/src/linux headers. Thanks lnx1138@us.ibm.com. + +*evms-1.1.0 (07 Aug 2002) + + 27 Aug 2002; Donny Davies <woodchip@gentoo.org>: Removed the LVM clone tools. + + 07 Aug 2002; Daniel Robbins <drobbins@gentoo.org>: New release version of evms 1.1.0. + +*evms-1.1.0_pre4 (31 Jul 2002) + + 31 Jul 2002; Daniel Robbins <drobbins@gentoo.org>: New version for evms 1.1.0 systems. + +*evms-1.0.1 (08 May 2002) + + 21 Jul 2002; Mark Guertin <gerk@gentoo.org>: updated keywords (-ppc) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> evms-1.0.1.ebuild : Added KEYWORDS. + + 08 May 2002; Donny Davies <woodchip@gentoo.org>: Updated to 1.0.1. + +*evms-1.0.0-r1 (30 Apr 2002) + + 14 Jul 2002; phoen][x <phoenix@gentoo.org> evms-1.0.0-r1.ebuild : Added KEYWORDS. + + 30 Apr 2002; Donny Davies <woodchip@gentoo.org>: Moved the plugins to + /lib/evms, where they belong. Please unmerge the older version of this + package if you had it installed. + +*evms-1.0.0 (27 Apr 2002) + + 27 Apr 2002; Donny Davies <woodchip@gentoo.org>: Made a package for IBM's + Enterprise Volume Management System. diff --git a/sys-fs/evms/Manifest b/sys-fs/evms/Manifest index 32da509ba403..fb7b617a1cb9 100644 --- a/sys-fs/evms/Manifest +++ b/sys-fs/evms/Manifest @@ -1,17 +1,9 @@ -MD5 e99faba102f91808eb120b1396e13154 ChangeLog 2428 -MD5 7dffb6b43c06bd8b52e4759a54d7d490 evms-1.2.0-r1.ebuild 1990 -MD5 677f7b95c691a0bd8fd69cfde7afa8b5 evms-1.2.0.ebuild 1719 -MD5 39b0ae1bf3514b78cda3225dcdc5727f evms-1.2.1-r1.ebuild 1999 -MD5 cd7fa7065cd56bdb0578ad892fd3f6e1 evms-1.2.1.ebuild 1987 -MD5 071ee06519bbe34e82567def5b07cdc7 evms-2.0.0-r1.ebuild 1934 -MD5 48c883c10a459c5552889d658005fc14 evms-2.0.1.ebuild 1931 -MD5 85c12197a899111596530f3d80010170 evms-2.1.0.ebuild 2301 -MD5 a517e498166c7e91d886ad9c88844802 files/digest-evms-1.2.0 63 -MD5 a517e498166c7e91d886ad9c88844802 files/digest-evms-1.2.0-r1 63 -MD5 cd670e457535a10c1c329aea559f7696 files/digest-evms-1.2.1 63 +MD5 2726111d2a2d39341cae1e93ffd95d23 evms-2.1.0.ebuild 2297 +MD5 1b51bf14fd8e6afcff2ebce354720a51 evms-1.2.1-r1.ebuild 1994 +MD5 5ec83817393efe75dfaae5e7c72df3df evms-2.0.1.ebuild 1926 +MD5 47e12457aed6a64eb03aa95bf3cc8bfd ChangeLog 2707 MD5 cd670e457535a10c1c329aea559f7696 files/digest-evms-1.2.1-r1 63 -MD5 0b2cae18bf9b9f03fc724a2c39c15a60 files/digest-evms-2.0.0-r1 63 MD5 dfa82f05ac2b2dab963df98f19482b17 files/digest-evms-2.0.1 63 MD5 46223a12f7e7dcde8bbe47a3e4217bbc files/digest-evms-2.1.0 63 -MD5 2b3f4efed2b75c1c175bc36ca4d9e7b1 files/evms-init 1019 -MD5 77d5342b82a8bfc5e0a9787383cc54eb files/evms2-init 371 +MD5 d4808be7c9cf9f68c724cd9a6c2b0058 files/evms2-init 369 +MD5 8f1eecefba4d91d0f4b06cb099ac9034 files/evms-init 1018 diff --git a/sys-fs/evms/evms-1.2.1-r1.ebuild b/sys-fs/evms/evms-1.2.1-r1.ebuild new file mode 100644 index 000000000000..444de9c3dac6 --- /dev/null +++ b/sys-fs/evms/evms-1.2.1-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-1.2.1-r1.ebuild,v 1.1 2003/09/15 17:46:24 seemant Exp $ + +IUSE="ncurses gtk" + +inherit eutils + +S="${WORKDIR}/${P}" +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" +LICENSE="GPL-2" +SLOT="0" + +#EVMS uses libuuid from e2fsprogs +DEPEND="virtual/glibc + sys-fs/e2fsprogs + gtk? ( =x11-libs/gtk+-1* ) + ncurses? ( sys-libs/ncurses )" + + +src_compile() { + local interfaces="CommandLine,utilities,LvmUtils" + use ncurses && interfaces="ncurses,${interfaces}" + use gtk && interfaces="evmsgui,${interfaces}" + + cd engine + ./configure \ + --prefix=/usr \ + --libdir=/lib \ + --sbindir=/sbin \ + --with-plugins=all \ + --mandir=/usr/share/man \ + --includedir=/usr/include \ + --with-interfaces=${interfaces} \ + --host=${CHOST} || die "bad ./configure" + #1.2.0 doesn't support parallel make + make || die "compile problem" +} + +src_install() { + make -C engine DESTDIR=${D} install || die + dodoc CHANGES COPYING EVMS*.txt PLUGIN.IDS + + # 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}/evms-init evms +} + diff --git a/sys-fs/evms/evms-2.0.1.ebuild b/sys-fs/evms/evms-2.0.1.ebuild new file mode 100644 index 000000000000..134585f5c23f --- /dev/null +++ b/sys-fs/evms/evms-2.0.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.0.1.ebuild,v 1.1 2003/09/15 17:46:24 seemant 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" +LICENSE="GPL-2" +SLOT="0" + +#EVMS uses libuuid from e2fsprogs +DEPEND="virtual/glibc + sys-fs/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 +} diff --git a/sys-fs/evms/evms-2.1.0.ebuild b/sys-fs/evms/evms-2.1.0.ebuild new file mode 100644 index 000000000000..f55ebc4c3e7b --- /dev/null +++ b/sys-fs/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-fs/evms/evms-2.1.0.ebuild,v 1.1 2003/09/15 17:46:24 seemant 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-fs/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-fs/evms/files/digest-evms-1.2.1-r1 b/sys-fs/evms/files/digest-evms-1.2.1-r1 new file mode 100644 index 000000000000..ddf7efc0d5ee --- /dev/null +++ b/sys-fs/evms/files/digest-evms-1.2.1-r1 @@ -0,0 +1 @@ +MD5 fc51e5411459466563de4143c74689b8 evms-1.2.1.tar.gz 1628253 diff --git a/sys-fs/evms/files/digest-evms-2.0.1 b/sys-fs/evms/files/digest-evms-2.0.1 new file mode 100644 index 000000000000..e5eb405f84a9 --- /dev/null +++ b/sys-fs/evms/files/digest-evms-2.0.1 @@ -0,0 +1 @@ +MD5 879a1acbf15b993b5ad3f7a35f02e8b9 evms-2.0.1.tar.gz 1721291 diff --git a/sys-fs/evms/files/digest-evms-2.1.0 b/sys-fs/evms/files/digest-evms-2.1.0 new file mode 100644 index 000000000000..f5ac70c3f932 --- /dev/null +++ b/sys-fs/evms/files/digest-evms-2.1.0 @@ -0,0 +1 @@ +MD5 fa5b6dcfec8b3b11123d904754037a67 evms-2.1.0.tar.gz 1836796 diff --git a/sys-fs/evms/files/evms-init b/sys-fs/evms/files/evms-init new file mode 100644 index 000000000000..0ea1da449745 --- /dev/null +++ b/sys-fs/evms/files/evms-init @@ -0,0 +1,33 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms-init,v 1.1 2003/09/15 17:46:24 seemant Exp $ + +start() { + test -x /sbin/evms_rediscover || eend 1 + + # Only run if EVMS modules have been loaded. If no modules are + # loaded, evms modules have been compiled in, in which case discovery + # has already been done by the kernel, or there is no evms support, + # and thus nothing for us to do. + + if ! lsmod | egrep -q '^(ldev_mgr|dos_part|lvm_vge|evms.*|md_core|md_linear|md_raid0|md_raid1|AIXlvm_vge|os2lvm_vge|snapshot) ' + then + ewarn + ewarn "Nothing to do; evms support is either statically compiled into" + ewarn "your kernel or you forgot to load the modules!" + ewarn + eend 0 + fi + + ebegin "Starting evms" + evms_rediscover + evms_devnode_fixup + eend 0 +} + +stop() { + # nothing to do.. + # this initscript should probably be moved into bootmisc or something.. + eend 0 +} diff --git a/sys-fs/evms/files/evms2-init b/sys-fs/evms/files/evms2-init new file mode 100644 index 000000000000..a487bc53d617 --- /dev/null +++ b/sys-fs/evms/files/evms2-init @@ -0,0 +1,16 @@ +#!/sbin/runscript +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms2-init,v 1.1 2003/09/15 17:46:24 seemant Exp $ + +start() { + ebegin "Starting evms" + evms_activate + eend 0 +} + +stop() { + ebegin "Stopping evms" + evms_deactivate + eend 0 +} |