diff options
author | Oleg Vasilev | 2019-10-22 13:06:42 +0300 |
---|---|---|
committer | Oleg Vasilev | 2019-10-22 13:06:42 +0300 |
commit | ab9ac7e381bd86eca196ed1c100ebeb2f4a7e909 (patch) | |
tree | aaa624d5a1d8262bdcb4f4c32b9e5b720631ce82 | |
parent | 63a94c265c83473bf6fa6113f5bce37c064ccd18 (diff) | |
download | aur-ab9ac7e381bd86eca196ed1c100ebeb2f4a7e909.tar.gz |
Bump to 1.12.0, adding support for Ruby, Perl and TLS
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 49 |
2 files changed, 59 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = nginx-unit - pkgdesc = Dynamic web application server, designed to run applications in multiple languages. - pkgver = 1.7.1 + pkgdesc = Lightweight, dynamic, open-source server for diverse web applications. + pkgver = 1.12.0 pkgrel = 1 url = https://unit.nginx.org/ arch = i686 @@ -10,13 +10,17 @@ pkgbase = nginx-unit makedepends = python makedepends = python2 makedepends = go - source = https://unit.nginx.org/download/unit-1.7.1.tar.gz + makedepends = ruby + makedepends = perl + makedepends = npm + source = https://unit.nginx.org/download/unit-1.12.0.tar.gz source = unit.service - sha256sums = e63cacb8308f625500c51440f2bc54d5a1e1b90aaa41c2c0fc7557c74a9d9e13 + sha256sums = 03388fb39b2e589c85d4bccb6d5a0e99098d250f0ecb5be668b416cc478d17d1 sha256sums = 8c9b2f732d6e50aa747aa7703303e5fff69f5abc6f5fc1741b774b422e029606 pkgname = nginx-unitd depends = glibc + depends = openssl pkgname = nginx-unit-python depends = nginx-unitd @@ -30,6 +34,16 @@ pkgname = nginx-unit-php depends = nginx-unitd depends = php-embed +pkgname = nginx-unit-perl + arch = any + depends = nginx-unitd + depends = perl + +pkgname = nginx-unit-ruby + arch = any + depends = nginx-unitd + depends = ruby + pkgname = nginx-unit-go arch = any depends = nginx-unitd @@ -1,24 +1,28 @@ -# Maintainer: Roman Voropaev <voropaev.roma@gmail.com> -# Maintainer: Julian Brost <julian@0x4a42.net> +# Maintainer: KawaiDesu <zmey1992@ya.ru> +# Contributor: Roman Voropaev <voropaev.roma@gmail.com> +# Contributor:: Julian Brost <julian@0x4a42.net> pkgbase='nginx-unit' pkgname=('nginx-unitd' 'nginx-unit-python' 'nginx-unit-python2' 'nginx-unit-php' + 'nginx-unit-perl' + 'nginx-unit-ruby' +# 'nginx-unit-nodejs' 'nginx-unit-go') _shortname='unit' -pkgver=1.7.1 +pkgver=1.12.0 pkgrel=1 -pkgdesc="Dynamic web application server, designed to run applications in multiple languages." +pkgdesc="Lightweight, dynamic, open-source server for diverse web applications." arch=('i686' 'x86_64') url="https://unit.nginx.org/" license=('Apache') source=("https://unit.nginx.org/download/unit-$pkgver.tar.gz" 'unit.service') -sha256sums=('e63cacb8308f625500c51440f2bc54d5a1e1b90aaa41c2c0fc7557c74a9d9e13' +sha256sums=('03388fb39b2e589c85d4bccb6d5a0e99098d250f0ecb5be668b416cc478d17d1' '8c9b2f732d6e50aa747aa7703303e5fff69f5abc6f5fc1741b774b422e029606') -makedepends=('php-embed' 'python' 'python2' 'go') +makedepends=('php-embed' 'python' 'python2' 'go' 'ruby' 'perl' 'npm') build() { cd "$srcdir"/$_shortname-$pkgver @@ -28,16 +32,20 @@ build() { --state="/var/lib/$pkgbase" \ --pid="/run/$pkgbase.pid" \ --log="/var/log/$pkgbase.log" \ - --control="/run/$pkgbase.control.sock" + --control="/run/$pkgbase.control.sock" \ + --openssl ./configure python --config=python3-config ./configure python --config=python2-config ./configure php + ./configure perl + ./configure ruby +# ./configure nodejs ./configure go --go-path=/usr/lib/go make all } package_nginx-unitd() { - depends=('glibc') + depends=('glibc' 'openssl') cd "$srcdir"/$_shortname-$pkgver make DESTDIR="$pkgdir" unitd-install @@ -72,3 +80,28 @@ package_nginx-unit-go() { cd "$srcdir"/$_shortname-$pkgver make DESTDIR="$pkgdir" go-install } + +package_nginx-unit-perl() { + arch=('any') + depends=('nginx-unitd' 'perl') + + cd "$srcdir"/$_shortname-$pkgver + make DESTDIR="$pkgdir" perl-install +} + +package_nginx-unit-ruby() { + arch=('any') + depends=('nginx-unitd' 'ruby') + + cd "$srcdir"/$_shortname-$pkgver + make DESTDIR="$pkgdir" ruby-install +} + +# Temporary disabled due to build problems +#package_nginx-unit-nodejs() { +# arch=('any') +# depends=('nginx-unitd' 'nodejs') +# +# cd "$srcdir"/$_shortname-$pkgver +# make DESTDIR="$pkgdir" node-install +#} |