changeset 19:9b7ee2483282 origin

Update to 2.0.16 SECURITY. Flavored.
author Franz Glasner <hg@dom66.de>
date Wed, 21 Feb 2018 22:10:03 +0100
parents a3cb9ed08a83
children 70b8e449d563 5227737fcf74
files Makefile distinfo files/patch-uwsgiconfig.py files/uwsgi.in
diffstat 4 files changed, 10 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sun Dec 10 17:33:15 2017 +0100
+++ b/Makefile	Wed Feb 21 22:10:03 2018 +0100
@@ -1,9 +1,8 @@
 # Created by: Daniel Gerzo <danger@FreeBSD.org>
-# $FreeBSD: head/www/uwsgi/Makefile 455210 2017-11-30 15:50:30Z mat $
+# $FreeBSD: head/www/uwsgi/Makefile 461691 2018-02-13 09:30:16Z vsevolod $
 
 PORTNAME=	uwsgi
-PORTVERSION=	2.0.15
-PORTREVISION=	2
+PORTVERSION=	2.0.16
 CATEGORIES=	www python
 MASTER_SITES=	http://projects.unbit.it/downloads/
 
@@ -29,7 +28,9 @@
 GROUPS=		uwsgi
 
 PLIST_FILES=	bin/uwsgi \
-		%%PYTHON_SITELIBDIR%%/uwsgidecorators.py
+		${PYTHON_SITELIBDIR}/uwsgidecorators.py
+
+SUB_LIST=	PYTHON_VER=${PYTHON_VER}
 
 OPTIONS_DEFINE=	DEBUG JSON PCRE XML
 
--- a/distinfo	Sun Dec 10 17:33:15 2017 +0100
+++ b/distinfo	Wed Feb 21 22:10:03 2018 +0100
@@ -1,3 +1,3 @@
-TIMESTAMP = 1495495189
-SHA256 (uwsgi-2.0.15.tar.gz) = 572ef9696b97595b4f44f6198fe8c06e6f4e6351d930d22e5330b071391272ff
-SIZE (uwsgi-2.0.15.tar.gz) = 795070
+TIMESTAMP = 1518267669
+SHA256 (uwsgi-2.0.16.tar.gz) = a911f48f3cc51ac82fdabc4e001f18a32569128680beb5a833ebc3ff6edcc1f4
+SIZE (uwsgi-2.0.16.tar.gz) = 798509
--- a/files/patch-uwsgiconfig.py	Sun Dec 10 17:33:15 2017 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
---- uwsgiconfig.py.orig	2015-10-07 04:34:01 UTC
-+++ uwsgiconfig.py
-@@ -784,15 +784,6 @@ class uConf(object):
-             self.cflags.append('-DUWSGI_HAS_IFADDRS')
-             report['ifaddrs'] = True
- 
--        if uwsgi_os in ('FreeBSD', 'OpenBSD'):
--            if self.has_include('execinfo.h') or os.path.exists('/usr/local/include/execinfo.h'):
--                if os.path.exists('/usr/local/include/execinfo.h'):
--                    self.cflags.append('-I/usr/local/include')
--                    self.ldflags.append('-L/usr/local/lib')
--                self.cflags.append('-DUWSGI_HAS_EXECINFO')
--                self.libs.append('-lexecinfo')
--                report['execinfo'] = True
--
-         if uwsgi_os == 'GNU/kFreeBSD':
-             if self.has_include('execinfo.h'):
-                 self.cflags.append('-DUWSGI_HAS_EXECINFO')
--- a/files/uwsgi.in	Sun Dec 10 17:33:15 2017 +0100
+++ b/files/uwsgi.in	Wed Feb 21 22:10:03 2018 +0100
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $FreeBSD: head/www/uwsgi/files/uwsgi.in 448482 2017-08-21 17:49:01Z ultima $
+# $FreeBSD: head/www/uwsgi/files/uwsgi.in 457125 2017-12-24 06:46:48Z tobik $
 #
 # PROVIDE: uwsgi
 # REQUIRE: DAEMON
@@ -51,7 +51,7 @@
 
 load_rc_config $name
 
-command=%%PREFIX%%/bin/uwsgi
+command=%%PREFIX%%/bin/uwsgi-%%PYTHON_VER%%
 
 : ${uwsgi_enable="NO"}
 : ${uwsgi_socket="/tmp/${name}.sock"}