community/uwsgi to 2.0.17.1-5

This commit is contained in:
Kevin Mihelich 2018-11-20 00:18:38 +00:00
parent 83b9d2e921
commit df38ed9760

View file

@ -1,4 +1,3 @@
# $Id$
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Valentin Hăloiu <vially.ichb+aur@gmail.com>
@ -23,10 +22,9 @@ pkgname=(uwsgi
uwsgi-plugin-jvm
uwsgi-plugin-webdav
uwsgi-plugin-zabbix
uwsgi-plugin-notfound
mod_proxy_uwsgi)
uwsgi-plugin-notfound)
pkgver=2.0.17.1
pkgrel=4
pkgrel=5
arch=(x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@ -34,7 +32,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 python2-gevent apache systemd)
jansson classpath python2-gevent systemd)
optdepends=('systemd: daemon scripts')
source=("https://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz"
uwsgiplugin.py::https://raw.githubusercontent.com/unbit/uwsgi/9787f6882c2475aa9873e400988160b17dd04545/plugins/systemd_logger/uwsgiplugin.py
@ -94,9 +92,6 @@ build() {
python2 uwsgiconfig.py --plugin plugins/gevent archlinux gevent2
python2 uwsgiconfig.py --plugin plugins/zabbix archlinux zabbix
python2 uwsgiconfig.py --plugin plugins/notfound archlinux notfound
pushd $srcdir/$pkgbase-$pkgver/apache2
/usr/bin/apxs -c mod_proxy_uwsgi.c
}
package_uwsgi() {
@ -194,11 +189,3 @@ package_uwsgi-plugin-notfound() {
pkgdesc="Plugin for notfound support"
install -Dm755 $pkgbase-$pkgver/notfound_plugin.so $pkgdir/usr/lib/uwsgi/notfound_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
}