aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-04-18 21:48:23 +0800
committermnag <mnag@FreeBSD.org>2006-04-18 21:48:23 +0800
commit29a93d1d2648456401ef098d308a3ccfe9d69613 (patch)
tree7c7713b1e91e2b2708ee857bb04f981f52a1b5a5 /www
parentc61823fd4fc45c65211a337949dab7815a85084d (diff)
downloadfreebsd-ports-gnome-29a93d1d2648456401ef098d308a3ccfe9d69613.tar.gz
freebsd-ports-gnome-29a93d1d2648456401ef098d308a3ccfe9d69613.tar.zst
freebsd-ports-gnome-29a93d1d2648456401ef098d308a3ccfe9d69613.zip
- Fix security issue.
- Bump PORTREVISION. PR: 95865 Submitted by: maintainer Security: http://www.vuxml.org/freebsd/22c6b826-cee0-11da-8578-00123ffe8333.html
Diffstat (limited to 'www')
-rw-r--r--www/plone/Makefile22
-rw-r--r--www/plone/distinfo3
-rw-r--r--www/plone3/Makefile22
-rw-r--r--www/plone3/distinfo3
4 files changed, 42 insertions, 8 deletions
diff --git a/www/plone/Makefile b/www/plone/Makefile
index 3ca3bc305991..15a582efdb5f 100644
--- a/www/plone/Makefile
+++ b/www/plone/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/plone/distinfo b/www/plone/distinfo
index 8542fc330e74..4f913035bd8f 100644
--- a/www/plone/distinfo
+++ b/www/plone/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
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