View | Details | Raw Unified | Return to bug 73969
Collapse All | Expand All

(-)zope/Makefile (-1 / +10 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	zope
8
PORTNAME=	zope
9
PORTVERSION=	2.7.2
9
PORTVERSION=	2.7.3
10
CATEGORIES=	www python zope
10
CATEGORIES=	www python zope
11
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
11
MASTER_SITES=	http://www.zope.org/Products/Zope/${PORTVERSION}/
12
DISTNAME=	Zope-${PORTVERSION}-0
12
DISTNAME=	Zope-${PORTVERSION}-0
Lines 73-78 Link Here
73
	@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
73
	@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
74
		${FILESDIR}/zope.sh > ${PREFIX}/etc/rc.d/zope.sh
74
		${FILESDIR}/zope.sh > ${PREFIX}/etc/rc.d/zope.sh
75
	@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zope.sh
75
	@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zope.sh
76
	@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
77
		${FILESDIR}/zeo.sh > ${PREFIX}/etc/rc.d/zeo.sh
78
	@${CHMOD} ${BINMODE} ${PREFIX}/etc/rc.d/zeo.sh
76
	@${MKDIR} ${ZOPEBASEDIR}/Products
79
	@${MKDIR} ${ZOPEBASEDIR}/Products
77
	@${CP} ${FILESDIR}/Products_00readme-freebsd.txt ${ZOPEBASEDIR}/Products/00readme-freebsd.txt
80
	@${CP} ${FILESDIR}/Products_00readme-freebsd.txt ${ZOPEBASEDIR}/Products/00readme-freebsd.txt
78
	@${CAT} ${PKGMESSAGE}
81
	@${CAT} ${PKGMESSAGE}
Lines 87-92 Link Here
87
	@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/log
90
	@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/log
88
	@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/instance_message
91
	@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/instance_message
89
	@${RM} -f ${ZOPEBASEDIR}/bin/copyzopeskel.pyc
92
	@${RM} -f ${ZOPEBASEDIR}/bin/copyzopeskel.pyc
93
94
zeo:
95
	@${ZOPEBASEDIR}/bin/mkzeoinstance.py ${ZOPEINSTANCEDIR}
96
	@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/var
97
	@${CHOWN} ${ZOPE_USER} ${ZOPEINSTANCEDIR}/log
98
	@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${FILESDIR}/zeo_message
90
99
91
pre-package:
100
pre-package:
92
	@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.package.in \
101
	@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.package.in \
(-)zope/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (zope/Zope-2.7.2-0.tgz) = 08b3c4a119aa1ded2e7b1b3d5bc45425
1
MD5 (zope/Zope-2.7.3-0.tgz) = 15001ab6d429dc80b1f49735e8d2ee10
2
SIZE (zope/Zope-2.7.2-0.tgz) = 2754459
2
SIZE (zope/Zope-2.7.3-0.tgz) = 2778293
(-)zope/files/instance_message (-1 / +2 lines)
Lines 11-14 Link Here
11
If there is already a zope_instances entry please add 
11
If there is already a zope_instances entry please add 
12
%%ZOPEINSTANCEDIR%% separated by a space. 
12
%%ZOPEINSTANCEDIR%% separated by a space. 
13
13
14
14
Don`t forget to create %%ZOPEINSTANCEDIR%%/etc/zope.conf before 
15
starting the zope server
(-)zope/files/pkg-message.in (+7 lines)
Lines 18-23 Link Here
18
The Instancefiles created by make instance will not be remove when the
18
The Instancefiles created by make instance will not be remove when the
19
port is deinstalled. You'll have to delete them yourself.
19
port is deinstalled. You'll have to delete them yourself.
20
20
21
** ZEO Instances ** (Optional) 
22
** Please refere to http://zope.org/Products/ZEO/ZEOFactSheet
23
24
To create a ZEO instance please run 
25
make zeo [INSTANCENAME=<somename>]
26
27
21
**********************************************************************
28
**********************************************************************
22
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
29
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
23
30
(-)zope/files/pkg-message.package.in (-2 / +16 lines)
Lines 20-28 Link Here
20
zope_enable="YES"
20
zope_enable="YES"
21
zope_instances="<INSTANCEDIR>" 
21
zope_instances="<INSTANCEDIR>" 
22
22
23
If there is already a zope_instances entry please add 
23
Additional zope Instances have to be added to zope_instances 
24
<INSTANCEDIR> separated by a space. 
24
seperated by a space. 
25
25
26
** ZEO Instances ** (Optional) 
27
** Please refere to http://zope.org/Products/ZEO/ZEOFactSheet  
28
29
If you want to run a ZEO server please create a ZEO instancen by 
30
calling %%ZOPEBASEDIR%%/bin/mkzopeinstance.py <ZEODIR>
31
32
To start the ZEO Server at System startup add the following lines to 
33
/etc/rc.conf
34
35
zeo_enable="YES"
36
zeo_instances="<ZEODIR>"
37
38
Additional zeo Instances have to be added to zeo_instances seperated 
39
by a space. 
26
40
27
**********************************************************************
41
**********************************************************************
28
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
42
****** ATTENTION ***** ATTENTION ***** ATTENTION ***** ATTENTION *****
(-)zope/files/zeo.sh (+53 lines)
Line 0 Link Here
1
#!/bin/sh
2
3
# Start or stop zope
4
# $FreeBSD: ports/www/zope/files/zope.sh,v 1.3 2004/07/02 20:41:00 thierry Exp $
5
6
# PROVIDE: zeo
7
# REQUIRE: DAEMON
8
# BEFORE: zope
9
# KEYWORD: FreeBSD shutdown
10
#
11
prefix=%%PREFIX%%
12
13
# Define these zope_* variables in one of these files:
14
#       /etc/rc.conf
15
#       /etc/rc.conf.local
16
#       /etc/rc.conf.d/zeo
17
#
18
# DO NOT CHANGE THESE DEFAULT VALUES HERE
19
#
20
zeo_enable=${zeo_enable:-"NO"}        # Enable gkrellmd
21
zeo_instances=${zeo_instances:-""}    # List of instancehome dirs
22
23
. %%RC_SUBR%%
24
25
name="zeo"
26
rcvar=`set_rcvar`
27
load_rc_config $name
28
29
if checkyesno zeo_enable; then
30
31
	case "$1" in
32
		start)
33
			echo "Starting Zeo"
34
		;;
35
		stop)
36
			echo "Stopping Zeo"
37
		;;
38
		restart)
39
			echo "Restarting Zeo"
40
		;;
41
		*)
42
			echo "Unknown action \"$1\""
43
		;;
44
	esac
45
46
	for instance in $zeo_instances
47
	do
48
		if [ -r ${instance}/etc/${name}.conf -a -x ${instance}/bin/zeoctl ]; then
49
			echo -n "       Instance ${instance} -> "
50
			${instance}/bin/zeoctl $1
51
		fi
52
	done
53
fi
(-)zope/files/zeo_message (+15 lines)
Line 0 Link Here
1
**********************************************************************
2
3
ZEO instance successfully installed 
4
5
If Zope should get started automatically when the system starts, 
6
please add the following lines to /etc/rc.conf
7
8
zeo_enable="YES"
9
zeo_instances="%%ZOPEINSTANCEDIR%%" 
10
11
If there is already a zeo_instances entry please add 
12
%%ZOPEINSTANCEDIR%% separated by a space. 
13
14
Don`t forget to edit %%ZOPEINSTANCEDIR%%/etc/zeo.conf before starting 
15
the zeo server
(-)zope/files/zope.sh (-1 / +1 lines)
Lines 13-19 Link Here
13
# Define these zope_* variables in one of these files:
13
# Define these zope_* variables in one of these files:
14
#       /etc/rc.conf
14
#       /etc/rc.conf
15
#       /etc/rc.conf.local
15
#       /etc/rc.conf.local
16
#       /etc/rc.conf.d/gkrellmd
16
#       /etc/rc.conf.d/zope
17
#
17
#
18
# DO NOT CHANGE THESE DEFAULT VALUES HERE
18
# DO NOT CHANGE THESE DEFAULT VALUES HERE
19
#
19
#
(-)zope/pkg-plist (+12 lines)
Lines 1-4 Link Here
1
etc/rc.d/zope.sh
1
etc/rc.d/zope.sh
2
etc/rc.d/zeo.sh
2
%%ZOPEBASEDIR%%/Products/00readme-freebsd.txt
3
%%ZOPEBASEDIR%%/Products/00readme-freebsd.txt
3
%%ZOPEBASEDIR%%/bin/README.txt
4
%%ZOPEBASEDIR%%/bin/README.txt
4
%%ZOPEBASEDIR%%/bin/check_catalog.py
5
%%ZOPEBASEDIR%%/bin/check_catalog.py
Lines 1253-1258 Link Here
1253
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransienceInterfaces.pyc
1254
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransienceInterfaces.pyc
1254
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransientObject.py
1255
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransientObject.py
1255
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransientObject.pyc
1256
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransientObject.pyc
1257
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransactionHelper.py
1258
%%ZOPEBASEDIR%%/lib/python/Products/Transience/TransactionHelper.pyc
1256
%%ZOPEBASEDIR%%/lib/python/Products/Transience/__init__.py
1259
%%ZOPEBASEDIR%%/lib/python/Products/Transience/__init__.py
1257
%%ZOPEBASEDIR%%/lib/python/Products/Transience/__init__.pyc
1260
%%ZOPEBASEDIR%%/lib/python/Products/Transience/__init__.pyc
1258
%%ZOPEBASEDIR%%/lib/python/Products/Transience/dtml/addTransientObjectContainer.dtml
1261
%%ZOPEBASEDIR%%/lib/python/Products/Transience/dtml/addTransientObjectContainer.dtml
Lines 1270-1275 Link Here
1270
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObject.pyc
1273
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObject.pyc
1271
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObjectContainer.py
1274
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObjectContainer.py
1272
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObjectContainer.pyc
1275
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransientObjectContainer.pyc
1276
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testCounters.py
1277
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testCounters.pyc
1278
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransactionHelper.py
1279
%%ZOPEBASEDIR%%/lib/python/Products/Transience/tests/testTransactionHelper.pyc
1273
%%ZOPEBASEDIR%%/lib/python/Products/Transience/www/datacontainer.gif
1280
%%ZOPEBASEDIR%%/lib/python/Products/Transience/www/datacontainer.gif
1274
%%ZOPEBASEDIR%%/lib/python/Products/ZCTextIndex/BaseIndex.py
1281
%%ZOPEBASEDIR%%/lib/python/Products/ZCTextIndex/BaseIndex.py
1275
%%ZOPEBASEDIR%%/lib/python/Products/ZCTextIndex/BaseIndex.pyc
1282
%%ZOPEBASEDIR%%/lib/python/Products/ZCTextIndex/BaseIndex.pyc
Lines 2374-2379 Link Here
2374
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testHTTPResponse.pyc
2381
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testHTTPResponse.pyc
2375
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testTaintedString.py
2382
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testTaintedString.py
2376
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testTaintedString.pyc
2383
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testTaintedString.pyc
2384
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testPublish.py
2385
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/testPublish.pyc
2377
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/test_xmlrpc.py
2386
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/test_xmlrpc.py
2378
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/test_xmlrpc.pyc
2387
%%ZOPEBASEDIR%%/lib/python/ZPublisher/tests/test_xmlrpc.pyc
2379
%%ZOPEBASEDIR%%/lib/python/ZPublisher/xmlrpc.py
2388
%%ZOPEBASEDIR%%/lib/python/ZPublisher/xmlrpc.py
Lines 2642-2647 Link Here
2642
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/parts.pyc
2651
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/parts.pyc
2643
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/references.py
2652
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/references.py
2644
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/references.pyc
2653
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/references.pyc
2654
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/tables.py
2655
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/directives/tables.pyc
2645
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/__init__.py
2656
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/__init__.py
2646
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/__init__.pyc
2657
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/__init__.pyc
2647
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/af.py
2658
%%ZOPEBASEDIR%%/lib/python/docutils/parsers/rst/languages/af.py
Lines 2820-2825 Link Here
2820
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdoptions.pyc
2831
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdoptions.pyc
2821
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdrun.py
2832
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdrun.py
2822
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdrun.pyc
2833
%%ZOPEBASEDIR%%/lib/python/zdaemon/zdrun.pyc
2834
%%ZOPEBASEDIR%%/lib/python/version.txt
2823
%%ZOPEBASEDIR%%/skel/Extensions/README.txt
2835
%%ZOPEBASEDIR%%/skel/Extensions/README.txt
2824
%%ZOPEBASEDIR%%/skel/Products/README.txt
2836
%%ZOPEBASEDIR%%/skel/Products/README.txt
2825
%%ZOPEBASEDIR%%/skel/README.txt
2837
%%ZOPEBASEDIR%%/skel/README.txt

Return to bug 73969