Hello community, here is the log from the commit of package uwsgi for openSUSE:Factory checked in at 2017-12-14 10:55:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uwsgi (Old) and /work/SRC/openSUSE:Factory/.uwsgi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uwsgi" Thu Dec 14 10:55:16 2017 rev:24 rq:555662 version:2.0.15 Changes: -------- --- /work/SRC/openSUSE:Factory/uwsgi/uwsgi.changes 2017-08-10 14:13:04.312269857 +0200 +++ /work/SRC/openSUSE:Factory/.uwsgi.new/uwsgi.changes 2017-12-14 10:55:54.096195926 +0100 @@ -1,0 +2,38 @@ +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. + +------------------------------------------------------------------- Old: ---- uwsgi-1.9.13-emperor_pg-Wformat.patch uwsgi-2.0.14.tar.gz New: ---- uwsgi-2.0.15.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uwsgi.spec ++++++ --- /var/tmp/diff_new_pack.8BUBvX/_old 2017-12-14 10:55:59.187950126 +0100 +++ /var/tmp/diff_new_pack.8BUBvX/_new 2017-12-14 10:55:59.187950126 +0100 @@ -1,7 +1,7 @@ # # spec file for package uwsgi # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: uwsgi -Version: 2.0.14 +Version: 2.0.15 Release: 0 Summary: Application Container Server for Networked/Clustered Web Applications License: GPL-2.0-with-GCC-exception Group: Productivity/Networking/Web/Servers -Url: http://projects.unbit.it/uwsgi/wiki +Url: https://uwsgi-docs.readthedocs.io/en/latest/ Source: http://projects.unbit.it/downloads/uwsgi-%{version}.tar.gz Source1: opensuse.ini.in Source2: uwsgi.service @@ -40,10 +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-1.9.13-emperor_pg-Wformat.patch - gcc complains about lack of -Wformat with -Wformat-security from pg_config -Patch4: uwsgi-1.9.13-emperor_pg-Wformat.patch # PATCH-FIX-UPSTREAM reproducible.patch https://github.com/unbit/uwsgi/pull/1561 -Patch5: reproducible.patch +Patch4: reproducible.patch %define apache_branch %(rpm -q --qf %%{version} apache2 | grep -E -o "2\\.[0-9]+") %if "%{apache_branch}" == "2.4" %define apxs %{_bindir}/apxs2 @@ -83,7 +81,10 @@ BuildRequires: openssl-devel BuildRequires: pam-devel BuildRequires: pcre-devel -#BuildRequires: php5-devel +%if 0%{?suse_version} > 1320 +BuildRequires: php7-devel +BuildRequires: php7-embed +%endif BuildRequires: pkg-config BuildRequires: postgresql-devel BuildRequires: python-devel @@ -134,12 +135,10 @@ Obsoletes: uwsgi-zergpool < 1.9.11 %description -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. -Born as a WSGI-only server, over time it has evolved in a complete stack for -networked/clustered web applications, implementing message/object passing, -caching, RPC and process management. +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, @@ -149,12 +148,7 @@ various forms of green threads/coroutines (such as uGreen, Greenlet, Stackless, Gevent and Fiber). -Sysadmins will love it as it can be configured via several methods: command -line, environment variables, XML, .ini, yaml, json, sqlite3 database and via -LDAP. - -On top of all this, it is designed to be fully modular. This means that -different plugins can be used in order to add compatibility with tons of +Different plugins can be used in order to add compatibility with different technology on top of the same core. @@ -164,8 +158,7 @@ Requires: %{name} = %{version} %description -n apache2-mod_proxy_uwsgi -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains an Apache 2.0 proxy module for uWSGI. @@ -176,8 +169,7 @@ Requires: %{name} = %{version} %description -n apache2-mod_uwsgi -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains an Apache 2.0 module for uWSGI. @@ -188,8 +180,7 @@ Requires: %{name} = %{version} %description emperor_pg -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains an emperor plugin allowing for configuration of applications (vassals) in a PostgreSQL database. @@ -201,8 +192,7 @@ Requires: %{name} = %{version} %description emperor_zeromq -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains an emperor plugin allowing for configuration of applications (vassals) via ZeroMQ. @@ -215,8 +205,7 @@ Requires: %{name}-python = %{version} %description geoip -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for GeoIP routing. @@ -228,8 +217,7 @@ Requires: %{name}-python = %{version} %description gevent -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Python Gevent, which is a non-blocking networking framework. @@ -242,8 +230,7 @@ Requires: %{name} = %{version} %description glusterfs -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for returning objects directly from a GlusterFS filesystem @@ -256,8 +243,7 @@ Requires: %{name}-python = %{version} %description greenlet -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for the Python Greenlet non-blocking network framework. @@ -271,8 +257,7 @@ Obsoletes: uwsgi-jwsgi < 1.9.11 %description jvm -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for embedding a Java virtual machine in uWSGI. @@ -283,20 +268,18 @@ Requires: %{name} = %{version} %description ldap -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for configuring uWSGI via LDAP. %package libffi -Summary: libffi Plugin for uWSGI +Summary: Plugin libffi for uWSGI Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} %description libffi -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for libffi. @@ -307,8 +290,7 @@ Requires: %{name} = %{version} %description logzmq -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for ZMQ logging. @@ -319,8 +301,7 @@ Requires: %{name} = %{version} %description lua -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Lua applications via the wsapi interface. @@ -331,8 +312,7 @@ Requires: %{name} = %{version} %description pam -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for PAM authentication. @@ -344,8 +324,7 @@ %{?libperl_requires} %description psgi -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains the PSGI plugin for running Perl applications that support the PSGI protocol. @@ -357,8 +336,7 @@ Requires: %{name} = %{version} %description pypy -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Python applications using PyPy. @@ -367,10 +345,10 @@ Summary: Python Plugin for uWSGI Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} +Requires: python-base >= 2.7 %description python -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Python applications via the WSGI protocol. @@ -379,10 +357,10 @@ Summary: Python 3 Plugin for uWSGI Group: Productivity/Networking/Web/Servers Requires: %{name} = %{version} +Requires: python3-base >= 3.6 %description python3 -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Python 3 applications via the WSGI protocol. @@ -397,8 +375,7 @@ Obsoletes: uwsgi-fiber < 1.9.11 %description ruby -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for Ruby applications. %endif @@ -409,8 +386,7 @@ Requires: %{name} = %{version} %description sqlite3 -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for storing application configuration in SQLite3 databases. @@ -424,8 +400,7 @@ Requires: %{name} = %{version} %description v8 -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for JavaScript using V8. %endif @@ -437,11 +412,22 @@ Requires: %{name} = %{version} %description xslt -uWSGI is a fast, self-healing and developer/sysadmin-friendly application -container server coded in pure C. +uWSGI is a self-healing application container server coded in pure C. This package contains support for rendering XML content using XSLT. +%if 0%{?suse_version} > 1320 +%package php7 +Summary: PHP7 Plugin for uWSGI +Group: Productivity/Networking/Web/Servers +Requires: %{name} = %{version} +Requires: php7-embed + +%description php7 +uWSGI is a self-healing application container server coded in pure C. + +This package contains support for PHP version 7. +%endif %prep %setup -q -n uwsgi-%{version} @@ -450,7 +436,6 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -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="" @@ -465,8 +450,10 @@ # Only for OSX excluded_plugins="$excluded_plugins alarm_speech" -# No libphp on openSUSE for some reason +%if 0%{?suse_version} <= 1320 +# No php[57]-embed on openSUSE Leap for some reason excluded_plugins="$excluded_plugins php" +%endif # No stackless in openSUSE excluded_plugins="$excluded_plugins stackless" @@ -540,6 +527,11 @@ %{apxs} -c apache2/mod_proxy_uwsgi.c %{apxs} -c apache2/mod_uwsgi.c +# Build php7 plugin +%if 0%{?suse_version} > 1320 +python3 uwsgiconfig.py --plugin plugins/php opensuse php7 +%endif + %install install -D -m 0755 uwsgi %{buildroot}%{_sbindir}/uwsgi install -d -m 0755 %{buildroot}%{_libdir}/uwsgi @@ -581,8 +573,9 @@ %dir %{_sysconfdir}/uwsgi/ %config(noreplace) %{_sysconfdir}/uwsgi/uwsgi.ini %dir %{_sysconfdir}/uwsgi/vassals -%{_sysconfdir}/uwsgi/vassals/* +%config %{_sysconfdir}/uwsgi/vassals/* %dir %{_libdir}/uwsgi +%ghost /run/uwsgi %{_unitdir}/uwsgi.service %if 0%{?suse_version} > 1220 %{_sbindir}/rcuwsgi @@ -768,4 +761,10 @@ %defattr(-,root,root,-) %{_libdir}/uwsgi/xslt_plugin.so +%if 0%{?suse_version} > 1320 +%files php7 +%defattr(-,root,root,-) +%{_libdir}/uwsgi/php*_plugin.so +%endif + %changelog ++++++ uwsgi-2.0.14.tar.gz -> uwsgi-2.0.15.tar.gz ++++++ ++++ 1845 lines of diff (skipped) ++++++ uwsgi.service ++++++ --- /var/tmp/diff_new_pack.8BUBvX/_old 2017-12-14 10:55:59.563931976 +0100 +++ /var/tmp/diff_new_pack.8BUBvX/_new 2017-12-14 10:55:59.567931782 +0100 @@ -1,7 +1,11 @@ [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
