community/uwsgi to 2.0.9-1

This commit is contained in:
Kevin Mihelich 2015-01-04 07:12:07 +00:00
parent 70a7afca4b
commit 23aae49f3c

View file

@ -20,9 +20,10 @@ pkgname=(uwsgi
uwsgi-plugin-php
uwsgi-plugin-lua51
uwsgi-plugin-jvm
uwsgi-plugin-mono)
pkgver=2.0.8
pkgrel=4
uwsgi-plugin-mono
mod_proxy_uwsgi)
pkgver=2.0.9
pkgrel=1
arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@ -30,7 +31,7 @@ backup=('etc/uwsgi/emperor.ini')
conflicts=(python-$pkgbase)
makedepends=(gcc python python2 ruby python2-greenlet python-greenlet php-embed curl libxml2 libyaml
perl lua51 pcre libedit openssl bzip2 gmp pam java-environment=7
jansson classpath mono python2-gevent)
jansson classpath mono python2-gevent apache)
source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz
archlinux.ini
tmpfilesd
@ -43,7 +44,7 @@ source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz
emperor.uwsgi.service
emperor.uwsgi.socket)
md5sums=('356b71060aa4c1f0e888dbca03567bd5'
md5sums=('44a5b044ea8416e7af310df0dea9caf8'
'30d101f1190ef83b4cc79a2cc079be7e'
'752475ee32286acfbafa49b898616817'
'feaf107977aec047101acdbf06810f30'
@ -76,6 +77,9 @@ build() {
python2 uwsgiconfig.py --plugin plugins/python archlinux python2
python2 uwsgiconfig.py --plugin plugins/greenlet archlinux greenlet2
python2 uwsgiconfig.py --plugin plugins/gevent archlinux gevent2
pushd $srcdir/$pkgbase-$pkgver/apache2
/usr/bin/apxs -c mod_proxy_uwsgi.c
}
package_uwsgi() {
@ -158,3 +162,11 @@ package_uwsgi-plugin-mono() {
install -Dm755 $pkgbase-$pkgver/plugins/mono/uwsgi.dll $pkgdir/usr/lib/mono/2.0/uwsgi.dll
install -Dm755 $pkgbase-$pkgver/mono_plugin.so $pkgdir/usr/lib/uwsgi/mono_plugin.so
}
package_mod_proxy_uwsgi(){
depends=(uwsgi apache)
pkgdesc="Apache uWSGI proxy module"
install -Dm755 \
$pkgbase-$pkgver/apache2/.libs/mod_proxy_uwsgi.so \
$pkgdir/usr/lib/httpd/modules/mod_proxy_uwsgi.so
}