Date: Sat, 13 Apr 2002 07:40:29 +0900 (KST) From: Hye-Shik Chang <perky@fallin.lv> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/37028: New port: www/scgi Message-ID: <200204122240.g3CMeTbY044417@akaraka.yonsei.ac.kr>
next in thread | raw e-mail | index | archive | help
>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 <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: >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?200204122240.g3CMeTbY044417>