diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-07-04 18:35:26 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-07-07 10:43:44 +0000 |
commit | 592f41fb024a67d9671d09a32073491daed2dff4 (patch) | |
tree | da55f728b4991c814fbf5c6360e1146a944a7f4b /community/nxapi | |
parent | f4f856564dfb2589c1800bd51322f4eadfc67cf1 (diff) | |
download | aports-592f41fb024a67d9671d09a32073491daed2dff4.tar.bz2 aports-592f41fb024a67d9671d09a32073491daed2dff4.tar.xz |
community/nxapi: update to 0.55.3
Diffstat (limited to 'community/nxapi')
-rw-r--r-- | community/nxapi/APKBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/community/nxapi/APKBUILD b/community/nxapi/APKBUILD index 30363e6993..9b8bc4bebe 100644 --- a/community/nxapi/APKBUILD +++ b/community/nxapi/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Stuart Cardall <developer@it-offshore.co.uk> pkgname=nxapi _pkgname=naxsi -pkgver=0.55.1 +pkgver=0.55.3 _ver=${pkgver/_/} pkgrel=0 pkgdesc="nginx/naxsi log parser, whitelist and report generator." @@ -19,17 +19,18 @@ builddir="$srcdir/$_pkgname-$_ver/nxapi" build() { cd "$builddir" - python2 setup.py build || return 1 + python setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="b894ea5327a3d102a56aeddb79d2e047 naxsi-0.55.1.tar.gz -1ad187c532b7314e6db3a18dcb0e56bc fix-config-location.patch" -sha256sums="45dd0df7a6b0b6aa9c64eb8c39a8e294d659d87fb18e192cf58f1402f3cdb0a8 naxsi-0.55.1.tar.gz -abc80d64fa48babcb99272fc7a0b15bfe887370e9f0021e64104c83c9e4ff448 fix-config-location.patch" -sha512sums="aebda20e5b78e9111b7bac1e15829258e6b85b80e4ce333e4dba8caead36287b3f0fcb453c51d7c59f07d637fa62f5c6b23aecd3bf6a3c3da4abebf1a6689f14 naxsi-0.55.1.tar.gz +check() { + cd "$builddir" + python setup.py check +} + +sha512sums="9e8f41a5cd1342cc9b8aa334a603842d14a256aab1f4a21205bb1278aecbb0c49e39c889d8113a5b41aad2efeaa2ed9f11cba6929173f50add91f54c4c59c8a0 naxsi-0.55.3.tar.gz b2b62df3d50f03180c8720cb0008039bec45ac08d416617bb53631242b32f7d831016e6381a5b4735f5a00c4196366888123214a776470e47e1fe8c22adf45b8 fix-config-location.patch" |