diff --git a/uwsgi-2.0.3.tar.gz b/uwsgi-2.0.3.tar.gz deleted file mode 100644 index eea107f..0000000 --- a/uwsgi-2.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ef55e0f10f0553a5ab296d7c323372cdff1cab5d6e7b99aedc424e4733259109 -size 757335 diff --git a/uwsgi-2.0.6.tar.gz b/uwsgi-2.0.6.tar.gz new file mode 100644 index 0000000..9f6b30a --- /dev/null +++ b/uwsgi-2.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a5cd4cf8c7dc694fd433d8492019f30d19e7c3bf233b5f28823795026864166e +size 773418 diff --git a/uwsgi.changes b/uwsgi.changes index 5caa2fe..ed2e27b 100644 --- a/uwsgi.changes +++ b/uwsgi.changes @@ -1,3 +1,134 @@ +------------------------------------------------------------------- +Tue Jul 1 17:14:31 UTC 2014 - jfunk@funktronics.ca + +- Update to 2.0.6: + * Bugfixes + * fixed a memory leak with subscription system + * fixed shortcut for ssl-socket + * fixed apache2 mod_proxy_uwsgi (it is now considered stable with all mpm + engines) + * fixed SCRIPT_NAME and PATH_TRANSLATED generation in php plugin (thanks + Matthijs Kooijman) + * remove the old FIFO socket from the event queue when recreating it + (thanks Marko Tiikkaja) + * New features + * The new Rados plugins. The rados plugin has been improved and + stabilized, and now it is considered usable in production. + * --if-hostname. This is a configuration logic for including options only + when the specified hostname matches + * Apache2 mod_proxy_uwsgi stabilization. After literally years of bug + reports, and corrupted data, the mod_proxy_uwsgi is now stable, and on + modern apache2 releases it supports unix sockets too + * uwsgi[rsize] routing var. This routing var (meaningful only in the + 'final' chain) exposes the response size of the request + * the callint scheme. This scheme allows you to generate blob from + functions exposed by your uWSGI instance + * --fastrouter-fallback-on-no-key. The corerouters fallback procedure + requires a valid key (domain name) has been requested. This option + forces the various routers to trigger the fallback procedure even if a + key has not been found + * php 5.5 opcode caching via --php-sapi-name + * Improved chain-reloading. Thanks to Marko Tiikkaja the chain reloading + procedure correctly works in cheaper modes and it is more verbose + * added 'chdir' keyval to --attach-daemon2. You can now set where attached + daemons need to chdir() +- Changes from 2.0.5: + * Bugfixes + * fixed support for repeated headers in lua plugin (Credits: tizoc) + * fixed support for embedding config in OpenBSD and NetBSD + * various fixes in the curl-based plugins (Credits: Yu Zhao) + * fixed milliseconds-based waits + * fixed sharedarea poller + * fixed stats server json escaper + * fixed fastcgi parser and implemented eof management (Credits: Jeff + Trawick) + * improved fast on-demand mode + * exclude avg_rt computation for static files + * fixed variables support in uwsgi internal router + * fixed websockets + keepalive ordering + * disable SIGPIPE management in corutines-based loop-engines + * fixed 64bit sharedarea management in 32bit systems + * honour chmod/chown-socket in fd0 mode + * hack for avoiding Safari iOS to make mess with keepalive + * fixed log setup when both --logto and --log2 (Credits: Łukasz + Mierzwa) + * fixed mule_get_msg EAGAIN + * signal_pidfile returns the right error code + * fixed asyncio on OSX + * New features + * graceful reload of mule processes (Credits: Paul Egan). SIGHUP is now + sent to mules instead of directly killing them + * return routing action (Credits: Yu Zhao). The new action will allow + users to write simplified "break" clause + * --emperor-no-blacklist. This new option, completely disables the + blacklisting Emperor subsystem + * Icecast2 protocol helpers + * --metrics-no-cores, --stats-no-cores, --stats-no-metrics. When you have + hundreds (or thousands) of async cores, exposing metrics of them could + be really slow. Three new options have been added allowing you to + disable the generation of core-related metrics and (eventually) their + usage in the stats server + * sharedarea improvements. The sharedarea api continues to improve. Latest + patches include support for mmapping device directly from the command + line + * UWSGI_GO_CHEAP_CODE. This exit code (15) can be raised by a worker to + tell the master to not respawn it + * PROXY1 support for the http router (Credits: bgglenn). The option + --http-enable-proxy-protocol allows the HTTP router to understand PROXY1 + protocol requests (like the ones made by haproxy or amazon elb) + * reset_after_push for metrics (Credits: Babacar Tall). This metric + attribute ensure that the matric value is reset to 0 (or its hardcoded + initial_value) evry time the metric is pushed to some external system + (like carbon, or statsd) + * setremoteaddr. This routing action allows you to completely override the + REMOTE_ADDR detected by protocol handlers + * The resolve option. There are uWSGI options (or plugins) that do not + automatically resolves dns name to ip addresses. This option allows you + to map a placeholder to the dns resolution of a string +- Changes from 2.0.4: + * Bugfixes + * fixed "mime" routing var (Steve Stagg) + * allow duplicate headers in http parsers + * faster on_demand Emperor management + * fixed UWSGI_ADDITIONAL_SOURCES build option + * merge duplicated headers when SPDY is enabled (Łukasz Mierzwa) + * fixed segfault for unnamed loggers + * --need-app works in lazy-apps mode + * fixed fatal hooks management + * New features + * The experimental asyncio loop engine (CPython >= 3.4). asyncio (also + known as 'tulip') is the new infrastructure for writing + non-blocking/async/callback-based code with Python 3. This plugin + (experimental) allows you to use asyncio as the uWSGI loop engine + * httprouter advanced timeout management. The http router got 2 new + specific timeout: + * --http-headers-timeout ; defines the timeout while waiting for + http headers + * --http-connect-timeout ; defines the timeout when connecting to + backend instances + they should help the sysadmin in improving security and availability. + Credits: Łukasz Mierzwa + * Allow disabling cache warnings in --cache2. Author: Łukasz Mierzwai. + The 'ignore_full' keyval option has beed added to cache2. This will + disable warnings when a cache is full + * purge LRU cache feature by Yu Zhao (getcwd). This new mode allows you to + configure a cache to automatically expires least recently used (LRU) + items when it is full. Just add purge_lru=1 to your cache2 directive + * support embedded config on FreeBSD. You can now embed config on FreeBSD + systems + * rpc hook. Two new hooks have been added: + * 'rpc' -> call the specified rpc function (fails on error) + * 'rpcretry' -> call the specified rpc function (retry on error) + * setmodifier1 and setmodifier2 routing actions. Having to load the + 'uwsgi' routing plugin just for setting modifiers was really annoying. + These two routing actions (embedded in the core) allow you to + dynamically set modifiers + * no_headers option for static router. Keyval based static routing action + can now avoid to rewrite response headers (useful for X-Sendfile), just + add no_headers=1 to your keyval options. +- Added Python 3 plugin +- Added rcuwsgi link + ------------------------------------------------------------------- Sat Mar 29 17:28:02 UTC 2014 - jfunk@funktronics.ca diff --git a/uwsgi.dsc b/uwsgi.dsc index e498771..9450c26 100644 --- a/uwsgi.dsc +++ b/uwsgi.dsc @@ -4,7 +4,7 @@ Binary: uwsgi, uwsgi-dbg, uwsgi-core, uwsgi-emperor, uwsgi-plugins-all, uwsgi-in python3-uwsgidecorators, uwsgi-extra Architecture: any all -Version: 2.0.3-1 +Version: 2.0.6-1 Maintainer: Janos Guljas Uploaders: Jonas Smedegaard Homepage: http://projects.unbit.it/uwsgi/ @@ -57,5 +57,5 @@ Package-List: uwsgi-plugin-v8 deb web extra uwsgi-plugin-xslt deb web extra uwsgi-plugins-all deb web extra -Debtransform-Tar: uwsgi-2.0.2.tar.gz +Debtransform-Tar: uwsgi-2.0.6.tar.gz Debtransform-Files-Tar: debian.tar.gz diff --git a/uwsgi.spec b/uwsgi.spec index cded994..5ee9c53 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -17,7 +17,7 @@ Name: uwsgi -Version: 2.0.3 +Version: 2.0.6 Release: 0 Summary: Application Container Server for Networked/Clustered Web Applications License: GPL-2.0-with-GCC-exception @@ -86,6 +86,7 @@ BuildRequires: pkg-config BuildRequires: postgresql-devel BuildRequires: python-devel BuildRequires: python-greenlet-devel +BuildRequires: python3-devel %if 0%{?suse_version} <= 1310 BuildRequires: ruby19-devel %endif @@ -372,6 +373,18 @@ container server coded in pure C. This package contains support for Python applications via the WSGI protocol. +%package python3 +Summary: Python 3 Plugin for uWSGI +Group: Productivity/Networking/Web/Servers +Requires: %{name} = %{version} + +%description python3 +uWSGI is a fast, self-healing and developer/sysadmin-friendly application +container server coded in pure C. + +This package contains support for Python 3 applications via the WSGI protocol. + + %if 0%{?suse_version} <= 1310 %package ruby Summary: Ruby Plugin for uWSGI @@ -464,8 +477,8 @@ excluded_plugins="$excluded_plugins alarm_xmpp" # No gccgo in openSUSE yet excluded_plugins="$excluded_plugins gccgo" -# These plugins require a libuwsgi, which appears to conflict with core... -excluded_plugins="$excluded_plugins go pyuwsgi" +# This plugin require a libuwsgi, which appears to conflict with core... +excluded_plugins="$excluded_plugins pyuwsgi" # The SPNEGO router is not complete excluded_plugins="$excluded_plugins router_spnego" @@ -517,6 +530,9 @@ export CFLAGS="%{optflags} -I$(echo %{_libdir}/erlang/lib/erl_interface-*/includ %{?jobs:export CPUCOUNT=%jobs} python uwsgiconfig.py --build opensuse +# Build python3 plugin +python3 uwsgiconfig.py --plugin plugins/python opensuse python3 + # Build Apache modules %{apxs} -c apache2/mod_proxy_uwsgi.c %{apxs} -c apache2/mod_uwsgi.c @@ -534,9 +550,14 @@ install -m 0644 vassals/cc.ini %{buildroot}%{_sysconfdir}/uwsgi/vassals/cc.ini.e install -m 0644 vassals/multi.xml %{buildroot}%{_sysconfdir}/uwsgi/vassals/multi.xml.example install -D -m 0644 uwsgidecorators.py %{buildroot}%{python_sitelib}/uwsgidecorators.py %py_compile %{buildroot}%{python_sitelib} +install -D -m 0644 uwsgidecorators.py %{buildroot}%{python3_sitelib}/uwsgidecorators.py +%py_compile %{buildroot}%{python3_sitelib} install -D plugins/jvm/uwsgi.jar %{buildroot}%{_javadir}/uwsgi.jar install -d -m 0755 %{buildroot}/%{apache_libexecdir} install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir} +%if 0%{?suse_version} > 1220 +ln -sf /usr/sbin/service %{buildroot}%{_sbindir}/rcuwsgi +%endif %pre %service_add_pre uwsgi.service @@ -560,8 +581,12 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir} %{_sysconfdir}/uwsgi/vassals/* %dir %{_libdir}/uwsgi %{_unitdir}/uwsgi.service +%if 0%{?suse_version} > 1220 +%{_sbindir}/rcuwsgi +%endif %{_libdir}/uwsgi/airbrake_plugin.so %{_libdir}/uwsgi/alarm_curl_plugin.so +%{_libdir}/uwsgi/asyncio_plugin.so %{_libdir}/uwsgi/cache_plugin.so %{_libdir}/uwsgi/carbon_plugin.so %{_libdir}/uwsgi/cgi_plugin.so @@ -709,6 +734,11 @@ install -m 0755 apache2/.libs/*.so %{buildroot}/%{apache_libexecdir} %{_libdir}/uwsgi/python_plugin.so %{python_sitelib}/uwsgidecorators.py* +%files python3 +%defattr(-,root,root,-) +%{_libdir}/uwsgi/python3_plugin.so +%{python3_sitelib}/uwsgidecorators.py* + %if 0%{?suse_version} <= 1310 %files ruby %defattr(-,root,root,-)