summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-04 21:37:09 +0000
committerpetef <petef@FreeBSD.org>2002-08-04 21:37:09 +0000
commitee182cf116e8920597734413c32f2c1c938072a6 (patch)
treededd8fcae1f8255e0541012e96d8b5528114aff6 /www
parented8b14042cde9c40142874ea92f56a53f2f5704e (diff)
downloadFreeBSD-ports-ee182cf116e8920597734413c32f2c1c938072a6.zip
FreeBSD-ports-ee182cf116e8920597734413c32f2c1c938072a6.tar.gz
- enable access control files by default
- pass maintainership on to submitter PR: 40256 Submitted by: Josh Elsasser <jre@vineyard.net>
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 0226fd8..d892648 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 0d03ca5..c4dfb9e 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.
-----------------------------------------------------------------
OpenPOWER on IntegriCloud