Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 1998 09:46:16 -0500 (CDT)
From:      bjn@visi.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/7445: New port: cgiwrap-3.6.1
Message-ID:  <199807301446.JAA03301@isis.visi.com>

next in thread | raw e-mail | index | archive | help

>Number:         7445
>Category:       ports
>Synopsis:       New port: cgiwrap-3.6.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 30 08:10:01 PDT 1998
>Last-Modified:
>Originator:     Brent J. Nordquist
>Organization:
None
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:


>Description:

	This is cgiwrap-3.6.1, an HTTP server CGI script wrapper that makes
	sure user's CGI scripts are run with the user's privileges.  I have it
	working for Apache; additions to Makefile for other HTTP servers
	would be welcome!

>How-To-Repeat:


>Fix:
	
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	www/cgiwrap
#	www/cgiwrap/Makefile
#	www/cgiwrap/pkg
#	www/cgiwrap/pkg/DESCR
#	www/cgiwrap/pkg/COMMENT
#	www/cgiwrap/pkg/PLIST
#	www/cgiwrap/files
#	www/cgiwrap/files/md5
#
echo c - www/cgiwrap
mkdir -p www/cgiwrap > /dev/null 2>&1
echo x - www/cgiwrap/Makefile
sed 's/^X//' >www/cgiwrap/Makefile << 'END-of-www/cgiwrap/Makefile'
X# New ports collection makefile for:    cgiwrap
X# Version required:     3.6.1
X# Date created:         30 July 1998
X# Whom:                 Brent J. Nordquist <bjn@visi.com>
X#
X# $Id$
X#
X
XDISTNAME=	cgiwrap-3.6.1
XCATEGORIES=	www
XMASTER_SITES=	http://www.umr.edu/~cgiwrap/dist/ \
X		ftp://ftp.umr.edu/pub/cgi/cgiwrap/ \
X		ftp://concert.cert.dfn.de/pub/tools/net/cgiwrap/
X
XMAINTAINER=	bjn@visi.com
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	${HTTPDUSER} ${WITHOUTCHECK} --with-install-dir=${INSTALLDIR} \
X		--with-install-group=${BINGRP} --with-cgi-dir=${CGIDIR}
X
X###
X# Set this to the directory (relative to each user's home) where CGI
X# scripts will be found.  (Another common value is "www/cgi-bin".)
X###
XCGIDIR=		public_html/cgi-bin
X
X###
X# The default security settings are very tight; enable one or more
X# of these to loosen them.  Run "configure -help" for information on
X# these and other options.
X###
X#WITHOUTCHECK=	--without-check-owner --without-check-setuid \
X#		--without-check-group --without-check-setgid \
X#		--without-check-group-writable \
X#		--without-check-world-writable
X
X###
X# Use these options for Apache:
X###
XINSTALLDIR=	${PREFIX}/www/cgi-bin
XHTTPDUSER=	--with-httpd-user=nobody
X
Xpost-install:
X	strip ${INSTALLDIR}/cgiwrap
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/share/doc/cgiwrap
X.for file in accesscontrol.html afs.html changes.html comments.html \
X		download.html faq.html index.html install.html intro.html \
X		maillist.html notes.html pubs.html quickref.html setup.html \
X		thanks.html todo.html tricks.html y2k.html
X	@${INSTALL_MAN} ${WRKSRC}/htdocs/${file} ${PREFIX}/share/doc/cgiwrap
X.endfor
X	@${ECHO} "Documentation installed in ${PREFIX}/share/doc/cgiwrap"
X.endif
X
X.include <bsd.port.mk>
END-of-www/cgiwrap/Makefile
echo c - www/cgiwrap/pkg
mkdir -p www/cgiwrap/pkg > /dev/null 2>&1
echo x - www/cgiwrap/pkg/DESCR
sed 's/^X//' >www/cgiwrap/pkg/DESCR << 'END-of-www/cgiwrap/pkg/DESCR'
XThis is CGIWrap - a gateway that allows more secure user access to
XCGI programs on an HTTPd server than is provided by the http server
Xitself. The primary function of CGIWrap is to make certain that
Xany CGI script runs with the permissions of the user who installed
Xit, and not those of the server.
X
XCGIWrap works with NCSA httpd, Apache, CERN httpd, NetSite Commerce
Xand Communications servers, and probably any other Unix based web
Xserver software that supports CGI.
X
XCGIWrap was written by Nathan Neulinger <nneul@umr.edu>.  More
Xinformation is available at:  http://wwwcgi.umr.edu/~cgiwrap
X
XPort to FreeBSD by
XBrent J. Nordquist <bjn@visi.com>
XThu Jul 30 1998
END-of-www/cgiwrap/pkg/DESCR
echo x - www/cgiwrap/pkg/COMMENT
sed 's/^X//' >www/cgiwrap/pkg/COMMENT << 'END-of-www/cgiwrap/pkg/COMMENT'
XMake certain that CGI scripts run with the user's permissions.
END-of-www/cgiwrap/pkg/COMMENT
echo x - www/cgiwrap/pkg/PLIST
sed 's/^X//' >www/cgiwrap/pkg/PLIST << 'END-of-www/cgiwrap/pkg/PLIST'
Xshare/doc/cgiwrap/accesscontrol.html
Xshare/doc/cgiwrap/afs.html
Xshare/doc/cgiwrap/changes.html
Xshare/doc/cgiwrap/comments.html
Xshare/doc/cgiwrap/download.html
Xshare/doc/cgiwrap/faq.html
Xshare/doc/cgiwrap/index.html
Xshare/doc/cgiwrap/install.html
Xshare/doc/cgiwrap/intro.html
Xshare/doc/cgiwrap/maillist.html
Xshare/doc/cgiwrap/notes.html
Xshare/doc/cgiwrap/pubs.html
Xshare/doc/cgiwrap/quickref.html
Xshare/doc/cgiwrap/setup.html
Xshare/doc/cgiwrap/thanks.html
Xshare/doc/cgiwrap/todo.html
Xshare/doc/cgiwrap/tricks.html
Xshare/doc/cgiwrap/y2k.html
Xwww/cgi-bin/cgiwrap
Xwww/cgi-bin/cgiwrapd
Xwww/cgi-bin/nph-cgiwrap
Xwww/cgi-bin/nph-cgiwrapd
END-of-www/cgiwrap/pkg/PLIST
echo c - www/cgiwrap/files
mkdir -p www/cgiwrap/files > /dev/null 2>&1
echo x - www/cgiwrap/files/md5
sed 's/^X//' >www/cgiwrap/files/md5 << 'END-of-www/cgiwrap/files/md5'
XMD5 (cgiwrap-3.6.1.tar.gz) = 4eba57b54e3de0015c0facc66f0ad788
END-of-www/cgiwrap/files/md5
exit



>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301446.JAA03301>