diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-05-30 13:31:32 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-05-30 13:31:32 +0800 |
commit | 235e59d8da6325133d49988efd88529340b3b782 (patch) | |
tree | 5e1ad6cbe93e74b3d73bd4c0b48320d071a69efa /www | |
parent | 2236c4d07851af2da7041d51e66f85ed92ed733d (diff) | |
download | freebsd-ports-gnome-235e59d8da6325133d49988efd88529340b3b782.tar.gz freebsd-ports-gnome-235e59d8da6325133d49988efd88529340b3b782.tar.zst freebsd-ports-gnome-235e59d8da6325133d49988efd88529340b3b782.zip |
- Update to 3.5
Changes: http://modwsgi.readthedocs.org/en/develop/release-notes/version-3.5.html
PR: ports/190297
Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_wsgi3/Makefile | 5 | ||||
-rw-r--r-- | www/mod_wsgi3/distinfo | 4 | ||||
-rw-r--r-- | www/mod_wsgi3/files/patch-configure | 49 | ||||
-rw-r--r-- | www/mod_wsgi3/files/patch-configure.ac | 50 | ||||
-rw-r--r-- | www/mod_wsgi3/files/patch-mod_wsgi.c | 16 |
5 files changed, 4 insertions, 120 deletions
diff --git a/www/mod_wsgi3/Makefile b/www/mod_wsgi3/Makefile index c6128b6f1738..7ba716283637 100644 --- a/www/mod_wsgi3/Makefile +++ b/www/mod_wsgi3/Makefile @@ -1,10 +1,9 @@ # $FreeBSD$ PORTNAME= mod_wsgi -PORTVERSION= 3.4 -PORTREVISION= 1 +PORTVERSION= 3.5 CATEGORIES= www python -MASTER_SITES= GOOGLE_CODE +MASTER_SITES= http://github.com/GrahamDumpleton/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} PKGNAMESUFFIX= 3 diff --git a/www/mod_wsgi3/distinfo b/www/mod_wsgi3/distinfo index cfa227d633ed..1d5cca6b5536 100644 --- a/www/mod_wsgi3/distinfo +++ b/www/mod_wsgi3/distinfo @@ -1,2 +1,2 @@ -SHA256 (mod_wsgi-3.4.tar.gz) = ae85c98e9e146840ab3c3e4490e6774f9bef0f99b9f679fca786b2adb5b4b6e8 -SIZE (mod_wsgi-3.4.tar.gz) = 122739 +SHA256 (mod_wsgi-3.5.tar.gz) = f0674c38f0f568ece55610bcc6a775c179835c4cba23aa7f876d2a2a8520bf93 +SIZE (mod_wsgi-3.5.tar.gz) = 135875 diff --git a/www/mod_wsgi3/files/patch-configure b/www/mod_wsgi3/files/patch-configure deleted file mode 100644 index f2724bd46005..000000000000 --- a/www/mod_wsgi3/files/patch-configure +++ /dev/null @@ -1,49 +0,0 @@ ---- configure.orig Thu Oct 18 21:12:46 2012 +1100 -+++ configure Thu Oct 18 21:14:28 2012 +1100 -@@ -1785,7 +1785,15 @@ - - PYTHON_VERSION=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ -- stdout.write((sysconfig.get_config_var("VERSION")))'` -+ stdout.write(sysconfig.get_config_var("VERSION"))'` -+ -+PYTHON_LDVERSION=`${PYTHON} -c 'from sys import stdout; \ -+ from distutils import sysconfig; \ -+ stdout.write(sysconfig.get_config_var("LDVERSION") or "")'` -+ -+if test x"${PYTHON_LDVERSION}" = x""; then -+ PYTHON_LDVERSION=${PYTHON_VERSION} -+fi - - CPPFLAGS1=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ -@@ -1823,12 +1831,28 @@ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("PYTHONFRAMEWORK"))'` - -+if test "${PYTHON_LDVERSION}" != "${PYTHON_VERSION}"; then -+ PYTHONCFGDIR="${PYTHONCFGDIR}-${PYTHON_LDVERSION}" -+fi -+ - if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \ - "${ENABLE_FRAMEWORK}" != "yes"; then - LDFLAGS1="-L${PYTHONLIBDIR}" - LDFLAGS2="-L${PYTHONCFGDIR}" - -- LDLIBS1="-lpython${PYTHON_VERSION}" -+ LDLIBS1="-lpython${PYTHON_LDVERSION}" -+ -+ # MacOS X seems to be broken and doesn't use ABIFLAGS suffix -+ # so add a check to try and work out what we need to do. -+ -+ if test -f "${PYTHONLIBDIR}/libpython${PYTHON_VERSION}.a"; then -+ LDLIBS1="-lpython${PYTHON_VERSION}" -+ fi -+ -+ if test -f "${PYTHONCFGDIR}/libpython${PYTHON_VERSION}.a"; then -+ LDLIBS1="-lpython${PYTHON_VERSION}" -+ fi -+ - LDLIBS2=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("LIBS"))'` diff --git a/www/mod_wsgi3/files/patch-configure.ac b/www/mod_wsgi3/files/patch-configure.ac deleted file mode 100644 index ce7dfddea333..000000000000 --- a/www/mod_wsgi3/files/patch-configure.ac +++ /dev/null @@ -1,50 +0,0 @@ ---- configure.ac.orig Thu Oct 18 21:12:46 2012 +1100 -+++ configure.ac Thu Oct 18 21:14:28 2012 +1100 -@@ -75,7 +75,15 @@ - - PYTHON_VERSION=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ -- stdout.write((sysconfig.get_config_var("VERSION")))'` -+ stdout.write(sysconfig.get_config_var("VERSION"))'` -+ -+PYTHON_LDVERSION=`${PYTHON} -c 'from sys import stdout; \ -+ from distutils import sysconfig; \ -+ stdout.write(sysconfig.get_config_var("LDVERSION") or "")'` -+ -+if test x"${PYTHON_LDVERSION}" = x""; then -+ PYTHON_LDVERSION=${PYTHON_VERSION} -+fi - - CPPFLAGS1=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ -@@ -113,12 +121,28 @@ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("PYTHONFRAMEWORK"))'` - -+if test "${PYTHON_LDVERSION}" != "${PYTHON_VERSION}"; then -+ PYTHONCFGDIR="${PYTHONCFGDIR}-${PYTHON_LDVERSION}" -+fi -+ - if test "${PYTHONFRAMEWORKDIR}" = "no-framework" -o \ - "${ENABLE_FRAMEWORK}" != "yes"; then - LDFLAGS1="-L${PYTHONLIBDIR}" - LDFLAGS2="-L${PYTHONCFGDIR}" - -- LDLIBS1="-lpython${PYTHON_VERSION}" -+ LDLIBS1="-lpython${PYTHON_LDVERSION}" -+ -+ # MacOS X seems to be broken and doesn't use ABIFLAGS suffix -+ # so add a check to try and work out what we need to do. -+ -+ if test -f "${PYTHONLIBDIR}/libpython${PYTHON_VERSION}.a"; then -+ LDLIBS1="-lpython${PYTHON_VERSION}" -+ fi -+ -+ if test -f "${PYTHONCFGDIR}/libpython${PYTHON_VERSION}.a"; then -+ LDLIBS1="-lpython${PYTHON_VERSION}" -+ fi -+ - LDLIBS2=`${PYTHON} -c 'from sys import stdout; \ - from distutils import sysconfig; \ - stdout.write(sysconfig.get_config_var("LIBS"))'` - diff --git a/www/mod_wsgi3/files/patch-mod_wsgi.c b/www/mod_wsgi3/files/patch-mod_wsgi.c deleted file mode 100644 index 1cc72615790c..000000000000 --- a/www/mod_wsgi3/files/patch-mod_wsgi.c +++ /dev/null @@ -1,16 +0,0 @@ ---- mod_wsgi.c.orig 2012-08-22 23:10:44.000000000 -0400 -+++ mod_wsgi.c 2013-09-12 06:29:36.718830524 -0400 -@@ -10600,7 +10600,13 @@ - * will add their own input/output filters to the chain. - */ - -+#if AP_MODULE_MAGIC_AT_LEAST(20110619,0) -+ /* For 2.4 a NULL sbh pointer should work. */ -+ sbh = NULL; -+#else -+ /* For 2.2 a dummy sbh pointer is needed. */ - ap_create_sb_handle(&sbh, p, -1, 0); -+#endif - - c = (conn_rec *)apr_pcalloc(p, sizeof(conn_rec)); - |