Hello community, here is the log from the commit of package uwsgi.12194 for openSUSE:Leap:15.1:Update checked in at 2020-03-31 09:16:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.1:Update/uwsgi.12194 (Old) and /work/SRC/openSUSE:Leap:15.1:Update/.uwsgi.12194.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uwsgi.12194" Tue Mar 31 09:16:13 2020 rev:1 rq:789338 version:2.0.18 Changes: -------- New Changes file: --- /dev/null 2020-03-10 18:28:06.918142398 +0100 +++ /work/SRC/openSUSE:Leap:15.1:Update/.uwsgi.12194.new.3160/uwsgi.changes 2020-03-31 09:16:15.794019814 +0200 @@ -0,0 +1,1581 @@ +------------------------------------------------------------------- +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) + +------------------------------------------------------------------- +Wed Apr 18 13:32:20 UTC 2018 - [email protected] + +- Handle aarch64 arch + +------------------------------------------------------------------- +Mon Apr 16 23:48:42 UTC 2018 - [email protected] + +- Disable apache2-mod_proxy_uwsgi on Leap 15 since upstream Apache includes + the module now + +------------------------------------------------------------------- +Mon Apr 16 13:42:59 UTC 2018 - [email protected] + +- Update to 2.0.17: + * The Emperor throttling subsystem does not make use anymore of blocking + functions, like usleep(), this should fix stats serving and should improve + vassals startup time + * [Security/PHP] enforce DOCUMENT_ROOT check when using --php-docroot to + avoid directory traversal (Marios Nicolaides) + * added --shutdown-sockets to improve graceful shutdowns (Andrew Wason) + +------------------------------------------------------------------- +Tue Feb 27 11:53:27 UTC 2018 - [email protected] + +- Update License tag to SPDX 3 version: + Apache-2.0 AND GPL-2.0-only WITH GCC-exception-2.0. + +------------------------------------------------------------------- +Sun Feb 18 18:51:03 UTC 2018 - [email protected] + +- removed obsolete reproducible.patch +- Update to 2.0.16: + * [CVE-2018-6758] Stack-based buffer overflow in + core/utils.c:uwsgi_expand_path() + * Backported early_post_jail plugin hook (Bjørnar Ness) + * Fixed ipv6 suupport for http-socket (James Brown) + * Enable execinfo on DragonFly BSD (Aaron LI) + * Fix inet_ntop buffer size (Orivej Desh) + * Add worker running time metrics (Serge/yasek) + * Backported safe-pidfile, safe-pidfile2 (Nate Coraor) + * Stop using libxml2 by default on osx + * Fixed uwsgi_kvlist_parse signature + * Backport http range fixes from master (Curtis Maloney, Sokolov Yura) + * relicensed mod_proxy_uwsgi to Apache 2.0 + * logging: Add ${millis} support to json encode + * plugins/router_xmldir: fixup invalid locale check (Riccardo Magliocchetti) + * Add ssl-verify-depth flag to set the max Client CA chain length (Paul Tagliamonte) + * Allow to override build date (Bernhard M. Wiedemann) + * Python 3 plugin: improved thread names handling (Jyrki Muukkonen, Mark Meyer) + * Added uwsgi_resolve_ip for redis host (ahmbas) + * plugins/gevent: Fix signal handlers (Maslov Alexander) + * Write x509 DER to the uwsgi buffer (Paul Tagliamonte) + * plugin/http: Fix compilation (Melvyn Sopacua) + * Fixed emperor throttling system (Jeremy Hiatt) + * Fix application loading without Plack after excluding “.” from @INC in new Perl versions (Anton Petrusevich) + * Fix MULE MSG QUEUE IS FULL message hint (Eugene Tataurov) + * Build System: support k_minor has a _xxx suffix (TOGO Li) + * Fixed drop-after-* options (Robert DeRose) + * Add mule_send_msg success indicator (Josh Tiras) + * Properly check item size in uwsgi_queue_push (Josh Tiras) + * FastRouter / HTTP Router can now have a ‘fallback’ key configured + * HTTP Router now supports post-buffer, just like FastRouter + * Fix handling of env in embedded dict in Python plugin (could cause segfaults in single thread mode) + * Add support for Brotli (.br) with –static-gzip + * Back-ported HTTP/1.1 support (–http11-socket) from 2.1 + +------------------------------------------------------------------- +Sun Dec 10 04:51:02 UTC 2017 - [email protected] + +- fix a leaf problem found by repo-checker + * uwsgi-python3 can't be install because it requires python-base = 3.6 + which should be python3-base + +------------------------------------------------------------------- +Wed Nov 09 00:00:00 UTC 2017 - [email protected] + +- creating /run/uwsgi for sockets via systemd service now + +------------------------------------------------------------------- +Wed Oct 26 00:00:00 UTC 2017 - [email protected] + +- Update to 2.0.15: [2017-03-30] + * workaround for the holy allocator for avoiding crashes with newrelic (see + Issues notes) + * avoid time overflow in request logs during (even minimal) clock skew + * fixed python logger with python3 + * fixed catch-exceptions with python3 + * backported “don’t clone $env->{‘psgix.io’} on ‘PSGI cancel’” + * added support for authentication in the redis logger + * added the spinningfifo action hook to the core + * fixed compilation with php 7.1 (Дамјан Георгиевски) + * correctly returns error code 22 in lazy_apps + master_mode + * fixed compilation for OpenSSL 1.1 (Riccardo Magliocchetti) + * Add a –skip-atexit-teardown option to skip perl/python teardown (Ævar + Arnfjörð Bjarmason) + * fixed static file serving over https-socket +- building now php7 plugin via php7-embed package for Factory/Tumbleweed +- removing uwsgi-1.9.13-emperor_pg-Wformat.patch + +------------------------------------------------------------------- +Wed Oct 18 08:35:31 UTC 2017 - [email protected] + +- Trim filler wording from description. + +------------------------------------------------------------------- +Sat Jun 24 06:59:57 UTC 2017 - [email protected] + +- Add reproducible.patch to override build date to make build more reproducible +- sort list of plugins + +------------------------------------------------------------------- +Wed Oct 5 12:14:59 UTC 2016 - [email protected] + +- Update to 2.0.14: + * backported gevent-early-monkey-patch (jianbin-wei) + * Fixed OpenBSD version check (Pavel Korovin) + * PSGI/Perl cache api fixes (Alexander Demenshin) ++++ 1384 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.1:Update/.uwsgi.12194.new.3160/uwsgi.changes New: ---- README.openSUSE django.ini.example opensuse.ini.in rails.yml.example trac.ini.example uwsgi-1.9.11-systemd_logger-old_systemd.patch uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch uwsgi-1.9.17-plugin_build_path.patch uwsgi-2.0.12-no-LD_RUN_PATH.patch uwsgi-2.0.18-postgresql-config.patch uwsgi-2.0.18.tar.gz uwsgi.changes uwsgi.ini uwsgi.service uwsgi.spec werkzeug.xml.example ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uwsgi.spec ++++++ ++++ 768 lines (skipped) ++++++ README.openSUSE ++++++ ==================== openSUSE uWSGI Notes ==================== Upgrading from 1.2.6 -------------------- The init script and the sysconfig file /etc/sysconfig/uwsgi are now deprecated in favor of a systemd service and a default configuration file /etc/uwsgi/uwsgi.ini. Emperor Mode ------------ The included uwsgi service runs uWSGI in Emperor mode by default. It will monitor the /etc/uwsgi/vassals directory for configurations and will automatically load and restart uWSGI processes when configuration files are placed there or modified. Some example configurations are provided in the directory. To enable one, rename it without the .example at the end and edit for your application. For more information on Emperor mode, see https://uwsgi-docs.readthedocs.org/en/latest/Emperor.html Plugins ------- This uWSGI package is fully modular. Some plugins, such as the Python plugin, are not embedded in the main server binary. This means that your application configurations need to specify the plugins it uses. For example, a Python application will need the following option specified: plugins = python Alternatively, uWSGI has a autoload option that will load any plugins when it encounters options for those plugins in the configuration. To enable that, use the following in the configuration: autoload = 1 ++++++ django.ini.example ++++++ [uwsgi] plugin = python socket = 127.0.0.1:3034 threads = 40 master = 1 autoload = 1 env = DJANGO_SETTINGS_MODULE=myapp.settings module = django.core.handlers.wsgi:WSGIHandler() chdir = /srv/djangoapp001 ++++++ opensuse.ini.in ++++++ [uwsgi] inherit = base plugin_dir = @@LIBDIR@@/uwsgi embedded_plugins = null plugins = @@PLUGINS@@ ++++++ rails.yml.example ++++++ uwsgi: plugins: rack rack: config.ru master: 1 autoload: 1 processes: 8 socket: 127.0.0.1:3033 post-buffering: 4096 chdir: /srv/railsapp001 ++++++ trac.ini.example ++++++ [uwsgi] master = true autoload = true processes = 2 module = trac.web.main:dispatch_request env = TRAC_ENV=/srv/project001 socket = 127.0.0.1:3032 ++++++ uwsgi-1.9.11-systemd_logger-old_systemd.patch ++++++ --- a/plugins/systemd_logger/systemd_logger.c +++ b/plugins/systemd_logger/systemd_logger.c @@ -1,5 +1,6 @@ #include "../../uwsgi.h" +#include <syslog.h> #include <systemd/sd-journal.h> ssize_t uwsgi_systemd_logger(struct uwsgi_logger *ul, char *message, size_t len) { ++++++ uwsgi-1.9.13-objc_gc-no-fobjc-gc.patch ++++++ --- a/plugins/objc_gc/uwsgiplugin.py +++ b/plugins/objc_gc/uwsgiplugin.py @@ -1,5 +1,5 @@ NAME="objc_gc" -CFLAGS=["-fobjc-gc"] +CFLAGS=[] LDFLAGS=[] LIBS=[] GCC_LIST=['objc_gc.m'] ++++++ uwsgi-1.9.17-plugin_build_path.patch ++++++ Index: uwsgi-2.0.13/uwsgiconfig.py =================================================================== --- uwsgi-2.0.13.orig/uwsgiconfig.py +++ uwsgi-2.0.13/uwsgiconfig.py @@ -1420,10 +1420,7 @@ def build_plugin(path, uc, cflags, ldfla except: pass - if uc: - plugin_dest = uc.get('plugin_build_dir', uc.get('plugin_dir')) + '/' + name + '_plugin' - else: - plugin_dest = name + '_plugin' + plugin_dest = name + '_plugin' shared_flag = '-shared' ++++++ uwsgi-2.0.12-no-LD_RUN_PATH.patch ++++++ Index: uwsgi-2.0.13/plugins/jvm/uwsgiplugin.py =================================================================== --- uwsgi-2.0.13.orig/plugins/jvm/uwsgiplugin.py +++ uwsgi-2.0.13/plugins/jvm/uwsgiplugin.py @@ -65,11 +65,6 @@ if "-framework JavaVM" in JVM_LIBPATH: GCC_LIST = ['jvm_plugin'] -if 'LD_RUN_PATH' in os.environ: - os.environ['LD_RUN_PATH'] += ':' + JVM_LIBPATH[0][2:] -else: - os.environ['LD_RUN_PATH'] = JVM_LIBPATH[0][2:] - def post_build(config): if os.system("javac %s/plugins/jvm/uwsgi.java" % os.getcwd()) != 0: os._exit(1) Index: uwsgi-2.0.13/plugins/php/uwsgiplugin.py =================================================================== --- uwsgi-2.0.13.orig/plugins/php/uwsgiplugin.py +++ uwsgi-2.0.13/plugins/php/uwsgiplugin.py @@ -19,7 +19,6 @@ LDFLAGS = os.popen(PHPPATH + ' --ldflags if ld_run_path: LDFLAGS.append('-L%s' % ld_run_path) - os.environ['LD_RUN_PATH'] = ld_run_path LIBS = [os.popen(PHPPATH + ' --libs').read().rstrip(), '-lphp' + php_version] Index: uwsgi-2.0.13/plugins/python/uwsgiplugin.py =================================================================== --- uwsgi-2.0.13.orig/plugins/python/uwsgiplugin.py +++ uwsgi-2.0.13/plugins/python/uwsgiplugin.py @@ -58,8 +58,6 @@ if not 'UWSGI_PYTHON_NOLIB' in os.enviro LDFLAGS.append("-L%s" % libdir) LDFLAGS.append("-Wl,-rpath,%s" % libdir) - os.environ['LD_RUN_PATH'] = "%s" % libdir - LIBS.append('-lpython%s' % get_python_version()) else: LIBS = [] Index: uwsgi-2.0.13/plugins/rack/uwsgiplugin.py =================================================================== --- uwsgi-2.0.13.orig/plugins/rack/uwsgiplugin.py +++ uwsgi-2.0.13/plugins/rack/uwsgiplugin.py @@ -46,7 +46,6 @@ LIBS = os.popen(RUBYPATH + " -e \"requir if has_shared == 'yes': LDFLAGS.append('-L' + libpath ) - os.environ['LD_RUN_PATH'] = libpath LIBS.append(os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip()) else: rubylibdir = os.popen(RUBYPATH + " -e \"require 'rbconfig';print RbConfig::CONFIG['rubylibdir']\"").read().rstrip() Index: uwsgi-2.0.13/plugins/ruby19/uwsgiplugin.py =================================================================== --- uwsgi-2.0.13.orig/plugins/ruby19/uwsgiplugin.py +++ uwsgi-2.0.13/plugins/ruby19/uwsgiplugin.py @@ -40,6 +40,5 @@ LDFLAGS = os.popen(RUBYPATH + " -e \"req libpath = os.popen(RUBYPATH + " -e \"require 'rbconfig';print %s::CONFIG['libdir']\"" % rbconfig).read().rstrip() LDFLAGS.append('-L' + libpath ) -os.environ['LD_RUN_PATH'] = libpath LIBS = os.popen(RUBYPATH + " -e \"require 'rbconfig';print '-l' + %s::CONFIG['RUBY_SO_NAME']\"" % rbconfig).read().rstrip().split() ++++++ 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.ini ++++++ [uwsgi] # Directory containing application configs emperor = /etc/uwsgi/vassals ++++++ uwsgi.service ++++++ [Unit] Description=Application Container Server for Networked/Clustered Web Applications Documentation=https://uwsgi-docs.readthedocs.io/en/latest/ [Service] 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 ++++++ werkzeug.xml.example ++++++ <uwsgi> <module>werkzeug.testapp:test_app</module> <master/> <processes>4</processes> <socket>127.0.0.1:3031</socket> </uwsgi>
