summaryrefslogtreecommitdiff
path: root/www/zope29/Makefile
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-10-14 23:33:12 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-10-14 23:33:12 +0000
commitf5150f6ce04042005b229b2f073c658d0dd5b7b0 (patch)
tree5f99dbed92ba003d657f06b6caf69fb7afb01853 /www/zope29/Makefile
parent- Divide PORTVERSION between -stable and -current. (diff)
Add two security hotfixes for Zope - more complex Zope internals stuff
which allows people who may edit DTML to gain higher privilege, and those who have higher privilege in some areas of the Zope tree to gain it in other areas.
Notes
Notes: svn path=/head/; revision=33844
Diffstat (limited to 'www/zope29/Makefile')
-rw-r--r--www/zope29/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index 94afb15382b8..e3b06d80ce90 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -7,10 +7,16 @@
PORTNAME= zope
PORTVERSION= 2.2.2
+PORTREVISION= 1
CATEGORIES= www python
-MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/
+MASTER_SITES= http://www.zope.org/Products/Zope/${PORTVERSION}/ \
+ http://www.zope.org/Products/Zope/Hotfix_2000-10-02/ \
+ http://www.zope.org/Products/Zope/Hotfix_2000-10-11/
DISTNAME= Zope-${PORTVERSION}-src
EXTRACT_SUFX= .tgz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ Hotfix_2000-10-02.tar.gz \
+ Hotfix_2000-10-11.tgz
MAINTAINER= nbm@FreeBSD.org
@@ -18,6 +24,8 @@ BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
#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.
do-build: # empty, but needs to be there for the python dependency.
@@ -62,6 +70,7 @@ do-install: #
@${ECHO} "===> Please be patient, some builds need their time."
@${ECHO} "===> Copying..."
@${CP} -Rp ${WRKSRC}/* ${ZOPEBASEDIR}/
+ @${CP} -Rp ${WRKDIR}/lib ${ZOPEBASEDIR}/
@#
@${CHMOD} -R u+w ${ZOPEBASEDIR}
@(cd ${ZOPEBASEDIR} && ${PYTHON15} w_pcgi.py)
@@ -97,7 +106,7 @@ do-install: #
@${ECHO} "===> Please have a look at this file and the instructions"
@${ECHO} "===> therein and incorporate them to your apache.conf."
@${ECHO} "===> Creating rc startup file for Zope-${PORTVERSION}..."
- @${MKDIR} -p ${PREFIX}/etc/rc.d
+ @${MKDIR} ${PREFIX}/etc/rc.d
@${SED} -e "s|%%ZOPEBASEDIR%%|${ZOPEBASEDIR}|g" -e "s|%%CGIBINDIR%%|${CGIBINDIR}|g" \
< ${FILESDIR}/zope.sh.in > ${PREFIX}/etc/rc.d/zope.sh
@${CHMOD} ug+x,o-rwx ${PREFIX}/etc/rc.d/zope.sh