summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>2002-11-09 21:11:51 +0000
committersada <sada@FreeBSD.org>2002-11-09 21:11:51 +0000
commitf67b0dede20f9375f6dc3ea269709482c25c6d65 (patch)
tree08f1a4edc8937b09f5be1726501761bbe8ec07b4
parentdcfab29a345ba5d281ef8de96e8b350289e28308 (diff)
downloadFreeBSD-ports-f67b0dede20f9375f6dc3ea269709482c25c6d65.zip
FreeBSD-ports-f67b0dede20f9375f6dc3ea269709482c25c6d65.tar.gz
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>
-rw-r--r--www/Makefile1
-rw-r--r--www/notftp/Makefile36
-rw-r--r--www/notftp/distinfo1
-rw-r--r--www/notftp/pkg-comment1
-rw-r--r--www/notftp/pkg-descr8
-rw-r--r--www/notftp/pkg-message5
-rw-r--r--www/notftp/pkg-plist10
7 files changed, 62 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 27d2eec..ce7ff77 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 0000000..34c5d81
--- /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 0000000..b9ebeaa
--- /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 0000000..6987998
--- /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 0000000..5a48acd
--- /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 0000000..4fb7efc
--- /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 0000000..92aa78e
--- /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%%
OpenPOWER on IntegriCloud