diff options
author | zuntum <zuntum@pkgsrc.org> | 2001-09-16 22:50:39 +0000 |
---|---|---|
committer | zuntum <zuntum@pkgsrc.org> | 2001-09-16 22:50:39 +0000 |
commit | 7748ffba8bfd31159a38aa81edcb6508e6ce17a2 (patch) | |
tree | f17533c2fd4f32e2b312534a5b19f49a2714f9f0 /net/publicfile | |
parent | ef55564253121a65de172ba0636460105a8c4112 (diff) | |
download | pkgsrc-7748ffba8bfd31159a38aa81edcb6508e6ce17a2.tar.gz |
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.
Diffstat (limited to 'net/publicfile')
-rw-r--r-- | net/publicfile/Makefile | 26 | ||||
-rw-r--r-- | net/publicfile/distinfo | 4 | ||||
-rw-r--r-- | net/publicfile/pkg/DESCR | 20 | ||||
-rw-r--r-- | net/publicfile/pkg/MESSAGE | 8 | ||||
-rw-r--r-- | net/publicfile/pkg/PLIST | 6 |
5 files changed, 64 insertions, 0 deletions
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 |