summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authornbm <nbm@FreeBSD.org>2000-09-07 11:04:44 +0000
committernbm <nbm@FreeBSD.org>2000-09-07 11:04:44 +0000
commit8ab0a667af964d35d4df939c47f0c8eda6d315ac (patch)
tree792447de66467f32618116c0ab2c56b1b1932c62 /www
parentbced0caff80082df4f04533be2658d158e72d653 (diff)
downloadFreeBSD-ports-8ab0a667af964d35d4df939c47f0c8eda6d315ac.zip
FreeBSD-ports-8ab0a667af964d35d4df939c47f0c8eda6d315ac.tar.gz
Fix numerous bugs in my upgrading to 2.2.1.
It may even work out the box now.
Diffstat (limited to 'www')
-rw-r--r--www/zope/Makefile25
-rw-r--r--www/zope210/Makefile25
-rw-r--r--www/zope211/Makefile25
-rw-r--r--www/zope213/Makefile25
-rw-r--r--www/zope28/Makefile25
-rw-r--r--www/zope29/Makefile25
6 files changed, 102 insertions, 48 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile
index b5925d4..64b8596 100644
--- a/www/zope/Makefile
+++ b/www/zope/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
diff --git a/www/zope210/Makefile b/www/zope210/Makefile
index b5925d4..64b8596 100644
--- a/www/zope210/Makefile
+++ b/www/zope210/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
diff --git a/www/zope211/Makefile b/www/zope211/Makefile
index b5925d4..64b8596 100644
--- a/www/zope211/Makefile
+++ b/www/zope211/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
diff --git a/www/zope213/Makefile b/www/zope213/Makefile
index b5925d4..64b8596 100644
--- a/www/zope213/Makefile
+++ b/www/zope213/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
diff --git a/www/zope28/Makefile b/www/zope28/Makefile
index b5925d4..64b8596 100644
--- a/www/zope28/Makefile
+++ b/www/zope28/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index b5925d4..64b8596 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -27,14 +27,19 @@ do-build: # empty, but needs to be there for the python dependency.
# there, too. I don't know whether this still applies to current apache
# releases, though. I still run 2.2.8-STABLE.
-WEBBASEDIR?= ${PREFIX}/www
-ZOPEBASEDIR?= ${WEBBASEDIR}/Zope
-CGIBINDIR?= ${PREFIX}/www/cgi-bin.default
+# 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
-PLIST_SUB= ZOPEBASEDIR=${ZOPEBASEDIR} \
- CGIBINDIR=${CGIBINDIR} \
+# Don't change these.
+ZOPEBASEDIR= ${PREFIX}/${SZOPEBASEDIR}
+CGIBINDIR= ${PREFIX}/${SCGIBINDIR}
+
+PLIST_SUB= ZOPEBASEDIR=${SZOPEBASEDIR} \
+ CGIBINDIR=${SCGIBINDIR} \
VERSION=${PORTVERSION}
# I decided to consider the whole souce tree to be part of the package
@@ -45,25 +50,29 @@ do-install: #
${ECHO} "Saving existing Database to /tmp/Data.fs.BAK." ; \
${MV} ${ZOPEBASEDIR}/var/Data.fs /tmp/Data.fs.BAK ; \
fi
+ #
@${MKDIR} ${ZOPEBASEDIR}
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ #
@(cd ${ZOPEBASEDIR} ; \
${PYTHON15} w_pcgi.py ; \
${PYTHON15} wo_pcgi.py ; \
${MV} Zope.cgi Zope.cgi.orig ; \
${ECHO} "#! ${CGIBINDIR}/pcgi-wrapper" > Zope.cgi ; \
${CAT} Zope.cgi.orig >> Zope.cgi )
+ #
@${MKDIR} ${CGIBINDIR}
@(cd ${ZOPEBASEDIR} ; \
${INSTALL} -o nobody -m 555 Zope.cgi \
pcgi/pcgi-wrapper \
${CGIBINDIR} )
+ #
@${ECHO} "===> Fixing permissions of Zope's own var directory..."
- @${CHMOD} ugo+rwt ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var
- @${CHOWN} nobody ${ZOPEBASDIR}/var/*
+ @${CHMOD} ugo+rwt ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var
+ @${CHOWN} nobody ${ZOPEBASEDIR}/var/*
#
@${ECHO} "===> Setting user/password to zopemaster/test..."
@(cd ${ZOPEBASEDIR} && \
OpenPOWER on IntegriCloud