summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-27 03:07:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-27 03:07:46 +0000
commita86629cc5452526c2be447c22607496623e52a74 (patch)
treed20c75ba1e06ed5c1f22e8c00b82d075003afb5e /sys-fs/evms
parentUSE=mad -> USE=mp3 #94045 (diff)
downloadhistorical-a86629cc5452526c2be447c22607496623e52a74.tar.gz
historical-a86629cc5452526c2be447c22607496623e52a74.tar.bz2
historical-a86629cc5452526c2be447c22607496623e52a74.zip
Add basic evms2 start addon #50711 by Asbjorn Sannes.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-fs/evms')
-rw-r--r--sys-fs/evms/ChangeLog8
-rw-r--r--sys-fs/evms/Manifest17
-rw-r--r--sys-fs/evms/evms-2.5.2.ebuild7
-rw-r--r--sys-fs/evms/files/evms2-start.sh11
4 files changed, 26 insertions, 17 deletions
diff --git a/sys-fs/evms/ChangeLog b/sys-fs/evms/ChangeLog
index 0b17194ede27..dd95a1adccc5 100644
--- a/sys-fs/evms/ChangeLog
+++ b/sys-fs/evms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/evms
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.31 2005/04/12 23:22:05 eradicator Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.32 2005/05/27 03:07:46 vapier Exp $
+
+ 27 May 2005; Mike Frysinger <vapier@gentoo.org> +files/evms2-start.sh,
+ evms-2.5.2.ebuild:
+ Add basic evms2 start addon #50711 by Asbjorn Sannes.
12 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
-evms-2.3.4-r1.ebuild:
diff --git a/sys-fs/evms/Manifest b/sys-fs/evms/Manifest
index d9011f6c284a..5821a0178815 100644
--- a/sys-fs/evms/Manifest
+++ b/sys-fs/evms/Manifest
@@ -1,18 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b0eb2aef1b8cc4459657b6fa59c29277 ChangeLog 7807
+MD5 681ab467a145502369043cf7f4e66475 ChangeLog 7954
MD5 6f3337a11ad0aaa0602e5c120248c7ec evms-1.2.1-r1.ebuild 1953
-MD5 cc073f839a78a15108a784b378e0f741 evms-2.5.2.ebuild 2154
MD5 59d559390ca6a6d365a5d6c3012c0343 metadata.xml 387
+MD5 de8c164ad9b8d2218813f6fbfaebd022 evms-2.5.2.ebuild 2288
MD5 cd670e457535a10c1c329aea559f7696 files/digest-evms-1.2.1-r1 63
-MD5 996ea6d43e86cc65954540da80e56061 files/digest-evms-2.5.2 63
+MD5 5eb632aa94b0537e1983f935e3706d74 files/evms2-start.sh 382
MD5 8f95e61903246ea287b1025913864ad9 files/evms-init 1000
MD5 bef1ae81a93d9fe33c78e7883409a889 files/evms2-init 379
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCXFgpArHZZzCEUG0RAj0kAJ9BDAZehmztSGQ/w4GE3hhL1EwGvgCfakgU
-fR9+0KqgrwqdKt07qwgMsAQ=
-=Ey1z
------END PGP SIGNATURE-----
+MD5 996ea6d43e86cc65954540da80e56061 files/digest-evms-2.5.2 63
diff --git a/sys-fs/evms/evms-2.5.2.ebuild b/sys-fs/evms/evms-2.5.2.ebuild
index 11072961b204..8ae66228805c 100644
--- a/sys-fs/evms/evms-2.5.2.ebuild
+++ b/sys-fs/evms/evms-2.5.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.2.ebuild,v 1.3 2005/03/28 11:48:25 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.2.ebuild,v 1.4 2005/05/27 03:07:46 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic multilib
DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
HOMEPAGE="http://www.sourceforge.net/projects/evms"
@@ -44,6 +44,9 @@ src_install() {
make DESTDIR="${D}" install || die "Make install died"
dodoc ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
+ insinto /$(get_libdir)/rcscripts/addons
+ newins "${FILESDIR}"/evms2-start.sh evms-start.sh || die "rcscript addon failed"
+
# install the sample configuration into the doc dir
dodoc ${D}/etc/evms.conf.sample
rm -f ${D}/etc/evms.conf.sample
diff --git a/sys-fs/evms/files/evms2-start.sh b/sys-fs/evms/files/evms2-start.sh
new file mode 100644
index 000000000000..022e57fafdf2
--- /dev/null
+++ b/sys-fs/evms/files/evms2-start.sh
@@ -0,0 +1,11 @@
+# /lib/rcscripts/addons/evms-start.sh: Setup evms volumes at boot
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms2-start.sh,v 1.1 2005/05/27 03:07:46 vapier Exp $
+
+if [[ -z ${CDBOOT} ]] ; then
+ ebegin "Activating EVMS"
+ evms_activate
+ retval=$?
+ eend ${retval}
+fi