From 7748ffba8bfd31159a38aa81edcb6508e6ce17a2 Mon Sep 17 00:00:00 2001 From: zuntum Date: Sun, 16 Sep 2001 22:50:39 +0000 Subject: 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 in pkg/13892. This import closes pkg/13167, too. --- net/publicfile/Makefile | 26 ++++++++++++++++++++++++++ net/publicfile/distinfo | 4 ++++ net/publicfile/pkg/DESCR | 20 ++++++++++++++++++++ net/publicfile/pkg/MESSAGE | 8 ++++++++ net/publicfile/pkg/PLIST | 6 ++++++ 5 files changed, 64 insertions(+) create mode 100644 net/publicfile/Makefile create mode 100644 net/publicfile/distinfo create mode 100644 net/publicfile/pkg/DESCR create mode 100644 net/publicfile/pkg/MESSAGE create mode 100644 net/publicfile/pkg/PLIST (limited to 'net/publicfile') diff --git a/net/publicfile/Makefile b/net/publicfile/Makefile new file mode 100644 index 00000000000..b222dd7f6c6 --- /dev/null +++ b/net/publicfile/Makefile @@ -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" diff --git a/net/publicfile/distinfo b/net/publicfile/distinfo new file mode 100644 index 00000000000..49bea9126ee --- /dev/null +++ b/net/publicfile/distinfo @@ -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 diff --git a/net/publicfile/pkg/DESCR b/net/publicfile/pkg/DESCR new file mode 100644 index 00000000000..dec29b6bd81 --- /dev/null +++ b/net/publicfile/pkg/DESCR @@ -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. diff --git a/net/publicfile/pkg/MESSAGE b/net/publicfile/pkg/MESSAGE new file mode 100644 index 00000000000..0495d071cd8 --- /dev/null +++ b/net/publicfile/pkg/MESSAGE @@ -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 + +====================================================================== diff --git a/net/publicfile/pkg/PLIST b/net/publicfile/pkg/PLIST new file mode 100644 index 00000000000..0219bb43dd3 --- /dev/null +++ b/net/publicfile/pkg/PLIST @@ -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 -- cgit v1.2.3