summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJodok Batlogg <batlogg@gentoo.org>2004-07-13 23:33:52 +0000
committerJodok Batlogg <batlogg@gentoo.org>2004-07-13 23:33:52 +0000
commit80c1f9b5a4483e7aa56ea127a8d63ba6fd1a7aee (patch)
tree1588c9de6d8033b6d329792b81a3487351dc61a0 /net-zope
parentremoved stale version, 2.0.1 (Manifest recommit) (diff)
downloadgentoo-2-80c1f9b5a4483e7aa56ea127a8d63ba6fd1a7aee.tar.gz
gentoo-2-80c1f9b5a4483e7aa56ea127a8d63ba6fd1a7aee.tar.bz2
gentoo-2-80c1f9b5a4483e7aa56ea127a8d63ba6fd1a7aee.zip
we're skipping 2.7.0 and move directly to 2.7.1
Diffstat (limited to 'net-zope')
-rw-r--r--net-zope/zope/files/2.7.1/zdctl.patch14
-rw-r--r--net-zope/zope/files/2.7.1/zope.confd77
-rw-r--r--net-zope/zope/files/2.7.1/zope.initd48
-rw-r--r--net-zope/zope/files/digest-zope-2.7.11
4 files changed, 140 insertions, 0 deletions
diff --git a/net-zope/zope/files/2.7.1/zdctl.patch b/net-zope/zope/files/2.7.1/zdctl.patch
new file mode 100644
index 000000000000..68ccd818567a
--- /dev/null
+++ b/net-zope/zope/files/2.7.1/zdctl.patch
@@ -0,0 +1,14 @@
+--- lib/python/zdaemon/patched_zdctl.py 2004-02-18 23:01:12.000000000 +0100
++++ lib/python/zdaemon/zdctl.py 2003-10-24 23:32:59.000000000 +0200
+@@ -208,9 +208,9 @@
+ args += self._get_override("-z", "directory")
+ args.extend(self.options.program)
+ if self.options.daemon:
+- flag = os.P_WAIT
+- else:
+ flag = os.P_NOWAIT
++ else:
++ flag = os.P_WAIT
+ os.spawnvp(flag, args[0], args)
+ elif not self.zd_pid:
+ self.send_action("start")
diff --git a/net-zope/zope/files/2.7.1/zope.confd b/net-zope/zope/files/2.7.1/zope.confd
new file mode 100644
index 000000000000..58204174555c
--- /dev/null
+++ b/net-zope/zope/files/2.7.1/zope.confd
@@ -0,0 +1,77 @@
+#-- startup options
+
+#ZOPE_OPTS=
+
+#-- Zope installation
+
+#INSTANCE_HOME=
+#SOFTWARE_HOME=
+#ZOPE_HOME=
+#FORCE_PRODUCT_LOAD=
+
+#-- Profiling
+
+#PROFILE_PUBLISHER=
+
+#-- SiteAccess
+
+#SUPPRESS_ACCESSRULE=
+#SUPPRESS_SITEROOT=
+
+#-- ZEO
+
+#CLIENT_HOME=
+#ZEO_CLIENT=
+
+#-- Debugging and Logging
+
+#EVENT_LOG_FORMAT=
+#EVENT_LOG_FILE=
+#EVENT_LOG_SEVERITY=
+#ZSYSLOG=
+#ZSYSLOG_FACILITY=
+#ZSYSLOG_SERVER=
+#ZSYSLOG_ACCESS=
+#ZSYSLOG_ACCESS_FACILITY=
+#ZSYSLOG_ACCESS_SERVER=
+#Z_DEBUG_MODE=
+
+#-- Misc.
+
+#Z_REALM
+
+#-- Security related
+
+#NO_SECURITY=
+#ZOPE_SECURITY_POLICY=
+#ZSP_OWNEROUS_SKIP=
+#ZSP_AUTHENTICATED_SKIP=
+#DISALLOW_LOCAL_PRODUCTS=
+
+#-- ZODB related
+
+#ZOPE_DATABASE_QUOTA=
+#ZOPE_READ_ONLY=
+
+#-- Session related
+
+#ZSESSION_ADD_NOTIFY=
+#ZSESSION_DEL_NOTIFY=
+#ZSESSION_TIMEOUT_MINS=
+#ZSESSION_OBJECT_LIMIT=
+
+#-- WebDAV
+
+#WEBDAV_SOURCE_PORT_CLIENTS=
+
+#-- Structured Text
+
+#STX_DEFAULT_LEVEL=
+
+#-- DTML
+
+#ZOPE_DTML_REQUEST_AUTOQUOTE=
+
+#-- Esoteric
+
+#Z_MAX_STACK_SIZE=
diff --git a/net-zope/zope/files/2.7.1/zope.initd b/net-zope/zope/files/2.7.1/zope.initd
new file mode 100644
index 000000000000..039dc01d4c5c
--- /dev/null
+++ b/net-zope/zope/files/2.7.1/zope.initd
@@ -0,0 +1,48 @@
+#!/sbin/runscript
+# Zope rc-script for Gentoo Linux
+# Copyright 2002-2003 by Jason Shoemaker
+# Distributed under the terms of the GNU General Public License, v2 or later.
+# $Header: /var/cvsroot/gentoo-x86/net-zope/zope/files/2.7.1/zope.initd,v 1.1 2004/07/13 23:33:52 batlogg Exp $
+
+PIDFILE=${INSTANCE_HOME}/var/Z2.pid
+
+depend()
+{
+ need net
+}
+
+zope_is_alive()
+{
+ [ -r "${PIDFILE}" ] || return 1
+ PID=$(cat ${PIDFILE})
+ [ -d "/proc/${PID}" ] || return 1
+}
+
+status()
+{
+ zope_is_alive && einfo "Zope is alive" && return 0
+ ewarn "Zope is dead"
+ return 1
+}
+
+start()
+{
+ ebegin "Starting zope"
+ start-stop-daemon --start --quiet --exec ${INSTANCE_HOME}/bin/runzope --pidfile ${PIDFILE} > ${EVENT_LOG_FILE} 2>&1 &
+ eend $? "Failed to start zope"
+}
+
+
+stop()
+{
+ local RESULT=0
+ ebegin "Stopping zope"
+ if zope_is_alive ; then
+ start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+ RESULT=${?}
+ else
+ ewarn "Zope was already dead."
+ fi
+ eend ${RESULT} "Failed to stop zope"
+}
+
diff --git a/net-zope/zope/files/digest-zope-2.7.1 b/net-zope/zope/files/digest-zope-2.7.1
new file mode 100644
index 000000000000..5c9cae211471
--- /dev/null
+++ b/net-zope/zope/files/digest-zope-2.7.1
@@ -0,0 +1 @@
+MD5 ae9d4bb3f7220dfffb6e91b42503b16c Zope-2.7.1.tgz 2754949