From owner-freebsd-ports Thu Jul 30 12:20:15 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA00177 for freebsd-ports-outgoing; Thu, 30 Jul 1998 12:20:15 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA00109 for ; Thu, 30 Jul 1998 12:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA14728; Thu, 30 Jul 1998 12:20:01 -0700 (PDT) Received: from mixer.visi.com (mixer.visi.com [209.98.98.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA29731 for ; Thu, 30 Jul 1998 12:19:25 -0700 (PDT) (envelope-from nordquis@visi.com) Received: from isis.visi.com (nordquis@isis.visi.com [209.98.98.8]) by mixer.visi.com (8.8.8/8.7.5) with ESMTP id MAA19404; Thu, 30 Jul 1998 12:32:04 -0500 (CDT) Received: (from nordquis@localhost) by isis.visi.com (8.8.8/8.8.8) id MAA09367; Thu, 30 Jul 1998 12:32:00 -0500 (CDT) Message-Id: <199807301732.MAA09367@isis.visi.com> Date: Thu, 30 Jul 1998 12:32:00 -0500 (CDT) From: "Brent J. Nordquist" Reply-To: "Brent J. Nordquist" To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: bjn@visi.com (Brent J. Nordquist) Subject: ports/7448: New port: cgiwrap-3.6.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7448 >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 12:20:00 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 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 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 . More Xinformation is available at: http://wwwcgi.umr.edu/~cgiwrap X XPort to FreeBSD by XBrent J. Nordquist 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: X-send-pr-version: 3.2 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message