summaryrefslogtreecommitdiff
path: root/net/publicfile
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-09-16 22:50:39 +0000
committerzuntum <zuntum>2001-09-16 22:50:39 +0000
commit2fb5453b88862de11a81f93b87473112059da86a (patch)
treef17533c2fd4f32e2b312534a5b19f49a2714f9f0 /net/publicfile
parent008ad72951c3f238ef51a660921532058575be8a (diff)
downloadpkgsrc-2fb5453b88862de11a81f93b87473112059da86a.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/Makefile26
-rw-r--r--net/publicfile/distinfo4
-rw-r--r--net/publicfile/pkg/DESCR20
-rw-r--r--net/publicfile/pkg/MESSAGE8
-rw-r--r--net/publicfile/pkg/PLIST6
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