ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/diff/www/mod_wsgi/mod_wsgi.2009-04-16T043025Z.diff
Revision: 39
Committed: 2008-08-23T14:40:01-07:00 (16 years, 10 months ago) by douglas
Original Path: freebsd/www/mod_wsgi.patch
File size: 2216 byte(s)
Log Message:
Upgrade to mod_wsgi 2.3 which I caused and fixes a lovely bug that made CGI not work.

File Contents

# User Rev Content
1 douglas 29 diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile
2 douglas 35 --- /usr/ports/www/mod_wsgi/Makefile 2008-07-16 16:23:54.000000000 -0700
3 douglas 39 +++ mod_wsgi/Makefile 2008-08-23 14:36:28.012407983 -0700
4 douglas 29 @@ -6,7 +6,7 @@
5     #
6    
7     PORTNAME= mod_wsgi
8 douglas 35 -PORTVERSION= 2.1
9 douglas 39 +PORTVERSION= 2.3
10 douglas 29 CATEGORIES= www python
11     MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
12    
13     diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo
14 douglas 35 --- /usr/ports/www/mod_wsgi/distinfo 2008-07-16 16:23:54.000000000 -0700
15 douglas 39 +++ mod_wsgi/distinfo 2008-08-23 14:24:58.962894986 -0700
16 douglas 29 @@ -1,3 +1,3 @@
17 douglas 35 -MD5 (mod_wsgi-2.1.tar.gz) = 4e0e8b5a13e0be2fc5b038f1e3e826a2
18     -SHA256 (mod_wsgi-2.1.tar.gz) = 7f1c28f1fbc585de2a15770c990e45b46d184245183775dd31e3a63bd30fc3a0
19     -SIZE (mod_wsgi-2.1.tar.gz) = 96635
20 douglas 39 +MD5 (mod_wsgi-2.3.tar.gz) = c686e1c498dbe5753fe491c3cf61cff4
21     +SHA256 (mod_wsgi-2.3.tar.gz) = 760f03e4d96dd0560717b06448af95bd79e91b59d31930171775a53bb7ec2375
22     +SIZE (mod_wsgi-2.3.tar.gz) = 96872
23 douglas 35 diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c mod_wsgi/files/patch-mod_wsgi.c
24     --- /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c 2008-07-19 10:50:05.000000000 -0700
25 douglas 39 +++ mod_wsgi/files/patch-mod_wsgi.c 2008-08-23 14:27:52.434479783 -0700
26     @@ -1,20 +1,13 @@
27 douglas 35 ---- mod_wsgi.c.orig 2008-06-18 16:35:40.000000000 +0200
28     -+++ mod_wsgi.c 2008-07-19 19:41:18.000000000 +0200
29     -@@ -7771,6 +7771,9 @@
30     - * is restricted, need to truncate display name if too long.
31     - */
32 douglas 39 +Index: mod_wsgi.c
33     +===================================================================
34     +--- mod_wsgi.c (revision 1007)
35     ++++ mod_wsgi.c (revision 1008)
36     +@@ -245,7 +245,7 @@
37     + /* Version and module information. */
38 douglas 35
39     -+#ifdef __FreeBSD__
40     -+ setproctitle(display_name);
41 douglas 39 -+#else
42 douglas 35 - argv0 = (char*)wsgi_server->process->argv[0];
43 douglas 39 + #define MOD_WSGI_MAJORVERSION_NUMBER 2
44     +-#define MOD_WSGI_MINORVERSION_NUMBER 2
45     ++#define MOD_WSGI_MINORVERSION_NUMBER 3
46     + #define MOD_WSGI_VERSION_STRING "2.3"
47 douglas 35
48     - dlen = strlen(argv0);
49     -@@ -7782,6 +7785,7 @@
50     - memcpy(argv0, display_name, slen);
51     - else
52     - memcpy(argv0, display_name, dlen);
53 douglas 39 -+#endif
54 douglas 35 - }
55 douglas 39 -
56 douglas 35 - static void wsgi_setup_access(WSGIDaemonProcess *daemon)
57 douglas 39 + #if AP_SERVER_MAJORVERSION_NUMBER < 2