From beat@chruetertee.ch  Sat Feb  9 09:49:16 2008
Return-Path: <beat@chruetertee.ch>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2E2A916A418
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Feb 2008 09:49:16 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55])
	by mx1.freebsd.org (Postfix) with ESMTP id B7C6413C478
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  9 Feb 2008 09:49:15 +0000 (UTC)
	(envelope-from beat@chruetertee.ch)
Received: from _HOSTNAME_ (199-46.79-83.cust.bluewin.ch [83.79.46.199])
	(authenticated bits=0)
	by marvin.chruetertee.ch (8.13.6/8.13.6) with ESMTP id m199nDxI032919
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 9 Feb 2008 09:49:13 GMT
	(envelope-from beat@chruetertee.ch)
Received: by _HOSTNAME_ (sSMTP sendmail emulation); Sat,  9 Feb 2008 10:49:40 +0100
Message-Id: <200802090949.m199nDxI032919@marvin.chruetertee.ch>
Date: Sat,  9 Feb 2008 10:49:40 +0100
From: "Beat Gaetzi" <beat@chruetertee.ch>
Reply-To: Beat Gaetzi <beat@chruetertee.ch>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] www/autoindex2: update to 2.2.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         120458
>Category:       ports
>Synopsis:       [PATCH] www/autoindex2: update to 2.2.4
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    danger
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 09 09:50:01 UTC 2008
>Closed-Date:    Sun Feb 10 19:15:24 UTC 2008
>Last-Modified:  Sun Feb 10 19:20:01 UTC 2008
>Originator:     Beat Gtzi
>Release:        FreeBSD 6.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD daedalus.network.local 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Fri Jan 25 10:02:00 CET 2008 root@daedalus.network.local:/usr/obj/usr/src/sys/BEASTIE i386


	
>Description:
	update autoindex2 to 2.2.4
	according to the change log this fixes some XSS and DOS bugs:
	- http://autoindex.sourceforge.net/change_log.html
	
>How-To-Repeat:
	
>Fix:

	

--- autoindex2.patch begins here ---
diff -Naur autoindex2.orig/Makefile autoindex2/Makefile
--- autoindex2.orig/Makefile	2007-03-04 10:26:04.000000000 +0100
+++ autoindex2/Makefile	2008-02-09 10:28:22.000000000 +0100
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	AutoIndex
-PORTVERSION=	2.2.1
+PORTVERSION=	2.2.4
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	autoindex
@@ -14,7 +14,7 @@
 MAINTAINER=	danger@FreeBSD.org
 COMMENT=	PHP 5.x script that makes a table that lists the files in a directory
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USE_PHP=	session
 DEFAULT_PHP_VER=	5
