Accepting request 1118573 from server:http

OBS-URL: https://build.opensuse.org/request/show/1118573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/uwsgi?expand=0&rev=51
This commit is contained in:
Ana Guerrero 2023-10-19 20:47:20 +00:00 committed by Git OBS Bridge
commit a5fc0ad877
5 changed files with 15 additions and 23 deletions

View File

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

3
2.0.22.tar.gz Normal file
View File

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

View File

@ -1,16 +0,0 @@
Index: uwsgi-2.0.21/plugins/php/php_plugin.c
===================================================================
--- uwsgi-2.0.21.orig/plugins/php/php_plugin.c
+++ uwsgi-2.0.21/plugins/php/php_plugin.c
@@ -607,7 +607,11 @@ static void activate_user_config(const c
static int php_uwsgi_startup(sapi_module_struct *sapi_module)
{
+#if ((PHP_MAJOR_VERSION >= 8) && (PHP_MINOR_VERSION >= 2))
+ if (php_module_startup(&uwsgi_sapi_module, &uwsgi_module_entry)==FAILURE) {
+#else
if (php_module_startup(&uwsgi_sapi_module, &uwsgi_module_entry, 1)==FAILURE) {
+#endif
return FAILURE;
} else {
return SUCCESS;

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Oct 18 09:48:50 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 2.0.22:
+ apache2/mod_proxy_uwsgi: stricter backend HTTP response
parsing/validation (CVE-2023-27522).
+ plugins/rack: fix compilation with ruby 3.1.
+ plugins/php: fix build with PHP >= 8.2.
- Drop uwsgi-php82-php_module_startup-signature.patch: fixed
upstream.
-------------------------------------------------------------------
Sat Jul 1 19:53:24 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -29,7 +29,7 @@
%endif
Name: uwsgi
Version: 2.0.21
Version: 2.0.22
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
@ -57,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
# https://github.com/unbit/uwsgi/commit/509a0fdd12870d0bf5b4c1ef7d1f7f
Patch6: uwsgi-php82-php_module_startup-signature.patch
BuildRequires: apache-rpm-macros
%if 0%{suse_version} < 1500
BuildRequires: apache2-devel
@ -449,7 +447,6 @@ This package contains support for PHP version 7.
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
# Generate a config that builds all plugins except for examples and stuff we
# can't satisfy the requirements for or are just broken
excluded_plugins=""