summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2005-03-19 21:00:48 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2005-03-19 21:00:48 +0000
commitdaf1fd0905d759f5d3afead108b8fb84b162dfe4 (patch)
tree230b55a08e9a0ea37bd5dcbdca2d48f37fbb6383 /sys-cluster/ccs
parentAdded to ~hppa. (diff)
downloadgentoo-2-daf1fd0905d759f5d3afead108b8fb84b162dfe4.tar.gz
gentoo-2-daf1fd0905d759f5d3afead108b8fb84b162dfe4.tar.bz2
gentoo-2-daf1fd0905d759f5d3afead108b8fb84b162dfe4.zip
added gentoo compliant init/conf files
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-cluster/ccs')
-rw-r--r--sys-cluster/ccs/ChangeLog6
-rw-r--r--sys-cluster/ccs/Manifest14
-rw-r--r--sys-cluster/ccs/ccs-0.24.ebuild5
-rw-r--r--sys-cluster/ccs/files/ccsd.conf2
-rwxr-xr-xsys-cluster/ccs/files/ccsd.rc27
5 files changed, 41 insertions, 13 deletions
diff --git a/sys-cluster/ccs/ChangeLog b/sys-cluster/ccs/ChangeLog
index 18523bfe076a..8d7bf5ea92ea 100644
--- a/sys-cluster/ccs/ChangeLog
+++ b/sys-cluster/ccs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-cluster/ccs
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ChangeLog,v 1.7 2005/03/19 15:27:44 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ChangeLog,v 1.8 2005/03/19 21:00:47 xmerlin Exp $
+
+ 19 Mar 2005; Christian Zoffoli <xmerlin@gentoo.org> +files/ccsd.conf,
+ +files/ccsd.rc, ccs-0.24.ebuild:
+ added gentoo compliant init/conf files
*ccs-0.24 (19 Mar 2005)
diff --git a/sys-cluster/ccs/Manifest b/sys-cluster/ccs/Manifest
index b3ddd5e3b516..93054bc0467e 100644
--- a/sys-cluster/ccs/Manifest
+++ b/sys-cluster/ccs/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 a64b9a1937a5cfc2fbaf373521f65d47 metadata.xml 223
MD5 08cf240235f8f26a4f49fc809f4a9dee ChangeLog 751
MD5 9fa91c22c5dcbf38ca7417f83cfb5c3f ccs-0.7.ebuild 748
-MD5 e0e87edf36c03ccf8b1da24c09db3bbc ccs-0.24.ebuild 893
+MD5 6e3b3fec49fbc667d2044321fa441013 ccs-0.24.ebuild 1020
MD5 26c41799e51873904b374ba950887f8b files/digest-ccs-0.7 58
MD5 46814b5b5398bfaf0d64854a0d0900a6 files/digest-ccs-0.24 59
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
-
-iD8DBQFCPEWJgMUyd/cdjWsRAu8rAJ4h3oSVozl3CoEpvXbE5cnYMNPzsACfTdv9
-3YlqBTSpvasJ/Wzcm7x2gzI=
-=oKiO
------END PGP SIGNATURE-----
+MD5 1ee3688a41f89176094bb7c8830e8370 files/ccsd.conf 21
+MD5 53040c43fb34760e0c198dc1642dcfe9 files/ccsd.rc 472
diff --git a/sys-cluster/ccs/ccs-0.24.ebuild b/sys-cluster/ccs/ccs-0.24.ebuild
index 935a7ec4132f..9af8fe4f9ffa 100644
--- a/sys-cluster/ccs/ccs-0.24.ebuild
+++ b/sys-cluster/ccs/ccs-0.24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ccs-0.24.ebuild,v 1.1 2005/03/19 15:27:44 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/ccs-0.24.ebuild,v 1.2 2005/03/19 21:00:47 xmerlin Exp $
inherit linux-mod
@@ -30,6 +30,9 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die
+
+ exeinto /etc/init.d ; newexe ${FILESDIR}/ccsd.rc ccsd || die
+ insinto /etc/conf.d ; newins ${FILESDIR}/ccsd.conf ccsd || die
}
pkg_postinst() {
diff --git a/sys-cluster/ccs/files/ccsd.conf b/sys-cluster/ccs/files/ccsd.conf
new file mode 100644
index 000000000000..51a755b23c86
--- /dev/null
+++ b/sys-cluster/ccs/files/ccsd.conf
@@ -0,0 +1,2 @@
+CCSD_OPTS=
+CCS=pippo
diff --git a/sys-cluster/ccs/files/ccsd.rc b/sys-cluster/ccs/files/ccsd.rc
new file mode 100755
index 000000000000..5bd000664ac3
--- /dev/null
+++ b/sys-cluster/ccs/files/ccsd.rc
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/ccs/files/ccsd.rc,v 1.1 2005/03/19 21:00:48 xmerlin Exp $
+
+depend() {
+ use net
+ before cman fence gfs
+ provide ccs
+}
+
+exefile=/sbin/ccsd
+pidfile=/var/run/ccsd.pid
+
+start() {
+ ebegin "Starting ccsd"
+ start-stop-daemon --start --quiet \
+ --exec ${exefile} -- ${CCSD_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ccsd"
+ start-stop-daemon --stop --quiet --exec ${exefile} > /dev/null
+ eend $?
+}
+