diff options
author | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-09-02 21:55:40 +0000 |
---|---|---|
committer | Felippe de Meirelles Motta <lippe@FreeBSD.org> | 2008-09-02 21:55:40 +0000 |
commit | bd031c197181b1a2b00a63d3d7087a3d70ac2da4 (patch) | |
tree | f91d9b083b8af9d2cb0dd113dc9cc8855a68e2b7 /www/mod_wsgi | |
parent | - Update to 3.0.3. (diff) |
- Update to 2.3.
- Move pkg-message to FILESDIR.
PR: ports/127025
Submitted by: Douglas William Thrift <douglas@douglasthrift.net>
Approved by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
Notes
Notes:
svn path=/head/; revision=219694
Diffstat (limited to 'www/mod_wsgi')
-rw-r--r-- | www/mod_wsgi/Makefile | 4 | ||||
-rw-r--r-- | www/mod_wsgi/distinfo | 6 | ||||
-rw-r--r-- | www/mod_wsgi/files/patch-mod_wsgi.c | 29 | ||||
-rw-r--r-- | www/mod_wsgi/files/pkg-message.in (renamed from www/mod_wsgi/pkg-message) | 0 |
4 files changed, 17 insertions, 22 deletions
diff --git a/www/mod_wsgi/Makefile b/www/mod_wsgi/Makefile index 7edab77a9b06..9eb3cd605f05 100644 --- a/www/mod_wsgi/Makefile +++ b/www/mod_wsgi/Makefile @@ -6,7 +6,7 @@ # PORTNAME= mod_wsgi -PORTVERSION= 2.1 +PORTVERSION= 2.3 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -21,6 +21,8 @@ USE_PYTHON= 2.3+ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}" +SUB_FILES= pkg-message + post-install: @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so" @${CAT} ${PKGMESSAGE} diff --git a/www/mod_wsgi/distinfo b/www/mod_wsgi/distinfo index 0216014f2216..d3926d891fa2 100644 --- a/www/mod_wsgi/distinfo +++ b/www/mod_wsgi/distinfo @@ -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 --git a/www/mod_wsgi/files/patch-mod_wsgi.c b/www/mod_wsgi/files/patch-mod_wsgi.c index c0de48092bdf..ffb512d0ad76 100644 --- a/www/mod_wsgi/files/patch-mod_wsgi.c +++ b/www/mod_wsgi/files/patch-mod_wsgi.c @@ -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 diff --git a/www/mod_wsgi/pkg-message b/www/mod_wsgi/files/pkg-message.in index dea5054f301f..dea5054f301f 100644 --- a/www/mod_wsgi/pkg-message +++ b/www/mod_wsgi/files/pkg-message.in |