From f4ea94740680ed6300b406363cacbbc0167ea147 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Thu, 3 Mar 2016 13:07:22 +0000
Subject: [PATCH] community/uwsgi to 2.0.12-4

---
 community/uwsgi/PKGBUILD | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/community/uwsgi/PKGBUILD b/community/uwsgi/PKGBUILD
index 8dd759f1a..f70080d0c 100644
--- a/community/uwsgi/PKGBUILD
+++ b/community/uwsgi/PKGBUILD
@@ -24,7 +24,7 @@ pkgname=(uwsgi
          uwsgi-plugin-webdav
          mod_proxy_uwsgi)
 pkgver=2.0.12
-pkgrel=3
+pkgrel=4
 arch=(i686 x86_64)
 url="http://projects.unbit.it/$pkgbase"
 license=(GPL2)
@@ -34,6 +34,7 @@ makedepends=(gcc python python2 ruby python2-greenlet python-greenlet php-embed
              perl lua51 pcre libedit openssl bzip2 gmp pam java-environment=7
              jansson classpath mono python2-gevent apache)
 source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz
+        uwsgiplugin.py::https://raw.githubusercontent.com/unbit/uwsgi/9787f6882c2475aa9873e400988160b17dd04545/plugins/systemd_logger/uwsgiplugin.py
         archlinux.ini
         tmpfilesd
         uwsgi_at.service
@@ -45,6 +46,7 @@ source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz
         emperor.uwsgi.socket)
 
 md5sums=('1451cab954bad0d7d7429e4d2c84b5df'
+         'd3c9f32479d816208c3620a782fa5246'
          '9aced0faffc5fc04afccf946e8a2a886'
          '752475ee32286acfbafa49b898616817'
          'feaf107977aec047101acdbf06810f30'
@@ -65,6 +67,8 @@ prepare() {
     mv plugins/ruby{19,}
     sed -i 's:\(ruby\)19:\1:' plugins/ruby/uwsgiplugin.py
 
+    cp $srcdir/uwsgiplugin.py plugins/systemd_logger/uwsgiplugin.py
+
 }
 build() {
     pushd $srcdir/$pkgbase-$pkgver