From 2624dece5e488b4ff90b67ac6aba1c56b48df012 Mon Sep 17 00:00:00 2001 From: Alexys Jacob Date: Wed, 31 Dec 2014 14:32:36 +0000 Subject: [PATCH] version bump, drop old Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xB658FA13 --- www-servers/uwsgi/ChangeLog | 8 +- www-servers/uwsgi/Manifest | 14 +- www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild | 379 ------------------ www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild | 379 ------------------ ...{uwsgi-2.0.8.ebuild => uwsgi-2.0.9.ebuild} | 7 +- 5 files changed, 15 insertions(+), 772 deletions(-) delete mode 100644 www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild delete mode 100644 www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild rename www-servers/uwsgi/{uwsgi-2.0.8.ebuild => uwsgi-2.0.9.ebuild} (98%) diff --git a/www-servers/uwsgi/ChangeLog b/www-servers/uwsgi/ChangeLog index 21456ecb50a3..baaa8234bba6 100644 --- a/www-servers/uwsgi/ChangeLog +++ b/www-servers/uwsgi/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-servers/uwsgi # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.69 2014/12/28 17:01:45 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.70 2014/12/31 14:32:28 ultrabug Exp $ + +*uwsgi-2.0.9 (31 Dec 2014) + + 31 Dec 2014; Ultrabug -uwsgi-2.0.7-r1.ebuild, + -uwsgi-2.0.8.ebuild, -uwsgi-2.0.8-r2.ebuild, +uwsgi-2.0.9.ebuild: + version bump, drop old 28 Dec 2014; Aaron W. Swenson uwsgi-1.4.10-r1.ebuild, uwsgi-2.0.7-r1.ebuild, uwsgi-2.0.8.ebuild, uwsgi-2.0.8-r1.ebuild, diff --git a/www-servers/uwsgi/Manifest b/www-servers/uwsgi/Manifest index 5c4021973f1d..532ed93d41b4 100644 --- a/www-servers/uwsgi/Manifest +++ b/www-servers/uwsgi/Manifest @@ -15,20 +15,18 @@ AUX uwsgi.initd-r3 3614 SHA256 58b998b025e4a9df20ca917bc93e287f9a8cf02d278d513fa AUX uwsgi.initd-r4 3612 SHA256 0ce63b2180bc359715596758ef1c636a51aca94e1147433cf5c077a1d5343622 SHA512 c58934a62d5ff8d3206b11cfbbc62d1881f14865a03fb949ebfe4955f29b5961fa87be96551382ae4fe902925dfc215409ec1b5e8360ac6806ed7b3f7b1705f8 WHIRLPOOL b7b8325330735a2a5a914131b70c3a7dc34f4c7cb2246923ebfc65acda8b9223109f64c5ba6feeb3ee5d1c1f2c0439e364fc3734ebbd29e0db37431398c776f6 AUX uwsgi.initd-r5 3692 SHA256 08aa7a10166eed9cee44a5ea9ee36b087b1f1781c8d82e0088079110b7e8bc68 SHA512 f1ad4156d0dcb9cdeaba9625d27af6b374e1892e605e2cef0560d7131d5007bc4134bc6a3792005b623bd0198628439048a2e9b870f1247d70a1caa944770a64 WHIRLPOOL 72f3ded55ac5631770992141aa215e96d4f641761e2e643563bdb133f16ee33caaa53a2181b66619f3bedbba062dc73d6ed14c621721cb5842b287747cfee3dc DIST uwsgi-1.4.10.tar.gz 590892 SHA256 d4c30a6496d7d7be59f0264393649b9bd5ec58f72c4c3b79b8160b25c193c512 SHA512 26eb3e34595f0e85ae8f217ace8d326f966c605e00974621aa8b94fd83ef9fd711bdfa262c609a62a7f8d82a04431876769b546a1d1a0929de50ccd877a13e22 WHIRLPOOL 77d1a556c8af59a95eea75e8ae0af524c9aa768c1ecb7a396d43ca9cd6d215a96b83626882f8ab47cdc181ad1c5e62f18e508f43e97e8feb39bb5659fc6b2f37 -DIST uwsgi-2.0.7.tar.gz 772385 SHA256 2938464d0277909854f55951cf7d114e0616efbd8dd0295da7da99e944cbc72a SHA512 5494fb03057aac57029b428f5a3b67cbdef2dc126cc8b6bb476c21a01afc3fb4c1f03af607aba7fc6dd49996373b8d01a79c34c2f2e763dc604961d265e58d4d WHIRLPOOL aeb33f94d0fe8c9db04074ffaada1aa304657080aa953b52d26349c6f7cdd7d5a9441ce11b37a74c26925db2f9d18ecda96a98789ed6a50d7f0d93b66bf6ecdf DIST uwsgi-2.0.8.tar.gz 775959 SHA256 ada2268480ef6a91e1aa18102344c6d5a409fe1672da9e835a0f213e2dd5bcbb SHA512 c68a23e6d5a427175a8defb17b8aae5720b5cdc8678253e03aa64e83dbe7b1731f16be328f5d8090f4ab500280d70808a0ccf23c5735a2f8086384c0f8128408 WHIRLPOOL 50147bccf83f965577d2739f4827146737f89ee4904be7ec23257cad196da6af48b9bed626010c290ffe6242922cf137e528377be4ea7e5944a198d305ffdbef +DIST uwsgi-2.0.9.tar.gz 779244 SHA256 fe0489bca0a8b95653908be2297e35699fb9e992f728e382224587ee6b918295 SHA512 8afb6ca51aa2113e2c9fc0b90e11ce8c1aeddb38f41c7b0d5da6811d7ef93aa8b9e015abfd29b1ced35b0f6a00fd7285b8140b855fc3ee79804e2513e94a9fb5 WHIRLPOOL 362abe240b9a3f170409b850d9ae5186701b137159cd91d2e689b5f3d43dfe779f13d9e4554b60b82efd534a00751394a7982130912f7f106ac6e7c6dbde88d6 EBUILD uwsgi-1.4.10-r1.ebuild 9537 SHA256 a9598d2a8d9dc335ffe83ed0d1c1d43aa6ed77a402bc9b3bc9adc7a3d7de907f SHA512 961b58b05e60b0e7267afdbf276918c2551b5118820568caf1fe773efde9ffadebff782b29b40680664c63a5e594a3c18cb9bb66704b5315cf3b06a9a2985502 WHIRLPOOL f07af4657d5edf2827d29140e7f834d9bcb3d80c97d1fd39f008d94d640d48d6d83b8dca5d9272333a4aecd66a03c8d4b7d193fd72b33f3e1c64bc6972c9430f -EBUILD uwsgi-2.0.7-r1.ebuild 11830 SHA256 be85bb8a4386420fdefb31129ad1ba5d7492b654de0f1f0b4dc0b8cb4e72d6bb SHA512 79cbfe12269bd238ee623511fb8bfc2f827faa30daf8d0147dad5763d93c1899eddf9b5e14fe8f2118beebded33df686eadc9ed2dec9be276a99055ed8f03f33 WHIRLPOOL a646e8450f3fad1e14c1e3af7e8f04845a1efc2f87d60a560a0ae0ca757fde72a49706b8a71441697585aa7bbe26c668a130f3a43096a0354923c7fee420cac6 EBUILD uwsgi-2.0.8-r1.ebuild 11840 SHA256 51e750052cb87e747ba5ef8b6326ad9b03c620d51f0e5edfc578095dd8ea384f SHA512 ad96a57e7a6fe97a92f0a97cf194a2323a09c5ab7eb63a260aa626a5d8204352fd5cb3639e3c375e4cd94c7d95b3ebdbc23b6f166b56ff1d24a3a39b4e9bb34c WHIRLPOOL cf53a96eeeb17136c22abee4808d36c7eb3ef8316049d226491c6807f270560d9fa50d91c42ceda0e0949b84f2447fe58551b17f6318e338e72629ea35cd6250 -EBUILD uwsgi-2.0.8-r2.ebuild 11847 SHA256 beb2aa2c338197629c7c4310a8db09616f2c46c8c66ed682e3ad73bfb5028921 SHA512 1e560285b69c950045250dc4881e38be12a3d3ae1419d1fe9b5d274f243436b87f2a9bddf34dab5c300cdaa52dcf50590cc31edf11328fe130ee7e9dfb09b43e WHIRLPOOL 01a7a4e5aa277f4756498dd31575e40332f0dd071998eda5dc14e3205750de989b127495c590931c1b1dc5178d58966760698ce2284e0411a467b9d070d72cb2 EBUILD uwsgi-2.0.8-r3.ebuild 11847 SHA256 58ed6f31f693830c6e41916c05091d1a43d0e750bf91ed45afd99300b296f33a SHA512 006ea291885c21f7ce4529eeb03c2b0488191a07d41d739966d71bbba59104f84a082c0045a7d894bb5626417913bb6f18734982110f7a62cc0ea22b7265b78e WHIRLPOOL d2efaac9ab22b595eb0d36170ea939f41d73a5eb1e2b22b288364af7bbcaacd583f5d9e85bb66d0b2852b91ffc9e109f7bdea5db998e9d5a8131f061a4567f3f -EBUILD uwsgi-2.0.8.ebuild 11844 SHA256 a31dc6f821627eaedb2164f078c806d7b85ef39a6e1e4e163c0358c46136831f SHA512 5155779b7a3bfe33151dbf4be146fc04d71ced9f13d2785867a8cd08448833b0dd8f09ba76f9eb4327262ab11d1a05162e2dbcaad1694f2ad6b72f94f68757e0 WHIRLPOOL dc86f61f530752a7d9713fcaa12ac7ad1daf70b18f23035798bd914f193f8803f15a80fd477cc551e80e7b70862b70cd76d4a560251104ae5171e158a31b800e -MISC ChangeLog 12749 SHA256 fc35d45382273a73a40cfb0be7edc3a5dbbd88689c7b772cdff479c1b83e75d5 SHA512 7f214ef8bc1b1b85b5906a6e1b5cd148824af93d81822fb2c720652a43476ba409cdc750a18b95ad78c24583320dbafa0a6bd9e70c312fd382dd5583e6032ab3 WHIRLPOOL d1de62f363fb0d6f7ed0944f1c87ede97787a794fbeddbd1cadfa5b9ade41557b61f6e31d859dae28e2ecd68e043f2e7f5fea50fc8ddcdaa4cac6ba5859b7a9a +EBUILD uwsgi-2.0.9.ebuild 11790 SHA256 caed468953422214a2a1cd513f65bbea7476548621af61ed1639dadccd3d58f5 SHA512 5cb234209204b36c0fc2fac601226060da7718e724ce60a61765a57531e5b63c7b78280cb0a7eb30aff722343a32474435650eccb7026a5987ceefb2caf0a128 WHIRLPOOL 3f556b4939b3a4960bda2d1cf56c0639397e0e069aca10ae674a8eedd5a54671459c4e7126739ed66fbeebd00879785c2516e1abe68d84a61b4a8544fa03be2e +MISC ChangeLog 12939 SHA256 6436a0809f8712bec9b1eda806278f94bc92be3e5572bc386835c893d8cb3681 SHA512 ca7ca991b53cdae64fba617fd8c1f8034c84e1839b3f22e9b3d8bfe553af9c54882186c5ea37fb8eff7d38d0f11ba288241734e9625606c49b81be1c0565d818 WHIRLPOOL cfd4e7307aba51e99be756dc4b010f7d746ae99eeb1bcacfb296e2ba5affec2edfaafb201ae29f7cdc30eb398bad1e557a3512c5a111faa6f76f80699cd25311 MISC metadata.xml 2594 SHA256 6e77fb15045b2feda8587315d54f7791c9c9af4b0e0f13d72a371646e32216e3 SHA512 89ac61cbfc089ff5452bc909f429431377c67aedc828098ffb33463a90f4a66524729a41fb83460df772218354d564529b7c3c206d3262c1025da1a6b1dd038a WHIRLPOOL 53c09c69fdc10762171891aeff5b731471cdd135ddb90896bfb2a2b1a0e1b841d6db97f9c217c44aed5c4e56d50f6eaff540646a2d05a7e8ce5f20bef9b326dd -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iF4EAREIAAYFAlSgN34ACgkQVxOqA9G7/aDSsQD/Qz2d9pkFY04g5cBAe63lbXJ3 -w48PaTuNXTcKA+yzcZoA/31s9BQROlYFT0bSnoSZWM2Gt8eint09upNulk6KpXBI -=ko/0 +iF4EAREIAAYFAlSkCQEACgkQKiQSS7ZY+hOGvwD+Iho/0/zrixJEqGcWrqRObuu0 +jjsAm4slBINwFRLtBSwBAM/QAvniK/bkvN0CG97L4DomPnmZatf+wXHFBDPC2m8a +=1Kmq -----END PGP SIGNATURE----- diff --git a/www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild b/www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild deleted file mode 100644 index 7ae3633f55ed..000000000000 --- a/www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild +++ /dev/null @@ -1,379 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-2.0.7-r1.ebuild,v 1.3 2014/12/28 17:01:45 titanofold Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{2,3,4} ) - -RUBY_OPTIONAL="yes" -USE_RUBY="ruby19 ruby20 ruby21" - -PHP_EXT_INI="no" -PHP_EXT_NAME="dummy" -PHP_EXT_OPTIONAL_USE="php" -USE_PHP="php5-4 php5-5" # deps must be registered separately below - -MY_P="${P/_/-}" - -inherit apache-module distutils-r1 eutils multilib pax-utils php-ext-source-r2 python-r1 ruby-ng versionator - -DESCRIPTION="uWSGI server for Python web applications" -HOMEPAGE="http://projects.unbit.it/uwsgi/" -SRC_URI="http://projects.unbit.it/downloads/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -UWSGI_PLUGINS_STD=( ping cache carbon nagios rpc rrdtool - http ugreen signal syslog rsyslog - router_{uwsgi,redirect,basicauth,rewrite,http,cache,static,memcached,redis,hash,expires,metrics} - {core,fast,raw,ssl}router - redislog mongodblog log{file,socket} - spooler cheaper_busyness symcall - transformation_{chunked,gzip,offload,tofile} - zergpool ) -UWSGI_PLUGINS_OPT=( alarm_{curl,xmpp} clock_{monotonic,realtime} curl_cron - dumbloop echo emperor_{amqp,pg,zeromq} forkptyrouter - geoip graylog2 legion_cache_fetch ldap log{crypto,pipe} notfound pam - rados router_{access,radius,spnego,xmldir} - sqlite ssi stats_pusher_statsd - systemd_logger transformation_toupper tuntap webdav xattr xslt zabbix ) - -LANG_SUPPORT_SIMPLE=( cgi mono perl ) # plugins which can be built in the main build process -LANG_SUPPORT_EXTENDED=( lua php python python_asyncio python_gevent ruby ) - -# plugins to be ignored (for now): -# cheaper_backlog2: example plugin -# coroae: TODO -# cplusplus: partially example code, needs explicit class -# dummy: no idea -# example: example plugin -# exception_log: example plugin -# *go*: TODO -# *java*: TODO -# v8: TODO -# matheval: TODO -IUSE="apache2 +caps debug +embedded expat jemalloc json +pcre +routing +ssl +xml yajl yaml zeromq" - -for plugin in ${UWSGI_PLUGINS_STD[@]} ; do IUSE="${IUSE} +uwsgi_plugins_${plugin}" ; done -for plugin in ${UWSGI_PLUGINS_OPT[@]} ; do IUSE="${IUSE} uwsgi_plugins_${plugin}" ; done -IUSE="${IUSE} ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]}" - -REQUIRED_USE="|| ( ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]} ) - uwsgi_plugins_logcrypto? ( ssl ) - uwsgi_plugins_sslrouter? ( ssl ) - routing? ( pcre ) - uwsgi_plugins_emperor_zeromq? ( zeromq ) - uwsgi_plugins_router_xmldir? ( xml ) - uwsgi_plugins_forkptyrouter? ( uwsgi_plugins_corerouter ) - python? ( ${PYTHON_REQUIRED_USE} ) - python_asyncio? ( python_targets_python3_4 python_gevent ) - python_gevent? ( python ) - expat? ( xml )" - -# util-linux is required for libuuid when requesting zeromq support -# Order: -# 1. Unconditional -# 2. General features -# 3. Plugins -# 4. Language/app support -CDEPEND="sys-libs/zlib - caps? ( sys-libs/libcap ) - json? ( !yajl? ( dev-libs/jansson ) - yajl? ( dev-libs/yajl ) ) - pcre? ( dev-libs/libpcre:3 ) - ssl? ( dev-libs/openssl ) - xml? ( !expat? ( dev-libs/libxml2 ) - expat? ( dev-libs/expat ) ) - yaml? ( dev-libs/libyaml ) - zeromq? ( net-libs/zeromq sys-apps/util-linux ) - uwsgi_plugins_alarm_curl? ( net-misc/curl ) - uwsgi_plugins_alarm_xmpp? ( net-libs/gloox ) - uwsgi_plugins_curl_cron? ( net-misc/curl ) - uwsgi_plugins_emperor_pg? ( dev-db/postgresql:= ) - uwsgi_plugins_geoip? ( dev-libs/geoip ) - uwsgi_plugins_ldap? ( net-nds/openldap ) - uwsgi_plugins_pam? ( virtual/pam ) - uwsgi_plugins_sqlite? ( dev-db/sqlite:3 ) - uwsgi_plugins_rados? ( sys-cluster/ceph ) - uwsgi_plugins_router_access? ( sys-apps/tcp-wrappers ) - uwsgi_plugins_router_spnego? ( virtual/krb5 ) - uwsgi_plugins_rsyslog? ( app-admin/rsyslog ) - uwsgi_plugins_systemd_logger? ( sys-apps/systemd ) - uwsgi_plugins_webdav? ( dev-libs/libxml2 ) - uwsgi_plugins_xslt? ( dev-libs/libxslt ) - lua? ( dev-lang/lua ) - mono? ( =dev-lang/mono-2* ) - perl? ( dev-lang/perl:= ) - php? ( - php_targets_php5-4? ( dev-lang/php:5.4[embed] ) - php_targets_php5-5? ( dev-lang/php:5.5[embed] ) - ) - python? ( ${PYTHON_DEPS} ) - python_gevent? ( >=dev-python/gevent-1.0_beta2[$(python_gen_usedep 'python2*')] ) - ruby? ( $(ruby_implementations_depend) )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - uwsgi_plugins_rrdtool? ( net-analyzer/rrdtool )" - -want_apache2 - -S="${WORKDIR}/${MY_P}" -APXS2_S="${S}/apache2" -APACHE2_MOD_CONF="42_mod_uwsgi-r2 42_mod_uwsgi" - -src_unpack() { - default -} - -pkg_setup() { - python_setup - use ruby && ruby-ng_pkg_setup - depend.apache_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}/1.1.2-threaded-php.patch" - - sed -i \ - -e "s|'-O2', ||" \ - -e "s|'-Werror', ||" \ - -e "s|uc.get('plugin_dir')|uc.get('plugin_build_dir')|" \ - uwsgiconfig.py || die "sed failed" - - sed -i \ - -e "s|/lib|/$(get_libdir)|" \ - plugins/php/uwsgiplugin.py || die "sed failed" -} - -src_configure() { - local embedded_plugins=() - local plugins=() - local malloc_impl="libc" - local json="false" - local xml="false" - - for p in ${UWSGI_PLUGINS_STD[@]} ${UWSGI_PLUGINS_OPT[@]} ; do - use uwsgi_plugins_${p} && embedded_plugins+=("${p}") - done - for p in ${LANG_SUPPORT_SIMPLE[@]} ; do - use ${p} && plugins+=("${p}") - done - - # do not embedded any plugins - if ! use embedded ; then - plugins=( ${plugins[@]} ${embedded_plugins[@]} ) - embedded_plugins=() - fi - - # flatten the arrays - plugins=${plugins[@]} - embedded_plugins=${embedded_plugins[@]} - - # rename some of the use flags, language plugins are always real plugins - plugins="${plugins/perl/psgi}" - plugins="${plugins/sqlite/sqlite3}" - embedded_plugins="${embedded_plugins/sqlite/sqlite3}" - - # override defaults as requested by the user - if use xml; then - use expat && xml="expat" || xml="libxml2" - fi - if use json; then - use yajl && json="yajl" || json="jansson" - fi - use jemalloc && malloc_impl="jemalloc" - - # prepare the buildconf for gentoo - cp "${FILESDIR}"/gentoo.buildconf buildconf/gentoo.ini - sed -i \ - -e "s|VAR_XML|${xml}|" \ - -e "s|VAR_YAML|$(usex yaml true false)|" \ - -e "s|VAR_JSON|${json}|" \ - -e "s|VAR_SSL|$(usex ssl true false)|" \ - -e "s|VAR_PCRE|$(usex pcre true false)|" \ - -e "s|VAR_ZMQ|$(usex zeromq true false)|" \ - -e "s|VAR_ROUTING|$(usex routing true false)|" \ - -e "s|VAR_DEBUG|$(usex debug true false)|" \ - -e "s|VAR_MALLOC|${malloc_impl}|" \ - -e "s|VAR_PLUGINS|${plugins// /, }|" \ - -e "s|VAR_PLUGIN_DIR|/usr/$(get_libdir)/uwsgi|" \ - -e "s|VAR_BUILD_DIR|${T}/plugins|" \ - -e "s|VAR_EMBEDDED|${embedded_plugins// /, }|" \ - buildconf/gentoo.ini - - use caps || sed -i -e 's|sys/capability.h|DISABLED|' uwsgiconfig.py || die "sed failed" - use zeromq || sed -i -e 's|uuid/uuid.h|DISABLED|' uwsgiconfig.py || die "sed failed" - - if use uwsgi_plugins_emperor_pg ; then - PGPV="$(best_version dev-db/postgresql)" - PGSLOT="$(get_version_component_range 1-2 ${PGPV##dev-db/postgresql-})" - sed -i \ - -e "s|pg_config|pg_config${PGSLOT/.}|" \ - plugins/emperor_pg/uwsgiplugin.py || die "sed failed" - fi -} - -each_ruby_compile() { - cd "${WORKDIR}/${MY_P}" - - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/rack gentoo rack_${RUBY##*/} || die "building plugin for ${RUBY} failed" - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/fiber gentoo fiber_${RUBY##*/}|| die "building fiber plugin for ${RUBY} failed" - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/rbthreads gentoo rbthreads_${RUBY##*/}|| die "building rbthreads plugin for ${RUBY} failed" -} - -python_compile_plugins() { - local EPYV - local PYV - EPYV=${EPYTHON/.} - PYV=${EPYV/python} - - ${PYTHON} uwsgiconfig.py --plugin plugins/python gentoo ${EPYV} || die "building plugin for ${EPYTHON} failed" - - if use python_asyncio ; then - if [ "${PYV}" == "34" ] ; then - ${PYTHON} uwsgiconfig.py --plugin plugins/asyncio gentoo asyncio${PYV} || die "building plugin for asyncio-support in ${EPYTHON} failed" - fi - fi - - if use python_gevent ; then - ${PYTHON} uwsgiconfig.py --plugin plugins/gevent gentoo gevent${PYV} || die "building plugin for gevent-support in ${EPYTHON} failed" - fi -} - -python_install_symlinks() { - dosym uwsgi /usr/bin/uwsgi_${EPYTHON/.} -} - -src_compile() { - mkdir -p "${T}/plugins" - - python uwsgiconfig.py --build gentoo || die "building uwsgi failed" - - if use lua ; then - # setting the name for the pkg-config file to lua, since we don't have - # slotted lua - UWSGICONFIG_LUAPC="lua" python uwsgiconfig.py --plugin plugins/lua gentoo || die "building plugin for lua failed" - fi - - if use php ; then - for s in $(php_get_slots); do - UWSGICONFIG_PHPDIR="/usr/$(get_libdir)/${s}" python uwsgiconfig.py --plugin plugins/php gentoo ${s/.} || die "building plugin for ${s} failed" - done - fi - - if use python ; then - python_foreach_impl python_compile_plugins - fi - - if use ruby ; then - ruby-ng_src_compile - fi - - if use apache2 ; then - for m in proxy_uwsgi Ruwsgi uwsgi ; do - APXS2_ARGS="-c mod_${m}.c" - apache-module_src_compile - done - fi -} - -src_install() { - dobin uwsgi - pax-mark m "${D}"/usr/bin/uwsgi - - insinto /usr/$(get_libdir)/uwsgi - doins "${T}/plugins"/*.so - - use cgi && dosym uwsgi /usr/bin/uwsgi_cgi - use lua && dosym uwsgi /usr/bin/uwsgi_lua - use mono && dosym uwsgi /usr/bin/uwsgi_mono - use perl && dosym uwsgi /usr/bin/uwsgi_psgi - - if use php ; then - for s in $(php_get_slots); do - dosym uwsgi /usr/bin/uwsgi_${s/.} - done - fi - - if use python ; then - python_foreach_impl python_install_symlinks - python_foreach_impl python_domodule uwsgidecorators.py - fi - - if use apache2; then - for m in proxy_uwsgi Ruwsgi uwsgi ; do - APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${m}.so" - apache-module_src_install - done - fi - - newinitd "${FILESDIR}"/uwsgi.initd-r3 uwsgi - newconfd "${FILESDIR}"/uwsgi.confd-r3 uwsgi - keepdir /etc/"${PN}".d - use uwsgi_plugins_spooler && keepdir /var/spool/"${PN}" -} - -pkg_postinst() { - if use apache2 ; then - elog "Three Apache modules have been installed: mod_proxy_uwsgi, mod_uwsgi and mod_Ruwsgi." - elog "You can enable them with -D PROXY_UWSGI, -DUWSGI or -DRUWSGI in /etc/conf.d/apache2." - elog "mod_uwsgi and mod_Ruwsgi have the same configuration interface and define the same symbols." - elog "Therefore you can enable only one of them at a time." - elog "mod_uwsgi is commercially supported by Unbit and stable but a bit hacky." - elog "mod_Ruwsgi is newer and more Apache-API friendly but not commercially supported." - elog "mod_proxy_uwsgi is a proxy module, considered stable and is now the recommended module." - fi - - elog "Append the following options to the uwsgi call to load the respective language plugin:" - use cgi && elog " '--plugins cgi' for cgi" - use lua && elog " '--plugins lua' for lua" - use mono && elog " '--plugins mono' for mono" - use perl && elog " '--plugins psgi' for perl" - - if use php ; then - for s in $(php_get_slots); do - elog " '--plugins ${s/.}' for ${s}" - done - fi - - python_pkg_postinst() { - local EPYV - local PYV - EPYV=${EPYTHON/.} - PYV=${EPYV/python} - - elog " " - elog " '--plugins ${EPYV}' for ${EPYTHON}" - if use python_asyncio ; then - if [[ ${EPYV} == python34 ]] ; then - elog " '--plugins ${EPYV},asyncio${PYV}' for asyncio support in ${EPYTHON}" - else - elog " (asyncio is only supported in python3.4)" - fi - fi - if use python_gevent ; then - if [[ ${EPYTHON} == python2* ]] ; then - elog " '--plugins ${EPYV},gevent${PYV}' for gevent support in ${EPYTHON}" - else - elog " (gevent is currently not supported in ${EPYTHON})" - fi - fi - } - - use python && python_foreach_impl python_pkg_postinst - - if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi - done - fi -} diff --git a/www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild b/www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild deleted file mode 100644 index 1f0c6e368a30..000000000000 --- a/www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild +++ /dev/null @@ -1,379 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-2.0.8-r2.ebuild,v 1.2 2014/12/28 17:01:45 titanofold Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_7 python3_{2,3,4} ) - -RUBY_OPTIONAL="yes" -USE_RUBY="ruby19 ruby20 ruby21" - -PHP_EXT_INI="no" -PHP_EXT_NAME="dummy" -PHP_EXT_OPTIONAL_USE="php" -USE_PHP="php5-4 php5-5" # deps must be registered separately below - -MY_P="${P/_/-}" - -inherit apache-module distutils-r1 eutils multilib pax-utils php-ext-source-r2 python-r1 ruby-ng versionator - -DESCRIPTION="uWSGI server for Python web applications" -HOMEPAGE="http://projects.unbit.it/uwsgi/" -SRC_URI="https://github.com/unbit/uwsgi/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -UWSGI_PLUGINS_STD=( ping cache carbon nagios rpc rrdtool - http ugreen signal syslog rsyslog - router_{uwsgi,redirect,basicauth,rewrite,http,cache,static,memcached,redis,hash,expires,metrics} - {core,fast,raw,ssl}router - redislog mongodblog log{file,socket} - spooler cheaper_busyness symcall - transformation_{chunked,gzip,offload,tofile} - zergpool ) -UWSGI_PLUGINS_OPT=( alarm_{curl,xmpp} clock_{monotonic,realtime} curl_cron - dumbloop echo emperor_{amqp,pg,zeromq} forkptyrouter - geoip graylog2 legion_cache_fetch ldap log{crypto,pipe} notfound pam - rados router_{access,radius,spnego,xmldir} - sqlite ssi stats_pusher_statsd - systemd_logger transformation_toupper tuntap webdav xattr xslt zabbix ) - -LANG_SUPPORT_SIMPLE=( cgi mono perl ) # plugins which can be built in the main build process -LANG_SUPPORT_EXTENDED=( lua php python python_asyncio python_gevent ruby ) - -# plugins to be ignored (for now): -# cheaper_backlog2: example plugin -# coroae: TODO -# cplusplus: partially example code, needs explicit class -# dummy: no idea -# example: example plugin -# exception_log: example plugin -# *go*: TODO -# *java*: TODO -# v8: TODO -# matheval: TODO -IUSE="apache2 +caps debug +embedded expat jemalloc json +pcre +routing +ssl +xml yajl yaml zeromq" - -for plugin in ${UWSGI_PLUGINS_STD[@]} ; do IUSE="${IUSE} +uwsgi_plugins_${plugin}" ; done -for plugin in ${UWSGI_PLUGINS_OPT[@]} ; do IUSE="${IUSE} uwsgi_plugins_${plugin}" ; done -IUSE="${IUSE} ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]}" - -REQUIRED_USE="|| ( ${LANG_SUPPORT_SIMPLE[@]} ${LANG_SUPPORT_EXTENDED[@]} ) - uwsgi_plugins_logcrypto? ( ssl ) - uwsgi_plugins_sslrouter? ( ssl ) - routing? ( pcre ) - uwsgi_plugins_emperor_zeromq? ( zeromq ) - uwsgi_plugins_router_xmldir? ( xml ) - uwsgi_plugins_forkptyrouter? ( uwsgi_plugins_corerouter ) - python? ( ${PYTHON_REQUIRED_USE} ) - python_asyncio? ( python_targets_python3_4 python_gevent ) - python_gevent? ( python ) - expat? ( xml )" - -# util-linux is required for libuuid when requesting zeromq support -# Order: -# 1. Unconditional -# 2. General features -# 3. Plugins -# 4. Language/app support -CDEPEND="sys-libs/zlib - caps? ( sys-libs/libcap ) - json? ( !yajl? ( dev-libs/jansson ) - yajl? ( dev-libs/yajl ) ) - pcre? ( dev-libs/libpcre:3 ) - ssl? ( dev-libs/openssl ) - xml? ( !expat? ( dev-libs/libxml2 ) - expat? ( dev-libs/expat ) ) - yaml? ( dev-libs/libyaml ) - zeromq? ( net-libs/zeromq sys-apps/util-linux ) - uwsgi_plugins_alarm_curl? ( net-misc/curl ) - uwsgi_plugins_alarm_xmpp? ( net-libs/gloox ) - uwsgi_plugins_curl_cron? ( net-misc/curl ) - uwsgi_plugins_emperor_pg? ( dev-db/postgresql:= ) - uwsgi_plugins_geoip? ( dev-libs/geoip ) - uwsgi_plugins_ldap? ( net-nds/openldap ) - uwsgi_plugins_pam? ( virtual/pam ) - uwsgi_plugins_sqlite? ( dev-db/sqlite:3 ) - uwsgi_plugins_rados? ( sys-cluster/ceph ) - uwsgi_plugins_router_access? ( sys-apps/tcp-wrappers ) - uwsgi_plugins_router_spnego? ( virtual/krb5 ) - uwsgi_plugins_rsyslog? ( app-admin/rsyslog ) - uwsgi_plugins_systemd_logger? ( sys-apps/systemd ) - uwsgi_plugins_webdav? ( dev-libs/libxml2 ) - uwsgi_plugins_xslt? ( dev-libs/libxslt ) - lua? ( dev-lang/lua ) - mono? ( =dev-lang/mono-2* ) - perl? ( dev-lang/perl:= ) - php? ( - php_targets_php5-4? ( dev-lang/php:5.4[embed] ) - php_targets_php5-5? ( dev-lang/php:5.5[embed] ) - ) - python? ( ${PYTHON_DEPS} ) - python_gevent? ( >=dev-python/gevent-1.0_beta2[$(python_gen_usedep 'python2*')] ) - ruby? ( $(ruby_implementations_depend) )" -DEPEND="${CDEPEND} - virtual/pkgconfig" -RDEPEND="${CDEPEND} - uwsgi_plugins_rrdtool? ( net-analyzer/rrdtool )" - -want_apache2 - -S="${WORKDIR}/${MY_P}" -APXS2_S="${S}/apache2" -APACHE2_MOD_CONF="42_mod_uwsgi-r2 42_mod_uwsgi" - -src_unpack() { - default -} - -pkg_setup() { - python_setup - use ruby && ruby-ng_pkg_setup - depend.apache_pkg_setup -} - -src_prepare() { - epatch \ - "${FILESDIR}/1.1.2-threaded-php.patch" - - sed -i \ - -e "s|'-O2', ||" \ - -e "s|'-Werror', ||" \ - -e "s|uc.get('plugin_dir')|uc.get('plugin_build_dir')|" \ - uwsgiconfig.py || die "sed failed" - - sed -i \ - -e "s|/lib|/$(get_libdir)|" \ - plugins/php/uwsgiplugin.py || die "sed failed" -} - -src_configure() { - local embedded_plugins=() - local plugins=() - local malloc_impl="libc" - local json="false" - local xml="false" - - for p in ${UWSGI_PLUGINS_STD[@]} ${UWSGI_PLUGINS_OPT[@]} ; do - use uwsgi_plugins_${p} && embedded_plugins+=("${p}") - done - for p in ${LANG_SUPPORT_SIMPLE[@]} ; do - use ${p} && plugins+=("${p}") - done - - # do not embedded any plugins - if ! use embedded ; then - plugins=( ${plugins[@]} ${embedded_plugins[@]} ) - embedded_plugins=() - fi - - # flatten the arrays - plugins=${plugins[@]} - embedded_plugins=${embedded_plugins[@]} - - # rename some of the use flags, language plugins are always real plugins - plugins="${plugins/perl/psgi}" - plugins="${plugins/sqlite/sqlite3}" - embedded_plugins="${embedded_plugins/sqlite/sqlite3}" - - # override defaults as requested by the user - if use xml; then - use expat && xml="expat" || xml="libxml2" - fi - if use json; then - use yajl && json="yajl" || json="jansson" - fi - use jemalloc && malloc_impl="jemalloc" - - # prepare the buildconf for gentoo - cp "${FILESDIR}"/gentoo.buildconf buildconf/gentoo.ini - sed -i \ - -e "s|VAR_XML|${xml}|" \ - -e "s|VAR_YAML|$(usex yaml true false)|" \ - -e "s|VAR_JSON|${json}|" \ - -e "s|VAR_SSL|$(usex ssl true false)|" \ - -e "s|VAR_PCRE|$(usex pcre true false)|" \ - -e "s|VAR_ZMQ|$(usex zeromq true false)|" \ - -e "s|VAR_ROUTING|$(usex routing true false)|" \ - -e "s|VAR_DEBUG|$(usex debug true false)|" \ - -e "s|VAR_MALLOC|${malloc_impl}|" \ - -e "s|VAR_PLUGINS|${plugins// /, }|" \ - -e "s|VAR_PLUGIN_DIR|/usr/$(get_libdir)/uwsgi|" \ - -e "s|VAR_BUILD_DIR|${T}/plugins|" \ - -e "s|VAR_EMBEDDED|${embedded_plugins// /, }|" \ - buildconf/gentoo.ini - - use caps || sed -i -e 's|sys/capability.h|DISABLED|' uwsgiconfig.py || die "sed failed" - use zeromq || sed -i -e 's|uuid/uuid.h|DISABLED|' uwsgiconfig.py || die "sed failed" - - if use uwsgi_plugins_emperor_pg ; then - PGPV="$(best_version dev-db/postgresql)" - PGSLOT="$(get_version_component_range 1-2 ${PGPV##dev-db/postgresql-})" - sed -i \ - -e "s|pg_config|pg_config${PGSLOT/.}|" \ - plugins/emperor_pg/uwsgiplugin.py || die "sed failed" - fi -} - -each_ruby_compile() { - cd "${WORKDIR}/${MY_P}" - - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/rack gentoo rack_${RUBY##*/} || die "building plugin for ${RUBY} failed" - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/fiber gentoo fiber_${RUBY##*/}|| die "building fiber plugin for ${RUBY} failed" - UWSGICONFIG_RUBYPATH="${RUBY}" python uwsgiconfig.py --plugin plugins/rbthreads gentoo rbthreads_${RUBY##*/}|| die "building rbthreads plugin for ${RUBY} failed" -} - -python_compile_plugins() { - local EPYV - local PYV - EPYV=${EPYTHON/.} - PYV=${EPYV/python} - - ${PYTHON} uwsgiconfig.py --plugin plugins/python gentoo ${EPYV} || die "building plugin for ${EPYTHON} failed" - - if use python_asyncio ; then - if [ "${PYV}" == "34" ] ; then - ${PYTHON} uwsgiconfig.py --plugin plugins/asyncio gentoo asyncio${PYV} || die "building plugin for asyncio-support in ${EPYTHON} failed" - fi - fi - - if use python_gevent ; then - ${PYTHON} uwsgiconfig.py --plugin plugins/gevent gentoo gevent${PYV} || die "building plugin for gevent-support in ${EPYTHON} failed" - fi -} - -python_install_symlinks() { - dosym uwsgi /usr/bin/uwsgi_${EPYTHON/.} -} - -src_compile() { - mkdir -p "${T}/plugins" - - python uwsgiconfig.py --build gentoo || die "building uwsgi failed" - - if use lua ; then - # setting the name for the pkg-config file to lua, since we don't have - # slotted lua - UWSGICONFIG_LUAPC="lua" python uwsgiconfig.py --plugin plugins/lua gentoo || die "building plugin for lua failed" - fi - - if use php ; then - for s in $(php_get_slots); do - UWSGICONFIG_PHPDIR="/usr/$(get_libdir)/${s}" python uwsgiconfig.py --plugin plugins/php gentoo ${s/.} || die "building plugin for ${s} failed" - done - fi - - if use python ; then - python_foreach_impl python_compile_plugins - fi - - if use ruby ; then - ruby-ng_src_compile - fi - - if use apache2 ; then - for m in proxy_uwsgi Ruwsgi uwsgi ; do - APXS2_ARGS="-c mod_${m}.c" - apache-module_src_compile - done - fi -} - -src_install() { - dobin uwsgi - pax-mark m "${D}"/usr/bin/uwsgi - - insinto /usr/$(get_libdir)/uwsgi - doins "${T}/plugins"/*.so - - use cgi && dosym uwsgi /usr/bin/uwsgi_cgi - use lua && dosym uwsgi /usr/bin/uwsgi_lua - use mono && dosym uwsgi /usr/bin/uwsgi_mono - use perl && dosym uwsgi /usr/bin/uwsgi_psgi - - if use php ; then - for s in $(php_get_slots); do - dosym uwsgi /usr/bin/uwsgi_${s/.} - done - fi - - if use python ; then - python_foreach_impl python_install_symlinks - python_foreach_impl python_domodule uwsgidecorators.py - fi - - if use apache2; then - for m in proxy_uwsgi Ruwsgi uwsgi ; do - APACHE2_MOD_FILE="${APXS2_S}/.libs/mod_${m}.so" - apache-module_src_install - done - fi - - newinitd "${FILESDIR}"/uwsgi.initd-r4 uwsgi - newconfd "${FILESDIR}"/uwsgi.confd-r3 uwsgi - keepdir /etc/"${PN}".d - use uwsgi_plugins_spooler && keepdir /var/spool/"${PN}" -} - -pkg_postinst() { - if use apache2 ; then - elog "Three Apache modules have been installed: mod_proxy_uwsgi, mod_uwsgi and mod_Ruwsgi." - elog "You can enable them with -D PROXY_UWSGI, -DUWSGI or -DRUWSGI in /etc/conf.d/apache2." - elog "mod_uwsgi and mod_Ruwsgi have the same configuration interface and define the same symbols." - elog "Therefore you can enable only one of them at a time." - elog "mod_uwsgi is commercially supported by Unbit and stable but a bit hacky." - elog "mod_Ruwsgi is newer and more Apache-API friendly but not commercially supported." - elog "mod_proxy_uwsgi is a proxy module, considered stable and is now the recommended module." - fi - - elog "Append the following options to the uwsgi call to load the respective language plugin:" - use cgi && elog " '--plugins cgi' for cgi" - use lua && elog " '--plugins lua' for lua" - use mono && elog " '--plugins mono' for mono" - use perl && elog " '--plugins psgi' for perl" - - if use php ; then - for s in $(php_get_slots); do - elog " '--plugins ${s/.}' for ${s}" - done - fi - - python_pkg_postinst() { - local EPYV - local PYV - EPYV=${EPYTHON/.} - PYV=${EPYV/python} - - elog " " - elog " '--plugins ${EPYV}' for ${EPYTHON}" - if use python_asyncio ; then - if [[ ${EPYV} == python34 ]] ; then - elog " '--plugins ${EPYV},asyncio${PYV}' for asyncio support in ${EPYTHON}" - else - elog " (asyncio is only supported in python3.4)" - fi - fi - if use python_gevent ; then - if [[ ${EPYTHON} == python2* ]] ; then - elog " '--plugins ${EPYV},gevent${PYV}' for gevent support in ${EPYTHON}" - else - elog " (gevent is currently not supported in ${EPYTHON})" - fi - fi - } - - use python && python_foreach_impl python_pkg_postinst - - if use ruby ; then - for ruby in $USE_RUBY; do - if use ruby_targets_${ruby} ; then - elog " '--plugins rack_${ruby/.}' for ${ruby}" - elog " '--plugins fiber_${ruby/.}' for ${ruby} fibers" - elog " '--plugins rbthreads_${ruby/.}' for ${ruby} rbthreads" - fi - done - fi -} diff --git a/www-servers/uwsgi/uwsgi-2.0.8.ebuild b/www-servers/uwsgi/uwsgi-2.0.9.ebuild similarity index 98% rename from www-servers/uwsgi/uwsgi-2.0.8.ebuild rename to www-servers/uwsgi/uwsgi-2.0.9.ebuild index 7a335f3f8802..af6081eab232 100644 --- a/www-servers/uwsgi/uwsgi-2.0.8.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-2.0.8.ebuild,v 1.5 2014/12/28 17:01:45 titanofold Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-2.0.9.ebuild,v 1.1 2014/12/31 14:32:28 ultrabug Exp $ EAPI="5" @@ -136,9 +136,6 @@ pkg_setup() { } src_prepare() { - epatch \ - "${FILESDIR}/1.1.2-threaded-php.patch" - sed -i \ -e "s|'-O2', ||" \ -e "s|'-Werror', ||" \ @@ -312,7 +309,7 @@ src_install() { done fi - newinitd "${FILESDIR}"/uwsgi.initd-r3 uwsgi + newinitd "${FILESDIR}"/uwsgi.initd-r5 uwsgi newconfd "${FILESDIR}"/uwsgi.confd-r3 uwsgi keepdir /etc/"${PN}".d use uwsgi_plugins_spooler && keepdir /var/spool/"${PN}" -- 2.26.2