1 |
+ |
diff -Nrux .svn -x work /usr/ports/www/mod_wsgi/Makefile mod_wsgi/Makefile |
2 |
+ |
--- /usr/ports/www/mod_wsgi/Makefile 2008-09-02 14:55:40.000000000 -0700 |
3 |
+ |
+++ mod_wsgi/Makefile 2009-04-15 21:26:37.000000000 -0700 |
4 |
+ |
@@ -6,7 +6,7 @@ |
5 |
+ |
# |
6 |
+ |
|
7 |
+ |
PORTNAME= mod_wsgi |
8 |
+ |
-PORTVERSION= 2.3 |
9 |
+ |
+PORTVERSION= 2.4 |
10 |
+ |
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 |
+ |
--- /usr/ports/www/mod_wsgi/distinfo 2008-09-02 14:55:40.000000000 -0700 |
15 |
+ |
+++ mod_wsgi/distinfo 2009-04-15 21:21:23.000000000 -0700 |
16 |
+ |
@@ -1,3 +1,3 @@ |
17 |
+ |
-MD5 (mod_wsgi-2.3.tar.gz) = c686e1c498dbe5753fe491c3cf61cff4 |
18 |
+ |
-SHA256 (mod_wsgi-2.3.tar.gz) = 760f03e4d96dd0560717b06448af95bd79e91b59d31930171775a53bb7ec2375 |
19 |
+ |
-SIZE (mod_wsgi-2.3.tar.gz) = 96872 |
20 |
+ |
+MD5 (mod_wsgi-2.4.tar.gz) = a2b964cc51d6ff86c38c74db5748eab5 |
21 |
+ |
+SHA256 (mod_wsgi-2.4.tar.gz) = 96d2e113dff1d4815564c5f7d6645f971dad738470721bbc03b1349efc7bb57c |
22 |
+ |
+SIZE (mod_wsgi-2.4.tar.gz) = 99491 |
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 Wed Dec 31 16:00:00 1969 |
25 |
< |
+++ mod_wsgi/files/patch-mod_wsgi.c Tue Jul 15 13:12:53 2008 |
26 |
< |
@@ -0,0 +1,33 @@ |
27 |
< |
+--- mod_wsgi.c.orig Tue Jul 15 13:01:00 2008 |
28 |
< |
++++ mod_wsgi.c Tue Jul 15 13:07:19 2008 |
29 |
< |
+@@ -7749,10 +7749,12 @@ |
30 |
< |
+ { |
31 |
< |
+ const char *display_name = NULL; |
32 |
< |
+ |
33 |
< |
++#ifndef __FreeBSD__ |
34 |
< |
+ int slen = 0; |
35 |
< |
+ int dlen = 0; |
36 |
< |
+ |
37 |
< |
+ char *argv0 = NULL; |
38 |
< |
++#endif |
39 |
< |
+ |
18 |
< |
+ display_name = daemon->group->display_name; |
19 |
< |
+ |
20 |
< |
+@@ -7771,6 +7773,9 @@ |
21 |
< |
+ * is restricted, need to truncate display name if too long. |
22 |
< |
+ */ |
23 |
< |
+ |
24 |
< |
++#ifdef __FreeBSD__ |
25 |
< |
++ setproctitle("%s", display_name); |
26 |
< |
++#else |
27 |
< |
+ argv0 = (char*)wsgi_server->process->argv[0]; |
28 |
< |
+ |
29 |
< |
+ dlen = strlen(argv0); |
30 |
< |
+@@ -7782,6 +7787,7 @@ |
31 |
< |
+ memcpy(argv0, display_name, slen); |
32 |
< |
+ else |
33 |
< |
+ memcpy(argv0, display_name, dlen); |
34 |
< |
++#endif |
35 |
< |
+ } |
36 |
< |
+ |
37 |
< |
+ static void wsgi_setup_access(WSGIDaemonProcess *daemon) |
24 |
> |
--- /usr/ports/www/mod_wsgi/files/patch-mod_wsgi.c 2008-09-02 14:55:40.000000000 -0700 |
25 |
> |
+++ mod_wsgi/files/patch-mod_wsgi.c 1969-12-31 16:00:00.000000000 -0800 |
26 |
> |
@@ -1,13 +0,0 @@ |
27 |
> |
-Index: mod_wsgi.c |
28 |
> |
-=================================================================== |
29 |
> |
---- mod_wsgi.c (revision 1007) |
30 |
> |
-+++ mod_wsgi.c (revision 1008) |
31 |
> |
-@@ -245,7 +245,7 @@ |
32 |
> |
- /* Version and module information. */ |
33 |
> |
- |
34 |
> |
- #define MOD_WSGI_MAJORVERSION_NUMBER 2 |
35 |
> |
--#define MOD_WSGI_MINORVERSION_NUMBER 2 |
36 |
> |
-+#define MOD_WSGI_MINORVERSION_NUMBER 3 |
37 |
> |
- #define MOD_WSGI_VERSION_STRING "2.3" |
38 |
> |
- |
39 |
> |
- #if AP_SERVER_MAJORVERSION_NUMBER < 2 |