ports/122612: New port: www/mod_wsgi Python WSGI adapter module for Apache
Douglas William Thrift
douglas at douglasthrift.net
Thu Apr 10 01:00:02 UTC 2008
>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 at 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 at 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 <bsd.port.mk>
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 at comment $FreeBSD$
X at unexec /usr/bin/sed -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
X%%APACHEMODDIR%%/%%AP_MODULE%%
X at exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
X at 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:
More information about the freebsd-ports-bugs
mailing list