Build for nginx 1.21.3
This commit is contained in:
8
.SRCINFO
8
.SRCINFO
@@ -1,15 +1,15 @@
|
||||
pkgbase = nginx-mainline-mod-vts
|
||||
pkgdesc = Nginx virtual host traffic status module (module for mainline nginx)
|
||||
pkgver = 0.1.18
|
||||
pkgrel = 30
|
||||
pkgrel = 33
|
||||
url = https://github.com/vozlt/nginx-module-vts
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
depends = nginx-mainline=1.21.0
|
||||
source = https://nginx.org/download/nginx-1.21.0.tar.gz
|
||||
source = https://nginx.org/download/nginx-1.21.3.tar.gz
|
||||
source = nginx-mainline-mod-vts-0.1.18.tar.gz::https://github.com/vozlt/nginx-module-vts/archive/v0.1.18.tar.gz
|
||||
sha256sums = fe192a4bac2bd3a769e8695cb9fe14a00e57eaceb919095347a83b5b2afc0771
|
||||
sha256sums = 31771c560e46d73650568e8193cb94d981081f83dd62d1ba43af1a1e0ba25185
|
||||
sha256sums = 17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65
|
||||
|
||||
pkgname = nginx-mainline-mod-vts
|
||||
depends = nginx-mainline=1.21.3
|
||||
|
9
PKGBUILD
9
PKGBUILD
@@ -3,14 +3,14 @@
|
||||
|
||||
pkgname=nginx-mainline-mod-vts
|
||||
pkgver=0.1.18
|
||||
pkgrel=30
|
||||
pkgrel=33
|
||||
|
||||
_modname="${pkgname#nginx-mainline-mod-}"
|
||||
_nginxver=1.21.0
|
||||
_nginxver=1.21.3
|
||||
|
||||
pkgdesc='Nginx virtual host traffic status module (module for mainline nginx)'
|
||||
arch=('i686' 'x86_64')
|
||||
depends=("nginx-mainline=$_nginxver")
|
||||
depends=() # the build process doesn't require or use installed nginx, so add the dependency in package() to break the cycle
|
||||
url="https://github.com/vozlt/nginx-module-vts"
|
||||
license=('BSD')
|
||||
|
||||
@@ -19,7 +19,7 @@ source=(
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/vozlt/nginx-module-vts/archive/v$pkgver.tar.gz
|
||||
)
|
||||
|
||||
sha256sums=('fe192a4bac2bd3a769e8695cb9fe14a00e57eaceb919095347a83b5b2afc0771'
|
||||
sha256sums=('31771c560e46d73650568e8193cb94d981081f83dd62d1ba43af1a1e0ba25185'
|
||||
'17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65')
|
||||
|
||||
build() {
|
||||
@@ -29,6 +29,7 @@ build() {
|
||||
}
|
||||
|
||||
package() {
|
||||
depends=("nginx-mainline=$_nginxver")
|
||||
install -Dm644 "$srcdir"/nginx-module-vts-$pkgver/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user