summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-03-06 22:30:21 +0000
committerolgeni <olgeni@FreeBSD.org>2001-03-06 22:30:21 +0000
commit75945ab08b3cbdf1ab4a1c3faa38d3c216165f34 (patch)
tree71a1d5a9d3eb0215bb5ee59b1d725c5ca41b472b /www
parent78ac2b429e5343bcdd328492c6a8591aac9e6a1b (diff)
downloadFreeBSD-ports-75945ab08b3cbdf1ab4a1c3faa38d3c216165f34.zip
FreeBSD-ports-75945ab08b3cbdf1ab4a1c3faa38d3c216165f34.tar.gz
Miscellaneous fixes.
* Changed the python15 dependency to USE_PYTHON=yes * Replaced PYTHON15 with PYTHON_CMD from bsd.python.mk * Added SAPACHE_CONFDIR, like the other Sxxx variables, to be used in the PLIST. APACHE_CONFDIR now depends on SAPACHE_CONFDIR * Added APACHE_CONFDIR and WEBBASEDIR to PLIST_SUB * Removed temporary file Zope.cgi.orig * Removed .cvsignore from var/ * Added/removed some files to the PLIST * Used @unexec rmdir to remove shared directories from PLIST * Removed the line with "grep". I didn't understand how it was supposed to work, I guess it should have been something like "cmp -s ...", but Data.fs cannot be equal to Data.fs.in anyway, because Zope adds some things to it the first time it's started (automatically imported packages from filesystem). * Removed temporary files from var/ at deinstall time (*.tmp, *.lock, *.soc, *.pid) * Sometimes the inituser file did not exist at deinstall time, so I deleted it with @unexec. It won't be included by "make package". * Added the Hotfix_2001-02-23 directory (@dirrm) * Used variables from PLIST_SUB instead of www and etc/apache (@dirrm) Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/zope/Makefile28
-rw-r--r--www/zope/pkg-plist39
-rw-r--r--www/zope210/Makefile28
-rw-r--r--www/zope210/pkg-plist39
-rw-r--r--www/zope211/Makefile28
-rw-r--r--www/zope211/pkg-plist39
-rw-r--r--www/zope213/Makefile28
-rw-r--r--www/zope213/pkg-plist39
-rw-r--r--www/zope28/Makefile28
-rw-r--r--www/zope28/pkg-plist39
-rw-r--r--www/zope29/Makefile28
-rw-r--r--www/zope29/pkg-plist39
12 files changed, 252 insertions, 150 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope/Makefile
+++ b/www/zope/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope/pkg-plist b/www/zope/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope/pkg-plist
+++ b/www/zope/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
diff --git a/www/zope210/Makefile b/www/zope210/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope210/Makefile
+++ b/www/zope210/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope210/pkg-plist b/www/zope210/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope210/pkg-plist
+++ b/www/zope210/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
diff --git a/www/zope211/Makefile b/www/zope211/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope211/Makefile
+++ b/www/zope211/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope211/pkg-plist b/www/zope211/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope211/pkg-plist
+++ b/www/zope211/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
diff --git a/www/zope213/Makefile b/www/zope213/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope213/Makefile
+++ b/www/zope213/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope213/pkg-plist b/www/zope213/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope213/pkg-plist
+++ b/www/zope213/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
diff --git a/www/zope28/Makefile b/www/zope28/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope28/Makefile
+++ b/www/zope28/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope28/pkg-plist b/www/zope28/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope28/pkg-plist
+++ b/www/zope28/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index e2effe5..3585bf2 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -18,22 +18,21 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= nbm@FreeBSD.org
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
#RUN_DEPENDS= ${LOCALBASE}/sbin/apache:${PORTSDIR}/www/apache13-modssl
DIST_SUBDIR= zope
# Build has to be done in the final location after installing the sources
-# there. It were a major action to fix all paths otherwise.
+# there. It was a major action to fix all paths otherwise.
do-build: # empty, but needs to be there for the python dependency.
# Change these, if you like, via the environment.
-WEBBASEDIR?= www
-SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
-APACHE_CONFDIR?= ${PREFIX}/etc/apache
-PYTHON15?= ${LOCALBASE}/bin/python1.5
+WEBBASEDIR?= www
+SZOPEBASEDIR?= ${WEBBASEDIR}/Zope
+SCGIBINDIR?= ${WEBBASEDIR}/cgi-bin.default
+SAPACHE_CONFDIR?= etc/apache
WHOAMI!= id -un
.if ${WHOAMI} == "root"
@@ -45,10 +44,13 @@ NOBODY_USER?= ${WHOAMI}
# Don't change these.
ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+APACHE_CONFDIR= ${PREFIX}/${SAPACHE_CONFDIR}
PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
CGIBINDIR=${SCGIBINDIR} \
- VERSION=${PORTVERSION}
+ APACHE_CONFDIR=${SAPACHE_CONFDIR} \
+ VERSION=${PORTVERSION} \
+ WEBBASEDIR=${WEBBASEDIR}
# I decided to consider the whole souce tree to be part of the package
# since in there, Zope can live on its own. It does leave some *.o files
@@ -66,13 +68,14 @@ do-install: #
@${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} w_pcgi.py)
@${CHMOD} -R u+w ${ZOPEBASEDIR}
- @(cd ${ZOPEBASEDIR} && ${PYTHON15} wo_pcgi.py)
+ @(cd ${ZOPEBASEDIR} && ${PYTHON_CMD} wo_pcgi.py)
@(cd ${ZOPEBASEDIR} && \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
- ${CAT} Zope.cgi.orig >> Zope.cgi )
+ ${CAT} Zope.cgi.orig >> Zope.cgi ; \
+ ${RM} Zope.cgi.orig )
@#
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
@@ -84,10 +87,11 @@ do-install: #
@${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/var/*
+ @${RM} ${ZOPEBASEDIR}/var/.cvsignore
@#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
- ${PYTHON15} zpasswd.py -u zopemaster \
+ ${PYTHON_CMD} zpasswd.py -u zopemaster \
-p test -e CLEARTEXT access )
@#
@${CHOWN} ${NOBODY_USER} ${ZOPEBASEDIR}/access
diff --git a/www/zope29/pkg-plist b/www/zope29/pkg-plist
index 68e3697..7d60cea 100644
--- a/www/zope29/pkg-plist
+++ b/www/zope29/pkg-plist
@@ -82,7 +82,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/ZServer/medusa/status_handler.pyc
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.py
%%ZOPEBASEDIR%%/ZServer/medusa/test_logger.pyc
-%%ZOPEBASEDIR%%/Zope.cgi.orig
%%ZOPEBASEDIR%%/access
%%ZOPEBASEDIR%%/doc/CHANGES.txt
%%ZOPEBASEDIR%%/doc/CREDITS.txt
@@ -100,7 +99,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/doc/ZODB.txt
%%ZOPEBASEDIR%%/import/README.txt
%%ZOPEBASEDIR%%/import/ZopeTutorialExamples.zexp
-%%ZOPEBASEDIR%%/inituser
%%ZOPEBASEDIR%%/inst/binary_install.py
%%ZOPEBASEDIR%%/inst/binary_install.pyc
%%ZOPEBASEDIR%%/inst/build_extensions.py
@@ -301,6 +299,15 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/distributionView.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editFactory.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/editPermission.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_form_title.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_footer.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_header.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_page_style.css.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_style_test.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_tabs.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_top_frame.dtml
+%%ZOPEBASEDIR%%/lib/python/App/dtml/manage_zmi_prefs.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/menu.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/profile.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/readme.dtml
@@ -308,6 +315,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/App/dtml/undo.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/versionManager.dtml
%%ZOPEBASEDIR%%/lib/python/App/dtml/zope_quick_start.dtml
+%%ZOPEBASEDIR%%/lib/python/App/manage.dtml
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.py
%%ZOPEBASEDIR%%/lib/python/App/special_dtml.pyc
%%ZOPEBASEDIR%%/lib/python/App/tar.py
@@ -633,6 +641,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.py
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/__init__.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/addMailHost_form.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml/manageMailHost.dtml
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Add.stx
%%ZOPEBASEDIR%%/lib/python/Products/MailHost/help/Mail-Host_Edit.stx
@@ -946,6 +955,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/catalogView.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/editCatalogerForm.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/edit_stop_syn.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/manage_vocab.dtml
+%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_manage_main.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/dtml/vocab_query.dtml
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.py
%%ZOPEBASEDIR%%/lib/python/Products/ZCatalog/help/Vocabulary.pyc
@@ -1355,7 +1366,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.h
%%ZOPEBASEDIR%%/lib/python/ZODB/cPersistence.so
-%%ZOPEBASEDIR%%/lib/python/ZODB/cPickle.so
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.c
%%ZOPEBASEDIR%%/lib/python/ZODB/cPickleCache.so
%%ZOPEBASEDIR%%/lib/python/ZODB/config.c
@@ -1414,8 +1424,6 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/lib/python/Zope/ClassFactory.pyc
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.py
%%ZOPEBASEDIR%%/lib/python/Zope/__init__.pyc
-%%ZOPEBASEDIR%%/lib/python/cPickle.so
-%%ZOPEBASEDIR%%/lib/python/cStringIO.so
%%ZOPEBASEDIR%%/lib/python/config.c
%%ZOPEBASEDIR%%/lib/python/dcdb.py
%%ZOPEBASEDIR%%/lib/python/dcdb.pyc
@@ -1484,6 +1492,7 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/pcgi/configure
%%ZOPEBASEDIR%%/pcgi/configure.in
%%ZOPEBASEDIR%%/pcgi/install-sh
+%%ZOPEBASEDIR%%/pcgi/manifest
%%ZOPEBASEDIR%%/pcgi/parseinfo.c
%%ZOPEBASEDIR%%/pcgi/parseinfo.o
%%ZOPEBASEDIR%%/pcgi/pcgi-wrapper.c
@@ -1504,10 +1513,8 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/utilities/load_site.pyc
%%ZOPEBASEDIR%%/utilities/testrunner.py
%%ZOPEBASEDIR%%/utilities/testrunner.pyc
-%%ZOPEBASEDIR%%/var/.cvsignore
-@unexec if ! `grep -q %B/Data.fs %B/Data.fs.in`; then rm %B/Data.fs; fi
%%ZOPEBASEDIR%%/var/Data.fs.in
-@exec if [ ! -f %B/Data.fs ]; then cp %B/Data.fs.in %B/Data.fs; fi
+@exec if [ ! -f %B/Data.fs ]; then cp %B/%f %B/Data.fs; fi
%%ZOPEBASEDIR%%/w_pcgi.py
%%ZOPEBASEDIR%%/w_pcgi.pyc
%%ZOPEBASEDIR%%/wo_pcgi.py
@@ -1518,8 +1525,13 @@ etc/rc.d/zope.sh
%%ZOPEBASEDIR%%/zpasswd.pyc
%%CGIBINDIR%%/Zope.cgi
%%CGIBINDIR%%/pcgi-wrapper
-@dirrm %%CGIBINDIR%%
-@dirrm %%ZOPEBASEDIR%%/var
+@unexec rm -f %D/%%ZOPEBASEDIR%%/inituser
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.pid
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.soc
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.tmp
+@unexec rm -f %D/%%ZOPEBASEDIR%%/var/*.lock
+@unexec rmdir %D/%%CGIBINDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%ZOPEBASEDIR%%/var 2>/dev/null || true
@dirrm %%ZOPEBASEDIR%%/utilities
@dirrm %%ZOPEBASEDIR%%/pcgi/Win32
@dirrm %%ZOPEBASEDIR%%/pcgi/Util
@@ -1591,6 +1603,7 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost/dtml
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MailHost
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/MIMETools
+@dirrm %%ZOPEBASEDIR%%/lib/python/Products/Hotfix_2001-02-23
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/help
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/dtml
@@ -1628,6 +1641,6 @@ etc/rc.d/zope.sh
@dirrm %%ZOPEBASEDIR%%/ZServer/PubCore
@dirrm %%ZOPEBASEDIR%%/ZServer
@dirrm %%ZOPEBASEDIR%%/Extensions
-@dirrm %%ZOPEBASEDIR%%
-@dirrm www
-@dirrm etc/apache
+@unexec rmdir %D/%%ZOPEBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%WEBBASEDIR%% 2>/dev/null || true
+@unexec rmdir %D/%%APACHE_CONFDIR%% 2>/dev/null || true
OpenPOWER on IntegriCloud