From a66b546021a1df3b338d3a3437798a11d154c6cc Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sun, 4 Aug 2002 21:37:09 +0000 Subject: - enable access control files by default - pass maintainership on to submitter PR: 40256 Submitted by: Josh Elsasser --- www/cgiwrap/Makefile | 9 ++++++++- www/cgiwrap/pkg-message | 4 ++++ 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'www') 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. ----------------------------------------------------------------- -- cgit v1.2.3