Date: Wed, 3 May 2006 06:22:01 GMT From: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/96702: [MAINTAINER] ftp/phpwebftp: update to 3.3 Message-ID: <200605030622.k436M175084749@www.freebsd.org> Resent-Message-ID: <200605030630.k436UF8i028873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605030622.k436M175084749>