aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/sbox-dtc/Makefile27
-rw-r--r--www/sbox-dtc/distinfo2
-rw-r--r--www/sbox-dtc/pkg-descr10
4 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index c2adbd421343..08344c9447e9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -655,6 +655,7 @@
SUBDIR += ruby-tmpl
SUBDIR += ruby-webunit
SUBDIR += sarg
+ SUBDIR += sbox-dtc
SUBDIR += scout
SUBDIR += screem
SUBDIR += script4rss
diff --git a/www/sbox-dtc/Makefile b/www/sbox-dtc/Makefile
new file mode 100644
index 000000000000..e5f4dc68745b
--- /dev/null
+++ b/www/sbox-dtc/Makefile
@@ -0,0 +1,27 @@
+# Ports collection makefile for: dtc
+# Date created: 12 January 2005
+# Whom: Thomas Goirand
+#
+# $FreeBSD$
+#
+
+PORTNAME= sbox-dtc
+PORTVERSION= 1.07.1
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.gplhost.com/pub/sbox-dtc/bsd/
+
+MAINTAINER= thomas@goirand.fr
+COMMENT= A safe CGI wrapper
+
+USE_APACHE= yes
+CFLAGS+= -DWEB_GROUP='\"nobody\"'
+MAKE_ARGS= CC="${CC}" COPTS="${CFLAGS}" \
+ INSTALL_DIRECTORY=${PREFIX}/www/cgi-bin
+
+PLIST_FILES= www/cgi-bin/sbox
+
+.if defined(WITH_APACHE2)
+IGNORE= Untested
+.endif
+
+.include <bsd.port.mk>
diff --git a/www/sbox-dtc/distinfo b/www/sbox-dtc/distinfo
new file mode 100644
index 000000000000..fdf5dccf9b33
--- /dev/null
+++ b/www/sbox-dtc/distinfo
@@ -0,0 +1,2 @@
+MD5 (sbox-dtc-1.07.1.tar.gz) = ebf17b10d91a9234e90e693fa925b62e
+SIZE (sbox-dtc-1.07.1.tar.gz) = 34397
diff --git a/www/sbox-dtc/pkg-descr b/www/sbox-dtc/pkg-descr
new file mode 100644
index 000000000000..a4a0044e0bc4
--- /dev/null
+++ b/www/sbox-dtc/pkg-descr
@@ -0,0 +1,10 @@
+sbox is a CGI wrapper script that allows Web site hosting services to safely
+grant CGI authoring privileges to untrusted clients. In addition to changing
+the process privileges of client scripts to match their owners, it goes
+beyond other wrappers by placing configurable ceilings on script resource
+usage, avoiding unintentional (as well as intentional) denial of service
+attacks. It also optionally allows the Webmaster to place client's CGI
+scripts in a chroot'ed shell restricted to the author's home directories.
+
+sbox is compatible with all Web servers running under BSD-derived flavors of
+Unix. You can use and redistribute it freely.