Initial import of publicfile-0.52

publicfile supplies files to the public through HTTP and FTP

Security features:
       publicfile chroot()s to the public file area and sheds root privileges.
       publicfile never attempts to modify the public file area.
       publicfile never runs any other programs.

HTTP features:
       publicfile supports virtual hosts through the Host field.
       publicfile supports virtual hosts through absolute URLs.
       publicfile supports HTTP/1.1 persistent connections.
       publicfile supports HTTP/1.1 chunked responses.
       publicfile supports user-controlled content types.
       publicfile supports exact-prefix If-Modified-Since.

FTP features:
       publicfile has built-in LIST and NLST commands.
       publicfile provides EPLF LIST responses.
       publicfile supports restarted transfers.
       publicfile supports pipelining.

Package provided by Sen Nagata <sen@eccosys.com> in pkg/13892.
This import closes pkg/13167, too.
This commit is contained in:
zuntum 2001-09-16 22:50:39 +00:00
parent ef55564253
commit 7748ffba8b
5 changed files with 64 additions and 0 deletions

26
net/publicfile/Makefile Normal file
View file

@ -0,0 +1,26 @@
# $NetBSD: Makefile,v 1.1.1.1 2001/09/16 22:50:39 zuntum Exp $
#
DISTNAME= publicfile-0.52
CATEGORIES= net
MASTER_SITES= http://cr.yp.to/publicfile/
MAINTAINER= zuntum@netbsd.org
HOMEPAGE= http://cr.yp.to/publicfile.html
COMMENT= secure read-only HTTP and FTP servers
DEPENDS+= daemontools-*:../../sysutils/daemontools
ALL_TARGET= it
INSTALL_TARGET= setup check
RESTRICTED= "unsure of djb's license"
NO_BIN_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
pre-build:
${ECHO} ${CC} ${CFLAGS} > ${WRKSRC}/conf-cc
${ECHO} ${CC} ${STRIPFLAG} > ${WRKSRC}/conf-ld
${ECHO} ${PREFIX}/publicfile > ${WRKSRC}/conf-home
.include "../../mk/bsd.pkg.mk"

4
net/publicfile/distinfo Normal file
View file

@ -0,0 +1,4 @@
$NetBSD: distinfo,v 1.1.1.1 2001/09/16 22:50:39 zuntum Exp $
SHA1 (publicfile-0.52.tar.gz) = 067e5a0c57bf8ac04c578cac47bd80c2d88eddeb
Size (publicfile-0.52.tar.gz) = 34892 bytes

20
net/publicfile/pkg/DESCR Normal file
View file

@ -0,0 +1,20 @@
publicfile supplies files to the public through HTTP and FTP
Security features:
publicfile chroot()s to the public file area and sheds root privileges.
publicfile never attempts to modify the public file area.
publicfile never runs any other programs.
HTTP features:
publicfile supports virtual hosts through the Host field.
publicfile supports virtual hosts through absolute URLs.
publicfile supports HTTP/1.1 persistent connections.
publicfile supports HTTP/1.1 chunked responses.
publicfile supports user-controlled content types.
publicfile supports exact-prefix If-Modified-Since.
FTP features:
publicfile has built-in LIST and NLST commands.
publicfile provides EPLF LIST responses.
publicfile supports restarted transfers.
publicfile supports pipelining.

View file

@ -0,0 +1,8 @@
======================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2001/09/16 22:50:39 zuntum Exp $
See http://cr.yp.to/publicfile.html for configuration information,
but note that where /usr/local is used, this package uses
${PREFIX}/publicfile
======================================================================

6
net/publicfile/pkg/PLIST Normal file
View file

@ -0,0 +1,6 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2001/09/16 22:50:39 zuntum Exp $
publicfile/bin/configure
publicfile/bin/httpd
publicfile/bin/ftpd
@dirrm publicfile/bin
@dirrm publicfile