summaryrefslogtreecommitdiff
path: root/www/zope213/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope213/files')
-rw-r--r--www/zope213/files/Products_00readme-freebsd.txt2
-rw-r--r--www/zope213/files/instance_message.in15
-rw-r--r--www/zope213/files/package-pkg-message.in39
-rw-r--r--www/zope213/files/patch-lib-python-DateTime83
-rw-r--r--www/zope213/files/patch-lib-python-Products-SiteAccess10
-rw-r--r--www/zope213/files/patch-lib-python-RestrictedPython10
-rw-r--r--www/zope213/files/pkg-message.in25
-rw-r--r--www/zope213/files/zeo211.in66
-rw-r--r--www/zope213/files/zeo_message.in15
-rw-r--r--www/zope213/files/zope.conf_changes20
-rw-r--r--www/zope213/files/zope211.in64
11 files changed, 0 insertions, 349 deletions
diff --git a/www/zope213/files/Products_00readme-freebsd.txt b/www/zope213/files/Products_00readme-freebsd.txt
deleted file mode 100644
index 2eaab03ee0fb..000000000000
--- a/www/zope213/files/Products_00readme-freebsd.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This directory is used for install Zope products via ports/package.
-All products in here are enabled on all Zope instances.
diff --git a/www/zope213/files/instance_message.in b/www/zope213/files/instance_message.in
deleted file mode 100644
index 39bc8c4744a1..000000000000
--- a/www/zope213/files/instance_message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-**********************************************************************
-
-Zope instance successfully installed
-
-If Zope should get started automatically when the system starts,
-please add the following lines to /etc/rc.conf
-
-zope211_enable="YES"
-zope211_instances="%%ZOPEINSTANCEDIR%%"
-
-If there is already a zope211_instances entry please add
-%%ZOPEINSTANCEDIR%% separated by a space.
-
-Don`t forget to create %%ZOPEINSTANCEDIR%%/etc/zope.conf before
-starting the zope server
diff --git a/www/zope213/files/package-pkg-message.in b/www/zope213/files/package-pkg-message.in
deleted file mode 100644
index 6cc909cf6e74..000000000000
--- a/www/zope213/files/package-pkg-message.in
+++ /dev/null
@@ -1,39 +0,0 @@
-**********************************************************************
-
-Zope Successfull installed.
-
-To create an instance of Zope please run
-%%ZOPEBASEDIR%%/bin/mkzopeinstance.py -d <INSTANCEDIR>
-
-<INSTANCEDIR> is the directory where the instance files should
- be installed. This can be %%ZOPEBASEDIR%%
-
-Command-line options to 'mkzopeinstance' are available, and can be
-investigated by running 'mkzopeinstance.py --help'.
-
-The Instancefiles created by mkzopeinstance.py will not be remove
-when the package is deinstalled. You`ll have to delete them yourself.
-
-If Zope should get started automatically when the system starts,
-please add the following lines to /etc/rc.conf
-
-zope211_enable="YES"
-zope211_instances="<INSTANCEDIR>"
-
-Additional zope Instances have to be added to zope211_instances
-seperated by a space.
-
-** ZEO Instances ** (Optional)
-** Please refere to http://zope.org/Products/ZEO/ZEOFactSheet
-
-If you want to run a ZEO server please create a ZEO instancen by
-calling %%ZOPEBASEDIR%%/bin/mkzeoinstance.py <ZEODIR>
-
-To start the ZEO Server at System startup add the following lines to
-/etc/rc.conf
-
-zeo211_enable="YES"
-zeo211_instances="<ZEODIR>"
-
-Additional zeo Instances have to be added to zeo211_instances seperated
-by a space.
diff --git a/www/zope213/files/patch-lib-python-DateTime b/www/zope213/files/patch-lib-python-DateTime
deleted file mode 100644
index 9868f9b32f7b..000000000000
--- a/www/zope213/files/patch-lib-python-DateTime
+++ /dev/null
@@ -1,83 +0,0 @@
---- lib/python/Zope2/Startup/zopeschema.xml.orig 2009-05-20 10:09:56.000000000 +0200
-+++ lib/python/Zope2/Startup/zopeschema.xml 2009-05-20 09:02:27.000000000 +0200
-@@ -444,6 +444,14 @@
- <metadefault>us</metadefault>
- </key>
-
-+ <key name="datetime-default-localtimezone" datatype="boolean" default="off">
-+ <description>
-+ By default datetime uses the UTC timezone if no timezone is given.
-+ Set this option to on to use system local time zone as default time zone.
-+ </description>
-+ <metadefault>off</metadefault>
-+ </key>
-+
- <key name="zserver-threads" datatype="integer" default="4">
- <description>
- Specify the number of threads that Zope's ZServer web server will use
---- lib/python/DateTime/DateTime.py.orig 2009-05-20 09:09:32.000000000 +0200
-+++ lib/python/DateTime/DateTime.py 2009-05-20 10:12:07.000000000 +0200
-@@ -16,13 +16,14 @@
-
-
- import re, math, DateTimeZone
--from time import time, gmtime, localtime
-+from time import time, gmtime, localtime, strptime, mktime
- from time import daylight, timezone, altzone, strftime
- from datetime import datetime
- from interfaces import IDateTime
- from interfaces import DateTimeError, SyntaxError, DateError, TimeError
- from zope.interface import implements
- from pytz_support import PytzCache
-+from App.config import getConfiguration
- _cache = PytzCache
-
- default_datefmt = None
-@@ -31,7 +32,6 @@
- global default_datefmt
- if default_datefmt is None:
- try:
-- from App.config import getConfiguration
- default_datefmt = getConfiguration().datetime_format
- return default_datefmt
- except:
-@@ -1805,10 +1805,14 @@
- if fields['signal'] or fields['Z']:
- tznaive = False
- else:
-- tznaive = True
-+ if getConfiguration().datetime_default_localtimezone :
-+ dtstr = "%04.4d-%02.2d-%02.2d %02.2d:%02.2d:%02.2d" % (year, month, day, hour, minute, seconds)
-+ dsttime = strptime(dtstr, "%Y-%m-%d %H:%M:%S")
-+ dsdtime = localtime(mktime(dsttime))
-+ ltzoff = _tzoffset(self.localZone(dsdtime), None)
-+ hour_off = ltzoff / 3600
-+ min_off = (ltzoff % 3600) / 60
-
-- # Differ from the specification here. To preserve backwards
-- # compatibility assume a default timezone == UTC.
- tz = 'GMT%+03d%02d' % (hour_off, min_off)
-
- return year, month, day, hour, minute, seconds, tz, tznaive
---- skel/etc/zope.conf.in.orig 2009-06-22 08:30:40.000000000 +0200
-+++ skel/etc/zope.conf.in 2009-06-22 08:31:15.000000000 +0200
-@@ -204,6 +204,19 @@
- # datetime-format international
-
-
-+# Directive: datetime-default-localtimezone
-+#
-+# Description:
-+# By default datetime uses the UTC timezone if no timezone is given.
-+# Set this option to on to use system local time zone as default time zone.
-+#
-+# Default: off
-+#
-+# Example:
-+#
-+# datetime-default-localtimezone on
-+
-+
- # Directive: zserver-threads
- #
- # Description:
diff --git a/www/zope213/files/patch-lib-python-Products-SiteAccess b/www/zope213/files/patch-lib-python-Products-SiteAccess
deleted file mode 100644
index 2cee7ce5a3f0..000000000000
--- a/www/zope213/files/patch-lib-python-Products-SiteAccess
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py.orig Sat Jan 7 21:07:42 2006
-+++ lib/python/Products/SiteAccess/tests/testVirtualHostMonster.py Sun Jan 15 13:39:37 2006
-@@ -12,6 +12,7 @@
-
- from Testing.makerequest import makerequest
-
-+from __future__ import generators
- import Zope2
- Zope2.startup()
-
diff --git a/www/zope213/files/patch-lib-python-RestrictedPython b/www/zope213/files/patch-lib-python-RestrictedPython
deleted file mode 100644
index dacf354759a4..000000000000
--- a/www/zope213/files/patch-lib-python-RestrictedPython
+++ /dev/null
@@ -1,10 +0,0 @@
---- lib/python/RestrictedPython/tests/verify.py.orig Sat Jan 7 21:07:51 2006
-+++ lib/python/RestrictedPython/tests/verify.py Sun Jan 15 13:43:23 2006
-@@ -21,6 +21,7 @@
- function.
- """
-
-+from __future__ import generators
- import dis
- import types
-
diff --git a/www/zope213/files/pkg-message.in b/www/zope213/files/pkg-message.in
deleted file mode 100644
index 5f1f49c3839a..000000000000
--- a/www/zope213/files/pkg-message.in
+++ /dev/null
@@ -1,25 +0,0 @@
-**********************************************************************
-
-Zope Successfull installed.
-
-To create an instance of Zope please run
-make instance
-
-You can set the following Variables in /etc/make.conf
-
-ZOPEINSTANCEBASE Directory where Zope instance should go
- (default: %%ZOPEBASEDIR%%)
-ZOPEINSTANCENAME Default name for a new Zope instance
- (default: none)
-
-If you want have multiple Zope you should run
-make instance INSTANCENAME=<somename>
-
-The Instancefiles created by make instance will not be remove when the
-port is deinstalled. You'll have to delete them yourself.
-
-** ZEO Instances ** (Optional)
-** Please refere to http://zope.org/Products/ZEO/ZEOFactSheet
-
-To create a ZEO instance please run
-make zeo [INSTANCENAME=<somename>]
diff --git a/www/zope213/files/zeo211.in b/www/zope213/files/zeo211.in
deleted file mode 100644
index 1e1396dd9462..000000000000
--- a/www/zope213/files/zeo211.in
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/bin/sh
-#
-# Startup script for Zeo server.
-#
-# $FreeBSD$
-#
-
-# PROVIDE: zeo211
-# REQUIRE: DAEMON
-# BEFORE: zope211
-
-# Define these zeo211_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/zeo211
-#
-# zeo211_enable : bool
-# Enable Zeo ("YES") or not ("NO", the default).
-#
-# zeo211_instances : list
-# List of dirs with Zeo's instances ("" by default).
-#
-
-. /etc/rc.subr
-
-name="zeo211"
-rcvar=`set_rcvar`
-
-zeo211ctl () {
- for instance in $zeo211_instances; do
- if [ -d ${instance} ]; then
- echo -n " Zeo instance ${instance} -> "
- ${instance}/bin/zeoctl "$1"
- fi
- done
-}
-
-zeo211_start () {
- echo "Starting Zeo 2.11:"
- zeo211ctl "start"
-}
-
-zeo211_stop () {
- echo "Stopping Zeo 2.11:"
- zeo211ctl "stop"
-}
-
-zeo211_restart () {
- echo "Restarting Zeo 2.11:"
- zeo211ctl "restart"
-}
-
- start_cmd="zeo211_start"
- stop_cmd="zeo211_stop"
-restart_cmd="zeo211_restart"
-
-load_rc_config $name
-
-: ${zeo211_enable="NO"}
-: ${zeo211_instances=""}
-
-cmd="$1"
-[ $# -gt 0 ] && shift
-[ -n "$*" ] && zeo211_instances="$*"
-
-run_rc_command "${cmd}"
diff --git a/www/zope213/files/zeo_message.in b/www/zope213/files/zeo_message.in
deleted file mode 100644
index e37090939986..000000000000
--- a/www/zope213/files/zeo_message.in
+++ /dev/null
@@ -1,15 +0,0 @@
-**********************************************************************
-
-ZEO instance successfully installed
-
-If Zope should get started automatically when the system starts,
-please add the following lines to /etc/rc.conf
-
-zeo211_enable="YES"
-zeo211_instances="%%ZOPEINSTANCEDIR%%"
-
-If there is already a zeo211_instances entry please add
-%%ZOPEINSTANCEDIR%% separated by a space.
-
-Don`t forget to edit %%ZOPEINSTANCEDIR%%/etc/zeo.conf before starting
-the zeo server
diff --git a/www/zope213/files/zope.conf_changes b/www/zope213/files/zope.conf_changes
deleted file mode 100644
index ba227775266c..000000000000
--- a/www/zope213/files/zope.conf_changes
+++ /dev/null
@@ -1,20 +0,0 @@
---- work/Zope-2.7.0/skel/etc/zope.conf.in Fri Jan 9 00:34:08 2004
-+++ /data/infosys/zope/etc/zope.conf Wed Apr 14 09:36:46 2004
-@@ -78,7 +78,8 @@
- #
- # Example:
- #
--# products /home/chrism/projects/myproducts
-+products %%ZOPEBASEDIR%%/Products
-+products $INSTANCE/Products
-
-
- # Directive: environment
-@@ -137,6 +138,7 @@
- # Example:
- #
- # effective-user chrism
-+effective-user %%ZOPE_USER%%
-
-
- # Directive: enable-product-installation
diff --git a/www/zope213/files/zope211.in b/www/zope213/files/zope211.in
deleted file mode 100644
index cb099a835395..000000000000
--- a/www/zope213/files/zope211.in
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/bin/sh
-#
-# Startup script for Zope server.
-#
-# $FreeBSD$
-#
-# PROVIDE: zope211
-# REQUIRE: DAEMON
-
-# Define these zope211_* variables in one of these files:
-# /etc/rc.conf
-# /etc/rc.conf.local
-# /etc/rc.conf.d/zope211
-#
-# zope211_enable : bool
-# Enable Zope ("YES") or not ("NO", the default).
-#
-# zope211_instances : list
-# List of dirs with Zope's instances ("" by default).
-#
-
-. /etc/rc.subr
-
-name="zope211"
-rcvar=`set_rcvar`
-
-zope211ctl () {
- for instance in $zope211_instances; do
- if [ -d ${instance} ]; then
- echo -n " Zope instance ${instance} -> "
- ${instance}/bin/zopectl "$1"
- fi
- done
-}
-
-zope211_start () {
- echo "Starting Zope 2.11:"
- zope211ctl "start"
-}
-
-zope211_stop () {
- echo "Stopping Zope 2.11:"
- zope211ctl "stop"
-}
-
-zope211_restart () {
- echo "Restarting Zope 2.11:"
- zope211ctl "restart"
-}
-
- start_cmd="zope211_start"
- stop_cmd="zope211_stop"
-restart_cmd="zope211_restart"
-
-load_rc_config $name
-
-: ${zope211_enable="NO"}
-: ${zope211_instances=""}
-
-cmd="$1"
-[ $# -gt 0 ] && shift
-[ -n "$*" ] && zope211_instances="$*"
-
-run_rc_command "${cmd}"