From f67b0dede20f9375f6dc3ea269709482c25c6d65 Mon Sep 17 00:00:00 2001 From: sada Date: Sat, 9 Nov 2002 21:11:51 +0000 Subject: 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 --- www/Makefile | 1 + www/notftp/Makefile | 36 ++++++++++++++++++++++++++++++++++++ www/notftp/distinfo | 1 + www/notftp/pkg-comment | 1 + www/notftp/pkg-descr | 8 ++++++++ www/notftp/pkg-message | 5 +++++ www/notftp/pkg-plist | 10 ++++++++++ 7 files changed, 62 insertions(+) create mode 100644 www/notftp/Makefile create mode 100644 www/notftp/distinfo create mode 100644 www/notftp/pkg-comment create mode 100644 www/notftp/pkg-descr create mode 100644 www/notftp/pkg-message create mode 100644 www/notftp/pkg-plist diff --git a/www/Makefile b/www/Makefile index 27d2eec0a9ab..ce7ff772a943 100644 --- a/www/Makefile +++ b/www/Makefile @@ -236,6 +236,7 @@ SUBDIR += netscape48-communicator SUBDIR += netscape48-navigator SUBDIR += netscape7 + SUBDIR += notftp SUBDIR += npc SUBDIR += nscache SUBDIR += nspostgres 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 +# +# $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 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 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%% -- cgit