summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2018-10-30 13:31:50 +0100
committerMassimiliano Torromeo2018-10-30 13:31:50 +0100
commit7fe4732d696a407fe25a5302be159dc7f5b67cf0 (patch)
tree8e99411fe08eff331f550f4bee2ce1db70c910cb
parent13a6f2c3a41b07714cd8c7f5fed42c1fa9f8a568 (diff)
downloadaur-7fe4732d696a407fe25a5302be159dc7f5b67cf0.tar.gz
Added gpg signature check on nginx packages
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD6
2 files changed, 8 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0f73c4c96c14..cb432a7aeb8e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Tue Oct 30 12:31:50 UTC 2018
pkgbase = nginx-mainline-mod-srcache
pkgdesc = Transparent subrequest-based caching layout for arbitrary nginx locations (module for mainline nginx)
pkgver = 0.31
@@ -8,6 +10,7 @@ pkgbase = nginx-mainline-mod-srcache
license = BSD
depends = nginx-mainline
source = https://nginx.org/download/nginx-1.15.5.tar.gz
+ source = https://nginx.org/download/nginx-1.15.5.tar.gz.asc
source = https://github.com/openresty/srcache-nginx-module/archive/v0.31/srcache-0.31.tar.gz
sha256sums = 1a3a889a8f14998286de3b14cc1dd5b2747178e012d6d480a18aa413985dae6f
sha256sums = 3f9729e73a8340926fa9d9fc15707c2f287cd27b6a9fe42e83f660ca48a5972d
diff --git a/PKGBUILD b/PKGBUILD
index 896704031668..6db14d0bca6f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,10 +14,14 @@ url="https://github.com/openresty/srcache-nginx-module"
license=('BSD')
source=(
- https://nginx.org/download/nginx-$_nginxver.tar.gz
+ https://nginx.org/download/nginx-$_nginxver.tar.gz{,.asc}
https://github.com/openresty/$_modname-nginx-module/archive/v$pkgver/$_modname-$pkgver.tar.gz
)
+validpgpkeys=(
+ 'B0F4253373F8F6F510D42178520A9993A1C052F8' # Maxim Dounin <mdounin@mdounin.ru>
+)
+
sha256sums=('1a3a889a8f14998286de3b14cc1dd5b2747178e012d6d480a18aa413985dae6f'
'3f9729e73a8340926fa9d9fc15707c2f287cd27b6a9fe42e83f660ca48a5972d')