aboutsummaryrefslogtreecommitdiffstats
path: root/www/zope
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2006-12-27 21:48:05 +0800
committergabor <gabor@FreeBSD.org>2006-12-27 21:48:05 +0800
commit8b322018c909bfa5f7bdac3c4baf70fdab56d95b (patch)
treeaa09e873e0aad2d886cf9f8425ea11c2b9e8ca44 /www/zope
parentfb65cde74cda5954eb73c05db0aec7efc1cdd36f (diff)
downloadfreebsd-ports-gnome-8b322018c909bfa5f7bdac3c4baf70fdab56d95b.tar.gz
freebsd-ports-gnome-8b322018c909bfa5f7bdac3c4baf70fdab56d95b.tar.zst
freebsd-ports-gnome-8b322018c909bfa5f7bdac3c4baf70fdab56d95b.zip
- Fix security issue
- Bump PORTREVISION PR: ports/106505 Submitted by: HAYASHI Yasushi <yasi@yasi.to> Approved by: erwin (mentor), Gerhard Schmidt <estartu@augusta.de> (maintainer) Security: http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/README.txt
Diffstat (limited to 'www/zope')
-rw-r--r--www/zope/Makefile14
-rw-r--r--www/zope/distinfo3
-rw-r--r--www/zope/pkg-plist5
3 files changed, 19 insertions, 3 deletions
diff --git a/www/zope/Makefile b/www/zope/Makefile
index bf1789cdb188..8db947da2d71 100644
--- a/www/zope/Makefile
+++ b/www/zope/Makefile
@@ -7,17 +7,21 @@
PORTNAME= zope
PORTVERSION= 2.7.9
+PORTREVISION= 1
CATEGORIES= www python zope
-MASTER_SITES= http://www.zope.org/Products/Zope/Zope-${PORTVERSION}/
-DISTNAME= Zope-${PORTVERSION}-final
-EXTRACT_SUFX= .tgz
+MASTER_SITES= http://www.zope.org/Products/Zope/Zope-${PORTVERSION}/:src \
+ http://www.zope.org/Products/Zope/Hotfix-2006-08-21/Hotfix-20060821/:hotfix
+DISTFILES= Zope-${PORTVERSION}-final.tgz:src \
+ ${HOTFIX}.tar.gz:hotfix
MAINTAINER= estartu@augusta.de
COMMENT= An object-based web application platform
+WRKSRC= ${WRKDIR}/Zope-${PORTVERSION}-final
USE_PYTHON= 2.3
USE_RC_SUBR= yes
DIST_SUBDIR= zope
+HOTFIX= Hotfix_20060821
# Note: the notes that follow reflect the decisions of prior maintainers
# of this port. IOW, don't blame me if you don't like the way it's done.
@@ -65,7 +69,11 @@ post-patch:
-e 's,^\(EXENAMES="\).*"$$,\1${PYTHON_VERSION}",g' \
${WRKSRC}/configure
+post-build:
+ -${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/${HOTFIX}
+
post-install:
+ @${CP} -R ${WRKDIR}/${HOTFIX} ${ZOPEBASEDIR}/lib/python/Products/
@${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in ${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
@${SED} ${CONFIG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} < ${FILESDIR}/pkg-message.in \
> ${PKGMESSAGE}
diff --git a/www/zope/distinfo b/www/zope/distinfo
index cfe994b740a4..b8a01dcd3070 100644
--- a/www/zope/distinfo
+++ b/www/zope/distinfo
@@ -1,3 +1,6 @@
MD5 (zope/Zope-2.7.9-final.tgz) = d44e19ca501f6629375f8f0b40c72e08
SHA256 (zope/Zope-2.7.9-final.tgz) = b3982421dded26e95c8a5a7272365224ba399d552a143a9d457509f11b9d94ab
SIZE (zope/Zope-2.7.9-final.tgz) = 2993519
+MD5 (zope/Hotfix_20060821.tar.gz) = 5cb921d15ff6d290bfc73bdc20ff67c1
+SHA256 (zope/Hotfix_20060821.tar.gz) = 6ba5f717cc7443c6182c5b829f2a4228e7c56667d07e2b6fad8323ab1ec850af
+SIZE (zope/Hotfix_20060821.tar.gz) = 1050
diff --git a/www/zope/pkg-plist b/www/zope/pkg-plist
index a9c55de52ae8..5f9d7bb90ab5 100644
--- a/www/zope/pkg-plist
+++ b/www/zope/pkg-plist
@@ -711,6 +711,10 @@ etc/rc.d/zeo.sh
%%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/tests/testExternalMethod.pyc
%%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/version.txt
%%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www/function.gif
+%%ZOPEBASEDIR%%/lib/python/Products/Hotfix_20060821/README.txt
+%%ZOPEBASEDIR%%/lib/python/Products/Hotfix_20060821/__init__.py
+%%ZOPEBASEDIR%%/lib/python/Products/Hotfix_20060821/__init__.pyc
+%%ZOPEBASEDIR%%/lib/python/Products/Hotfix_20060821/version.txt
%%ZOPEBASEDIR%%/lib/python/Products/MIMETools/MIMETag.py
%%ZOPEBASEDIR%%/lib/python/Products/MIMETools/MIMETag.pyc
%%ZOPEBASEDIR%%/lib/python/Products/MIMETools/README.txt
@@ -3100,6 +3104,7 @@ etc/rc.d/zeo.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_20060821
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/www
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/tests/Extensions
@dirrm %%ZOPEBASEDIR%%/lib/python/Products/ExternalMethod/tests