aboutsummaryrefslogtreecommitdiff
path: root/www/plone3
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-04-18 13:48:23 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-04-18 13:48:23 +0000
commit114401ef90a8bc54d9faaed59f932e757b9b93c9 (patch)
tree9c0e4b1609c31059c8103aca967bd9028fd461b6 /www/plone3
parentd787e6a9443df939c6a7ad68a086362a7e1488a3 (diff)
downloadports-114401ef90a8bc54d9faaed59f932e757b9b93c9.tar.gz
ports-114401ef90a8bc54d9faaed59f932e757b9b93c9.zip
- Fix security issue.
- Bump PORTREVISION. PR: 95865 Submitted by: maintainer Security: http://www.vuxml.org/freebsd/22c6b826-cee0-11da-8578-00123ffe8333.html
Notes
Notes: svn path=/head/; revision=159876
Diffstat (limited to 'www/plone3')
-rw-r--r--www/plone3/Makefile22
-rw-r--r--www/plone3/distinfo3
2 files changed, 21 insertions, 4 deletions
diff --git a/www/plone3/Makefile b/www/plone3/Makefile
index 3ca3bc305991..15a582efdb5f 100644
--- a/www/plone3/Makefile
+++ b/www/plone3/Makefile
@@ -7,18 +7,21 @@
PORTNAME= plone
PORTVERSION= 2.1.2
+PORTREVISION= 1
CATEGORIES= www zope
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= plone
-DISTNAME= Plone-${PORTVERSION}
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:src/g} http://plone.org/products/plonehotfix20060410/releases/1.0/:hotfix
+MASTER_SITE_SUBDIR= plone:src
+DISTFILES= Plone-${PORTVERSION}.tar.gz:src ${HOTFIX}.tar.gz:hotfix
DIST_SUBDIR= zope
MAINTAINER= filippo.natali@gmail.com
COMMENT= A user friendly implementation of the CMF written on top of ZOPE
+WRKSRC= ${WRKDIR}/Plone-${PORTVERSION}
USE_ZOPE= yes
USE_PYTHON= yes
-PLIST= ${WRKDIR}/pkg-plist
+HOTFIX= PloneHotfix20060410
+PLIST= ${WRKDIR}/pkg-plist
CONFLICTS= zope-archetypes-[0-9]* \
zope-btreefolder2-[0-9]* \
@@ -60,6 +63,7 @@ do-build:
.for m in ${_MODULES}
-${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/$m
.endfor
+ -${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKDIR}/${HOTFIX}
pre-install:
@${RM} -f ${PLIST}
@@ -73,6 +77,13 @@ pre-install:
${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
done; \
done
+ @cd ${WRKDIR}; \
+ for i in `${FIND} ${HOTFIX} -type f`; do \
+ ${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done; \
+ for i in `${FIND} -d ${HOTFIX} -type d`; do \
+ ${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
+ done
do-install:
@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
@@ -81,6 +92,9 @@ do-install:
@${FIND} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/$m -type f -print0 \
| ${XARGS} -0 -- ${CHMOD} a-w
.endfor
+ @${CP} -R ${WRKDIR}/${HOTFIX} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
+ @${FIND} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${HOTFIX} -type f -print0 \
+ | ${XARGS} -0 -- ${CHMOD} a-w
post-install:
.if !defined(BATCH)
diff --git a/www/plone3/distinfo b/www/plone3/distinfo
index 8542fc330e74..4f913035bd8f 100644
--- a/www/plone3/distinfo
+++ b/www/plone3/distinfo
@@ -1,3 +1,6 @@
MD5 (zope/Plone-2.1.2.tar.gz) = 863311e29550f9b4bf6c2502fdbed1fa
SHA256 (zope/Plone-2.1.2.tar.gz) = e9c0b53d887b53310daab656ef83b0abecdde39b679806a0f04f3cda222fbac2
SIZE (zope/Plone-2.1.2.tar.gz) = 7126486
+MD5 (zope/PloneHotfix20060410.tar.gz) = fecdb36acae4751f6a8975c2068247c3
+SHA256 (zope/PloneHotfix20060410.tar.gz) = f1d86b78c39392d4b9e81f9a3e854cccdcc1bcd8bf51fb6468cc1c8c9a4d30f1
+SIZE (zope/PloneHotfix20060410.tar.gz) = 2972