diff options
author | Alexys Jacob <ultrabug@gentoo.org> | 2014-02-27 11:38:01 +0000 |
---|---|---|
committer | Alexys Jacob <ultrabug@gentoo.org> | 2014-02-27 11:38:01 +0000 |
commit | 1e4c85196d96b53361f4539e94609f13c24bf82c (patch) | |
tree | 39496b6f887d2d077f8fee37ab95587a0878c8e6 /www-servers | |
parent | minor typo in changelog (diff) | |
download | historical-1e4c85196d96b53361f4539e94609f13c24bf82c.tar.gz historical-1e4c85196d96b53361f4539e94609f13c24bf82c.tar.bz2 historical-1e4c85196d96b53361f4539e94609f13c24bf82c.zip |
version bump, drop old and bugged 2.0 versions
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xB658FA13
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/uwsgi/ChangeLog | 8 | ||||
-rw-r--r-- | www-servers/uwsgi/Manifest | 14 | ||||
-rw-r--r-- | www-servers/uwsgi/uwsgi-2.0-r2.ebuild | 359 | ||||
-rw-r--r-- | www-servers/uwsgi/uwsgi-2.0.2.ebuild (renamed from www-servers/uwsgi/uwsgi-2.0.1.ebuild) | 2 |
4 files changed, 14 insertions, 369 deletions
diff --git a/www-servers/uwsgi/ChangeLog b/www-servers/uwsgi/ChangeLog index 304f8372814f..b369013cde41 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.52 2014/02/10 15:44:19 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/ChangeLog,v 1.53 2014/02/27 11:37:53 ultrabug Exp $ + +*uwsgi-2.0.2 (27 Feb 2014) + + 27 Feb 2014; Ultrabug <ultrabug@gentoo.org> -uwsgi-2.0-r2.ebuild, + -uwsgi-2.0.1.ebuild, +uwsgi-2.0.2.ebuild: + version bump, drop old and bugged 2.0 versions *uwsgi-2.0.1 (10 Feb 2014) diff --git a/www-servers/uwsgi/Manifest b/www-servers/uwsgi/Manifest index f6ed769d9bc7..4e23958b1199 100644 --- a/www-servers/uwsgi/Manifest +++ b/www-servers/uwsgi/Manifest @@ -17,8 +17,7 @@ DIST uwsgi-1.4.5.tar.gz 589985 SHA256 5c17f09d0f8d5a4f3385c791e91ca71975b8ccb0c0 DIST uwsgi-1.4.6.tar.gz 591470 SHA256 731b57574dc8c6bc270233b689157433ababd0b611dbaeb16a11b6608d1deb80 SHA512 ea022ceae4e43f4ae0bde390f2a78f688d01c0beea91593820ab5602d418564a289a44c7a8bef4449ab0b7e5b7511a9c1f2e4b2609bdb063f526eebd8a1dd9a7 WHIRLPOOL 25f2f773d88d8c83796eda75a1f824b303fd9c5a55a512d2dc97824bef3bbbf4512641aa99eefa60a5044e577dd9a2f43e91b560db706bb6a96dde668907cef0 DIST uwsgi-1.4.8.tar.gz 592776 SHA256 3c35893927a065ed89775cf5a8f66f66d71b060618f4611efbcca76e520aac37 SHA512 7ead90c0740db0ebc28256b312a98e8de610b62cc82504c738cc2f3d2b0819ae673eb1875ea31abc3e511dc76db9af9fb15f4d1ae2a62f6b67b2a5966cfe2bab WHIRLPOOL da750b61916a99a9cea314dc57ca8e02920fbc3431977f6ad55368dc65a42fe6f297aae509fe7df23607a5b3f6097466e939b3a22650c90fcc7ed00bc78d9f0c DIST uwsgi-1.4.9.tar.gz 590671 SHA256 f4d345e3f08bf7859cf92340f79e10d7093e297e54c8448d9c1c821848e7fe2d SHA512 89936de83cbecfcb3d8f93ab50a3d77e496d4b4c085e52f8a1a691eb99fbfc17dd2e2802846a139f4ea42aac996729ad483fe9f6fbeef303d74e03b46ae6142b WHIRLPOOL ab3b8c0edfb63501fdac41ef92cc48bd135984f49e02d57618255543c07819d93faf1673b8fa397b66c58710416565c18578f57bf64ab96534d6b09d3bb542f2 -DIST uwsgi-2.0.1.tar.gz 750771 SHA256 e84e498c217a793571f803d04fca4f2877dd856e9c5af1e66e645132d70c7cc2 SHA512 91d134413beac4d36ad4c1334410bd4d68a1bd53b4700da00e39f17fe01b1059457a102a9835ee09f8971b26597766ec8812afb5219c4774c2c7dbc025bcf617 WHIRLPOOL efa51dede7a2a1caa089e6ee7f754c2de9dca2016286a4e219019c8201438a1c3b7b71beabf62b8956913bcf004cbec55ef5ce351e8816fb9b43b5e6c6193f72 -DIST uwsgi-2.0.tar.gz 744221 SHA256 297073c85dc7a6b104f6367778cf7604bedd685a977b320b36dd46b0b11a8af0 SHA512 ee4b3602749b5b0352717001a6ea3d252c80f2d0d0b8ac0c21b3fbb49df7ff911f4211a1cb6f23afe1716f1b3a6f856236b6cd48a0f82d618a6d52dbf13f13b3 WHIRLPOOL 8236c3c7063a319f71e879a0ff08c9a06f90a3b16cce8d20ab9e1895bb5b2b6affa970f55c2aaca90249900960d4390aed6f573a6f6b82043906262a40e3fb17 +DIST uwsgi-2.0.2.tar.gz 754168 SHA256 469f418eaa08e7aa46351e8b19b0ed55ec158046c617b388fd896bc9bb28ccb8 SHA512 83af72c3f21997a2d6afed3e1d8be44164fda5b6082f17c1901123c2e1d27a020104e9d0895085a8f68c16109028eeb7bf286e6e2629e2ea1ea6c8afcac667dc WHIRLPOOL 9297ff1d31641490262d6c1ccffabfee3e8b89717e870d066efb10aa36fda1040759741645fb6f09f4da0db136cf3d4e2249346eee1526691ffe5f68014f9a57 EBUILD uwsgi-1.4.10.ebuild 9617 SHA256 75b85cb390d973c0cbdee78796621cf9a34aacaa13277b6f20d499bea0eb497a SHA512 d28f770b9940c24fbd4d02d00d21880d734a98484fe7268ffea5668fd755a358ba5ed439be2509677cb44fa9df99c7b46da89e07e7c47d8b4270d65167ef505f WHIRLPOOL 229d65b6dd944854fe6aabb1ef35e929f9f7780431fc83ff838592a7c3c6392ad34f7b2bb9a1feaa278174c3b8b161139cc4718b58a46a27beccea4eda856950 EBUILD uwsgi-1.4.4.ebuild 9559 SHA256 58c6c34168966b915caa3c25dbcef3cfc60b9ae25056c1ddaa739e35963195d6 SHA512 43338613228a61db00e7c97c0217d0e65269a6612eb6a21fccc04d4dec6f577cda4b3889f3ea0afdb02a3e997b44580e85e70d56732faf17f1b4ea7242c33802 WHIRLPOOL 795667e01e8a4ddf0f01558b6bbe2bcc85472d5f5015bc6e87cf990b3e71f7dfb789a80107efe3511b56c0c3c7ad92f64cff1e7091b6d0a0081e12b20ba4e04a EBUILD uwsgi-1.4.5-r1.ebuild 9562 SHA256 ffeda3dce0dba8c1aa29b05a5f057bbe30f86325473ef3e6427bc37a6789c0c8 SHA512 149ca6773547dc5b2eb122fb2cb8a3ccc066ce1e8e339a39df2d1bbd037407919bc9ae8b1cb42aadc0999d425511cf5b73c6bf9fc8696cc6d12ef70e459af1e0 WHIRLPOOL 2f0cb2606080afd7acee1e6359d34ed4fded90839eb88252777f09c1c537fd5fe57e0176f9a1f900767f008f82ef76c1565078eaa9f296711a4c4c7589253cf9 @@ -26,14 +25,13 @@ EBUILD uwsgi-1.4.6-r1.ebuild 9562 SHA256 64e5834cc5768cf2b8cc96f9e075e155bbbe192 EBUILD uwsgi-1.4.6.ebuild 9559 SHA256 d606c46c5d9c3d422faa13113138eaa84812e08dad807741261314887e75ac5a SHA512 2006048503b70e59d3a0515c889ad88fdab59af1a2ccbfa8eaddf5f926b164b9932c223d52f376cd57c1c068415daef1a2815f0dc2e736cab4224ad9209dc601 WHIRLPOOL 31ee2ae6954d97388c2681376e67431f00ef497c11892eb7b6938ca235811a42d1ee309619633836594c6729f2bbc6fdfb860d40047e618aed1983aac74e45d4 EBUILD uwsgi-1.4.8.ebuild 9559 SHA256 cc21690212eb37156b5c2449f8223de09807315719a0b03586385048db49d1b6 SHA512 c8e02803c97e39a63ee0383ad5a4a12211e8f8871a81d25993cebda38a30f6cdcc8bbed190033c409342148b2f8bd57997d6a007584ebcaf7cc9d81326b00b11 WHIRLPOOL 2405726642ddf2d7d98cc6d6eb5ddc5a7ade8671b0025e9b533a70692be6cdeaf9f6d53df04b995f73e5be87521f012139e3e5c03c3b7bd368a133d08b2ad489 EBUILD uwsgi-1.4.9.ebuild 9559 SHA256 d78fe36b66cfd7df05842bead1f516cd010f68f4ed1aa797ae0a20c1292ead83 SHA512 a93dac97f722c56ea8847d08932b98012a494eeccc9993f7cd07fcec4e53c2357d294e3da21633430ac629cfab0640a3f226e2ba7aeb989de904a375d17dd49d WHIRLPOOL f2f2fb3bb93f775db59751e6b7a580bf2ce0589f02c51b6cfe44db59f57febde7dc8749383990dde8a76f26cbd35b09e65f0e4533b71eb736bb3e84521555639 -EBUILD uwsgi-2.0-r2.ebuild 11257 SHA256 52527df791a6ac823d1d7e1ade66371b892dd11f061cfd7480c5eda1a59a5a9c SHA512 fe95e10055224aaadd8b52e74382773aaae66f229b01fb4b31e4b37c843947d09e67881ff4d2c28415a227e07e4ced0f5f11592ac3b7432823fb97e548220857 WHIRLPOOL cb78ddcd9c15cd7d4433195c9d57fe2ae36fdb64255875fa81f2028e822d75ad5fcdb57a116dd198b57914d83f98b9a1280f01ad1a431354dc435be84a3bfc32 -EBUILD uwsgi-2.0.1.ebuild 11256 SHA256 87e1e2778b535e5c461765c6d39c30b8db48f23d52029160bcb8be6618f9535e SHA512 f0c499ae4f1c003c5a16f86af933bb9ec69324294aee0c351aa540e89212bcd5b294b079a323826df73a458509cdae4846e9534da55e9b1d409c08e57c940c74 WHIRLPOOL 19c9059511985a1c814f4088473ea8e77ebce2f35f1e99b833bed08efe5d711f19bf6ad23a4365801d1dbc1a6141cb381389d556fbe7d5ade4dbc1ab4f60a1d5 -MISC ChangeLog 9410 SHA256 03d14a0b5ea0b7765c14b62887afe3e13e2e34856aa8ae8fd65c3eede4fb0190 SHA512 6a4511d3f5b0f2a342f0ced595a3380bd50874fa3ec5aa3bd3a79c638b7157118181d5df384f47dc78c2e85f0b8d99d1f8bf91dd53116e33bdcd07806a766827 WHIRLPOOL 019c34003192b2896d5b1be077b1b8e58b94cca0d7fff345ee2ee5fef3d963b7bb1851b51591c608e28f00631da3e880b4ff9ebda20d19cb47d3212254478e4a +EBUILD uwsgi-2.0.2.ebuild 11256 SHA256 dafb21c9fca895360b9e426e8aaa588697a726489bcd894415c960a6f53f1df0 SHA512 4eff3321023777139a8839563144af3971bd56eb8450cf09b99d9fde7e95693165f7c1e78ceb7903a4d8d55cee35e8490f4e0ec6aa93723670dd38cd119916b9 WHIRLPOOL 9b57d629b7b1a5ed7d30eed439f8e388367a09d7c098779bbef46775cd2a588c72200bf77acffc4bcb8db7b314d527b18618aa0685d207a8be1f3a7575c83e71 +MISC ChangeLog 9600 SHA256 97f2cab508af277e27d0adf924b3fa4dc68b713a8e8fc68be7f6ced26f059322 SHA512 b1caffb932276795ef4e841c984e689c3fb8ea98a9f06b9d01f0f7d72c714a690518d25e53e953bb3628cd4ec210b317a46d989fda5894bbac06aac61279fbac WHIRLPOOL 50fc1aec3583de887a416432fd91ea2d4f354619423906131b7c1744d8da06acf237456f8195bcde9f36ef3c08104493ac1b0923999aaab1c395e3942477de79 MISC metadata.xml 2398 SHA256 fcc2a39d1a01b6d2ff727aa61ef47a46270bfe563a5d56145077306f51acf956 SHA512 40eddbe1a633a5c018dd536ff03cc47df345c7f504b0371724bea99e9ae7dcd66dedfdcda3387ecb217c9f004668b435f878bb067354793b19ee74a44ce6d8a6 WHIRLPOOL e0e6583c809deb2ef33dc9c7d02a92dc33b0d1c0c6ac50d2d8d9a368e0bba96ce3a294bc397f596314135256b0121b12871437522485aa2bae9e5ac79dfc91ed -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iF4EAREIAAYFAlL489kACgkQKiQSS7ZY+hNKAQD/atL1DnmtUAAXMUiEwCwx82Zc -FnAuMuPZ29rQbkOclOEBAJnaaZ4k9cNZY1TEqfWEWxf1W3T96f1EiBLxQwxDmmYz -=EDDa +iF4EAREIAAYFAlMPI5cACgkQKiQSS7ZY+hNiBAD/e4OdTwtziBcB2I4mTjWt7vTc +4kDWndvNO9xf8kLybrQBAMiuOwzA9BZ2isgXvRD0q9NzY/ocljagkV5KrXZyD2yJ +=32dL -----END PGP SIGNATURE----- diff --git a/www-servers/uwsgi/uwsgi-2.0-r2.ebuild b/www-servers/uwsgi/uwsgi-2.0-r2.ebuild deleted file mode 100644 index 0e67ba5777ee..000000000000 --- a/www-servers/uwsgi/uwsgi-2.0-r2.ebuild +++ /dev/null @@ -1,359 +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-r2.ebuild,v 1.1 2014/01/30 08:50:18 dev-zero Exp $ - -EAPI="5" - -PYTHON_COMPAT=( python2_{6,7} python3_{2,3} ) - -RUBY_OPTIONAL="yes" -USE_RUBY="ruby19 ruby20 ruby21" - -PHP_EXT_INI="no" -PHP_EXT_NAME="dummy" -PHP_EXT_OPTIONAL_USE="php" -USE_PHP="php5-3 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 - 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_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_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-base:= ) - 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_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-3? ( dev-lang/php:5.3[embed] ) - 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-r1 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-base)" - PGSLOT="$(get_version_component_range 1-2 ${PGPV##dev-db/postgresql-base-})" - 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_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 the newest and not considered ready for production yet." - 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() { - elog " '--plugins ${EPYTHON}' for ${EPYTHON}" - if use python_gevent ; then - if [[ ${EPYTHON} == python2* ]] ; then - elog " '--plugins ${EPYTHON},gevent-${EPYTHON}' for gevent support in ${EPYTHON}" - else - elog " (gevent is currently not support 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.1.ebuild b/www-servers/uwsgi/uwsgi-2.0.2.ebuild index f4c2ef29f08f..bfc83bb87e83 100644 --- a/www-servers/uwsgi/uwsgi-2.0.1.ebuild +++ b/www-servers/uwsgi/uwsgi-2.0.2.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.1.ebuild,v 1.1 2014/02/10 15:44:19 ultrabug Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/uwsgi/uwsgi-2.0.2.ebuild,v 1.1 2014/02/27 11:37:53 ultrabug Exp $ EAPI="5" |