From filippo@widestore.net  Tue May 18 08:20:57 2004
Return-Path: <filippo@widestore.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3CFEE16A4D6
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 May 2004 08:20:57 -0700 (PDT)
Received: from w1001.widhost.net (w1001.widhost.net [209.235.192.251])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0D02143D54
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 May 2004 08:20:55 -0700 (PDT)
	(envelope-from filippo@widestore.net)
Received: from mx0.hq.widestore.net (mx0.hq.widestore.net [212.97.42.70])
	by w1001.widhost.net (Postfix) with ESMTP id 0AE5521717
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 May 2004 11:20:54 -0400 (EDT)
Received: from cagnina.hq.widestore.net (cagnina.hq.widestore.net [192.168.1.1])
	by mx0.hq.widestore.net (Postfix) with ESMTP id 364FD56D780
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 18 May 2004 17:20:53 +0200 (CEST)
Message-Id: <1084893653.0@cagnina.hq.widestore.net>
Date: Tue, 18 May 2004 17:20:53 +0200
From: "Filippo Natali" <filippo@widestore.net>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Subject: [MAINTAINER UPDATE] update www/plone to 2.0.2 and fix pkg-plist
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         66818
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] update www/plone to 2.0.2 and fix pkg-plist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 18 08:30:14 PDT 2004
>Closed-Date:    Sun May 23 14:52:42 PDT 2004
>Last-Modified:  Sun May 23 14:52:42 PDT 2004
>Originator:     Filippo Natali
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
Widestore srl 
>Environment:


System: FreeBSD 4.9-STABLE #0: Tue Apr  6 12:27:47 CEST 2004
    filippo@cagnina.hq.widestore.net:/usr/obj/usr/src/sys/CAGNINA



>Description:


- Update Plone to 2.0.2 (fixes a potential mail header vulnerability)
- Fix pkg-plist after Zope port update


>How-To-Repeat:





>Fix:


--- plone-20040518.diff begins here ---
diff -Nru /usr/ports/www/plone/Makefile plone/Makefile
--- /usr/ports/www/plone/Makefile	Sun May  9 05:07:10 2004
+++ plone/Makefile	Tue May 18 17:12:40 2004
@@ -6,11 +6,11 @@
 #
 
 PORTNAME=	plone
-PORTVERSION=	2.0
+PORTVERSION=	2.0.2
 CATEGORIES=	www zope
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	plone
-DISTNAME=	CMFPlone-${PORTVERSION}-final
+DISTNAME=	Plone-${PORTVERSION}
 DIST_SUBDIR=	zope
 
 MAINTAINER=	filippo@widestore.net
@@ -18,12 +18,10 @@
 
 RUN_DEPENDS=	${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/CMFDefault/__init__.py:${PORTSDIR}/www/zope-cmf
 
-BROKEN=		"Broken pkg-plist"
-
 USE_ZOPE=	yes
 USE_PYTHON=	yes
 
-WRKSRC=		${WRKDIR}/CMFPlone-${PORTVERSION}-final
+WRKSRC=		${WRKDIR}/Plone-${PORTVERSION}
 PLIST=		${WRKDIR}/pkg-plist
 MODULES=	CMFPlone CMFFormController
 
@@ -90,13 +88,13 @@
 	@${RM} -f ${PLIST}
 	@${TOUCH} ${PLIST}
 	@for m in ${MODULES}; do \
-		if [ ! -f ${ZOPEBASEDIR}/lib/python/Products/$${m}/__init__.py ]; then \
+		if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
 			cd ${WRKSRC}; \
 			for i in `${FIND} $${m} -type f`; do \
-				${ECHO_CMD} %%ZOPEBASEDIR%%/lib/python/Products/$${i} >> ${PLIST}; \
+				${ECHO_CMD} %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
 			done; \
 			for i in `${FIND} -d $${m} -type d`; do \
-				${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/lib/python/Products/$${i} >> ${PLIST}; \
+				${ECHO_CMD} @dirrm %%ZOPEBASEDIR%%/Products/$${i} >> ${PLIST}; \
 			done; \
 		fi;\
 	done
@@ -105,7 +103,7 @@
 	@${MKDIR} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}
 	@cd ${WRKSRC}; \
 	for m in ${MODULES}; do \
-		if [ ! -f ${ZOPEBASEDIR}/lib/python/Products/$${m}/__init__.py ]; then \
+		if [ ! -f ${ZOPEBASEDIR}/Products/$${m}/__init__.py ]; then \
 			${CP} -R $${m} ${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}; \
 		fi; \
 	done
diff -Nru /usr/ports/www/plone/distinfo plone/distinfo
--- /usr/ports/www/plone/distinfo	Fri Mar 19 17:28:52 2004
+++ plone/distinfo	Tue May 18 11:11:19 2004
@@ -1,2 +1,2 @@
-MD5 (zope/CMFPlone-2.0-final.tar.gz) = 6636de881af4ca76c79223c994699099
-SIZE (zope/CMFPlone-2.0-final.tar.gz) = 3638077
+MD5 (zope/Plone-2.0.2.tar.gz) = 8040d6e22b8610a5ff07dd78e5a1d823
+SIZE (zope/Plone-2.0.2.tar.gz) = 3791354
--- plone-20040518.diff ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 23 14:52:35 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=66818 
>Unformatted:
