summaryrefslogtreecommitdiffstats
path: root/www/zope29/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-11-16 00:02:25 +0000
committerpav <pav@FreeBSD.org>2004-11-16 00:02:25 +0000
commit6cee8ac0d5e1934f7fb087fd4d851d860f20ecbe (patch)
treed92790d6c7fd659bc9fba65dc00fe50fdb08a534 /www/zope29/files
parent6d9fae7cd4201b6041f61b3892c5572a16806ce7 (diff)
downloadFreeBSD-ports-6cee8ac0d5e1934f7fb087fd4d851d860f20ecbe.zip
FreeBSD-ports-6cee8ac0d5e1934f7fb087fd4d851d860f20ecbe.tar.gz
- Update to 2.7.3
PR: ports/73969 Submitted by: Gerhard Schmidt <estartu@augusta.de> (maintainer)
Diffstat (limited to 'www/zope29/files')
-rw-r--r--www/zope29/files/instance_message3
-rw-r--r--www/zope29/files/pkg-message.in7
-rw-r--r--www/zope29/files/pkg-message.package.in18
-rw-r--r--www/zope29/files/zeo.sh53
-rw-r--r--www/zope29/files/zeo_message15
-rw-r--r--www/zope29/files/zope.sh4
6 files changed, 95 insertions, 5 deletions
diff --git a/www/zope29/files/instance_message b/www/zope29/files/instance_message
index 2521235..a6e9d21 100644
--- a/www/zope29/files/instance_message
+++ b/www/zope29/files/instance_message
@@ -11,4 +11,5 @@ zope_instances="%%ZOPEINSTANCEDIR%%"
If there is already a zope_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/zope29/files/pkg-message.in b/www/zope29/files/pkg-message.in
index 30e5737..15a2c89 100644
--- a/www/zope29/files/pkg-message.in
+++ b/www/zope29/files/pkg-message.in
@@ -18,6 +18,13 @@ 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>]
+
+
**********************************************************************
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
diff --git a/www/zope29/files/pkg-message.package.in b/www/zope29/files/pkg-message.package.in
index 6105999..c12fa22 100644
--- a/www/zope29/files/pkg-message.package.in
+++ b/www/zope29/files/pkg-message.package.in
@@ -20,9 +20,23 @@ please add the following lines to /etc/rc.conf
zope_enable="YES"
zope_instances="<INSTANCEDIR>"
-If there is already a zope_instances entry please add
-<INSTANCEDIR> separated by a space.
+Additional zope Instances have to be added to zope_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/mkzopeinstance.py <ZEODIR>
+
+To start the ZEO Server at System startup add the following lines to
+/etc/rc.conf
+
+zeo_enable="YES"
+zeo_instances="<ZEODIR>"
+
+Additional zeo Instances have to be added to zeo_instances seperated
+by a space.
**********************************************************************
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
diff --git a/www/zope29/files/zeo.sh b/www/zope29/files/zeo.sh
new file mode 100644
index 0000000..099f579
--- /dev/null
+++ b/www/zope29/files/zeo.sh
@@ -0,0 +1,53 @@
+#!/bin/sh
+
+# Start or stop zope
+# $FreeBSD$
+
+# PROVIDE: zeo
+# REQUIRE: DAEMON
+# BEFORE: zope
+# KEYWORD: FreeBSD shutdown
+#
+prefix=%%PREFIX%%
+
+# Define these zope_* variables in one of these files:
+# /etc/rc.conf
+# /etc/rc.conf.local
+# /etc/rc.conf.d/zeo
+#
+# DO NOT CHANGE THESE DEFAULT VALUES HERE
+#
+zeo_enable=${zeo_enable:-"NO"} # Enable gkrellmd
+zeo_instances=${zeo_instances:-""} # List of instancehome dirs
+
+. %%RC_SUBR%%
+
+name="zeo"
+rcvar=`set_rcvar`
+load_rc_config $name
+
+if checkyesno zeo_enable; then
+
+ case "$1" in
+ start)
+ echo "Starting Zeo"
+ ;;
+ stop)
+ echo "Stopping Zeo"
+ ;;
+ restart)
+ echo "Restarting Zeo"
+ ;;
+ *)
+ echo "Unknown action \"$1\""
+ ;;
+ esac
+
+ for instance in $zeo_instances
+ do
+ if [ -r ${instance}/etc/${name}.conf -a -x ${instance}/bin/zeoctl ]; then
+ echo -n " Instance ${instance} -> "
+ ${instance}/bin/zeoctl $1
+ fi
+ done
+fi
diff --git a/www/zope29/files/zeo_message b/www/zope29/files/zeo_message
new file mode 100644
index 0000000..3d3fd82
--- /dev/null
+++ b/www/zope29/files/zeo_message
@@ -0,0 +1,15 @@
+**********************************************************************
+
+ZEO instance successfully installed
+
+If Zope should get started automatically when the system starts,
+please add the following lines to /etc/rc.conf
+
+zeo_enable="YES"
+zeo_instances="%%ZOPEINSTANCEDIR%%"
+
+If there is already a zeo_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/zope29/files/zope.sh b/www/zope29/files/zope.sh
index 68dd884..9d4c398 100644
--- a/www/zope29/files/zope.sh
+++ b/www/zope29/files/zope.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Start or stop zope
-# $FreeBSD: /tmp/pcvs/ports/www/zope29/files/Attic/zope.sh,v 1.3 2004-07-02 20:41:00 thierry Exp $
+# $FreeBSD: /tmp/pcvs/ports/www/zope29/files/Attic/zope.sh,v 1.4 2004-11-16 00:02:25 pav Exp $
# PROVIDE: zope
# REQUIRE: DAEMON
@@ -13,7 +13,7 @@ prefix=%%PREFIX%%
# Define these zope_* variables in one of these files:
# /etc/rc.conf
# /etc/rc.conf.local
-# /etc/rc.conf.d/gkrellmd
+# /etc/rc.conf.d/zope
#
# DO NOT CHANGE THESE DEFAULT VALUES HERE
#
OpenPOWER on IntegriCloud