From owner-freebsd-python@FreeBSD.ORG Sun Feb 11 21:51:58 2007 Return-Path: X-Original-To: python@freebsd.org Delivered-To: freebsd-python@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2290816A406; Sun, 11 Feb 2007 21:51:58 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from knight.lwhsu.ckefgisc.org (lwhsu.Dorm7.NCTU.edu.tw [140.113.90.48]) by mx1.freebsd.org (Postfix) with ESMTP id DBA4213C49D; Sun, 11 Feb 2007 21:51:55 +0000 (UTC) (envelope-from lwhsu@jail0.lwhsu.csie.net) Received: from jail0.lwhsu.csie.net (jail0 [192.168.173.100]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by knight.lwhsu.ckefgisc.org (Postfix) with ESMTP id 45BC01142A; Mon, 12 Feb 2007 05:51:54 +0800 (CST) Received: (from lwhsu@localhost) by jail0.lwhsu.csie.net (8.13.8/8.13.8/Submit) id l1BLpqpD076307; Mon, 12 Feb 2007 05:51:52 +0800 (CST) (envelope-from lwhsu) Date: Mon, 12 Feb 2007 05:51:52 +0800 (CST) Message-Id: <200702112151.l1BLpqpD076307@jail0.lwhsu.csie.net> To: FreeBSD-gnats-submit@freebsd.org From: Li-Wen Hsu X-send-pr-version: 3.113 X-GNATS-Notify: Cc: python@freebsd.org, lwhsu@lwhsu.org Subject: [PATCH] www/py-django: Add FastCGI support X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Feb 2007 21:51:58 -0000 >Submitter-Id: current-users >Originator: Li-Wen Hsu >Organization: >Confidential: no >Synopsis: [PATCH] www/py-django: Add FastCGI support >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 6.2-STABLE i386 >Environment: System: FreeBSD jail0.lwhsu.csie.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Jan 26 00:04:54 CST 2007 >Description: -Add FastCGI support Port maintainer (python@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py24-django-0.95_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/py-django/Makefile /home/lwhsu/ports/www/py-django/Makefile --- /usr/ports/www/py-django/Makefile Sat Nov 18 02:07:44 2006 +++ /home/lwhsu/ports/www/py-django/Makefile Mon Feb 12 05:43:48 2007 @@ -7,7 +7,7 @@ PORTNAME?= django PORTVERSION?= 0.95 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= www python MASTER_SITES?= http://media.djangoproject.com/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,7 +32,8 @@ OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \ POSTGRESQL "PostgreSQL support" off \ MYSQL "MySQL support" off \ - SQLITE "SQLite support" off + SQLITE "SQLite support" off \ + FASTCGI "FastCGI support" off # bypass infrastructure bug OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options @@ -53,6 +54,11 @@ .if defined(WITH_SQLITE) RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 +.endif + +.if defined(WITH_FASTCGI) +PYFLUP_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-flup/Makefile -V PYFLUP_EGG +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYFLUP_EGG}/flup/__init__.py:${PORTSDIR}/www/py-flup .endif post-install: --- py24-django-0.95_2.patch ends here ---