@@ -38,7 +38,8 @@
 	@${MKDIR} ${PREFIX}/${INSTALLDIR}
 	@${CP} -R ${WRKSRC}/* ${PREFIX}/${INSTALLDIR}
 	@${CP} -p ${WRKSRC}/.htpasswd.autoindex ${PREFIX}/${INSTALLDIR}/.htpasswd.autoindex-dist
-	@${CHMOD} 666 ${PREFIX}/${INSTALLDIR}/config.php
+	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALLDIR}
+	@${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${INSTALLDIR}/config.php
 	@${ECHO_CMD} ""
 
 post-install:
diff -Naur autoindex2.orig/distinfo autoindex2/distinfo
--- autoindex2.orig/distinfo	2007-03-04 10:26:04.000000000 +0100
+++ autoindex2/distinfo	2008-02-07 22:20:47.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (AutoIndex-2.2.1.tar.gz) = 1c6179083a967e8b53a5e36815cb0d5b
-SHA256 (AutoIndex-2.2.1.tar.gz) = af2101ddd24ec091cd3f9e57903dc30b9e3dfcdfe860445337adaf99fe4c197c
-SIZE (AutoIndex-2.2.1.tar.gz) = 118684
+MD5 (AutoIndex-2.2.4.tar.gz) = 3c8b88c595f39d05ab9e048258b7ee20
+SHA256 (AutoIndex-2.2.4.tar.gz) = 3b54ae9b56c33d9724aaa8bb0fe4677e2e9e37cf036d01da7bb5fb70a035e1ec
+SIZE (AutoIndex-2.2.4.tar.gz) = 156153
diff -Naur autoindex2.orig/pkg-plist autoindex2/pkg-plist
--- autoindex2.orig/pkg-plist	2007-03-04 10:26:04.000000000 +0100
+++ autoindex2/pkg-plist	2008-02-09 10:30:46.000000000 +0100
@@ -123,6 +123,36 @@
 %%INSTALLDIR%%/index_icons/osx/uu.png
 %%INSTALLDIR%%/index_icons/osx/web.png
 %%INSTALLDIR%%/index_icons/osx/xls.png
+%%INSTALLDIR%%/index_icons/winvista/back.png
+%%INSTALLDIR%%/index_icons/winvista/binary.png
+%%INSTALLDIR%%/index_icons/winvista/binhex.png
+%%INSTALLDIR%%/index_icons/winvista/cd.png
+%%INSTALLDIR%%/index_icons/winvista/comp.png
+%%INSTALLDIR%%/index_icons/winvista/compressed.png
+%%INSTALLDIR%%/index_icons/winvista/dir.png
+%%INSTALLDIR%%/index_icons/winvista/dll.png
+%%INSTALLDIR%%/index_icons/winvista/doc.png
+%%INSTALLDIR%%/index_icons/winvista/generic.png
+%%INSTALLDIR%%/index_icons/winvista/image.png
+%%INSTALLDIR%%/index_icons/winvista/java.png
+%%INSTALLDIR%%/index_icons/winvista/js.png
+%%INSTALLDIR%%/index_icons/winvista/key.png
+%%INSTALLDIR%%/index_icons/winvista/login.png
+%%INSTALLDIR%%/index_icons/winvista/mov.png
+%%INSTALLDIR%%/index_icons/winvista/movie.png
+%%INSTALLDIR%%/index_icons/winvista/new.png
+%%INSTALLDIR%%/index_icons/winvista/pdf.png
+%%INSTALLDIR%%/index_icons/winvista/php.png
+%%INSTALLDIR%%/index_icons/winvista/ppt.png
+%%INSTALLDIR%%/index_icons/winvista/ps.png
+%%INSTALLDIR%%/index_icons/winvista/search.png
+%%INSTALLDIR%%/index_icons/winvista/sound.png
+%%INSTALLDIR%%/index_icons/winvista/tar.png
+%%INSTALLDIR%%/index_icons/winvista/text.png
+%%INSTALLDIR%%/index_icons/winvista/unknown.png
+%%INSTALLDIR%%/index_icons/winvista/uu.png
+%%INSTALLDIR%%/index_icons/winvista/web.png
+%%INSTALLDIR%%/index_icons/winvista/xls.png
 %%INSTALLDIR%%/index_icons/winxp/back.png
 %%INSTALLDIR%%/index_icons/winxp/binary.png
 %%INSTALLDIR%%/index_icons/winxp/binhex.png
@@ -198,10 +228,11 @@
 @dirrm %%INSTALLDIR%%/index_icons/kde
 @dirrm %%INSTALLDIR%%/index_icons/osx
 @dirrm %%INSTALLDIR%%/index_icons/winxp
+@dirrm %%INSTALLDIR%%/index_icons/winvista
 @dirrm %%INSTALLDIR%%/index_icons
 @dirrm %%INSTALLDIR%%/languages
 @dirrm %%INSTALLDIR%%/templates/default
 @dirrm %%INSTALLDIR%%/templates/simple_image_gallery
 @dirrm %%INSTALLDIR%%/templates
-@dirrm %%INSTALLDIR%%
+@dirrmtry %%INSTALLDIR%%
 @dirrmtry www/data
--- autoindex2.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->danger 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 9 09:50:10 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120458 
State-Changed-From-To: open->closed 
State-Changed-By: danger 
State-Changed-When: Sun Feb 10 19:14:35 UTC 2008 
State-Changed-Why:  
I have commited your version with a minor midifications. 
Thank you for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120458 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/120458: commit references a PR
Date: Sun, 10 Feb 2008 19:14:20 +0000 (UTC)

 danger      2008-02-10 19:14:15 UTC
 
   FreeBSD ports repository (doc committer)
 
   Modified files:
     www/autoindex2       Makefile distinfo pkg-plist 
   Log:
   - Update to 2.2.4
   
   PR: ports/120458
   
   Revision  Changes    Path
   1.11      +13 -11    ports/www/autoindex2/Makefile
   1.7       +3 -3      ports/www/autoindex2/distinfo
   1.7       +32 -1     ports/www/autoindex2/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
