mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/uwsgi to 2.0.19.1-12
This commit is contained in:
parent
26b1a348f3
commit
0247f04be7
2 changed files with 9 additions and 26 deletions
|
@ -21,21 +21,18 @@ pkgname=(
|
|||
uwsgi-plugin-php
|
||||
uwsgi-plugin-php7
|
||||
uwsgi-plugin-lua51
|
||||
uwsgi-plugin-jvm
|
||||
uwsgi-plugin-webdav
|
||||
uwsgi-plugin-zabbix
|
||||
uwsgi-plugin-notfound
|
||||
)
|
||||
pkgver=2.0.19.1
|
||||
pkgrel=11
|
||||
pkgrel=12
|
||||
pkgdesc="A full stack for building hosting services"
|
||||
arch=(x86_64)
|
||||
url="https://uwsgi-docs.readthedocs.io/en/latest/"
|
||||
license=(GPL2)
|
||||
makedepends=(
|
||||
classpath
|
||||
jansson
|
||||
java-environment=7
|
||||
libxcrypt
|
||||
libxml2
|
||||
lua51
|
||||
|
@ -68,7 +65,7 @@ source=(
|
|||
"${pkgbase}-2.0.19.1-php8.patch"
|
||||
)
|
||||
sha512sums=('e18359c5ea3606d5de7fb3a0074d777e1c4b41f51f4b1a21f1446f32253058d7924286d9ed8a159d4c6e6c0ea64df7fc3c70b2933c3433b9a9cce39737e702bf'
|
||||
'c00295abfaa905ac5bc52300482b795d8babf5d4f79ec5ba5e44a3d66c1da66949bb5791d80cf57b5cf9fec46330f9a05e942c65fb97b2cf939c4e743276eddf'
|
||||
'2fdd81de1d4a9baf01c5a6f5958017263a0320fd091b666beb7b25f3e5e0e80567cbb3953cebf887f408291aaa1cfb1260ee1adef25be34b1400b51b9e1acf2b'
|
||||
'd54c84838ddb2f389e115ebb81aa2583705c9e330f020e6583b496f9c271ed236b6820c2a065f2b55a79adbf13e262b9ff2428124a8044b8fa20ca29ca4930ac'
|
||||
'068ada6281fdeb504fed7e47dae2729d047ed810bb596e5268c1821ad275cd32110e801e93e7ba0ee2d92dbc39e1954180cf43d88d2990d42b802ceb54b50a9e'
|
||||
'592c85270f43b37e9c51aae126533830515b96fff9fcae969ee865fe173bd0550c7729530d5ff1e44ffee43cd5c78c96688ce091c677a4196379e24983c0180e'
|
||||
|
@ -80,7 +77,7 @@ sha512sums=('e18359c5ea3606d5de7fb3a0074d777e1c4b41f51f4b1a21f1446f32253058d7924
|
|||
'162ca1be96282b32e8e6be919b6315bfd08954c491056958985bf99e7f5bdad3511665f059329d6cb6ef5d222f9aa11d4dc43c72e6a963ab941ada959fe8d964'
|
||||
'91b9548bb24eb4fff86ff867121edab92b531db04dacf5402b9bd8849632edfbfa0878e244bf5d243f34dcd5ee0df0ad136c888a4f27984dd6a96fd7b5e0959e')
|
||||
b2sums=('3f13da44081e85dfee01c827593656c0d1074a0217ca5fde5424ff36e0ae529d506f65a2bca658bd7df0a07520cae21cf8ce72ec85c767ec73304afd8a70b89e'
|
||||
'04b34d651f881270deaae1418c7c52438db4f294f6142231086d4eb212749b3599c574835a1fb7fefb516e6cc9d46d8506d4e9ed0b4b7c7ccb0f24a8577f057c'
|
||||
'16e0f25e7f9c423f61114bcbb98b5f94250539764375f626e8da2ed662715373461274f4125e5d2390c4b512762e8dad89b902bcd87dff30113c59216c3b72c4'
|
||||
'835a1036422e9821cd52ffdf5a6053bdd59fc700d473600bda60b6730746f6c0750c30c85f4139d3ea81c6b6dd10d6849f9406decee3179861c51aca90da6161'
|
||||
'80aa3c4d3f0310f5029ac01690d2ba718d8c86fa49cd1b4f3fc1bd5ae9eadaed6562bf0a48a0fd611e92f100a8594e08fb4bae58e25765fc2eb648cdf1c60b35'
|
||||
'b6838c0c91811d4b677bf0f558134c69015708c308ef7080df328f12b0b0d58ae6cdebe277c29b6d11c20cfeb0847a4934e3a8924323e57ed661d6e9f6656a34'
|
||||
|
@ -97,25 +94,20 @@ prepare() {
|
|||
|
||||
cd "$pkgbase-$pkgver"
|
||||
|
||||
for _patch in ../*.patch; do
|
||||
printf "Applying patch %s...\n" "${_patch}"
|
||||
patch -Np1 -i "${_patch}"
|
||||
done
|
||||
patch -Np1 -i "$srcdir"/uwsgi-1.9.13-ruby2.0.patch
|
||||
patch -Np1 -i "$srcdir"/uwsgi-2.0.19.1-php8.patch
|
||||
|
||||
# fix default lua pkgconfig name
|
||||
sed -e 's/lua5.1/lua51/' \
|
||||
-i plugins/lua/uwsgiplugin.py
|
||||
sed -e 's/lua5.1/lua51/' -i plugins/lua/uwsgiplugin.py
|
||||
# move ruby plugin to new location and fix its name
|
||||
mv plugins/ruby{19,}
|
||||
sed -e 's/ruby19/ruby/' \
|
||||
-i plugins/ruby/uwsgiplugin.py
|
||||
sed -e 's/ruby19/ruby/' -i plugins/ruby/uwsgiplugin.py
|
||||
# duplicate the php plugin, so that we can modify it (and leave the php7
|
||||
# version unmodified)
|
||||
cp -av plugins/php{,7}
|
||||
# remove the explicit lib version from the linking stage of the PHP plugin as
|
||||
# we do not provide /usr/lib/libphp8.so
|
||||
sed -e "s/ + php_version//" \
|
||||
-i plugins/php/uwsgiplugin.py
|
||||
sed -e "s/ + php_version//" -i plugins/php/uwsgiplugin.py
|
||||
# copy our custom build profile into place
|
||||
cp -v ../archlinux.ini buildconf/
|
||||
}
|
||||
|
@ -207,15 +199,6 @@ package_uwsgi-plugin-php7() {
|
|||
install -vDm 755 php7_plugin.so -t "$pkgdir"/usr/lib/uwsgi/
|
||||
}
|
||||
|
||||
package_uwsgi-plugin-jvm() {
|
||||
pkgdesc+=" (JVM plugin)"
|
||||
depends=('classpath' 'glibc' 'uwsgi' 'java-environment=7')
|
||||
|
||||
cd "$pkgbase-$pkgver"
|
||||
install -vDm 755 jvm_plugin.so -t "$pkgdir"/usr/lib/uwsgi/
|
||||
install -vDm 644 plugins/jvm/uwsgi.jar -t "$pkgdir"/usr/share/java/
|
||||
}
|
||||
|
||||
package_uwsgi-plugin-webdav() {
|
||||
pkgdesc+=" (WebDav plugin)"
|
||||
depends=('glibc' 'libxml2' 'uwsgi')
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[uwsgi]
|
||||
plugin_build_dir = .
|
||||
plugin_dir = /usr/lib/uwsgi
|
||||
plugins = asyncio, cgi, fiber, gevent, greenlet, jvm, php, lua, notfound, psgi, python, rack, rbthreads, webdav, zabbix
|
||||
plugins = asyncio, cgi, fiber, gevent, greenlet, php, lua, notfound, psgi, python, rack, rbthreads, webdav, zabbix
|
||||
main_plugin = systemd_logger,pam
|
||||
inherit = base
|
||||
|
|
Loading…
Reference in a new issue