diff options
author | 2004-09-03 13:23:19 +0000 | |
---|---|---|
committer | 2004-09-03 13:23:19 +0000 | |
commit | 14c1195115b4db6550c96162772e9eb6a358cd55 (patch) | |
tree | 4e6ff8b55b0413c01754b1910bfe72c0b99b154f /dev-python | |
parent | Fixes to dependency (diff) | |
download | historical-14c1195115b4db6550c96162772e9eb6a358cd55.tar.gz historical-14c1195115b4db6550c96162772e9eb6a358cd55.tar.bz2 historical-14c1195115b4db6550c96162772e9eb6a358cd55.zip |
init script added
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/skunkweb/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/skunkweb/Manifest | 7 | ||||
-rw-r--r-- | dev-python/skunkweb/files/skunkweb-init | 32 | ||||
-rw-r--r-- | dev-python/skunkweb/metadata.xml | 7 | ||||
-rw-r--r-- | dev-python/skunkweb/skunkweb-3.4_beta5.ebuild | 3 |
5 files changed, 50 insertions, 5 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..7cf5c49dc0e5 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 d69e6c1d60d2ae51ff9802f479839002 ChangeLog 1170 +MD5 ce3f2bc35dd35ff24c757ab6f807ddae metadata.xml 488 +MD5 545fd5a4bbb9939e5c9100b9e8797163 skunkweb-3.4_beta5.ebuild 2232 +MD5 04c336f15c6758c2a02eb4187e8b2600 files/skunkweb-init 647 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 |