aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlippe <lippe@FreeBSD.org>2008-09-03 05:55:40 +0800
committerlippe <lippe@FreeBSD.org>2008-09-03 05:55:40 +0800
commit3ab82e7420c35b294e6a42ae8ad0847cbb03ab8a (patch)
tree4cc87f6646d140d53ba33b910f268e7df2affc61 /www
parent754d85aa34db5a6b3e32373fdea5944df1c0285c (diff)
downloadfreebsd-ports-gnome-3ab82e7420c35b294e6a42ae8ad0847cbb03ab8a.tar.gz
freebsd-ports-gnome-3ab82e7420c35b294e6a42ae8ad0847cbb03ab8a.tar.zst
freebsd-ports-gnome-3ab82e7420c35b294e6a42ae8ad0847cbb03ab8a.zip
- 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)
Diffstat (limited to 'www')
-rw-r--r--www/mod_wsgi/Makefile4
-rw-r--r--www/mod_wsgi/distinfo6
-rw-r--r--www/mod_wsgi/files/patch-mod_wsgi.c29
-rw-r--r--www/mod_wsgi/files/pkg-message.in (renamed from www/mod_wsgi/pkg-message)0
-rw-r--r--www/mod_wsgi3/Makefile4
-rw-r--r--www/mod_wsgi3/distinfo6
-rw-r--r--www/mod_wsgi3/files/patch-mod_wsgi.c29
-rw-r--r--www/mod_wsgi3/files/pkg-message.in (renamed from www/mod_wsgi3/pkg-message)0
8 files changed, 34 insertions, 44 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
diff --git a/www/mod_wsgi3/Makefile b/www/mod_wsgi3/Makefile
index 7edab77a9b06..9eb3cd605f05 100644
--- a/www/mod_wsgi3/Makefile
+++ b/www/mod_wsgi3/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_wsgi3/distinfo b/www/mod_wsgi3/distinfo
index 0216014f2216..d3926d891fa2 100644
--- a/www/mod_wsgi3/distinfo
+++ b/www/mod_wsgi3/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_wsgi3/files/patch-mod_wsgi.c b/www/mod_wsgi3/files/patch-mod_wsgi.c
index c0de48092bdf..ffb512d0ad76 100644
--- a/www/mod_wsgi3/files/patch-mod_wsgi.c
+++ b/www/mod_wsgi3/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_wsgi3/pkg-message b/www/mod_wsgi3/files/pkg-message.in
index dea5054f301f..dea5054f301f 100644
--- a/www/mod_wsgi3/pkg-message
+++ b/www/mod_wsgi3/files/pkg-message.in