ports/76310: New port: www/cgiutils - cgi shell scripting utils

Johan van Selst johans at stack.nl
Sun Jan 16 17:40:27 UTC 2005


>Number:         76310
>Category:       ports
>Synopsis:       New port: www/cgiutils - cgi shell scripting utils
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 16 17:40:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD coyote.gletsjer.net 6.0-CURRENT FreeBSD 6.0-CURRENT #25: Sun Dec 26 14:32:05 CET 2004 root at coyote.gletsjer.net:/spare3/obj/spare3/src/sys/coyote i386


	
>Description:
	
	cgiparse and cgiutils come standard with the w3c-httpd webserver.

	Hardly anybody installs this as their webserver anymore these days,
	but these two tools are still considered useful to facilitate
	writing CGI-handling shell scripts.

>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:
#
#	cgiutils
#	cgiutils/Makefile
#	cgiutils/pkg-descr
#	cgiutils/distinfo
#
echo c - cgiutils
mkdir -p cgiutils > /dev/null 2>&1
echo x - cgiutils/Makefile
sed 's/^X//' >cgiutils/Makefile << 'END-of-cgiutils/Makefile'
X# New ports collection makefile for:	cgiutils
X# Date created:				16 January 2005
X# Whom:					johans
X#
X# $FreeBSD$
X#
X
XPORTNAME=	cgiutils
XPORTVERSION=	3.0A
XCATEGORIES=	www
XMASTER_SITES=	ftp://ftp.stack.nl/pub/users/johans/cgiutils/ \
X	ftp://mud.stack.nl/pub/cgiutils/
X
XMAINTAINER=	johans at stack.nl
XCOMMENT=	Utilities to make CGI shell scripting easy
X
XLIB_DEPENDS=	wwwcore:${PORTSDIR}/www/libwww \
X	wwwutils:${PORTSDIR}/www/libwww
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XPLIST_FILES=	bin/cgiparse bin/cgiutils
X
X.include <bsd.port.mk>
END-of-cgiutils/Makefile
echo x - cgiutils/pkg-descr
sed 's/^X//' >cgiutils/pkg-descr << 'END-of-cgiutils/pkg-descr'
Xcgiparse is a small utility to help create shell script CGI's to parse
Xthe output from web forms. It can put the form results in shell variables.
XA typical invocation would be:  eval "`cgiparse -prefix QS_ -form`"
X
Xcgiutils can be used to generate HTTP headers for a CGI shell script.
XA typical invocation would be:  cgiutils -status 200 -ct text/html
X
XThese programs are also distributed with the w3c-httpd
END-of-cgiutils/pkg-descr
echo x - cgiutils/distinfo
sed 's/^X//' >cgiutils/distinfo << 'END-of-cgiutils/distinfo'
XMD5 (cgiutils-3.0A.tar.gz) = 6d900461a74e612160e41a732661be37
XSIZE (cgiutils-3.0A.tar.gz) = 21077
END-of-cgiutils/distinfo
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list