Initialize with nginx-module-vts 0.1.18.
This commit is contained in:
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
@@ -0,0 +1,16 @@
|
||||
pkgbase = nginx-mainline-mod-vts
|
||||
pkgdesc = Nginx virtual host traffic status module (module for mainline nginx)
|
||||
pkgver = 0.1.18
|
||||
pkgrel = 9
|
||||
url = https://github.com/vozlt/nginx-module-vts
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
depends = nginx-mainline=1.15.2
|
||||
source = https://nginx.org/download/nginx-1.15.2.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 = eeba09aecfbe8277ac33a5a2486ec2d6731739f3c1c701b42a0c3784af67ad90
|
||||
sha256sums = 17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65
|
||||
|
||||
pkgname = nginx-mainline-mod-vts
|
||||
|
39
PKGBUILD
Normal file
39
PKGBUILD
Normal file
@@ -0,0 +1,39 @@
|
||||
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
|
||||
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
|
||||
|
||||
pkgname=nginx-mainline-mod-vts
|
||||
pkgver=0.1.18
|
||||
pkgrel=9
|
||||
|
||||
_modname="${pkgname#nginx-mainline-mod-}"
|
||||
_nginxver=1.15.2
|
||||
|
||||
pkgdesc='Nginx virtual host traffic status module (module for mainline nginx)'
|
||||
arch=('i686' 'x86_64')
|
||||
depends=("nginx-mainline=$_nginxver")
|
||||
url="https://github.com/vozlt/nginx-module-vts"
|
||||
license=('BSD')
|
||||
|
||||
source=(
|
||||
https://nginx.org/download/nginx-$_nginxver.tar.gz
|
||||
$pkgname-$pkgver.tar.gz::https://github.com/vozlt/nginx-module-vts/archive/v$pkgver.tar.gz
|
||||
)
|
||||
|
||||
sha256sums=('eeba09aecfbe8277ac33a5a2486ec2d6731739f3c1c701b42a0c3784af67ad90'
|
||||
'17ea41d4083f6d1ab1ab83dad9160eeca66867abe16c5a0421f85a39d7c84b65')
|
||||
|
||||
build() {
|
||||
cd "$srcdir"/nginx-$_nginxver
|
||||
./configure --with-compat --add-dynamic-module=../nginx-module-vts-$pkgver
|
||||
make modules
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm644 "$srcdir"/nginx-module-vts-$pkgver/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
|
||||
cd "$srcdir"/nginx-$_nginxver/objs
|
||||
for mod in *.so; do
|
||||
install -Dm755 $mod "$pkgdir"/usr/lib/nginx/modules/$mod
|
||||
done
|
||||
}
|
Reference in New Issue
Block a user