From 6fe1441f128470f4947b1d4ec8c955ce49b3742b Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 21 Jun 2024 14:34:59 +0300 Subject: python3-gunicorn: Upgrade 21.2.0 -> 22.0.0 - use utime to notify workers liveness - migrate setup to pyproject.toml - fix numerous security vulnerabilities in HTTP parser (closing some request smuggling vectors) - parsing additional requests is no longer attempted past unsupported request framing - on HTTP versions < 1.1 support for chunked transfer is refused (only used in exploits) - requests conflicting configured or passed SCRIPT_NAME now produce a verbose error - Trailer fields are no longer inspected for headers indicating secure scheme - support Python 3.12 License-Update: Update license year Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-gunicorn_21.2.0.bb | 26 ---------------------- .../python/python3-gunicorn_22.0.0.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb deleted file mode 100644 index 9fd601c999..0000000000 --- a/meta-python/recipes-devtools/python/python3-gunicorn_21.2.0.bb +++ /dev/null @@ -1,26 +0,0 @@ -SUMMARY = "WSGI HTTP Server for UNIX" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=302423eeae97079c633da81b6a5fe35e" - -SRC_URI[sha256sum] = "88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-eventlet \ - python3-gevent \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += "python3-setuptools python3-fcntl" diff --git a/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb b/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb new file mode 100644 index 0000000000..e9ad084d46 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gunicorn_22.0.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "WSGI HTTP Server for UNIX" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5b70a8b30792a916f50dc96123e61ddf" + +SRC_URI[sha256sum] = "4a0b436239ff76fb33f11c07a16482c521a7e09c1ce3cc293c2330afe01bec63" + +inherit pypi python_setuptools_build_meta ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-eventlet \ + python3-gevent \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "python3-setuptools python3-fcntl" -- cgit v1.2.3-54-g00ecf