ports/159241: [MAINTAINER] www/typo343: security update to 4.3.12

Helmut Schneider jumper99 at gmx.de
Wed Jul 27 19:40:14 UTC 2011


>Number:         159241
>Category:       ports
>Synopsis:       [MAINTAINER] www/typo343: security update to 4.3.12
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 19:40:14 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schneider
>Release:        FreeBSD 8.2-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD BSDHelmut832.charlieroot.de 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #4: Sun May 29 15:54:17 CEST 2011
>Description:
- Security update to 4.3.12

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- typo3-4.3.12.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/typo343.org/Makefile /usr/ports/www/typo343/Makefile
--- /usr/ports/www/typo343.org/Makefile	2011-05-16 22:38:37.000000000 +0200
+++ /usr/ports/www/typo343/Makefile	2011-07-27 19:50:47.000000000 +0200
@@ -2,14 +2,14 @@
 # Date created:				February 6th 2005
 # Whom:	      				Gerrit Beine <tux at pinguru.net>
 #
-# $FreeBSD: ports/www/typo343/Makefile,v 1.45 2011/05/16 09:08:26 wen Exp $
+# $FreeBSD: ports/www/typo3/Makefile,v 1.46 2011/05/31 09:02:01 wen Exp $
 #
 
 PORTNAME=	typo3
-PORTVERSION=	4.3.11
+PORTVERSION=	4.3.12
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/TYPO3%20Source%20and%20Dummy/TYPO3%20${PORTVERSION}
-DISTNAME=	${PORTNAME}_src-${PORTVERSION}
+DISTNAME=	${TYPO3EDITION}-${PORTVERSION}
 
 MAINTAINER=	jumper99 at gmx.de
 COMMENT=	The typo3 content management system
@@ -20,53 +20,66 @@
 
 NO_LATEST_LINK=	yes
 NO_BUILD=	yes
-USE_PHP=	mysql pcre xml session ctype filter json
+USE_PHP=	ctype filter json mysql pcre session xml
 WANT_PHP_WEB=	yes
 IGNORE_WITH_PHP=	4
 
-TYPO3DIR=	www/${DISTNAME}
-SITEDIR?=	www/typo343
-SITESRC=	${WRKDIR}/${EDITION}-${PORTVERSION}
-
-EDITION=	dummy
-
-DISTFILES+=	${DISTNAME}${EXTRACT_SUFX} ${EDITION}-${PORTVERSION}${EXTRACT_SUFX}
-
-OPTIONS=	GD "Configure with GDlib/freetype support" off \
-		ZLIB "Configure with zlib support" off \
-		IMAGICK "Configure with ImageMagick support" off
+TYPO3WWW=	www
+TYPO3RELEASE=	43
+TYPO3SITE=	${TYPO3WWW}/${PORTNAME}${TYPO3RELEASE}
+TYPO3PKG=	${PORTNAME}-${PORTVERSION}
+TYPO3SRC=	${PORTNAME}_src-${PORTVERSION}
+TYPO3DUMMY=	dummy-${PORTVERSION}
+
+DISTFILES+=	${TYPO3SRC}${EXTRACT_SUFX} ${TYPO3DUMMY}${EXTRACT_SUFX}
+
+OPTIONS=	CURL "Configure with cURL support" off \
+		GD "Configure with GDlib/freetype support" off \
+		IMAGICK "Configure with ImageMagick support" off \
+		MBSTRING "Configure with mbstring support" off \
+		ZLIB "Configure with zlib support" off
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_GD)
-USE_PHP+=	gd
+.if defined(WITH_CURL)
+USE_PHP+=	curl
 .endif
 
-.if defined(WITH_ZLIB)
-USE_PHP+=	zlib
+.if defined(WITH_GD)
+USE_PHP+=	gd
 .endif
 
 .if defined(WITH_IMAGICK)
 LIB_DEPENDS+=	MagickWand.4:${PORTSDIR}/graphics/ImageMagick-nox11
 .endif
 
