diff options
author | clsung <clsung@FreeBSD.org> | 2006-05-03 16:16:26 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-05-03 16:16:26 +0800 |
commit | a8c27b4f663d80f3226b890f79c2c18faa31471d (patch) | |
tree | 04ccab9af563e11c062c60e27bf92bd6cb90d6f6 /ftp | |
parent | b3162dfa2c680f6135cdfb5197738b150af03339 (diff) | |
download | freebsd-ports-gnome-a8c27b4f663d80f3226b890f79c2c18faa31471d.tar.gz freebsd-ports-gnome-a8c27b4f663d80f3226b890f79c2c18faa31471d.tar.zst freebsd-ports-gnome-a8c27b4f663d80f3226b890f79c2c18faa31471d.zip |
- 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
PR: 96702
Submitted by: maintainer (Jose Alonso Cardenas Marquez)
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/phpwebftp/Makefile | 20 | ||||
-rw-r--r-- | ftp/phpwebftp/distinfo | 6 | ||||
-rw-r--r-- | ftp/phpwebftp/pkg-plist | 7 |
3 files changed, 16 insertions, 17 deletions
diff --git a/ftp/phpwebftp/Makefile b/ftp/phpwebftp/Makefile index b66bf362fc9f..bb6b376cc14c 100644 --- a/ftp/phpwebftp/Makefile +++ b/ftp/phpwebftp/Makefile @@ -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 @@ COMMENT= A set of PHP-scripts to manage FTP over the web 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 --git a/ftp/phpwebftp/distinfo b/ftp/phpwebftp/distinfo index 742aa2999984..3fc47f2216f7 100644 --- a/ftp/phpwebftp/distinfo +++ b/ftp/phpwebftp/distinfo @@ -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 --git a/ftp/phpwebftp/pkg-plist b/ftp/phpwebftp/pkg-plist index a1044aff5d46..7657c6b91482 100644 --- a/ftp/phpwebftp/pkg-plist +++ b/ftp/phpwebftp/pkg-plist @@ -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 |