ports/109058: [PATCH] www/py-django: Add FastCGI support

Li-Wen Hsu lwhsu at lwhsu.org
Sun Feb 11 22:00:16 UTC 2007


>Number:         109058
>Category:       ports
>Synopsis:       [PATCH] www/py-django: Add FastCGI support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 11 22:00:15 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Li-Wen Hsu
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>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 at 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 ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list