Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2009 01:51:48 -0800 (PST)
From:      Douglas William Thrift <douglas@douglasthrift.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/140805: Update port: www/mod_wsgi Upgrade to 2.6
Message-ID:  <200911230951.nAN9pmoU085117@slowhand.douglasthrift.net>
Resent-Message-ID: <200911231000.nANA0G2W006604@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         140805
>Category:       ports
>Synopsis:       Update port: www/mod_wsgi Upgrade to 2.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 23 10:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 7.2-RELEASE-p1-jc2 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 7.2-RELEASE-p1-jc2 FreeBSD 7.2-RELEASE-p1-jc2 #0: Thu Jun 18 15:16:49 PDT 2009 user@jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Upgraded mod_wsgi to version 2.7.

http://code.google.com/p/modwsgi/wiki/ChangesInVersion0207
>How-To-Repeat:
>Fix:
--- mod_wsgi.patch begins here ---
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile
--- /usr/ports/www/mod_wsgi/Makefile	2009-11-21 02:51:19.000000000 -0800
+++ mod_wsgi/Makefile	2009-11-23 00:47:08.000000000 -0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_wsgi
-PORTVERSION=	2.6
+PORTVERSION=	2.7
 CATEGORIES=	www python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE} \
 		http://apt.douglasthrift.net/files/${PORTNAME}/ \
@@ -17,10 +17,13 @@
 
 MAKE_JOBS_SAFE=	yes
 
+LATEST_LINK=	mod_wsgi
+CONFLICTS=	mod_wsgi-3.*
+
 PROJECTHOST=	modwsgi
 
 USE_APACHE=	1.3+
-USE_PYTHON=	2.3+
+USE_PYTHON=	2.3-2.6
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo
--- /usr/ports/www/mod_wsgi/distinfo	2009-10-11 05:19:17.000000000 -0700
+++ mod_wsgi/distinfo	2009-11-21 04:50:56.000000000 -0800
@@ -1,3 +1,3 @@
-MD5 (mod_wsgi-2.6.tar.gz) = c313cd7a662024866ce3376cb5a76cf6
-SHA256 (mod_wsgi-2.6.tar.gz) = 70ca565528bdb29d1f0903e39827288dca5bff7ffccf090957dd4ed02b51e497
-SIZE (mod_wsgi-2.6.tar.gz) = 99955
+MD5 (mod_wsgi-2.7.tar.gz) = 60f3bf145eb804286b5fbf4e730a7ed1
+SHA256 (mod_wsgi-2.7.tar.gz) = 5596b3968d4c90d667309f08f966e6f05b1bfae36b082783009af580aa5fa44b
+SIZE (mod_wsgi-2.7.tar.gz) = 99956
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/files/patch-configure mod_wsgi/files/patch-configure
--- /usr/ports/www/mod_wsgi/files/patch-configure	1969-12-31 16:00:00.000000000 -0800
+++ mod_wsgi/files/patch-configure	2009-11-23 00:40:04.000000000 -0800
@@ -0,0 +1,28 @@
+Index: configure
+===================================================================
+--- configure	(revision 1487)
++++ configure	(working copy)
+@@ -1851,16 +1851,22 @@
+ fi
+
+ CFLAGS1=""
++for arg in ${CFLAGS}
++do
++    CFLAGS1="${CFLAGS1} -Wc,$arg"
++done
++
++CFLAGS2=""
+ if test -x /usr/bin/lipo; then
+     LDFLAGS3=""
+     ARCHITECTURES=`/usr/bin/lipo -info $HTTPD | sed -e 's/.*://'`
+     for ARCH in $ARCHITECTURES; do
+-        CFLAGS1="${CFLAGS1} -Wc,'-arch ${ARCH}'"
++        CFLAGS2="${CFLAGS2} -Wc,'-arch ${ARCH}'"
+         LDFLAGS3="${LDFLAGS3} -arch ${ARCH}"
+     done
+ fi
+
+-CFLAGS="${CFLAGS} ${CFLAGS1}"
++CFLAGS="${CFLAGS1} ${CFLAGS2}"
+ LDFLAGS="${LDFLAGS} ${LDFLAGS1} ${LDFLAGS2} ${LDFLAGS3}"
+ LDLIBS="${LDLIBS} ${LDLIBS1} ${LDLIBS2} ${LDLIBS3}"
--- mod_wsgi.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911230951.nAN9pmoU085117>