From 4e519b9661d71240a2a68d9159f517eea884ddae Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 10 Aug 1998 00:16:36 +0000 Subject: Initial import of cgiwrap version 3.6.1. Make certain that CGI scripts run with the user's permissions. PR: 7448 Submitted by: Brent J. Nordquist --- www/cgiwrap/Makefile | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ www/cgiwrap/distinfo | 1 + www/cgiwrap/pkg-comment | 1 + www/cgiwrap/pkg-descr | 16 ++++++++++++++ www/cgiwrap/pkg-plist | 22 ++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 www/cgiwrap/Makefile create mode 100644 www/cgiwrap/distinfo create mode 100644 www/cgiwrap/pkg-comment create mode 100644 www/cgiwrap/pkg-descr create mode 100644 www/cgiwrap/pkg-plist diff --git a/www/cgiwrap/Makefile b/www/cgiwrap/Makefile new file mode 100644 index 000000000000..ac520d5b9262 --- /dev/null +++ b/www/cgiwrap/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: cgiwrap +# Version required: 3.6.1 +# Date created: 30 July 1998 +# Whom: Brent J. Nordquist +# +# $Id$ +# + +DISTNAME= cgiwrap-3.6.1 +CATEGORIES= www +MASTER_SITES= http://www.umr.edu/~cgiwrap/dist/ \ + ftp://ftp.umr.edu/pub/cgi/cgiwrap/ \ + ftp://concert.cert.dfn.de/pub/tools/net/cgiwrap/ + +MAINTAINER= bjn@visi.com + +GNU_CONFIGURE= yes +CONFIGURE_ARGS= ${HTTPDUSER} ${WITHOUTCHECK} --with-install-dir=${INSTALLDIR} \ + --with-install-group=${BINGRP} --with-cgi-dir=${CGIDIR} + +### +# Set this to the directory (relative to each user's home) where CGI +# scripts will be found. (Another common value is "www/cgi-bin".) +### +CGIDIR= public_html/cgi-bin + +### +# The default security settings are very tight; enable one or more +# of these to loosen them. Run "configure -help" for information on +# these and other options. +### +#WITHOUTCHECK= --without-check-owner --without-check-setuid \ +# --without-check-group --without-check-setgid \ +# --without-check-group-writable \ +# --without-check-world-writable + +### +# Use these options for Apache: +### +INSTALLDIR= ${PREFIX}/www/cgi-bin +HTTPDUSER= --with-httpd-user=nobody + +pre-install: + ${MKDIR} ${PREFIX}/www/cgi-bin + +post-install: + strip ${INSTALLDIR}/cgiwrap +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/cgiwrap +.for file in accesscontrol.html afs.html changes.html comments.html \ + download.html faq.html index.html install.html intro.html \ + maillist.html notes.html pubs.html quickref.html setup.html \ + thanks.html todo.html tricks.html y2k.html + @${INSTALL_MAN} ${WRKSRC}/htdocs/${file} ${PREFIX}/share/doc/cgiwrap +.endfor + @${ECHO} "Documentation installed in ${PREFIX}/share/doc/cgiwrap" +.endif + +.include diff --git a/www/cgiwrap/distinfo b/www/cgiwrap/distinfo new file mode 100644 index 000000000000..8b267476b703 --- /dev/null +++ b/www/cgiwrap/distinfo @@ -0,0 +1 @@ +MD5 (cgiwrap-3.6.1.tar.gz) = 4eba57b54e3de0015c0facc66f0ad788 diff --git a/www/cgiwrap/pkg-comment b/www/cgiwrap/pkg-comment new file mode 100644 index 000000000000..e3df78f67c1c --- /dev/null +++ b/www/cgiwrap/pkg-comment @@ -0,0 +1 @@ +Make certain that CGI scripts run with the user's permissions. diff --git a/www/cgiwrap/pkg-descr b/www/cgiwrap/pkg-descr new file mode 100644 index 000000000000..f763c46b8a23 --- /dev/null +++ b/www/cgiwrap/pkg-descr @@ -0,0 +1,16 @@ +This is CGIWrap - a gateway that allows more secure user access to +CGI programs on an HTTPd server than is provided by the http server +itself. The primary function of CGIWrap is to make certain that +any CGI script runs with the permissions of the user who installed +it, and not those of the server. + +CGIWrap works with NCSA httpd, Apache, CERN httpd, NetSite Commerce +and Communications servers, and probably any other Unix based web +server software that supports CGI. + +CGIWrap was written by Nathan Neulinger . More +information is available at: http://wwwcgi.umr.edu/~cgiwrap + +Port to FreeBSD by +Brent J. Nordquist +Thu Jul 30 1998 diff --git a/www/cgiwrap/pkg-plist b/www/cgiwrap/pkg-plist new file mode 100644 index 000000000000..809ee6544c30 --- /dev/null +++ b/www/cgiwrap/pkg-plist @@ -0,0 +1,22 @@ +share/doc/cgiwrap/accesscontrol.html +share/doc/cgiwrap/afs.html +share/doc/cgiwrap/changes.html +share/doc/cgiwrap/comments.html +share/doc/cgiwrap/download.html +share/doc/cgiwrap/faq.html +share/doc/cgiwrap/index.html +share/doc/cgiwrap/install.html +share/doc/cgiwrap/intro.html +share/doc/cgiwrap/maillist.html +share/doc/cgiwrap/notes.html +share/doc/cgiwrap/pubs.html +share/doc/cgiwrap/quickref.html +share/doc/cgiwrap/setup.html +share/doc/cgiwrap/thanks.html +share/doc/cgiwrap/todo.html +share/doc/cgiwrap/tricks.html +share/doc/cgiwrap/y2k.html +www/cgi-bin/cgiwrap +www/cgi-bin/cgiwrapd +www/cgi-bin/nph-cgiwrap +www/cgi-bin/nph-cgiwrapd -- cgit v1.2.3