From owner-freebsd-bugs@FreeBSD.ORG Wed May 3 06:30:16 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F309D16A407 for ; Wed, 3 May 2006 06:30:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E81843D4C for ; Wed, 3 May 2006 06:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k436UFKa028874 for ; Wed, 3 May 2006 06:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k436UF8i028873; Wed, 3 May 2006 06:30:15 GMT (envelope-from gnats) Resent-Date: Wed, 3 May 2006 06:30:15 GMT Resent-Message-Id: <200605030630.k436UF8i028873@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jose Alonso Cardenas Marquez Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A1A516A402 for ; Wed, 3 May 2006 06:22:02 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C88C43D46 for ; Wed, 3 May 2006 06:22:02 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k436M1FI084750 for ; Wed, 3 May 2006 06:22:01 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k436M175084749; Wed, 3 May 2006 06:22:01 GMT (envelope-from nobody) Message-Id: <200605030622.k436M175084749@www.freebsd.org> Date: Wed, 3 May 2006 06:22:01 GMT From: Jose Alonso Cardenas Marquez To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/96702: [MAINTAINER] ftp/phpwebftp: update to 3.3 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 06:30:16 -0000 >Number: 96702 >Category: misc >Synopsis: [MAINTAINER] ftp/phpwebftp: update to 3.3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 03 06:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jose Alonso Cardenas Marquez >Release: FreeBSD 6.1-RC i386 >Organization: BSDPeru (http://www.bsd.org.pe) >Environment: FreeBSD HellFire.BSD.org.pe 6.1-RC FreeBSD 6.1-RC #0: Sun Apr 9 02:54:32 PET >Description: - Update to 3.3 - Fixed problem described on secunia advisory SA19706, please see http://secunia.com/advisories/19706/ - Few modifications - Note: phpwebftp-3.3b is the same than phpwebftp-3.3 available at sf.net >How-To-Repeat: >Fix: --- phpwebftp-3.3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/ftp/phpwebftp/Makefile /usr/ports/ftp/phpwebftp-new/Makefile --- /usr/ports/ftp/phpwebftp/Makefile Mon Feb 20 11:53:52 2006 +++ /usr/ports/ftp/phpwebftp-new/Makefile Wed May 3 01:02:46 2006 @@ -6,13 +6,11 @@ # PORTNAME= phpwebftp -PORTVERSION= 3.2 -PORTREVISION= 1 +PORTVERSION= 3.3 CATEGORIES= ftp MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= phpwebftp -DISTNAME= phpWebFTP32 -EXTRACT_SUFX= .zip +DISTNAME= ${PORTNAME}33 MAINTAINER= acardenas@bsd.org.pe COMMENT= A set of PHP-scripts to manage FTP over the web @@ -20,19 +18,19 @@ USE_ZIP= yes NO_BUILD= yes USE_PHP= ftp -PHPWEBFTPDIR?= www/data/phpWebFTP +PHPWEBFTPDIR?= www/data-dist/${PORTNAME} PLIST_SUB+= PHPWEBFTPDIR=${PHPWEBFTPDIR} -WRKSRC= ${WRKDIR}/phpWebFTP +WRKSRC= ${WRKDIR}/${PORTNAME} do-configure: - @${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php.bak - @${CAT} ${WRKSRC}/config.inc.php.bak | ${TR} -d '\015' > ${WRKSRC}/config.inc.php && \ - ${RM} ${WRKSRC}/config.inc.php.bak @${FIND} -d ${WRKSRC} -name CVS -type d -print0 | ${XARGS} -0 ${RM} -R do-install: - @${MKDIR} ${PREFIX}/${PHPWEBFTPDIR} - @${CP} -R ${WRKSRC}/* ${PREFIX}/${PHPWEBFTPDIR} + ${MKDIR} ${PREFIX}/${PHPWEBFTPDIR} + @cd ${WRKSRC} && \ + ${FIND} * -type d -exec ${MKDIR} "${PREFIX}/${PHPWEBFTPDIR}/{}" \; && \ + ${FIND} -E * -type f -iregex ".*\.(php|html|css|gif|js)" \ + -exec ${INSTALL_DATA} "{}" "${PREFIX}/${PHPWEBFTPDIR}/{}" \; @${CHGRP} -R ${WWWGRP} ${PREFIX}/${PHPWEBFTPDIR} .include diff -ruN --exclude=CVS /usr/ports/ftp/phpwebftp/distinfo /usr/ports/ftp/phpwebftp-new/distinfo --- /usr/ports/ftp/phpwebftp/distinfo Mon Feb 20 11:53:52 2006 +++ /usr/ports/ftp/phpwebftp-new/distinfo Wed May 3 00:53:00 2006 @@ -1,3 +1,3 @@ -MD5 (phpWebFTP32.zip) = 94ceb24ec758c836422e2b01c5920b03 -SHA256 (phpWebFTP32.zip) = 0eac62ba7a903e4518306c3e30d4e118eaadccfdfb968fb0b6b51410928b699d -SIZE (phpWebFTP32.zip) = 109053 +MD5 (phpwebftp33.zip) = d3cea8da4ddf19b9703b4f6feb1bc28b +SHA256 (phpwebftp33.zip) = 1bc13fb68b59085d3d0f6c680d3cab4fe1d8bbe30f483b1bee136e6127d75d5a +SIZE (phpwebftp33.zip) = 103220 diff -ruN --exclude=CVS /usr/ports/ftp/phpwebftp/pkg-plist /usr/ports/ftp/phpwebftp-new/pkg-plist --- /usr/ports/ftp/phpwebftp/pkg-plist Mon Feb 20 11:53:52 2006 +++ /usr/ports/ftp/phpwebftp-new/pkg-plist Wed May 3 00:59:34 2006 @@ -1,5 +1,4 @@ %%PHPWEBFTPDIR%%/config.inc.php -%%PHPWEBFTPDIR%%/gpl.txt %%PHPWEBFTPDIR%%/img/zip.gif %%PHPWEBFTPDIR%%/img/createdir.gif %%PHPWEBFTPDIR%%/img/doc.gif @@ -28,7 +27,6 @@ %%PHPWEBFTPDIR%%/img/pdf.gif %%PHPWEBFTPDIR%%/img/php.gif %%PHPWEBFTPDIR%%/img/pic.gif -%%PHPWEBFTPDIR%%/img/Thumbs.db %%PHPWEBFTPDIR%%/img/titlebar.gif %%PHPWEBFTPDIR%%/img/txt.gif %%PHPWEBFTPDIR%%/img/upload.gif @@ -45,6 +43,7 @@ %%PHPWEBFTPDIR%%/include/language/german.lang.php %%PHPWEBFTPDIR%%/include/language/index.html %%PHPWEBFTPDIR%%/include/language/italian.lang.php +%%PHPWEBFTPDIR%%/include/language/japanese.lang.php %%PHPWEBFTPDIR%%/include/language/latvian.lang.php %%PHPWEBFTPDIR%%/include/language/latvian-utf8.lang.php %%PHPWEBFTPDIR%%/include/language/norwegian.lang.php @@ -56,13 +55,15 @@ %%PHPWEBFTPDIR%%/include/language/swedish.lang.php %%PHPWEBFTPDIR%%/include/language/turkish.lang.php %%PHPWEBFTPDIR%%/include/language/ukrainian.lang.php +%%PHPWEBFTPDIR%%/include/ftp.class.php %%PHPWEBFTPDIR%%/include/functions.inc.php +%%PHPWEBFTPDIR%%/include/ss_zip.class.php %%PHPWEBFTPDIR%%/include/index.html %%PHPWEBFTPDIR%%/include/script.js %%PHPWEBFTPDIR%%/index.php -%%PHPWEBFTPDIR%%/setpermission.php %%PHPWEBFTPDIR%%/style/cm.css %%PHPWEBFTPDIR%%/style/index.html +%%PHPWEBFTPDIR%%/tmp/index.html @dirrm %%PHPWEBFTPDIR%%/img @dirrm %%PHPWEBFTPDIR%%/include/language @dirrm %%PHPWEBFTPDIR%%/include --- phpwebftp-3.3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: