Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 11:51:36 -0400 (EDT)
From:      petef@databits.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27967: Update www/cgiwrap to version 3.6.4
Message-ID:  <200106081551.f58Fpa460441@electron.databits.net>

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

>Number:         27967
>Category:       ports
>Synopsis:       Update www/cgiwrap to version 3.6.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 08 09:00:06 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Pete Fritchman
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Databits Network Services, Inc.
>Environment:
System: FreeBSD electron.databits.net 4.3-STABLE FreeBSD 4.3-STABLE #5: Sat Jun 2 18:08:29 EDT 2001 root@electron.databits.net:/usr/obj/usr/src/sys/ELECTRON i386

>Description:

This is really a general overhaul to www/cgiwrap as well:

- update to version 3.6.4
- clean up Makefile (add "security" to the list of categories, sourceforge,
  make user config parts a bit more graceful, make some things quiet with @)
- take over as maintainer from ports@
- +pkg-message
- better comment
- update pkg-descr to reflect new home
- install scripts to ${PREFIX}/www/cgi-bin opposed to share/apache for two
  reasons:
    * www/cgi-bin is a more logical place for cgi scripts
    * this port is not apache-specific

>How-To-Repeat:

N/A

>Fix:

(Please remember to add pkg-message, thanks!)

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/cgiwrap/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	2001/05/23 05:50:49	1.10
+++ Makefile	2001/06/08 15:47:35
@@ -6,54 +6,55 @@
 #
 
 PORTNAME=	cgiwrap
-PORTVERSION=	3.6.3
-CATEGORIES=	www
-MASTER_SITES=	http://www.unixtools.org/cgiwrap/dist/ \
-		ftp://ftp.umr.edu/pub/cgi/cgiwrap/ \
-		ftp://concert.cert.dfn.de/pub/tools/net/cgiwrap/
+PORTVERSION=	3.6.4
+CATEGORIES=	www security
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	${PORTNAME}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	petef@databits.net
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	${HTTPDUSER} ${WITHOUTCHECK} --with-install-dir=${INSTALLDIR} \
-		--with-install-group=${BINGRP} --with-cgi-dir=${CGIDIR}
+CONFIGURE_ARGS=	--with-httpd-user=${HTTPDUSER} \
+		--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
 # 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
 # of these to loosen them.  Run "configure -help" for information on
 # 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-writable \
 #		--without-check-world-writable
-
 ###
 # Use these options for Apache:
 ###
-INSTALLDIR=	${PREFIX}/share/apache/cgi-bin
-HTTPDUSER=	--with-httpd-user=nobody
+MAINCGIDIR?=	${PREFIX}/www/cgi-bin
+HTTPDUSER?=	nobody
 
 pre-install:
-	${MKDIR} ${INSTALLDIR}
+	@${MKDIR} ${MAINCGIDIR}
 
 post-install:
-	strip ${INSTALLDIR}/cgiwrap
+	strip ${MAINCGIDIR}/cgiwrap
 .if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/cgiwrap
+	@${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
+	@${INSTALL_DATA} ${WRKSRC}/htdocs/${file} ${PREFIX}/share/doc/cgiwrap
 .endfor
 	@${ECHO} "Documentation installed in ${PREFIX}/share/doc/cgiwrap"
 .endif
+	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/www/cgiwrap/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	1999/05/18 02:53:43	1.3
+++ distinfo	2001/06/08 14:26:39
@@ -1 +1 @@
-MD5 (cgiwrap-3.6.3.tar.gz) = 583179e252608967bc5e83a17d3bd1d2
+MD5 (cgiwrap-3.6.4.tar.gz) = 10e5a74a3a32ca8c032a0a5bbd147c56
Index: pkg-comment
===================================================================
RCS file: /home/ncvs/ports/www/cgiwrap/pkg-comment,v
retrieving revision 1.2
diff -u -r1.2 pkg-comment
--- pkg-comment	1999/06/26 19:04:42	1.2
+++ pkg-comment	2001/06/08 15:43:40
@@ -1 +1 @@
-Make certain that CGI scripts run with the user's permissions
+Securely execute ~user CGI scripts
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/www/cgiwrap/pkg-descr,v
retrieving revision 1.2
diff -u -r1.2 pkg-descr
--- pkg-descr	1999/05/03 04:40:20	1.2
+++ pkg-descr	2001/06/08 14:22:03
@@ -8,11 +8,7 @@
 and Communications servers, and probably any other Unix based web
 server software that supports CGI.
 
-CGIWrap was written by Nathan Neulinger <nneul@umr.edu>.  More
-information is available at the website
+WWW: http://cgiwrap.unixtools.org/
 
-WWW: http://wwwcgi.umr.edu/~cgiwrap
-
-Port to FreeBSD by
-Brent J. Nordquist <bjn@visi.com>
-Thu Jul 30 1998
+- Pete
+petef@databits.net
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/www/cgiwrap/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist	2001/05/23 05:49:00	1.3
+++ pkg-plist	2001/06/08 14:41:39
@@ -16,8 +16,8 @@
 %%PORTDOCS%%share/doc/cgiwrap/todo.html
 %%PORTDOCS%%share/doc/cgiwrap/tricks.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
-share/apache/cgi-bin/cgiwrap
-share/apache/cgi-bin/cgiwrapd
-share/apache/cgi-bin/nph-cgiwrap
-share/apache/cgi-bin/nph-cgiwrapd

===================================================================
--- /dev/null	Fri Jun  8 10:41:50 2001
+++ pkg-message	Fri Jun  8 11:40:20 2001
@@ -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.
+-----------------------------------------------------------------
>Release-Note:
>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?200106081551.f58Fpa460441>