From c4714c6fa89b95d10a09a616e8eda9fc8e0d8dc3 Mon Sep 17 00:00:00 2001 From: Jorge Gallegos Date: Thu, 28 Aug 2014 21:02:14 -0700 Subject: [PATCH] Splitting off some non-essential embedded plugins: Such as -plugin-cache, -plugin-rpc and -plugin-ugreen --- fedora.ini | 4 ++-- uwsgi.spec | 37 ++++++++++++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/fedora.ini b/fedora.ini index 500b46f..2d192ce 100644 --- a/fedora.ini +++ b/fedora.ini @@ -8,5 +8,5 @@ pcre = auto routing = auto ssl = auto malloc_implementation = libc -embedded_plugins = corerouter, echo, http, ping -plugins = cache, carbon, cgi, fastrouter, greenlet, jvm, logcrypto, logfile, logpipe, logsocket, logzmq, lua, mongodblog, nagios, pam, php, psgi, python, rack, rawrouter, redislog, router_access, router_basicauth, router_cache, router_expires, router_hash, router_http, router_memcached, router_metrics, router_radius, router_redirect, router_redis, router_rewrite, router_spnego, router_static, router_uwsgi, router_xmldir, rpc, rrdtool, rsyslog, ruby19, sslrouter, syslog, systemd_logger, ugreen, zergpool +embedded_plugins = corerouter, echo, ping +plugins = cache, carbon, cgi, fastrouter, greenlet, http, jvm, logcrypto, logfile, logpipe, logsocket, logzmq, lua, mongodblog, nagios, pam, php, psgi, python, rack, rawrouter, redislog, router_access, router_basicauth, router_cache, router_expires, router_hash, router_http, router_memcached, router_metrics, router_radius, router_redirect, router_redis, router_rewrite, router_spnego, router_static, router_uwsgi, router_xmldir, rpc, rrdtool, rsyslog, ruby19, sslrouter, syslog, systemd_logger, ugreen, zergpool diff --git a/uwsgi.spec b/uwsgi.spec index 88c1da5..1d05923 100644 --- a/uwsgi.spec +++ b/uwsgi.spec @@ -171,6 +171,14 @@ This package contains the ZeroMQ logger plugin for uWSGI # Plugins +%package -n %{name}-plugin-cache +Summary: uWSGI - Plugin for cache support +Group: System Environment/Daemons +Requires: %{name}-plugin-common + +%description -n %{name}-plugin-cache +This package contains the cache plugin for uWSGI + %package -n %{name}-plugin-carbon Summary: uWSGI - Plugin for Carbon/Graphite support Group: System Environment/Daemons @@ -259,6 +267,14 @@ Requires: rubygem-rack, %{name}-plugin-common %description -n %{name}-plugin-rack This package contains the rack plugin for uWSGI +%package -n %{name}-plugin-rpc +Summary: uWSGI - Plugin for RPC support +Group: System Environment/Daemons +Requires: rrdtool, %{name}-plugin-common + +%description -n %{name}-plugin-rpc +This package contains the RPC plugin for uWSGI + %package -n %{name}-plugin-rrdtool Summary: uWSGI - Plugin for RRDTool support Group: System Environment/Daemons @@ -275,6 +291,14 @@ Requires: ruby, %{name}-plugin-common %description -n %{name}-plugin-ruby This package contains the Ruby 1.9 plugin for uWSGI +%package -n %{name}-plugin-ugreen +Summary: uWSGI - Plugin for uGreen support +Group: System Environment/Daemons +Requires: %{name}-plugin-common + +%description -n %{name}-plugin-ugreen +This package contains the uGreen plugin for uWSGI + %package -n %{name}-plugin-zergpool Summary: uWSGI - Plugin for zergpool support Group: System Environment/Daemons @@ -424,10 +448,8 @@ exit 0 %files -n %{name}-plugin-common %dir %{_libdir}/%{name} -%{_libdir}/%{name}/cache_plugin.so +%{_libdir}/%{name}/http_plugin.so %{_libdir}/%{name}/cgi_plugin.so -%{_libdir}/%{name}/rpc_plugin.so -%{_libdir}/%{name}/ugreen_plugin.so # Loggers @@ -463,6 +485,9 @@ exit 0 # Plugins +%files -n %{name}-plugin-cache +%{_libdir}/%{name}/cache_plugin.so + %files -n %{name}-plugin-carbon %{_libdir}/%{name}/carbon_plugin.so @@ -500,9 +525,15 @@ exit 0 %files -n %{name}-plugin-rrdtool %{_libdir}/%{name}/rrdtool_plugin.so +%files -n %{name}-plugin-rpc +%{_libdir}/%{name}/rpc_plugin.so + %files -n %{name}-plugin-ruby %{_libdir}/%{name}/ruby19_plugin.so +%files -n %{name}-plugin-ugreen +%{_libdir}/%{name}/ugreen_plugin.so + %files -n %{name}-plugin-zergpool %{_libdir}/%{name}/zergpool_plugin.so