aboutsummaryrefslogtreecommitdiff
path: root/www/cgiwrap
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-08-08 18:58:23 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-08-08 18:58:23 +0000
commit05ae0eb46e6f61229d61e3f0feeaf1f03e428d29 (patch)
treef76ef43837eed878871376a0ea8ad1c84a8469f3 /www/cgiwrap
parentdb48578b5380638457e2b937e5a3ffceb1181917 (diff)
downloadports-05ae0eb46e6f61229d61e3f0feeaf1f03e428d29.tar.gz
ports-05ae0eb46e6f61229d61e3f0feeaf1f03e428d29.zip
Notes
Diffstat (limited to 'www/cgiwrap')
-rw-r--r--www/cgiwrap/Makefile7
-rw-r--r--www/cgiwrap/pkg-message4
2 files changed, 10 insertions, 1 deletions
diff --git a/www/cgiwrap/Makefile b/www/cgiwrap/Makefile
index d8926489f8eb..f16432e85f78 100644
--- a/www/cgiwrap/Makefile
+++ b/www/cgiwrap/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cgiwrap
PORTVERSION= 3.7.1
+PORTREVISION= 1
CATEGORIES= www security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -51,7 +52,11 @@ pre-install:
@${MKDIR} ${MAINCGIDIR}
post-install:
- strip ${MAINCGIDIR}/cgiwrap
+ ${STRIP_CMD} ${MAINCGIDIR}/cgiwrap
+ ${RM} ${MAINCGIDIR}/cgiwrapd ${MAINCGIDIR}/nph-cgiwrapd
+ ${CP} ${MAINCGIDIR}/cgiwrap ${MAINCGIDIR}/cgiwrapd
+ ${LN} ${MAINCGIDIR}/cgiwrapd ${MAINCGIDIR}/nph-cgiwrapd
+ ${CHMOD} 644 ${MAINCGIDIR}/cgiwrapd
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in accesscontrol.html afs.html changes.html comments.html \
diff --git a/www/cgiwrap/pkg-message b/www/cgiwrap/pkg-message
index c4dfb9e01971..cc9557fe7320 100644
--- a/www/cgiwrap/pkg-message
+++ b/www/cgiwrap/pkg-message
@@ -9,6 +9,10 @@ The cgiwrap scripts have been installed in:
${PREFIX}/www/cgi-bin
...the default location for Apache's cgi-bin directory.
+The cgiwrapd and nph-cgiwrapd scripts are disabled by default, as they
+may give away sensitive information about the CGI environment. To
+enable them, you must chmod 4755 ${PREFIX}/www/cgi-bin/cgiwrapd
+
Access control enabled, you must create either
${PREFIX}/etc/cgiwrap.allow or ${PREFIX}/etc/cgiwrap.deny before
cgiwrap will function.