summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-08-04 21:37:09 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-08-04 21:37:09 +0000
commita66b546021a1df3b338d3a3437798a11d154c6cc (patch)
treea232f75cecd5c50ee7ab145788d15ad14058e4a2 /www
parent- update to 0.5.3. (diff)
- enable access control files by default
- pass maintainership on to submitter PR: 40256 Submitted by: Josh Elsasser <jre@vineyard.net>
Notes
Notes: svn path=/head/; revision=64004
Diffstat (limited to 'www')
-rw-r--r--www/cgiwrap/Makefile9
-rw-r--r--www/cgiwrap/pkg-message4
2 files changed, 12 insertions, 1 deletions
diff --git a/www/cgiwrap/Makefile b/www/cgiwrap/Makefile
index 0226fd882536..d8926489f8eb 100644
--- a/www/cgiwrap/Makefile
+++ b/www/cgiwrap/Makefile
@@ -11,13 +11,15 @@ CATEGORIES= www security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= petef@FreeBSD.org
+MAINTAINER= jre@vineyard.net
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-httpd-user=${HTTPDUSER} \
--with-install-dir=${MAINCGIDIR} \
--with-install-group=${BINGRP} \
--with-cgi-dir=${CGIDIR} \
+ --with-allow-file=${ALLOWFILE} \
+ --with-deny-file=${DENYFILE} \
${WITHOUTCHECK}
###
@@ -39,6 +41,11 @@ CGIDIR?= public_html/cgi-bin
###
MAINCGIDIR?= ${PREFIX}/www/cgi-bin
HTTPDUSER?= www
+###
+# The allow and deny files control access to cgiwrap.
+###
+ALLOWFILE?= ${PREFIX}/etc/${PORTNAME}.allow
+DENYFILE?= ${PREFIX}/etc/${PORTNAME}.deny
pre-install:
@${MKDIR} ${MAINCGIDIR}
diff --git a/www/cgiwrap/pkg-message b/www/cgiwrap/pkg-message
index 0d03ca526678..c4dfb9e01971 100644
--- a/www/cgiwrap/pkg-message
+++ b/www/cgiwrap/pkg-message
@@ -8,4 +8,8 @@ recommended to try the Apache web server package.
The cgiwrap scripts have been installed in:
${PREFIX}/www/cgi-bin
...the default location for Apache's cgi-bin directory.
+
+Access control enabled, you must create either
+${PREFIX}/etc/cgiwrap.allow or ${PREFIX}/etc/cgiwrap.deny before
+cgiwrap will function.
-----------------------------------------------------------------