Accepting request 1220532 from server:http

OBS-URL: https://build.opensuse.org/request/show/1220532
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2024-11-05 14:40:29 +00:00 committed by Git OBS Bridge
commit 71ff945e8f
5 changed files with 38 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1e4a401f71d29e49d4762223412c32a42594c415f9d72d0f759680e5b8f4cf9
size 811635

3
uwsgi-2.0.28.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bb0762c5becb0414352cca664957206df4d6847e9a1c472e87708dc2cdad610
size 815887

View File

@ -1,23 +0,0 @@
From 93d07ec38b319c2fba7c71d3fd0d5acc2882d65a Mon Sep 17 00:00:00 2001
From: Rosen Penev <rosenp@gmail.com>
Date: Tue, 14 May 2024 21:08:14 -0700
Subject: [PATCH] fix 32-bit compilation with GCC14
Wrong pointer type is used.
---
core/regexp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/regexp.c b/core/regexp.c
index 74bb77751..2b59f16fb 100644
--- a/core/regexp.c
+++ b/core/regexp.c
@@ -23,7 +23,7 @@ int uwsgi_regexp_build(char *re, uwsgi_pcre ** pattern) {
#ifdef UWSGI_PCRE2
int errnbr;
- long unsigned int erroff;
+ size_t erroff;
*pattern = pcre2_compile((const unsigned char *) re, PCRE2_ZERO_TERMINATED, 0, &errnbr, &erroff, NULL);
#else

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Tue Oct 29 17:46:07 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.28 (bsc#1222332, CVE-2024-24795):
* Bit more friendly log messages
* Add more integration tests
* Fix static library not found install error on conda
* pyuwsgi: avoid interleaving pywsgi threadstate
* Fix gracefully_kill_them_all with running requests
* Fix catch-exceptions causing a segfault in Python 3.5+
* plugins/php: Add support for uwsgi.disconnect() function
* plugins/python: use PyOS_*Fork stable API functions on 3.7+
* core/uwsgi: set enable threads by default
* plugins/python: fix compilation with Python 3.13
* use pipe in gracefully_kill() to stop worker loop
* port pypy plugin to python3
* add some integrations tests
* apache2/mod_proxy_uwsgi: let httpd handle CL/TE for
non-http handlers CVE-2024-24795
* remove race-condition over termination of uWSGI process
when using need-app and lazy-apps (Hanan .T)
* fix 32-bit compilation with GCC14 (Rosen Penev)
* uwsgiconfig: get compiler version with -dumpfullversion
* Fix uwsgi_regexp_match() with pcre2
- drop uwsgi-93d07ec38b31.patch (upstream)
-------------------------------------------------------------------
Thu Jul 25 16:31:34 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@ -29,8 +29,7 @@
%endif
Name: uwsgi
Version: 2.0.25.1
Version: 2.0.28
Release: 0
Summary: Application Container Server for Networked/Clustered Web Applications
License: Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0
@ -58,8 +57,6 @@ Patch3: uwsgi-1.9.11-systemd_logger-old_systemd.patch
Patch4: uwsgi-2.0.18-postgresql-config.patch
# PATCH-FIX-UPSTREAM uwsgi-ld-noexecstack.patch - Do not create executable stack
Patch5: uwsgi-ld-noexecstack.patch
# PATCH-FIX-UPSTREAM uwsgi-93d07ec38b31.patch - Fix build with GCC 14 on 32bit platforms
Patch6: uwsgi-93d07ec38b31.patch
BuildRequires: apache-rpm-macros
%if 0%{suse_version} < 1500
BuildRequires: apache2-devel