Skip to content
Snippets Groups Projects
Verified Commit 5bc78c75 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

upgpkg: 3.4-5: nginx 1.26.1 rebuild

parent a2c9247f
No related branches found
No related tags found
No related merge requests found
pkgbase = nginx-mod-geoip2
pkgdesc = Nginx GeoIP2 module
pkgver = 3.4
pkgrel = 4
pkgrel = 5
url = https://github.com/leev/ngx_http_geoip2_module
arch = x86_64
license = BSD
license = BSD-2-Clause
makedepends = nginx
makedepends = nginx-src
depends = nginx
depends = libmaxminddb
source = https://github.com/leev/ngx_http_geoip2_module/archive/3.4/ngx_http_geoip2_module-3.4.tar.gz
validpgpkeys = B0F4253373F8F6F510D42178520A9993A1C052F8
sha256sums = ad72fc23348d715a330994984531fab9b3606e160483236737f9a4a6957d9452
pkgname = nginx-mod-geoip2
depends = libmaxminddb
depends = nginx=
......@@ -2,16 +2,16 @@
pkgname=nginx-mod-geoip2
pkgver=3.4
pkgrel=4
pkgrel=5
_modname="ngx_http_geoip2_module"
pkgdesc="Nginx GeoIP2 module"
arch=('x86_64')
depends=('nginx' 'libmaxminddb')
makedepends=('nginx-src')
depends=('libmaxminddb')
makedepends=('nginx' 'nginx-src')
url="https://github.com/leev/ngx_http_geoip2_module"
license=('BSD')
license=('BSD-2-Clause')
source=(
https://github.com/leev/ngx_http_geoip2_module/archive/$pkgver/$_modname-$pkgver.tar.gz
......@@ -33,6 +33,10 @@ build() {
}
package() {
local _nginx_version=$(nginx -v 2>&1)
_nginx_version=${_nginx_version/* nginx\/}
depends+=("nginx=${_nginx_version}")
install -Dm644 "$srcdir"/$_modname-$pkgver/LICENSE \
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment