aboutsummaryrefslogtreecommitdiffstats
path: root/community/nxapi/APKBUILD
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-01-03 01:20:02 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-01-07 17:27:37 +0100
commit257404b811f4a9068e8e33540fe42608bd8d2571 (patch)
tree3048181a798d5adaf15e3c192b5fa5f0537ac4fc /community/nxapi/APKBUILD
parent7ddddff30cd81e03a5e12e36f4aa76c114a965a9 (diff)
downloadaports-257404b811f4a9068e8e33540fe42608bd8d2571.tar.bz2
aports-257404b811f4a9068e8e33540fe42608bd8d2571.tar.xz
community/nxapi: update to 0.55.1
Diffstat (limited to 'community/nxapi/APKBUILD')
-rw-r--r--community/nxapi/APKBUILD26
1 files changed, 7 insertions, 19 deletions
diff --git a/community/nxapi/APKBUILD b/community/nxapi/APKBUILD
index bc56c14900..30363e6993 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.54
+pkgver=0.55.1
_ver=${pkgver/_/}
pkgrel=0
pkgdesc="nginx/naxsi log parser, whitelist and report generator."
@@ -12,36 +12,24 @@ license="GPL v2"
depends="python2"
depends_dev=""
makedepends="python2-dev"
-#subpackages="$pkgname-doc"
source="$_pkgname-$_ver.tar.gz::https://github.com/nbs-system/naxsi/archive/${_ver}.tar.gz
fix-config-location.patch
"
-
-_builddir="$srcdir"/$_pkgname-$_ver/nxapi
-
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/$_pkgname-$_ver/nxapi"
build() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="1bc31058991268e4cfdb44e9b6d8b3b3 naxsi-0.54.tar.gz
+md5sums="b894ea5327a3d102a56aeddb79d2e047 naxsi-0.55.1.tar.gz
1ad187c532b7314e6db3a18dcb0e56bc fix-config-location.patch"
-sha256sums="9cc2c09405bc71f78ef26a8b6d70afcea3fccbe8125df70cb0cfc480133daba5 naxsi-0.54.tar.gz
+sha256sums="45dd0df7a6b0b6aa9c64eb8c39a8e294d659d87fb18e192cf58f1402f3cdb0a8 naxsi-0.55.1.tar.gz
abc80d64fa48babcb99272fc7a0b15bfe887370e9f0021e64104c83c9e4ff448 fix-config-location.patch"
-sha512sums="91934bfd41495715269cc6e549d17f6da66f2bdd0c9a6821fa9096b694dd3927109c4aad2f8b327620ae7c34f76a0839ac16669cd8c65081bc01fa7f829c1d43 naxsi-0.54.tar.gz
+sha512sums="aebda20e5b78e9111b7bac1e15829258e6b85b80e4ce333e4dba8caead36287b3f0fcb453c51d7c59f07d637fa62f5c6b23aecd3bf6a3c3da4abebf1a6689f14 naxsi-0.55.1.tar.gz
b2b62df3d50f03180c8720cb0008039bec45ac08d416617bb53631242b32f7d831016e6381a5b4735f5a00c4196366888123214a776470e47e1fe8c22adf45b8 fix-config-location.patch"