1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

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>
This commit is contained in:
SADA Kenji 2002-11-09 21:11:51 +00:00
parent ac2919d4d2
commit ba46fbdb7b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=69803
7 changed files with 62 additions and 0 deletions

View File

@ -236,6 +236,7 @@
SUBDIR += netscape48-communicator
SUBDIR += netscape48-navigator
SUBDIR += netscape7
SUBDIR += notftp
SUBDIR += npc
SUBDIR += nscache
SUBDIR += nspostgres

36
www/notftp/Makefile Normal file
View File

@ -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>

1
www/notftp/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (notftp-1.2.2.tar.gz) =3D cff28c766027d341cac077cc115417ce

1
www/notftp/pkg-comment Normal file
View File

@ -0,0 +1 @@
A WWW<->FTP gateway written in PHP

8
www/notftp/pkg-descr Normal file
View File

@ -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>

5
www/notftp/pkg-message Normal file
View File

@ -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.

10
www/notftp/pkg-plist Normal file
View File

@ -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%%