From perky@akaraka.yonsei.ac.kr  Fri Apr 12 15:40:37 2002
Return-Path: <perky@akaraka.yonsei.ac.kr>
Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53])
	by hub.freebsd.org (Postfix) with ESMTP id A6F9037B400
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 12 Apr 2002 15:40:35 -0700 (PDT)
Received: from akaraka.yonsei.ac.kr (localhost.yonsei.ac.kr [127.0.0.1])
	by akaraka.yonsei.ac.kr (8.12.3/8.12.2) with ESMTP id g3CMeYuU044418
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 Apr 2002 07:40:34 +0900 (KST)
	(envelope-from perky@akaraka.yonsei.ac.kr)
Received: (from perky@localhost)
	by akaraka.yonsei.ac.kr (8.12.3/8.12.2/Submit) id g3CMeTbY044417;
	Sat, 13 Apr 2002 07:40:29 +0900 (KST)
Message-Id: <200204122240.g3CMeTbY044417@akaraka.yonsei.ac.kr>
Date: Sat, 13 Apr 2002 07:40:29 +0900 (KST)
From: Hye-Shik Chang <perky@fallin.lv>
Reply-To: Hye-Shik Chang <perky@fallin.lv>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: www/scgi
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         37028
>Category:       ports
>Synopsis:       New port: www/scgi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perky
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 12 15:50:01 PDT 2002
>Closed-Date:    Mon Aug 12 13:23:52 GMT 2002
>Last-Modified:  Mon Aug 12 13:23:52 GMT 2002
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Wed Apr 10 04:16:59 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
New port for scgi, the FastCGI-like CGI protocol module for Apache

>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:
#
#	scgi
#	scgi/distinfo
#	scgi/Makefile
#	scgi/pkg-descr
#	scgi/pkg-plist
#	scgi/pkg-comment
#	scgi/pkg-message
#
echo c - scgi
mkdir -p scgi > /dev/null 2>&1
echo x - scgi/distinfo
sed 's/^X//' >scgi/distinfo << 'END-of-scgi/distinfo'
XMD5 (scgi-0.2.tar.gz) = 586892ad689e31383c21267590474f89
END-of-scgi/distinfo
echo x - scgi/Makefile
sed 's/^X//' >scgi/Makefile << 'END-of-scgi/Makefile'
X# New ports collection makefile for:	scgi
X# Date created:		12 April 2002
X# Whom:			Hye-Shik Chang <perky@fallin.lv>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	scgi
XPORTVERSION=	0.2
XCATEGORIES=	www python
XMASTER_SITES=	http://www.mems-exchange.org/software/files/scgi/
XPKGNAMESUFFIX=	-py${PYTHON_SUFFIX}
X
XMAINTAINER=	perky@fallin.lv
X
XBUILD_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
XRUN_DEPENDS=	${APXS}:${PORTSDIR}/www/apache13
X
XUSE_PYTHON=	yes
XSETUP_CMD=	cd ${WRKSRC} && ${PYTHON_CMD} setup.py
XAPXS?=		${PREFIX}/sbin/apxs
X
Xpost-patch:
X	${PERL} -pi -e 's,python,${PYTHON_CMD},g; s,apxs,${APXS},g; s,\$$<,mod_scgi.c,g;' \
X		${WRKSRC}/Makefile
X
Xdo-install:
X	cd ${WRKSRC} && ${APXS} -i -a mod_scgi.so
X	${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-scgi/Makefile
echo x - scgi/pkg-descr
sed 's/^X//' >scgi/pkg-descr << 'END-of-scgi/pkg-descr'
XThe SCGI protocol is a replacement for the Common Gateway Interface
X(CGI) protocol. It is a standard for applications to interface with
Xinformation servers such as HTTP servers. It is similar to FastCGI
Xbut is designed to be easier to implement.
XIncluded in this package is mod_scgi, an Apache module that implements
Xthe client side of the protocol. There is also a a Python package
Xcalled scgi which implements the server side of the protocol.
X
XWWW: http://www.mems-exchange.org/software/scgi/
END-of-scgi/pkg-descr
echo x - scgi/pkg-plist
sed 's/^X//' >scgi/pkg-plist << 'END-of-scgi/pkg-plist'
Xlibexec/apache/mod_scgi.so
X@exec %D/sbin/apxs -e -a -n scgi %f
X@unexec %D/sbin/apxs -e -A -n scgi %f
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/__init__.py
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/__init__.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/__init__.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/passfd.so
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/quixote_handler.py
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/quixote_handler.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/quixote_handler.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/scgi_server.py
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/scgi_server.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/scgi_server.pyo
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/test_passfd.py
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/test_passfd.pyc
Xlib/%%PYTHON_VERSION%%/site-packages/scgi/test_passfd.pyo
X@dirrm lib/%%PYTHON_VERSION%%/site-packages/scgi
END-of-scgi/pkg-plist
echo x - scgi/pkg-comment
sed 's/^X//' >scgi/pkg-comment << 'END-of-scgi/pkg-comment'
XFastCGI-like CGI service module for Apache
END-of-scgi/pkg-comment
echo x - scgi/pkg-message
sed 's/^X//' >scgi/pkg-message << 'END-of-scgi/pkg-message'
X===========================================================
X You can serve a set of URLs under one path using mod_scgi
X use the Location directive on httpd.conf:
X
X  <Location "/dynamic">
X    SCGIServer 127.0.0.1 4000
X    SCGIHandler On
X  </Location>
X===========================================================
END-of-scgi/pkg-message
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->perky 
Responsible-Changed-By: perky 
Responsible-Changed-When: Thu Jun 27 18:51:33 GMT 2002 
Responsible-Changed-Why:  
my PR 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37028 
State-Changed-From-To: open->closed 
State-Changed-By: perky 
State-Changed-When: Mon Aug 12 13:23:31 GMT 2002 
State-Changed-Why:  
New version is available. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=37028 
>Unformatted:
