[arch-commits] Commit in uwsgi/trunk (PKGBUILD archlinux.ini)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Feb 28 13:44:45 UTC 2015
Date: Saturday, February 28, 2015 @ 14:44:45
Author: svenstaro
Revision: 128419
upgpkg: uwsgi 2.0.9-3
Add webdav and asyncio plugin
Modified:
uwsgi/trunk/PKGBUILD
uwsgi/trunk/archlinux.ini
---------------+
PKGBUILD | 59 ++++++++++++++++++++++++++++++++------------------------
archlinux.ini | 2 -
2 files changed, 35 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-02-28 13:23:33 UTC (rev 128418)
+++ PKGBUILD 2015-02-28 13:44:45 UTC (rev 128419)
@@ -19,9 +19,10 @@
uwsgi-plugin-lua51
uwsgi-plugin-jvm
uwsgi-plugin-mono
+ uwsgi-plugin-webdav
mod_proxy_uwsgi)
pkgver=2.0.9
-pkgrel=2
+pkgrel=3
arch=(i686 x86_64)
url="http://projects.unbit.it/$pkgbase"
license=(GPL2)
@@ -43,7 +44,7 @@
emperor.uwsgi.socket)
md5sums=('44a5b044ea8416e7af310df0dea9caf8'
- '30d101f1190ef83b4cc79a2cc079be7e'
+ '9aced0faffc5fc04afccf946e8a2a886'
'752475ee32286acfbafa49b898616817'
'feaf107977aec047101acdbf06810f30'
'ea381549fe65a5d72fa1abb5ceb7d3ef'
@@ -54,7 +55,7 @@
'25dfcc365241f16d7ea16f7143698b53'
'3ab4486e02f5c217566fb6c8d469c246')
-prepare(){
+prepare() {
cd $srcdir/$pkgbase-$pkgver
cp $srcdir/archlinux.ini buildconf/archlinux.ini
#sed -i 's/LIBS .*-lphp5.*/LIBS = []/' plugins/php/uwsgiplugin.py
@@ -64,35 +65,36 @@
rm -rf plugins/ruby
mv plugins/ruby{19,}
sed -i 's:\(ruby\)19:\1:' plugins/ruby/uwsgiplugin.py
+}
-}
build() {
- pushd $srcdir/$pkgbase-$pkgver
+ pushd $srcdir/$pkgbase-$pkgver
- python uwsgiconfig.py --build archlinux
- python uwsgiconfig.py --plugin plugins/python archlinux python
- python uwsgiconfig.py --plugin plugins/greenlet archlinux greenlet
- python2 uwsgiconfig.py --plugin plugins/python archlinux python2
- python2 uwsgiconfig.py --plugin plugins/greenlet archlinux greenlet2
- python2 uwsgiconfig.py --plugin plugins/gevent archlinux gevent2
- python2 uwsgiconfig.py --plugin plugins/pypy archlinux pypy
+ python uwsgiconfig.py --build archlinux
+ python uwsgiconfig.py --plugin plugins/python archlinux python
+ python uwsgiconfig.py --plugin plugins/greenlet archlinux greenlet
+ python uwsgiconfig.py --plugin plugins/asyncio archlinux asyncio
+ python2 uwsgiconfig.py --plugin plugins/python archlinux python2
+ python2 uwsgiconfig.py --plugin plugins/greenlet archlinux greenlet2
+ python2 uwsgiconfig.py --plugin plugins/gevent archlinux gevent2
+ python2 uwsgiconfig.py --plugin plugins/pypy archlinux pypy
- pushd $srcdir/$pkgbase-$pkgver/apache2
- /usr/bin/apxs -c mod_proxy_uwsgi.c
+ pushd $srcdir/$pkgbase-$pkgver/apache2
+ /usr/bin/apxs -c mod_proxy_uwsgi.c
}
package_uwsgi() {
- pkgdesc="A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"
- depends=(python2 libxml2 jansson libyaml systemd)
- install=uwsgi.install
- cd $srcdir/$pkgbase-$pkgver
- install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
- install -Dm644 $srcdir/uwsgi_at.service $pkgdir/usr/lib/systemd/system/uwsgi at .service
- install -Dm644 $srcdir/uwsgi_at.socket $pkgdir/usr/lib/systemd/system/uwsgi at .socket
- install -Dm644 $srcdir/emperor.uwsgi.service $pkgdir/usr/lib/systemd/system/emperor.uwsgi.service
- install -Dm644 $srcdir/emperor.uwsgi.socket $pkgdir/usr/lib/systemd/system/emperor.uwsgi.socket
- install -Dm644 $srcdir/emperor.ini $pkgdir/etc/uwsgi/emperor.ini
- install -Dm644 $srcdir/tmpfilesd $pkgdir/usr/lib/tmpfiles.d/uwsgi.conf
+ pkgdesc="A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"
+ depends=(python2 libxml2 jansson libyaml systemd)
+ install=uwsgi.install
+ cd $srcdir/$pkgbase-$pkgver
+ install -Dm755 uwsgi $pkgdir/usr/bin/uwsgi
+ install -Dm644 $srcdir/uwsgi_at.service $pkgdir/usr/lib/systemd/system/uwsgi at .service
+ install -Dm644 $srcdir/uwsgi_at.socket $pkgdir/usr/lib/systemd/system/uwsgi at .socket
+ install -Dm644 $srcdir/emperor.uwsgi.service $pkgdir/usr/lib/systemd/system/emperor.uwsgi.service
+ install -Dm644 $srcdir/emperor.uwsgi.socket $pkgdir/usr/lib/systemd/system/emperor.uwsgi.socket
+ install -Dm644 $srcdir/emperor.ini $pkgdir/etc/uwsgi/emperor.ini
+ install -Dm644 $srcdir/tmpfilesd $pkgdir/usr/lib/tmpfiles.d/uwsgi.conf
}
package_uwsgi-plugin-cgi() {
@@ -131,6 +133,7 @@
pkgdesc="Plugin for Python support"
install -Dm755 $pkgbase-$pkgver/python_plugin.so $pkgdir/usr/lib/uwsgi/python_plugin.so
install -Dm755 $pkgbase-$pkgver/greenlet_plugin.so $pkgdir/usr/lib/uwsgi/greenlet_plugin.so
+ install -Dm755 $pkgbase-$pkgver/asyncio_plugin.so $pkgdir/usr/lib/uwsgi/asyncio_plugin.so
install -Dm644 $pkgbase-$pkgver/uwsgidecorators.py $pkgdir/usr/lib/python3.4/site-packages/uwsgidecorators.py
python -m compileall $pkgdir/usr/lib/python3.4/site-packages/
python -O -m compileall $pkgdir/usr/lib/python3.4/site-packages/
@@ -171,6 +174,12 @@
install -Dm755 $pkgbase-$pkgver/mono_plugin.so $pkgdir/usr/lib/uwsgi/mono_plugin.so
}
+package_uwsgi-plugin-webdav() {
+ depends=(uwsgi)
+ pkgdesc="Plugin for webdav support"
+ install -Dm755 $pkgbase-$pkgver/webdav_plugin.so $pkgdir/usr/lib/uwsgi/webdav_plugin.so
+}
+
package_mod_proxy_uwsgi(){
depends=(uwsgi apache)
pkgdesc="Apache uWSGI proxy module"
Modified: archlinux.ini
===================================================================
--- archlinux.ini 2015-02-28 13:23:33 UTC (rev 128418)
+++ archlinux.ini 2015-02-28 13:44:45 UTC (rev 128419)
@@ -1,5 +1,5 @@
[uwsgi]
plugin_dir = /usr/lib/uwsgi
-plugins = rack, rbthreads, fiber, psgi, lua, php, jvm, mono, cgi
+plugins = rack, rbthreads, fiber, psgi, lua, php, jvm, mono, cgi, webdav
main_plugin = systemd_logger,pam
inherit = base
More information about the arch-commits
mailing list