ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/pack/freebsd/diff/www/mod_wsgi/mod_wsgi.2010-05-18T095906Z.diff
(Generate patch)

Comparing freebsd/www/mod_wsgi.patch (file contents):
Revision 35 by douglas, 2008-08-22T16:07:56-07:00 vs.
Revision 125 by douglas, 2009-09-30T10:17:39-07:00

# Line 1 | Line 1
1   diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile
2 < --- /usr/ports/www/mod_wsgi/Makefile    2008-07-16 16:23:54.000000000 -0700
3 < +++ mod_wsgi/Makefile   2008-08-22 16:05:40.374980883 -0700
4 < @@ -6,7 +6,7 @@
2 > --- /usr/ports/www/mod_wsgi/Makefile    2009-05-21 13:45:34.000000000 -0700
3 > +++ mod_wsgi/Makefile   2009-09-30 10:16:54.000000000 -0700
4 > @@ -6,9 +6,10 @@
5   #
6  
7   PORTNAME=      mod_wsgi
8 < -PORTVERSION=   2.1
9 < +PORTVERSION=   2.2
8 > -PORTVERSION=   2.5
9 > +PORTVERSION=   2.6
10   CATEGORIES=    www python
11 < MASTER_SITES=  ${MASTER_SITE_GOOGLE_CODE}
11 > -MASTER_SITES=  ${MASTER_SITE_GOOGLE_CODE}
12 > +MASTER_SITES=  ${MASTER_SITE_GOOGLE_CODE} \
13 > +               http://code.douglasthrift.net/files/${PORTNAME}/
14  
15 + MAINTAINER=    douglas@douglasthrift.net
16 + COMMENT=       Python WSGI adapter module for Apache
17   diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/distinfo mod_wsgi/distinfo
18 < --- /usr/ports/www/mod_wsgi/distinfo    2008-07-16 16:23:54.000000000 -0700
19 < +++ mod_wsgi/distinfo   2008-08-22 14:26:12.755749948 -0700
18 > --- /usr/ports/www/mod_wsgi/distinfo    2009-05-14 01:18:55.000000000 -0700
19 > +++ mod_wsgi/distinfo   2009-09-30 09:58:50.000000000 -0700
20   @@ -1,3 +1,3 @@
21 < -MD5 (mod_wsgi-2.1.tar.gz) = 4e0e8b5a13e0be2fc5b038f1e3e826a2
22 < -SHA256 (mod_wsgi-2.1.tar.gz) = 7f1c28f1fbc585de2a15770c990e45b46d184245183775dd31e3a63bd30fc3a0
23 < -SIZE (mod_wsgi-2.1.tar.gz) = 96635
24 < +MD5 (mod_wsgi-2.2.tar.gz) = bff5bcf38cceb53c70e6bb4bad5f71d8
25 < +SHA256 (mod_wsgi-2.2.tar.gz) = 297ece749140101f7fc159ffabda84b2e23c9616de8be0dbf83979a521033818
26 < +SIZE (mod_wsgi-2.2.tar.gz) = 96836
23 < 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 < +++ mod_wsgi/files/patch-mod_wsgi.c     2008-08-22 15:15:59.347259483 -0700
26 < @@ -1,20 +1,25 @@
27 < ---- 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 < +--- mod_wsgi.c.orig    2008-08-21 22:31:15.000000000 -0700
33 < ++++ mod_wsgi.c 2008-08-22 15:15:46.620906832 -0700
34 < +@@ -7725,10 +7725,13 @@
35 < + {
36 < +     const char *display_name = NULL;
37 <  
38 < -+#ifdef __FreeBSD__
39 < -+    setproctitle(display_name);
40 < ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
41 < +#else
42 < -     argv0 = (char*)wsgi_server->process->argv[0];
43 < +     int slen = 0;
44 < +     int dlen = 0;
45 <  
46 < -     dlen = strlen(argv0);
47 < -@@ -7782,6 +7785,7 @@
48 < -         memcpy(argv0, display_name, slen);
49 < -     else
50 < -         memcpy(argv0, display_name, dlen);
51 < +     char *argv0 = NULL;
52 < +#endif
53 < - }
54 <  
55 < - static void wsgi_setup_access(WSGIDaemonProcess *daemon)
56 < +     display_name = daemon->group->display_name;
57 < +
58 < +@@ -7748,7 +7751,7 @@
59 < +      */
60 < +
61 < + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
62 < +-    setproctitle(display_name);
63 < ++    setproctitle("%s", display_name);
64 < + #else
65 < +     argv0 = (char*)wsgi_server->process->argv[0];
66 < +
21 > -MD5 (mod_wsgi-2.5.tar.gz) = 43ad11c477799e2f780c50197c420afd
22 > -SHA256 (mod_wsgi-2.5.tar.gz) = cdeaa75a452601582f85bb01deb2311a89b4c4f024712a0a6a07c0c431da3341
23 > -SIZE (mod_wsgi-2.5.tar.gz) = 97420
24 > +MD5 (mod_wsgi-2.6.tar.gz) = c313cd7a662024866ce3376cb5a76cf6
25 > +SHA256 (mod_wsgi-2.6.tar.gz) = 70ca565528bdb29d1f0903e39827288dca5bff7ffccf090957dd4ed02b51e497
26 > +SIZE (mod_wsgi-2.6.tar.gz) = 99955

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines