aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nginx-naxsi
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2015-06-17 17:44:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-06-19 19:48:53 +0000
commit14fead710a880472c2d3a0724720f6e2aa67430e (patch)
tree103402ac89de09a0f876768c1bf04ff5841238e5 /testing/nginx-naxsi
parentcefc8b4350eef601f9b2b31127735c6c310b3a9d (diff)
downloadaports-14fead710a880472c2d3a0724720f6e2aa67430e.tar.bz2
aports-14fead710a880472c2d3a0724720f6e2aa67430e.tar.xz
testing/nginx-naxsi: update to 1.9.2
Diffstat (limited to 'testing/nginx-naxsi')
-rw-r--r--testing/nginx-naxsi/APKBUILD25
1 files changed, 19 insertions, 6 deletions
diff --git a/testing/nginx-naxsi/APKBUILD b/testing/nginx-naxsi/APKBUILD
index b09f46c447..33c58ebe9b 100644
--- a/testing/nginx-naxsi/APKBUILD
+++ b/testing/nginx-naxsi/APKBUILD
@@ -5,7 +5,7 @@
pkgname=nginx-naxsi
_pkgname=nginx
-pkgver=1.9.1
+pkgver=1.9.2
_ngx_naxsi_ver=0.54rc2
_ngx_cache_purge_ver=2.3
_ngx_upstream_fair_ver=0.1.0
@@ -18,8 +18,7 @@ license="custom"
install="$pkgname.pre-install $pkgname.pre-upgrade"
depends="!nginx"
makedepends="pcre-dev openssl-dev zlib-dev paxmark"
-_upstreamfair_sha="a18b4099fbd458111983200e098b6f0c8efed4bc"
-_httpsysguard_sha="3fcdf27ff91482e1e54eb6fae4e059e814b85d78"
+subpackages="$pkgname-doc $pkgname-vim:vim"
source="http://nginx.org/download/$_pkgname-$pkgver.tar.gz
naxsi-$_ngx_naxsi_ver.tar.gz::https://github.com/nbs-system/naxsi/archive/$_ngx_naxsi_ver.tar.gz
ngx_cache_purge-$_ngx_cache_purge_ver.tar.gz::https://github.com/FRiCKLE/ngx_cache_purge/archive/$_ngx_cache_purge_ver.tar.gz
@@ -95,7 +94,21 @@ package() {
install -m644 -D LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
install -m644 -D "$srcdir"/naxsi-$_ngx_naxsi_ver/naxsi_config/naxsi_core.rules "$pkgdir"/etc/nginx/naxsi_core.rules
}
-md5sums="fc054d51effa7c80a2e143bc4e2ae6a7 nginx-1.9.1.tar.gz
+
+vim() {
+ local t
+
+ depends=""
+ pkgdesc="Vim syntax for Nginx"
+ arch="noarch"
+
+ for t in ftdetect syntax indent; do
+ install -Dm644 "$_builddir"/contrib/vim/$t/$_pkgname.vim \
+ "$subpkgdir"/usr/share/vim/vimfiles/$t/$_pkgname.vim
+ done
+}
+
+md5sums="572a0f217f845d3592b5ca779066d1c3 nginx-1.9.2.tar.gz
6b091c34a0aa76184effaaeb26af7c09 naxsi-0.54rc2.tar.gz
dc4c0688ed03ca7f5563097c2a8a76ca ngx_cache_purge-2.3.tar.gz
f3562ef6573f616e254d382d6f86b8e1 upstream-fair-0.1.0.tar.gz
@@ -105,7 +118,7 @@ a07569b8a023f1b89dcd11e0beda4df6 anonymise.patch
50357b75049d878c0bcce10d0c60f9ed sysguard.patch
609ea97ab6c3c30f9e8329968aadc4f3 nginx.initd
8823274a834332d3db4f62bf7dd1fb7d nginx.logrotate"
-sha256sums="09f555fae694c0944f172b575ad239f56d40d14559d98e843de0a690f38c1dad nginx-1.9.1.tar.gz
+sha256sums="80b6425be14a005c8cb15115f3c775f4bc06bf798aa1affaee84ed9cf641ed78 nginx-1.9.2.tar.gz
2f7f2c0fb4dacf489febb719e7834a2b16c9b471e16ef1125e7f87174defeecc naxsi-0.54rc2.tar.gz
cb7d5f22919c613f1f03341a1aeb960965269302e9eb23425ccaabd2f5dcbbec ngx_cache_purge-2.3.tar.gz
dd0bfb79d2489f48ea63ac004d91890cd471eb4020500ce9179c3612cb13246c upstream-fair-0.1.0.tar.gz
@@ -115,7 +128,7 @@ a24ef5843ae0afa538b00c37eb7da7870f9d7f146f52a9668678f7296cf71d9b ipv6.patch
18090329435c32d91621a5943acc5b8bbe89aaa3c2fa334c3a4cdeb00efb6226 sysguard.patch
8cbef405295eac299dfc3b9b119c02bda354a9b335923bed6ff6992c1fd8f493 nginx.initd
cea0c6f8de55a4c3a3eccc57910de1c3116634082c8e5b660630fb927a29f38d nginx.logrotate"
-sha512sums="5f5bd0bd31ab002d900a5182d00292ddf262a3ded57692a13bd903c5fb73915a8587e2e17daa3f497a14867ad2748f855343a2e3df90207c8aa08a49a2f21397 nginx-1.9.1.tar.gz
+sha512sums="dc433fd0531a310de25dbf5303dbd904dc1f1ecfcb774707bf65f6f5f5ad83b6febc9938cabb0c68fefa4ddd80e121ac954411ed42f87254c95b5ca4daa9d7de nginx-1.9.2.tar.gz
cd79ed8aa51482edaa68bd6f34cd64848bb990a31452fe4da14b17bf94a178102892fb51868cdc39d7712b523a0d3a85135af3f9d02f7eb566a0b87fc0cf6414 naxsi-0.54rc2.tar.gz
81929ca57ce5c2e1af6ec43882a54ff1da8dc77786bfb7505ff94fbcf970ae8870b419dc5c0bc7b80794d75a359e0100f360c1cf458a300f802b1d8bd7053811 ngx_cache_purge-2.3.tar.gz
2ff9894986c5cd483ecee97d8818675ef6d063e5f45bb66e8cf56c78bbd043b9c0c37eb3cf650b7cfb6d40da9f7a4ba0e030fe39de5ef1f715cbcd6560248428 upstream-fair-0.1.0.tar.gz