diff options
author | sada <sada@FreeBSD.org> | 2002-11-10 05:11:51 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 2002-11-10 05:11:51 +0800 |
commit | f67b0dede20f9375f6dc3ea269709482c25c6d65 (patch) | |
tree | 08f1a4edc8937b09f5be1726501761bbe8ec07b4 /www/notftp | |
parent | dcfab29a345ba5d281ef8de96e8b350289e28308 (diff) | |
download | freebsd-ports-gnome-f67b0dede20f9375f6dc3ea269709482c25c6d65.tar.gz freebsd-ports-gnome-f67b0dede20f9375f6dc3ea269709482c25c6d65.tar.zst freebsd-ports-gnome-f67b0dede20f9375f6dc3ea269709482c25c6d65.zip |
Add new port: notftp
NotFTP is a fully-featured and easy to use Web-based HTTP-FTP gateway written in
PHP.
WWW: http://wonko.com/notftp/
PR: ports/40168
Submitted by: Ryan Grove <ryan@wonko.com>
Diffstat (limited to 'www/notftp')
-rw-r--r-- | www/notftp/Makefile | 36 | ||||
-rw-r--r-- | www/notftp/distinfo | 1 | ||||
-rw-r--r-- | www/notftp/pkg-comment | 1 | ||||
-rw-r--r-- | www/notftp/pkg-descr | 8 | ||||
-rw-r--r-- | www/notftp/pkg-message | 5 | ||||
-rw-r--r-- | www/notftp/pkg-plist | 10 |
6 files changed, 61 insertions, 0 deletions
diff --git a/www/notftp/Makefile b/www/notftp/Makefile new file mode 100644 index 000000000000..34c5d81aebe4 --- /dev/null +++ b/www/notftp/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: NotFTP +# Date created: 3 July 2002 +# Whom: Ryan Grove <ryan@wonko.com> +# +# $FreeBSD$ +# + +PORTNAME= notftp +PORTVERSION= 1.2.2 +CATEGORIES= www +MASTER_SITES= http://wonko.com/notftp/files/ + +MAINTAINER= ryan@wonko.com + +RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4 + +PREFIX= ${LOCALBASE} +WEBOWN?= www +WEBGRP?= www +APACHEDIR= ${PREFIX}/www/data +INSTALLDIR= ${APACHEDIR}/notftp +NO_BUILD= yes + +PLIST_SUB+= INSTALLDIR=${INSTALLDIR:S,^${PREFIX}/,,} + +do-install: + ${MKDIR} ${INSTALLDIR} + cd ${WRKSRC}; ${FIND} . \ + | cpio -pdm -R ${WEBOWN}:${WEBGRP} ${INSTALLDIR} + ${CHMOD} -R ${BINMODE} ${INSTALLDIR} + ${FIND} ${INSTALLDIR} ! -type d | ${XARGS} ${CHMOD} ${NOBINMODE} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> diff --git a/www/notftp/distinfo b/www/notftp/distinfo new file mode 100644 index 000000000000..b9ebeaa08a30 --- /dev/null +++ b/www/notftp/distinfo @@ -0,0 +1 @@ +MD5 (notftp-1.2.2.tar.gz) =3D cff28c766027d341cac077cc115417ce diff --git a/www/notftp/pkg-comment b/www/notftp/pkg-comment new file mode 100644 index 000000000000..69879987c82f --- /dev/null +++ b/www/notftp/pkg-comment @@ -0,0 +1 @@ +A WWW<->FTP gateway written in PHP diff --git a/www/notftp/pkg-descr b/www/notftp/pkg-descr new file mode 100644 index 000000000000..5a48acd43785 --- /dev/null +++ b/www/notftp/pkg-descr @@ -0,0 +1,8 @@ +NotFTP is a WWW<->FTP gateway written in PHP. It supports all common FTP +functions and allows the administrator to set a maximum transfer size and a +daily transfer quota for users. It is particularly well-suited for making FTP +accessible to users behind an HTTP-only proxy. + +WWW: http://wonko.com/notftp/ + +- Ryan Grove <ryan@wonko.com> diff --git a/www/notftp/pkg-message b/www/notftp/pkg-message new file mode 100644 index 000000000000..4fb7efcab754 --- /dev/null +++ b/www/notftp/pkg-message @@ -0,0 +1,5 @@ +NotFTP requires that PHP be compiled with the --with-ftp option. If you've +already done this, you should be able to browse to http://yourserver/notftp/ and +have it work right out of the box. + +To customize NotFTP, edit the file config.php in the notftp directory. diff --git a/www/notftp/pkg-plist b/www/notftp/pkg-plist new file mode 100644 index 000000000000..92aa78e12671 --- /dev/null +++ b/www/notftp/pkg-plist @@ -0,0 +1,10 @@ +%%INSTALLDIR%%/config.php +%%INSTALLDIR%%/ftp.php +%%INSTALLDIR%%/functions.php +%%INSTALLDIR%%/index.php +%%INSTALLDIR%%/LICENSE +%%INSTALLDIR%%/README +%%INSTALLDIR%%/lib/footer.php +%%INSTALLDIR%%/lib/header.php +@dirrm %%INSTALLDIR%%/lib +@dirrm %%INSTALLDIR%% |