aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-24 04:44:09 +0800
committerpav <pav@FreeBSD.org>2007-03-24 04:44:09 +0800
commitf7cb5386e6daddaaa61626b4a2152f6e21dd5045 (patch)
tree77ad334e1c9592b1e5bebbaf3bf69dbd680fde59 /www
parent8946b82fe20aa59020014d973933942c98cbb5b8 (diff)
downloadfreebsd-ports-gnome-f7cb5386e6daddaaa61626b4a2152f6e21dd5045.tar.gz
freebsd-ports-gnome-f7cb5386e6daddaaa61626b4a2152f6e21dd5045.tar.zst
freebsd-ports-gnome-f7cb5386e6daddaaa61626b4a2152f6e21dd5045.zip
- Apply hotfix for cross-site scripting vulnerability
PR: ports/110709 Submitted by: Yasushi Hayashi <yasi@yasi.to> (maintainer) Security: http://www.zope.org/Products/Zope/Hotfix-2007-03-20/announcement/view
Diffstat (limited to 'www')
-rw-r--r--www/zope29/Makefile10
-rw-r--r--www/zope29/distinfo3
-rw-r--r--www/zope29/pkg-plist10
3 files changed, 22 insertions, 1 deletions
diff --git a/www/zope29/Makefile b/www/zope29/Makefile
index ef23e61843f5..34412d14fa6b 100644
--- a/www/zope29/Makefile
+++ b/www/zope29/Makefile
@@ -7,10 +7,14 @@
PORTNAME= zope29
PORTVERSION= 2.9.6
+PORTREVISION= 1
CATEGORIES= www python zope
-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-2007-03-20/Hotfix-20070320/:hotfix
DISTNAME= Zope-${PORTVERSION}-final
EXTRACT_SUFX= .tgz
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ Hotfix_20070320.tgz:hotfix
DIST_SUBDIR= zope
MAINTAINER= yasi@yasi.to
@@ -72,6 +76,9 @@ post-configure:
-e 's,^.*LN.*PYTHON.*$$,,g' \
${WRKSRC}/${MAKEFILE}
+post-build:
+ -@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/Hotfix_20070320/
+
post-install:
${MV} ${ZOPEBASEDIR}/skel/etc/zope.conf.in \
${ZOPEBASEDIR}/skel/etc/zope.conf.sample.in
@@ -79,6 +86,7 @@ post-install:
${MKDIR} ${ZOPEBASEDIR}/Products
${CP} ${FILESDIR}/Products_00readme-freebsd.txt \
${ZOPEBASEDIR}/Products/00readme-freebsd.txt
+ ${CP} -R ${WRKDIR}/Hotfix_20070320 ${ZOPEBASEDIR}/Products/
${FIND} ${ZOPEBASEDIR} -type f -print0 | ${XARGS} -0 -- ${CHMOD} a-w+r
diff --git a/www/zope29/distinfo b/www/zope29/distinfo
index f11f7ee8bae8..7a4b2853fe53 100644
--- a/www/zope29/distinfo
+++ b/www/zope29/distinfo
@@ -1,3 +1,6 @@
MD5 (zope/Zope-2.9.6-final.tgz) = a87008a9e78248072ea5908e1006b269
SHA256 (zope/Zope-2.9.6-final.tgz) = 00ffe561df9ede6543bf5dceeea964048ee005705ba98dd8f8dbfcd8dd64fcc4
SIZE (zope/Zope-2.9.6-final.tgz) = 6989768
+MD5 (zope/Hotfix_20070320.tgz) = 0b4cd365d99731e18827ead11400087d
+SHA256 (zope/Hotfix_20070320.tgz) = 3b8760301826aba22386a561de48523663fc7840fc11280e2c34163ba4be383a
+SIZE (zope/Hotfix_20070320.tgz) = 3805
diff --git a/www/zope29/pkg-plist b/www/zope29/pkg-plist
index da1bf865f422..e71491512b0d 100644
--- a/www/zope29/pkg-plist
+++ b/www/zope29/pkg-plist
@@ -1,4 +1,12 @@
%%ZOPEBASEDIR%%/Products/00readme-freebsd.txt
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/README.txt
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/__init__.py
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/__init__.pyc
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/tests/__init__.py
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/tests/test_hotfix.py
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/tests/__init__.pyc
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/tests/test_hotfix.pyc
+%%ZOPEBASEDIR%%/Products/Hotfix_20070320/version.txt
%%ZOPEBASEDIR%%/bin/README.txt
%%ZOPEBASEDIR%%/bin/analyze.py
%%ZOPEBASEDIR%%/bin/check_catalog.py
@@ -9540,5 +9548,7 @@
@dirrm %%ZOPEBASEDIR%%/lib
@dirrm %%ZOPEBASEDIR%%/doc
@dirrm %%ZOPEBASEDIR%%/bin
+@dirrm %%ZOPEBASEDIR%%/Products/Hotfix_20070320/tests
+@dirrm %%ZOPEBASEDIR%%/Products/Hotfix_20070320/
@dirrmtry %%ZOPEBASEDIR%%/Products
@dirrmtry %%ZOPEBASEDIR%%