+.if defined(WITH_MBSTRING)
+USE_PHP+=	mbstring
+.endif
+
+.if defined(WITH_ZLIB)
+USE_PHP+=	zlib
+.endif
+
 pre-install:
-	${MV} ${SITESRC}/typo3conf/localconf.php ${SITESRC}/typo3conf/localconf.php.dist
+	${MV} ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php ${WRKDIR}/${TYPO3DUMMY}/typo3conf/localconf.php.dist
 
 do-install:
-	${CP} -R ${WRKSRC} ${PREFIX}/${TYPO3DIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3DIR}
-	${CP} -R ${SITESRC} ${PREFIX}/${SITEDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${SITEDIR}
+	${CP} -R ${WRKDIR}/${TYPO3DUMMY}/ ${PREFIX}/${TYPO3SITE}
+	${CP} -R ${WRKDIR}/${TYPO3SRC} ${PREFIX}/${TYPO3WWW}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3SITE}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${TYPO3WWW}/${TYPO3SRC}
+	${RM} ${PREFIX}/${TYPO3SITE}/typo3_src && \
+		{ cd ${PREFIX}/${TYPO3SITE} && ${LN} -s ../${TYPO3SRC} typo3_src; }
 
 post-install:
-	@${FIND} ${PREFIX}/${TYPO3DIR} -not -type d \
-	  | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -d ${PREFIX}/${TYPO3DIR} -type d \
-	  | ${SED} -ne 's,^${PREFIX}/${TYPO3DIR}, at dirrm ${TYPO3DIR},p' >> ${TMPPLIST}
-	@${FIND} ${PREFIX}/${SITEDIR} -not -type d \
-	  | ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
-	@${FIND} -d ${PREFIX}/${SITEDIR} -type d \
-	  | ${SED} -ne 's,^${PREFIX}/${SITEDIR}, at dirrm ${SITEDIR},p' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/${TYPO3WWW}/${TYPO3SRC} -not -type d \
+		| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
+	@${FIND} -d ${PREFIX}/${TYPO3WWW}/${TYPO3SRC} -type d \
+		| ${SED} -ne 's,^${PREFIX}/${TYPO3WWW}/${TYPO3SRC}, at dirrm ${TYPO3DIR}/${TYPO3WWW}/${TYPO3SRC},p' >> ${TMPPLIST}
+	@${FIND} ${PREFIX}/${TYPO3SITE} -not -type d \
+		| ${SED} -ne 's,^${PREFIX}/,,p' >> ${TMPPLIST}
+	@${FIND} -d ${PREFIX}/${TYPO3SITE} -type d \
+		| ${SED} -ne 's,^${PREFIX}/${TYPO3SITE}, at dirrm ${TYPO3SITE},p' >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/www/typo343.org/distinfo /usr/ports/www/typo343/distinfo
--- /usr/ports/www/typo343.org/distinfo	2011-02-27 22:44:04.000000000 +0100
+++ /usr/ports/www/typo343/distinfo	2011-07-27 19:40:00.000000000 +0200
@@ -1,4 +1,4 @@
-SHA256 (typo3_src-4.3.11.tar.gz) = d92ee7f6d91251274706cc16c4d3dc84ff2d8accf9a969b2ff312ad8f6326815
-SIZE (typo3_src-4.3.11.tar.gz) = 11512364
-SHA256 (dummy-4.3.11.tar.gz) = 62427ecd24098983bf940a476be5869f176c2a260e97d13614f3a29ca7a076d2
-SIZE (dummy-4.3.11.tar.gz) = 9351
+SHA256 (typo3_src-4.3.12.tar.gz) = b8f0bfabfad2e64c459fed9c538a0e597aa3d441ceff36094f85461956eaa0de
+SIZE (typo3_src-4.3.12.tar.gz) = 11495755
+SHA256 (dummy-4.3.12.tar.gz) = b8308983d77869a78867f8c863f31440e4f5cc9f030edbdfbddf479ce172cba5
+SIZE (dummy-4.3.12.tar.gz) = 7678
--- typo3-4.3.12.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list