From owner-freebsd-ports Fri Apr 12 15:50:38 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A7B3837B419 for ; Fri, 12 Apr 2002 15:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3CMo1W09369; Fri, 12 Apr 2002 15:50:01 -0700 (PDT) (envelope-from gnats) Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53]) by hub.freebsd.org (Postfix) with ESMTP id A6F9037B400 for ; 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 ; 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 Reply-To: Hye-Shik Chang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37028: New port: www/scgi Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37028 >Category: ports >Synopsis: New port: www/scgi >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 12 15:50:01 PDT 2002 >Closed-Date: >Last-Modified: >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 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 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 X SCGIServer 127.0.0.1 4000 X SCGIHandler On X X=========================================================== END-of-scgi/pkg-message exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message