summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/thttpd/Makefile18
-rw-r--r--www/thttpd/files/md53
-rw-r--r--www/thttpd/patches/patch-aa11
-rw-r--r--www/thttpd/pkg/COMMENT1
-rw-r--r--www/thttpd/pkg/DESCR22
-rw-r--r--www/thttpd/pkg/MESSAGE6
-rw-r--r--www/thttpd/pkg/PLIST16
7 files changed, 77 insertions, 0 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile
new file mode 100644
index 00000000000..57d3c6db0b8
--- /dev/null
+++ b/www/thttpd/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/04/10 22:01:10 tron Exp $
+#
+
+DISTNAME= thttpd-2.04
+CATEGORIES= www
+MASTER_SITES= http://www.acme.com/software/thttpd/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= mike@ethmoid.org
+HOMEPAGE= http://http://www.acme.com/software/thttpd/
+
+GNU_CONFIGURE= yes
+
+pre-install:
+ ${MKDIR} ${PREFIX}/www
+ ${MKDIR} ${PREFIX}/www/cgi-bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/thttpd/files/md5 b/www/thttpd/files/md5
new file mode 100644
index 00000000000..77f4abd57bf
--- /dev/null
+++ b/www/thttpd/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/04/10 22:01:10 tron Exp $
+
+MD5 (thttpd-2.04.tar.Z) = df4d68964ebe8d2d1b135db9b463b841
diff --git a/www/thttpd/patches/patch-aa b/www/thttpd/patches/patch-aa
new file mode 100644
index 00000000000..70e2fc96abc
--- /dev/null
+++ b/www/thttpd/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/04/10 22:01:10 tron Exp $
+
+--- extras/Makefile.in.orig Sun Apr 4 17:14:00 1999
++++ extras/Makefile.in Sun Apr 4 17:14:19 1999
+@@ -68,6 +68,4 @@
+ rm -f $(BINDIR)/makeweb $(BINDIR)/htpasswd $(BINDIR)/syslogtocern
+ cp makeweb $(BINDIR)/makeweb
+- chgrp $(WEBGROUP) $(BINDIR)/makeweb
+- chmod 2755 $(BINDIR)/makeweb
+ cp htpasswd $(BINDIR)/htpasswd
+ cp syslogtocern $(BINDIR)/syslogtocern
diff --git a/www/thttpd/pkg/COMMENT b/www/thttpd/pkg/COMMENT
new file mode 100644
index 00000000000..cb5397e4aa1
--- /dev/null
+++ b/www/thttpd/pkg/COMMENT
@@ -0,0 +1 @@
+tiny/turbo/throttling HTTP server
diff --git a/www/thttpd/pkg/DESCR b/www/thttpd/pkg/DESCR
new file mode 100644
index 00000000000..dd917f8b893
--- /dev/null
+++ b/www/thttpd/pkg/DESCR
@@ -0,0 +1,22 @@
+thttpd is a simple, small, portable, fast, and secure HTTP server.
+
+Simple: It handles only the minimum necessary to implement HTTP/1.1.
+
+Small: See the size comparison chart at
+http://www.acme.com/software/thttpd/notes.html#sizes. It also has a
+very small run-time size, since it does not fork and is very careful about
+memory allocation.
+
+Portable: It compiles cleanly on SunOS 4.1.x, Solaris 2.x, BSD/OS 2.x,
+Linux 1.2.x, and OSF/1 (on a 64-bit Alpha).
+
+Fast: In typical use it's about as fast as the best full-featured servers
+(Apache, NCSA, Netscape). Under extreme load it's much faster.
+
+Secure: It goes to great lengths to protect the web server machine
+against attacks and breakins from other sites.
+
+It also has one extremely useful feature (URL-traffic-based throttling) that
+no other server currently has.
+
+Jef Poskanzer jef@acme.com http://www.acme.com/jef/
diff --git a/www/thttpd/pkg/MESSAGE b/www/thttpd/pkg/MESSAGE
new file mode 100644
index 00000000000..af881fb0f0b
--- /dev/null
+++ b/www/thttpd/pkg/MESSAGE
@@ -0,0 +1,6 @@
+In order to use makeweb:
+
+ chgrp <group> makeweb
+ chmod 2755 makeweb
+
+The suggested group is "www".
diff --git a/www/thttpd/pkg/PLIST b/www/thttpd/pkg/PLIST
new file mode 100644
index 00000000000..93fe5444558
--- /dev/null
+++ b/www/thttpd/pkg/PLIST
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/10 22:01:10 tron Exp $
+sbin/thttpd
+sbin/syslogtocern
+sbin/makeweb
+sbin/htpasswd
+man/man8/thttpd.8
+man/man8/syslogtocern.8
+man/man8/nph-redirect.8
+man/man8/ssi.8
+man/man1/makeweb.1
+man/man1/htpasswd.1
+www/cgi-bin/nph-redirect
+www/cgi-bin/phf
+www/cgi-bin/ssi
+@dirrm www/cgi-bin
+@dirrm www