- update to version 3.6.4

- take over as maintainer from ports@
- better comment
- install scripts to ${PREFIX}/www/cgi-bin opposed to share/apache

PR: 27967
Submitted by: Pete Fritchman <petef@databits.net>
This commit is contained in:
Kevin Lo 2001-06-10 15:40:48 +00:00
parent 852098cd8e
commit fe1fc7d1fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43768
6 changed files with 39 additions and 31 deletions

View file

@ -6,54 +6,55 @@
# #
PORTNAME= cgiwrap PORTNAME= cgiwrap
PORTVERSION= 3.6.3 PORTVERSION= 3.6.4
CATEGORIES= www CATEGORIES= www security
MASTER_SITES= http://www.unixtools.org/cgiwrap/dist/ \ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
ftp://ftp.umr.edu/pub/cgi/cgiwrap/ \ MASTER_SITE_SUBDIR= ${PORTNAME}
ftp://concert.cert.dfn.de/pub/tools/net/cgiwrap/
MAINTAINER= ports@FreeBSD.org MAINTAINER= petef@databits.net
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= ${HTTPDUSER} ${WITHOUTCHECK} --with-install-dir=${INSTALLDIR} \ CONFIGURE_ARGS= --with-httpd-user=${HTTPDUSER} \
--with-install-group=${BINGRP} --with-cgi-dir=${CGIDIR} --with-install-dir=${MAINCGIDIR} \
--with-install-group=${BINGRP} \
--with-cgi-dir=${CGIDIR} \
${WITHOUTCHECK}
### ###
# Set this to the directory (relative to each user's home) where CGI # Set this to the directory (relative to each user's home) where CGI
# scripts will be found. (Another common value is "www/cgi-bin".) # scripts will be found. (Another common value is "www/cgi-bin".)
### ###
CGIDIR= public_html/cgi-bin CGIDIR?= public_html/cgi-bin
### ###
# The default security settings are very tight; enable one or more # The default security settings are very tight; enable one or more
# of these to loosen them. Run "configure -help" for information on # of these to loosen them. Run "configure -help" for information on
# these and other options. # these and other options.
### ###
#WITHOUTCHECK= --without-check-owner --without-check-setuid \ #WITHOUTCHECK?= --without-check-owner --without-check-setuid \
# --without-check-group --without-check-setgid \ # --without-check-group --without-check-setgid \
# --without-check-group-writable \ # --without-check-group-writable \
# --without-check-world-writable # --without-check-world-writable
### ###
# Use these options for Apache: # Use these options for Apache:
### ###
INSTALLDIR= ${PREFIX}/share/apache/cgi-bin MAINCGIDIR?= ${PREFIX}/www/cgi-bin
HTTPDUSER= --with-httpd-user=nobody HTTPDUSER?= nobody
pre-install: pre-install:
${MKDIR} ${INSTALLDIR} @${MKDIR} ${MAINCGIDIR}
post-install: post-install:
strip ${INSTALLDIR}/cgiwrap strip ${MAINCGIDIR}/cgiwrap
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/cgiwrap @${MKDIR} ${PREFIX}/share/doc/cgiwrap
.for file in accesscontrol.html afs.html changes.html comments.html \ .for file in accesscontrol.html afs.html changes.html comments.html \
download.html faq.html index.html install.html intro.html \ download.html faq.html index.html install.html intro.html \
maillist.html notes.html pubs.html quickref.html setup.html \ maillist.html notes.html pubs.html quickref.html setup.html \
thanks.html todo.html tricks.html y2k.html thanks.html todo.html tricks.html y2k.html
@${INSTALL_MAN} ${WRKSRC}/htdocs/${file} ${PREFIX}/share/doc/cgiwrap @${INSTALL_DATA} ${WRKSRC}/htdocs/${file} ${PREFIX}/share/doc/cgiwrap
.endfor .endfor
@${ECHO} "Documentation installed in ${PREFIX}/share/doc/cgiwrap" @${ECHO} "Documentation installed in ${PREFIX}/share/doc/cgiwrap"
.endif .endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (cgiwrap-3.6.3.tar.gz) = 583179e252608967bc5e83a17d3bd1d2 MD5 (cgiwrap-3.6.4.tar.gz) = 10e5a74a3a32ca8c032a0a5bbd147c56

View file

@ -1 +1 @@
Make certain that CGI scripts run with the user's permissions Securely execute ~user CGI scripts

View file

@ -8,11 +8,7 @@ CGIWrap works with NCSA httpd, Apache, CERN httpd, NetSite Commerce
and Communications servers, and probably any other Unix based web and Communications servers, and probably any other Unix based web
server software that supports CGI. server software that supports CGI.
CGIWrap was written by Nathan Neulinger <nneul@umr.edu>. More WWW: http://cgiwrap.unixtools.org/
information is available at the website
WWW: http://wwwcgi.umr.edu/~cgiwrap - Pete
petef@databits.net
Port to FreeBSD by
Brent J. Nordquist <bjn@visi.com>
Thu Jul 30 1998

11
www/cgiwrap/pkg-message Normal file
View file

@ -0,0 +1,11 @@
-----------------------------------------------------------------
You have installed cgiwrap, a wrapper to securely execute user
CGI programs. cgiwrap is reported to work with most web servers
that support CGI, so no one specific server has been included as
a depend. If you are unsure of which webserver to use, it is
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.
-----------------------------------------------------------------

View file

@ -16,8 +16,8 @@
%%PORTDOCS%%share/doc/cgiwrap/todo.html %%PORTDOCS%%share/doc/cgiwrap/todo.html
%%PORTDOCS%%share/doc/cgiwrap/tricks.html %%PORTDOCS%%share/doc/cgiwrap/tricks.html
%%PORTDOCS%%share/doc/cgiwrap/y2k.html %%PORTDOCS%%share/doc/cgiwrap/y2k.html
www/cgi-bin/cgiwrap
www/cgi-bin/cgiwrapd
www/cgi-bin/nph-cgiwrap
www/cgi-bin/nph-cgiwrapd
%%PORTDOCS%%@dirrm share/doc/cgiwrap %%PORTDOCS%%@dirrm share/doc/cgiwrap
share/apache/cgi-bin/cgiwrap
share/apache/cgi-bin/cgiwrapd
share/apache/cgi-bin/nph-cgiwrap
share/apache/cgi-bin/nph-cgiwrapd