summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Andreetta <satya@gentoo.org>2004-09-03 13:23:19 +0000
committerChristian Andreetta <satya@gentoo.org>2004-09-03 13:23:19 +0000
commitb2d02d54237f733c76ad3a60f1d22a481cde2594 (patch)
tree826d2ea6cff6e287f2cb998fc36be4c0d43ebc33 /dev-python
parentFixes to dependency (diff)
downloadgentoo-2-b2d02d54237f733c76ad3a60f1d22a481cde2594.tar.gz
gentoo-2-b2d02d54237f733c76ad3a60f1d22a481cde2594.tar.bz2
gentoo-2-b2d02d54237f733c76ad3a60f1d22a481cde2594.zip
init script added
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/skunkweb/ChangeLog6
-rw-r--r--dev-python/skunkweb/Manifest5
-rw-r--r--dev-python/skunkweb/files/skunkweb-init32
-rw-r--r--dev-python/skunkweb/metadata.xml7
-rw-r--r--dev-python/skunkweb/skunkweb-3.4_beta5.ebuild3
5 files changed, 49 insertions, 4 deletions
diff --git a/dev-python/skunkweb/ChangeLog b/dev-python/skunkweb/ChangeLog
index 1ae4979eda39..203be710f703 100644
--- a/dev-python/skunkweb/ChangeLog
+++ b/dev-python/skunkweb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/skunkweb
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/ChangeLog,v 1.7 2004/09/03 01:28:33 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/ChangeLog,v 1.8 2004/09/03 13:23:19 satya Exp $
+
+ 03 Sep 2004; Christian Andreetta <satya@gentoo.org> metadata.xml,
+ +files/skunkweb-init, skunkweb-3.4_beta5.ebuild:
+ initscript added
02 Sep 2004; Seemant Kulleen <seemant@gentoo.org> skunkweb-3.4_beta5.ebuild:
remove sed from version calculation, it's
diff --git a/dev-python/skunkweb/Manifest b/dev-python/skunkweb/Manifest
index cea5951b13bd..6e5c3e388943 100644
--- a/dev-python/skunkweb/Manifest
+++ b/dev-python/skunkweb/Manifest
@@ -1,4 +1,5 @@
MD5 e35547fcd10945164ff6720388ee1430 ChangeLog 1033
-MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
-MD5 c55d81159214d83a557687cb253c2d7e skunkweb-3.4_beta5.ebuild 2170
+MD5 ce3f2bc35dd35ff24c757ab6f807ddae metadata.xml 488
+MD5 8592673dd4bf5815bb2ce836fec7f889 skunkweb-3.4_beta5.ebuild 2234
+MD5 dedebc510b3ac07d21f135e825f6101c files/skunkweb-init 547
MD5 33defac2f69099260dac7f1a043b2643 files/digest-skunkweb-3.4_beta5 67
diff --git a/dev-python/skunkweb/files/skunkweb-init b/dev-python/skunkweb/files/skunkweb-init
new file mode 100644
index 000000000000..2fd959779b41
--- /dev/null
+++ b/dev-python/skunkweb/files/skunkweb-init
@@ -0,0 +1,32 @@
+#!/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/dev-python/skunkweb/files/skunkweb-init,v 1.1 2004/09/03 13:23:19 satya Exp $
+
+DAEMON_CMD=/usr/bin/swmgr
+opts="${opts} configtest"
+
+depend() {
+ use apache2
+}
+
+configtest() {
+ ${DAEMON_CMD} configtest
+}
+
+start() {
+ ebegin "Starting skunkweb"
+ ${DAEMON_CMD} start > /dev/null 2>&1
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping skunkweb"
+ ${DAEMON_CMD} stop > /dev/null 2>&1
+ eend $?
+}
+restart() {
+ ebegin "Restarting skunkweb"
+ ${DAEMON_CMD} restart > /dev/null 2>&1
+ eend $?
+}
diff --git a/dev-python/skunkweb/metadata.xml b/dev-python/skunkweb/metadata.xml
index de483c53568f..ecb201db7aab 100644
--- a/dev-python/skunkweb/metadata.xml
+++ b/dev-python/skunkweb/metadata.xml
@@ -2,4 +2,11 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+<maintainer>
+ <email>satya@gentoo.org</email>
+ <name>Christian Andreetta</name>
+</maintainer>
+<longdescription>
+SkunkWeb is a multi-process application server written in python, extensively using python module 'pickle' for caching. Ships with its own web server, or can be deployed with apache and mod-python.
+</longdescription>
</pkgmetadata>
diff --git a/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild b/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
index 757b7cf06f3a..dfe1e7609b92 100644
--- a/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
+++ b/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild,v 1.7 2004/09/03 01:28:33 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/skunkweb/skunkweb-3.4_beta5.ebuild,v 1.8 2004/09/03 13:23:19 satya Exp $
inherit eutils
@@ -68,6 +68,7 @@ src_install() {
newins SkunkWeb/mod_skunkweb/http_conf.stub mod_skunkweb.conf
fi
fi
+ exeinto /etc/init.d; newexe ${FILESDIR}/skunkweb-init skunkweb
dodoc README ChangeLog NEWS HACKING ACKS INSTALL
if use doc; then
cd ${S}/doc