This is an update of py-waitress from 1.4.4 to 2.1.2.
This update addresses:
- CVE-2022-24761
- and skipping versions 2.1.0 and 2.1.1 avoids CVE-2022-31015
ok?
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/py-waitress/Makefile,v
retrieving revision 1.13
diff -u -p -u -r1.13 Makefile
--- Makefile 25 Nov 2022 21:11:42 -0000 1.13
+++ Makefile 17 Jan 2023 05:17:28 -0000
@@ -1,9 +1,8 @@
COMMENT = pure-Python WSGI server
-MODPY_EGG_VERSION = 1.4.4
+MODPY_EGG_VERSION = 2.1.2
DISTNAME = waitress-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
-REVISION = 5
CATEGORIES = www
@@ -12,11 +11,11 @@ PERMIT_PACKAGE = Yes
MODULES = lang/python
-MODPY_PI = Yes
-MODPY_PYBUILD = setuptools
-
FLAVORS = python3
FLAVOR = python3
+
+MODPY_PI = Yes
+MODPY_PYBUILD = setuptools
BUILD_DEPENDS = textproc/py-sphinx${MODPY_FLAVOR}
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/py-waitress/distinfo,v
retrieving revision 1.3
diff -u -p -u -r1.3 distinfo
--- distinfo 9 Sep 2020 18:49:39 -0000 1.3
+++ distinfo 17 Jan 2023 05:17:28 -0000
@@ -1,2 +1,2 @@
-SHA256 (waitress-1.4.4.tar.gz) = G7Q2UIp0h6xssJeuen/lQTrvymEFULr1jwlA5R7PsmE=
-SIZE (waitress-1.4.4.tar.gz) = 173124
+SHA256 (waitress-2.1.2.tar.gz) = eApAgsX7wP3movz+Xibm78Ho9CVzCGPAQIV2l4H1Hro=
+SIZE (waitress-2.1.2.tar.gz) = 179823
Index: patches/patch-setup_cfg
===================================================================
RCS file: /cvs/ports/www/py-waitress/patches/patch-setup_cfg,v
retrieving revision 1.2
diff -u -p -u -r1.2 patch-setup_cfg
--- patches/patch-setup_cfg 11 Mar 2022 20:10:51 -0000 1.2
+++ patches/patch-setup_cfg 17 Jan 2023 05:17:28 -0000
@@ -3,11 +3,11 @@ Remove --cov option that doesn't work ev
Index: setup.cfg
--- setup.cfg.orig
+++ setup.cfg
-@@ -67,7 +67,7 @@ python_files = test_*.py
- python_classes = Test_*
+@@ -62,7 +62,7 @@ python_files = test_*.py
+ python_classes = Test*
testpaths =
tests
--addopts = -W always --cov
+-addopts = --cov -W always
+addopts = -W always
[egg_info]
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/www/py-waitress/pkg/DESCR,v
retrieving revision 1.1.1.1
diff -u -p -u -r1.1.1.1 DESCR
--- pkg/DESCR 2 Sep 2016 10:09:44 -0000 1.1.1.1
+++ pkg/DESCR 17 Jan 2023 05:17:28 -0000
@@ -1,5 +1,5 @@
-Waitress is meant to be a production-quality pure-Python WSGI server with very
-acceptable performance. It has no dependencies except ones which live in the
-Python standard library. It runs on CPython on Unix and Windows under Python
-2.7+ and Python 3.3+. It is also known to run on PyPy 1.6.0+ on UNIX. It
-supports HTTP/1.0 and HTTP/1.1.
+Waitress is meant to be a production-quality pure-Python WSGI server
+with very acceptable performance. It has no dependencies except
+ones which live in the Python standard library. It runs on CPython
+on Unix and Windows under Python 3.7+. It is also known to run on
+PyPy 3 on UNIX. It supports HTTP/1.0 and HTTP/1.1.