From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 10 01:00:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23254106566C for ; Thu, 10 Apr 2008 01:00:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA8968FC23 for ; Thu, 10 Apr 2008 01:00:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3A101na002109 for ; Thu, 10 Apr 2008 01:00:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3A101Zb002108; Thu, 10 Apr 2008 01:00:01 GMT (envelope-from gnats) Resent-Date: Thu, 10 Apr 2008 01:00:01 GMT Resent-Message-Id: <200804100100.m3A101Zb002108@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Douglas William Thrift Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A10D0106566C for ; Thu, 10 Apr 2008 00:53:24 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7F18B8FC15 for ; Thu, 10 Apr 2008 00:53:24 +0000 (UTC) (envelope-from douglas@slowhand.douglasthrift.net) Received: from slowhand.douglasthrift.net (slowhand.douglasthrift.net [69.55.236.40]) by slowhand.douglasthrift.net (8.14.2/8.14.1) with ESMTP id m3A0rNSM094995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 9 Apr 2008 17:53:24 -0700 (PDT) (envelope-from douglas@slowhand.douglasthrift.net) Received: (from douglas@localhost) by slowhand.douglasthrift.net (8.14.2/8.14.1/Submit) id m3A0rN5d094994; Wed, 9 Apr 2008 17:53:23 -0700 (PDT) (envelope-from douglas) Message-Id: <200804100053.m3A0rN5d094994@slowhand.douglasthrift.net> Date: Wed, 9 Apr 2008 17:53:23 -0700 (PDT) From: Douglas William Thrift To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/122612: New port: www/mod_wsgi Python WSGI adapter module for Apache X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas William Thrift List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2008 01:00:02 -0000 >Number: 122612 >Category: ports >Synopsis: New port: www/mod_wsgi Python WSGI adapter module for Apache >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 10 01:00:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Douglas William Thrift >Release: FreeBSD 6.2-RELEASE-p11-jc2 i386 >Organization: >Environment: System: FreeBSD slowhand.douglasthrift.net 6.2-RELEASE-p11-jc2 FreeBSD 6.2-RELEASE-p11-jc2 #1: Wed Mar 19 15:36:11 PDT 2008 user@jail7.johncompanies.com:/usr/obj/usr/src/sys/jail7 i386 >Description: The mod_wsgi adapter is an Apache module that provides a WSGI compliant interface for hosting Python based web applications within Apache. The adapter is written completely in C code against the Apache C runtime and for hosting WSGI applications within Apache has a lower overhead than using existing WSGI adapters for mod_python or CGI. >How-To-Repeat: >Fix: --- mod_wsgi.shar begins here --- #!/bin/sh # This is a shell archive echo x mod_wsgi mkdir -p mod_wsgi > /dev/null 2>&1 echo x mod_wsgi/Makefile sed 's/^X//' > mod_wsgi/Makefile << 'SHAR_END' X# New ports collection makefile for: mod_wsgi X# Date created: 07 April 2008 X# Whom: Douglas Thrift X# X# $FreeBSD$ X# X XPORTNAME= mod_wsgi XPORTVERSION= 2.0 XCATEGORIES= www python XMASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} X XMAINTAINER= douglas@douglasthrift.net XCOMMENT= Python WSGI adapter module for Apache X XPROJECTHOST= modwsgi X XUSE_APACHE= 1.3+ XUSE_PYTHON= 2.3+ X XGNU_CONFIGURE= yes XCONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}" X Xpost-install: X @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so" X @${CAT} ${PKGMESSAGE} X X.include SHAR_END echo x mod_wsgi/distinfo sed 's/^X//' > mod_wsgi/distinfo << 'SHAR_END' XMD5 (mod_wsgi-2.0.tar.gz) = 72e871d4fda1da33829ae3c7f3f2aeb6 XSHA256 (mod_wsgi-2.0.tar.gz) = 6ccf94e88ecce945fe1c7bf1dd77abc725c8623b96b93a0cd9e3d0692b30500b XSIZE (mod_wsgi-2.0.tar.gz) = 96622 SHAR_END echo x mod_wsgi/pkg-descr sed 's/^X//' > mod_wsgi/pkg-descr << 'SHAR_END' XThe mod_wsgi adapter is an Apache module that provides a WSGI compliant Xinterface for hosting Python based web applications within Apache. The Xadapter is written completely in C code against the Apache C runtime and Xfor hosting WSGI applications within Apache has a lower overhead than using Xexisting WSGI adapters for mod_python or CGI. X XWWW: http://www.modwsgi.org/ SHAR_END echo x mod_wsgi/pkg-plist sed 's/^X//' > mod_wsgi/pkg-plist << 'SHAR_END' X@comment $FreeBSD$ X@unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf X%%APACHEMODDIR%%/%%AP_MODULE%% X@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F X@unexec echo "Don't forget to remove all mod_wsgi-related directives in your httpd.conf" SHAR_END echo x mod_wsgi/pkg-message sed 's/^X//' > mod_wsgi/pkg-message << 'SHAR_END' X================================================================================ X XFor more information, see http://www.modwsgi.org/. X X================================================================================ SHAR_END exit --- mod_wsgi.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: