Hello community,

here is the log from the commit of package uwsgi for openSUSE:Leap:15.2 checked 
in at 2020-03-13 10:58:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/uwsgi (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.uwsgi.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uwsgi"

Fri Mar 13 10:58:11 2020 rev:18 rq:783483 version:2.0.18

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/uwsgi/uwsgi.changes    2020-01-15 
16:27:20.548716912 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.uwsgi.new.3160/uwsgi.changes  2020-03-13 
10:59:24.380521572 +0100
@@ -1,0 +2,79 @@
+Mon Mar  9 14:24:36 UTC 2020 - [email protected]
+
+- disable geoip plugin [bsc#1156199]
+
+-------------------------------------------------------------------
+Thu Dec 19 14:54:12 UTC 2019 - Dominique Leuenberger <[email protected]>
+
+- BuildRequire pkgconfig(libsystemd) instead of systemd-devel:
+  Allow OBS to shortcut through the -mini flavors.
+
+-------------------------------------------------------------------
+Tue Apr 30 04:48:25 UTC 2019 - Martin Herkt <[email protected]>
+
+- Fix systemd kill signal (uwsgi does not die on SIGTERM)
+- Add reload command to systemd service
+
+-------------------------------------------------------------------
+Sat Mar 16 00:45:25 UTC 2019 - James Oakley <[email protected]>
+
+- Add patch uwsgi-2.0.18-postgresql-config.patch to use pkg-config
+  instead of pg_config as it was removed in postgres11-devel
+
+-------------------------------------------------------------------
+Sat Feb  9 16:19:37 UTC 2019 - Michael Ströder <[email protected]>
+
+- HTTPS URL for source
+- update to upstream release 2.0.18
+  * Fixed support for Python 3.7
+  * Allow to use autoport (socket :0) with custom socket backlog
+  * pyuwsgi ported to python3
+  * pyuwsgi packages fixes
+  * pyuwsginossl build configuration for building pyuwsgi without ssl support
+  * Fix unix socket inheritance after reload on FreeBSD
+  * Fix crashes with --wsgi-env-behavior=holy (#1950)
+  * Fix invalid free in python plugin (#1942)
+  * Fix compilation warnings with gcc-8 (#1819)
+  * Fix spooler python references
+  * Don't generate build warnings in systemd_logger
+  * Fix segmentation fault during worker shutdown (#1651)
+
+-------------------------------------------------------------------
+Thu Aug  2 22:12:22 UTC 2018 - [email protected]
+
+- Trimmed package description
+
+-------------------------------------------------------------------
+Mon Jul 23 13:33:36 UTC 2018 - [email protected]
+
+- Work around missing include dir in glusterfs pkg-config
+
+-------------------------------------------------------------------
+Mon Jul  9 14:52:54 UTC 2018 - [email protected]
+
+- update to upstream release 2.0.17.1
+  * Fixed memory leak in HTTPS_CLIENT_CERTIFICATE
+  * TLSv1 is now disabled by default
+  * Improved daemons throttle system
+  * Add “secs” log formatting variable
+  * Improved snprintf() usage to be OpenBSD-friendly
+  * Improved glibc crypt/crypt_r management
+  * Fixed websocket pong timeout check
+  * Add the “License” classifier to setup.py
+  * Add support for php user.ini
+  * Official support for Python 3.7
+
+-------------------------------------------------------------------
+Thu May 31 00:45:55 UTC 2018 - [email protected]
+
+- Don't create a /run directory for Apache on startup. It fails if Apache is
+  not installed and sockets are defined per-application anyway (bnc#1082002)
+- Fix broken build dependency on Leap 15
+
+-------------------------------------------------------------------
+Tue Apr 24 10:48:33 UTC 2018 - [email protected]
+
+- Require Apache 2.4.33 for Leap 15 and Tumbleweed
+  because otherwise mod_proxy_uwsgi is not available (bsc#1090695)
+
+-------------------------------------------------------------------

Old:
----
  uwsgi-2.0.17.tar.gz

New:
----
  uwsgi-2.0.18-postgresql-config.patch
  uwsgi-2.0.18.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ uwsgi.spec ++++++
--- /var/tmp/diff_new_pack.3qwQ44/_old  2020-03-13 10:59:25.160522128 +0100
+++ /var/tmp/diff_new_pack.3qwQ44/_new  2020-03-13 10:59:25.160522128 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package uwsgi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,18 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           uwsgi
-Version:        2.0.17
+Version:        2.0.18
 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
 Group:          Productivity/Networking/Web/Servers
-Url:            https://uwsgi-docs.readthedocs.io/en/latest/
-Source:         http://projects.unbit.it/downloads/uwsgi-%{version}.tar.gz
+URL:            https://uwsgi-docs.readthedocs.io/en/latest/
+Source:         https://projects.unbit.it/downloads/uwsgi-%{version}.tar.gz
 Source1:        opensuse.ini.in
 Source2:        uwsgi.service
 Source3:        django.ini.example
@@ -40,6 +40,8 @@
 Patch2:         uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch
 # PATCH-FIX-OPENSUSE uwsgi-1.9.11-systemd_logger-old_systemd.patch - Older 
systemd in 12.2 does not implicity include syslog.h
 Patch3:         uwsgi-1.9.11-systemd_logger-old_systemd.patch
+# PATCH-FIX-OPENSUSE uwsgi-2.0.18-postgresql-config.patch - Use pkg-config 
instead of pg_config
+Patch4:         uwsgi-2.0.18-postgresql-config.patch
 %define apache_branch     %(rpm -q --qf %%{version} apache2 | grep -E -o 
"2\\.[0-9]+")
 %if "%{apache_branch}" == "2.4"
   %define apxs %{_bindir}/apxs2
@@ -47,7 +49,11 @@
   %define apxs %{_sbindir}/apxs2
 %endif
 %define apache_libexecdir %(%{apxs} -q LIBEXECDIR)
+%if 0%{suse_version} < 1500
 BuildRequires:  apache2-devel
+%else
+BuildRequires:  apache2-devel >= 2.4.33
+%endif
 %if 0%{?suse_version} >= 1500
 BuildRequires:  argon2-devel
 %endif
@@ -59,7 +65,6 @@
 #BuildRequires:  go
 BuildRequires:  java-devel
 #BuildRequires:  krb5-devel
-BuildRequires:  libGeoIP-devel
 BuildRequires:  libattr-devel
 BuildRequires:  libcap-devel
 BuildRequires:  libcurl-devel
@@ -96,8 +101,8 @@
 BuildRequires:  ruby19-devel
 %endif
 BuildRequires:  sqlite3-devel
-BuildRequires:  systemd-devel
 BuildRequires:  tcpd-devel
+BuildRequires:  pkgconfig(libsystemd)
 %ifarch %{ix86} x86_64 %{arm} aarch64
 %if 0%{?suse_version} < 1310
 BuildRequires:  v8-devel
@@ -142,8 +147,7 @@
 It is a WSGI server with a stack for networked/clustered web applications,
 implementing message/object passing, caching, RPC and process management.
 
-It uses the uwsgi (all lowercase, already included by default in the Nginx and
-Cherokee releases) protocol for all the networking/interprocess communications,
+It uses the uwsgi protocol for all the networking/interprocess communications,
 but it can speak other protocols as well (http, fastcgi, mongrel2...)
 
 It can be run in preforking mode, threaded, asynchronous/evented and supports
@@ -201,18 +205,6 @@
 applications (vassals) via ZeroMQ.
 
 
-%package geoip
-Summary:        GeoIP Plugin for uWSGI
-Group:          Productivity/Networking/Web/Servers
-Requires:       %{name} = %{version}
-Requires:       %{name}-python = %{version}
-
-%description geoip
-uWSGI is a self-healing application container server coded in pure C.
-
-This package contains support for GeoIP routing.
-
-
 %package gevent
 Summary:        Gevent Plugin for uWSGI
 Group:          Productivity/Networking/Web/Servers
@@ -438,6 +430,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -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=""
@@ -487,6 +480,9 @@
 # matheval is deprecated
 excluded_plugins="$excluded_plugins matheval"
 
+# bsc#1156199 - python-txtorcon: GeoIP support is discontinued 
+excluded_plugins="$excluded_plugins geoip"
+
 # V8 is not yet available on all platforms and is broken in the v8 versions in
 # 13.1+
 %ifarch %{ix86} x86_64 %{arm} aarch64 ppc ppc64 ppc64le
@@ -518,7 +514,7 @@
 export UWSGICONFIG_LUALIB="lua"
 export UWSGICONFIG_LUAPC="lua"
 export UWSGICONFIG_RUBYPATH="ruby1.9"
-export CFLAGS="%{optflags} -Wno-error=deprecated-declarations -I$(echo 
%{_libdir}/erlang/lib/erl_interface-*/include) -I%{_jvmdir}/java/include/linux 
-L$UWSGICONFIG_JVM_LIBPATH/jli"
+export CFLAGS="%{optflags} -Wno-error=deprecated-declarations 
-I%{_includedir}/glusterfs -I$(echo 
%{_libdir}/erlang/lib/erl_interface-*/include) -I%{_jvmdir}/java/include/linux 
-L$UWSGICONFIG_JVM_LIBPATH/jli"
 %{?jobs:export CPUCOUNT=%jobs}
 python uwsgiconfig.py --build opensuse
 
@@ -677,10 +673,6 @@
 %defattr(-,root,root,-)
 %{_libdir}/uwsgi/emperor_zeromq_plugin.so
 
-%files geoip
-%defattr(-,root,root,-)
-%{_libdir}/uwsgi/geoip_plugin.so
-
 %files gevent
 %defattr(-,root,root,-)
 %{_libdir}/uwsgi/gevent_plugin.so

++++++ uwsgi-2.0.18-postgresql-config.patch ++++++
--- a/plugins/emperor_pg/uwsgiplugin.py
+++ b/plugins/emperor_pg/uwsgiplugin.py
@@ -2,11 +2,8 @@ import os
 
 NAME = 'emperor_pg'
 
-CFLAGS = ['-I' + os.popen('pg_config --includedir').read().rstrip()]
+CFLAGS = os.popen('pkg-config --cflags libpq').read().rstrip().split()
 LDFLAGS = []
-LIBS = [
-    '-L' + os.popen('pg_config --libdir').read().rstrip(),
-    '-lpq'
-]
+LIBS = os.popen('pkg-config --libs libpq').read().rstrip().split()
 
 GCC_LIST = ['emperor_pg']
++++++ uwsgi-2.0.17.tar.gz -> uwsgi-2.0.18.tar.gz ++++++
++++ 1752 lines of diff (skipped)

++++++ uwsgi.service ++++++
--- /var/tmp/diff_new_pack.3qwQ44/_old  2020-03-13 10:59:25.496522367 +0100
+++ /var/tmp/diff_new_pack.3qwQ44/_new  2020-03-13 10:59:25.496522367 +0100
@@ -1,15 +1,14 @@
 [Unit]
 Description=Application Container Server for Networked/Clustered Web 
Applications
-Requires=var-run.mount
-After=var-run.mount
 Documentation=https://uwsgi-docs.readthedocs.io/en/latest/
 
 [Service]
-ExecStartPre=/usr/bin/install -d -o wwwrun -g www -m 0755 /run/uwsgi
 ExecStart=/usr/sbin/uwsgi --autoload --ini /etc/uwsgi/uwsgi.ini
 Restart=always
 Type=notify
 NotifyAccess=all
+KillSignal=SIGINT
+ExecReload=/bin/kill -HUP $MAINPID
 
 [Install]
 WantedBy=multi-user.target


Reply via email to