mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- enable access control files by default
- pass maintainership on to submitter PR: 40256 Submitted by: Josh Elsasser <jre@vineyard.net>
This commit is contained in:
parent
2e34993547
commit
a66b546021
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64004
@ -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}
|
||||
|
@ -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.
|
||||
-----------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user