ports/127025: Update port: www/mod_wsgi Upgrade to 2.3

Douglas William Thrift douglas at douglasthrift.net
Mon Sep 1 15:30:02 UTC 2008


>Number:         127025
>Category:       ports
>Synopsis:       Update port: www/mod_wsgi Upgrade to 2.3
>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 Sep 01 15:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Douglas William Thrift
>Release:        FreeBSD 7.0-STABLE-jc2 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 7.0-STABLE-jc2 FreeBSD 7.0-STABLE-jc2 #0: Thu Jun 26 21:33:03 PDT 2008 user at jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Upgraded mod_wsgi to version 2.3.

http://code.google.com/p/modwsgi/wiki/ChangesInVersion0203
>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	2008-07-16 16:23:54.000000000 -0700
+++ mod_wsgi/Makefile	2008-08-23 14:36:28.012407983 -0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mod_wsgi
-PORTVERSION=	2.1
+PORTVERSION=	2.3
 CATEGORIES=	www python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo
--- /usr/ports/www/mod_wsgi/distinfo	2008-07-16 16:23:54.000000000 -0700
+++ mod_wsgi/distinfo	2008-08-23 14:24:58.962894986 -0700
@@ -1,3 +1,3 @@
-MD5 (mod_wsgi-2.1.tar.gz) = 4e0e8b5a13e0be2fc5b038f1e3e826a2
-SHA256 (mod_wsgi-2.1.tar.gz) = 7f1c28f1fbc585de2a15770c990e45b46d184245183775dd31e3a63bd30fc3a0
-SIZE (mod_wsgi-2.1.tar.gz) = 96635
+MD5 (mod_wsgi-2.3.tar.gz) = c686e1c498dbe5753fe491c3cf61cff4
+SHA256 (mod_wsgi-2.3.tar.gz) = 760f03e4d96dd0560717b06448af95bd79e91b59d31930171775a53bb7ec2375
+SIZE (mod_wsgi-2.3.tar.gz) = 96872
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c mod_wsgi/files/patch-mod_wsgi.c
--- /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c	2008-07-19 10:50:05.000000000 -0700
+++ mod_wsgi/files/patch-mod_wsgi.c	2008-08-23 14:27:52.434479783 -0700
@@ -1,20 +1,13 @@
---- mod_wsgi.c.orig	2008-06-18 16:35:40.000000000 +0200
-+++ mod_wsgi.c	2008-07-19 19:41:18.000000000 +0200
-@@ -7771,6 +7771,9 @@
-      * is restricted, need to truncate display name if too long.
-      */
+Index: mod_wsgi.c
+===================================================================
+--- mod_wsgi.c	(revision 1007)
++++ mod_wsgi.c	(revision 1008)
+@@ -245,7 +245,7 @@
+ /* Version and module information. */
  
-+#ifdef __FreeBSD__
-+    setproctitle(display_name);
-+#else
-     argv0 = (char*)wsgi_server->process->argv[0];
+ #define MOD_WSGI_MAJORVERSION_NUMBER 2
+-#define MOD_WSGI_MINORVERSION_NUMBER 2
++#define MOD_WSGI_MINORVERSION_NUMBER 3
+ #define MOD_WSGI_VERSION_STRING "2.3"
  
-     dlen = strlen(argv0);
-@@ -7782,6 +7785,7 @@
-         memcpy(argv0, display_name, slen);
-     else
-         memcpy(argv0, display_name, dlen);
-+#endif
- }
- 
- static void wsgi_setup_access(WSGIDaemonProcess *daemon)
+ #if AP_SERVER_MAJORVERSION_NUMBER < 2
--- mod_wsgi.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list