From e6a223498f30f808d1c10d7ac4d692a809e50b1bc75f9c7fdfd06a35c99ea3d9 Mon Sep 17 00:00:00 2001 From: James Oakley Date: Thu, 17 Oct 2013 21:55:17 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=201.9.18.2:=20=20=20*=20check?= =?UTF-8?q?=20for=20NULL=20dictionary=20values=20in=20python3=20autoreload?= =?UTF-8?q?er=20=20=20*=20fixed=20fastrouter=20realloc()=20bug=20=20=20*?= =?UTF-8?q?=20fixed=20stdin=20and=20embedded=20configuration=20=20=20*=20f?= =?UTF-8?q?ixed=20vassal's=20strict=20mode=20=20=20*=20fixed=20UUID=20rand?= =?UTF-8?q?omization=20when=20libuuid=20is=20not=20used=20=20=20*=20added?= =?UTF-8?q?=20--iprint=20(immediate=20print)=20option=20-=20Changes=20from?= =?UTF-8?q?=201.9.18:=20=20=20*=20License=20change.=20This=20version=20of?= =?UTF-8?q?=20uWSGI=20is=20the=20first=20of=20the=201.9=20tree=20using=20?= =?UTF-8?q?=20=20=20=20GPL2=20+=20linking=20exception=20instead=20of=20pla?= =?UTF-8?q?in=20GPL2=20=20=20*=20Bugfixes=20=20=20=20=20*=20fixed=20uwsgi?= =?UTF-8?q?=20native=20protocol=20support=20on=20big=20endian=20machines?= =?UTF-8?q?=20=20=20=20=20*=20fixed=20jvm=20build=20system=20for=20arm=20(?= =?UTF-8?q?Jorge=20Gallegos)=20=20=20=20=20*=20fixed=20a=20memleak=20spott?= =?UTF-8?q?ed=20by=20cppcheck=20in=20zlib=20management=20=20=20=20=20*=20c?= =?UTF-8?q?hdir()=20at=20every=20emperor=20glob=20iteration=20=20=20=20=20?= =?UTF-8?q?*=20correctly=20honour=20--force-cwd=20=20=20=20=20*=20fixed=20?= =?UTF-8?q?ia64/Linux=20compilation=20(Jonas=20Smedegaard/Riccardo=20Magli?= =?UTF-8?q?occhetti)=20=20=20=20=20*=20fixed=20ruby=20rvm=20paths=20parsin?= =?UTF-8?q?g=20order=20=20=20=20=20*=20added=20waitpid()=20after=20daemon?= =?UTF-8?q?=E2=80=99s=20SIGTERM=20(=C5=81ukasz=20Mierzwa)=20=20=20=20=20*?= =?UTF-8?q?=20fixed=20pid=20numbering=20after=20--idle=20(=C5=81ukasz=20Mi?= =?UTF-8?q?erzwa)=20=20=20=20=20*=20fixed/improved=20cheaper=20memory=20li?= =?UTF-8?q?mits=20(=C5=81ukasz=20Mierzwa)=20=20=20=20=20*=20correctly=20cl?= =?UTF-8?q?ose=20inherited=20sockets=20in=20gateways=20=20=20=20=20*=20fix?= =?UTF-8?q?=20checks=20for=20MAP=5FFAILED=20in=20mmap()=20(instead=20of=20?= =?UTF-8?q?NULL)=20=20=20=20=20*=20fixed=20FastCGI=20non-blocking=20body?= =?UTF-8?q?=20read()=20(patch=20by=20Arkaitz=20Jimenez)=20=20=20=20=20*=20?= =?UTF-8?q?fixed=20attach.py=20script=20=20=20=20=20*=20avoid=20crashing?= =?UTF-8?q?=20on=20non-conformant=20PSGI=20response=20headers=20=20=20=20?= =?UTF-8?q?=20*=20run=20the=20python=20autoreloader=20even=20in=20non-apps?= =?UTF-8?q?=20mode=20when=20non-lazy=20=20=20*=20New=20Features=20=20=20?= =?UTF-8?q?=20=20*=20https://uwsgi-docs.readthedocs.org/en/latest/Changelo?= =?UTF-8?q?g-1.9.18.html=20=20=20=20=20*=20Minimal=20build=20profiles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=25 --- uwsgi-1.9.17.1.tar.gz | 3 -- uwsgi-1.9.18.2.tar.gz | 3 ++ uwsgi.changes | 78 +++++++++++++++++++++++++++++++++++++++++++ uwsgi.spec | 21 ++++++++++-- 4 files changed, 100 insertions(+), 5 deletions(-) delete mode 100644 uwsgi-1.9.17.1.tar.gz create mode 100644 uwsgi-1.9.18.2.tar.gz diff --git a/uwsgi-1.9.17.1.tar.gz b/uwsgi-1.9.17.1.tar.gz deleted file mode 100644 index 800d31e..0000000 --- a/uwsgi-1.9.17.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2558b918afe47640e3c4e75be4347e7e8dc7b19caf2120b6e1fb6bf17891c2a -size 696468 diff --git a/uwsgi-1.9.18.2.tar.gz b/uwsgi-1.9.18.2.tar.gz new file mode 100644 index 0000000..b2b658d --- /dev/null +++ b/uwsgi-1.9.18.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43f893bb346ac0da1a7d0d2d70c4e4f5bb28758488deec51ab6c0047f3e52427 +size 706180 diff --git a/uwsgi.changes b/uwsgi.changes index 655b8bc..7dccd5f 100644 --- a/uwsgi.changes +++ b/uwsgi.changes @@ -1,3 +1,81 @@ +------------------------------------------------------------------- +Thu Oct 17 18:10:06 UTC 2013 - jfunk@funktronics.ca + +- Update to 1.9.18.2: + * check for NULL dictionary values in python3 autoreloader + * fixed fastrouter realloc() bug + * fixed stdin and embedded configuration + * fixed vassal's strict mode + * fixed UUID randomization when libuuid is not used + * added --iprint (immediate print) option +- Changes from 1.9.18: + * License change. This version of uWSGI is the first of the 1.9 tree using + GPL2 + linking exception instead of plain GPL2 + * Bugfixes + * fixed uwsgi native protocol support on big endian machines + * fixed jvm build system for arm (Jorge Gallegos) + * fixed a memleak spotted by cppcheck in zlib management + * chdir() at every emperor glob iteration + * correctly honour --force-cwd + * fixed ia64/Linux compilation (Jonas Smedegaard/Riccardo Magliocchetti) + * fixed ruby rvm paths parsing order + * added waitpid() after daemon’s SIGTERM (Łukasz Mierzwa) + * fixed pid numbering after --idle (Łukasz Mierzwa) + * fixed/improved cheaper memory limits (Łukasz Mierzwa) + * correctly close inherited sockets in gateways + * fix checks for MAP_FAILED in mmap() (instead of NULL) + * fixed FastCGI non-blocking body read() (patch by Arkaitz Jimenez) + * fixed attach.py script + * avoid crashing on non-conformant PSGI response headers + * run the python autoreloader even in non-apps mode when non-lazy + * New Features + * https://uwsgi-docs.readthedocs.org/en/latest/Changelog-1.9.18.html + * Minimal build profiles + * Auto-fix modifier1. Now if the modifier1 of the request is zero, but the + python plugin is not loaded (or there are no python apps loaded) the + first configured app will be set instead (unless you disable with + feature with --no-default-app). + * Perl auto reloader. The --perl-auto-reload option allows the psgi plugin + to check for changed modules after every request. It takes the frequency + (in seconds) of the scan. + * The "raw" mode (preview technology, only for CPython). Raw mode allows + you to directly parse the request in your application callable. Instead + of getting a list of CGI vars/headers in your callable you only get the + file descriptor soon after accept(). You can then read()/write() to that + file descriptor in full freedom. + * Optional NON-standard support for CPython buffer protocol for WSGI + responses. This is a NON-standard behaviour you have to voluntarily + enable with --wsgi-accept-buffer. + * Emperor and config improvements + * The config system has been improved to be even more consistent in + respect to strict mode (reminder: with --strict you basically check + your config files for unknown options avoiding headaches caused by + typos). + * New magic vars have been added exposing the name of the original + config file (this simplifies templating when in Emperor mode), check + them at + https://github.com/unbit/uwsgi-docs/blob/master/Configuration.rst#magic-variables + * The Emperor got support for Linux capabilities using the --emperor-cap + option. The option takes the list of capability you want to maintain + for your vassals when they start as root + * Build system improvements + * The build system has been improved to link custom sources on the fly. + * Riccardo Magliocchetti rewrote the build script to use optparse + instead of raw/old-fashioned sys.argv parsing + * Pluginized the 'schemes' managementi. Schemes are the prefix part of + uWSGI uri's. When you do "uwsgi --ini http://foobar.local:9090/test.ini" + the http:// is the scheme, signalling uWSGI it has to download the + config file via http. Til now those 'schemes' were hardcoded. Now they + are exposed as plugins, so you can add more of them (or override the + default one). + * mountpoints checks. Allows for managing, for example, FUSE filesystems + with uWSGI: + http://uwsgi-docs.readthedocs.org/en/latest/tutorials/ReliableFuse.html + * Preliminary libffi plugin. As embedding c libraries for exposing hooks + is becoming more common, we have started working on libffi integration, + allowing safe (and sane) argument passing to hooks. More to came soon. + * Official support for kFreeBSD. Debian/kFreeBSD is officially supported. + ------------------------------------------------------------------- Tue Sep 24 16:49:25 UTC 2013 - jfunk@funktronics.ca diff --git a/uwsgi.spec b/uwsgi.spec index 4c5d600..4ac149f 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -17,10 +17,10 @@ Name: uwsgi -Version: 1.9.17.1 +Version: 1.9.18.2 Release: 0 Summary: Application Container Server for Networked/Clustered Web Applications -License: GPL-2.0+ +License: GPL-2.0-with-GCC-exception Group: Productivity/Networking/Web/Servers Url: http://projects.unbit.it/uwsgi/wiki Source: http://projects.unbit.it/downloads/uwsgi-%{version}.tar.gz @@ -57,6 +57,7 @@ BuildRequires: libGeoIP-devel BuildRequires: libattr-devel BuildRequires: libcap-devel BuildRequires: libcurl-devel +BuildRequires: libffi-devel %if 0%{?suse_version} > 1210 BuildRequires: libjansson-devel %endif @@ -274,6 +275,18 @@ container server coded in pure C. This package contains support for configuring uWSGI via LDAP. +%package libffi +Summary: libffi Plugin 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. + +This package contains support for libffi. + + %package lua Summary: Lua Plugin for uWSGI Group: Productivity/Networking/Web/Servers @@ -645,6 +658,10 @@ install -D plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar %defattr(-,root,root,-) %{_libdir}/uwsgi/ldap_plugin.so +%files libffi +%defattr(-,root,root,-) +%{_libdir}/uwsgi/libffi_plugin.so + %files lua %defattr(-,root,root,-) %{_libdir}/uwsgi/lua_plugin.so