Date: Fri, 22 Aug 2008 16:22:29 -0700 (PDT) From: Douglas William Thrift <douglas@douglasthrift.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/126750: Update port: www/mod_wsgi Upgrade to 2.2 Message-ID: <200808222322.m7MNMTBO053892@slowhand.douglasthrift.net> Resent-Message-ID: <200808222330.m7MNU0op001343@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 126750 >Category: ports >Synopsis: Update port: www/mod_wsgi Upgrade to 2.2 >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: Fri Aug 22 23:30:00 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@jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64 >Description: Upgraded mod_wsgi to version 2.2. http://code.google.com/p/modwsgi/wiki/ChangesInVersion0202 >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-22 16:05:40.374980883 -0700 @@ -6,7 +6,7 @@ # PORTNAME= mod_wsgi -PORTVERSION= 2.1 +PORTVERSION= 2.2 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-22 14:26:12.755749948 -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.2.tar.gz) = bff5bcf38cceb53c70e6bb4bad5f71d8 +SHA256 (mod_wsgi-2.2.tar.gz) = 297ece749140101f7fc159ffabda84b2e23c9616de8be0dbf83979a521033818 +SIZE (mod_wsgi-2.2.tar.gz) = 96836 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-22 15:15:59.347259483 -0700 @@ -1,20 +1,25 @@ ---- 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. - */ +--- mod_wsgi.c.orig 2008-08-21 22:31:15.000000000 -0700 ++++ mod_wsgi.c 2008-08-22 15:15:46.620906832 -0700 +@@ -7725,10 +7725,13 @@ + { + const char *display_name = NULL; -+#ifdef __FreeBSD__ -+ setproctitle(display_name); ++#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +#else - argv0 = (char*)wsgi_server->process->argv[0]; + int slen = 0; + int dlen = 0; - dlen = strlen(argv0); -@@ -7782,6 +7785,7 @@ - memcpy(argv0, display_name, slen); - else - memcpy(argv0, display_name, dlen); + char *argv0 = NULL; +#endif - } - static void wsgi_setup_access(WSGIDaemonProcess *daemon) + display_name = daemon->group->display_name; + +@@ -7748,7 +7751,7 @@ + */ + + #if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +- setproctitle(display_name); ++ setproctitle("%s", display_name); + #else + argv0 = (char*)wsgi_server->process->argv[0]; + --- 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?200808222322.m7MNMTBO053892>