From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 9 09:50:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96AC516A41A for ; Sat, 9 Feb 2008 09:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 77AFC13C468 for ; Sat, 9 Feb 2008 09:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m199o1rY080133 for ; Sat, 9 Feb 2008 09:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m199o1n6080132; Sat, 9 Feb 2008 09:50:01 GMT (envelope-from gnats) Resent-Date: Sat, 9 Feb 2008 09:50:01 GMT Resent-Message-Id: <200802090950.m199o1n6080132@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Beat Gaetzi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E2A916A418 for ; 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 ; 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 ; 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" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/120458: [PATCH] www/autoindex2: update to 2.2.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Beat Gaetzi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Feb 2008 09:50:01 -0000 >Number: 120458 >Category: ports >Synopsis: [PATCH] www/autoindex2: update to 2.2.4 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Feb 09 09:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Beat Gätzi >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: >Unformatted: