blob: 9b8bc4bebe3a1806d0dae2e05c3352c50b424ec9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=nxapi
_pkgname=naxsi
pkgver=0.55.3
_ver=${pkgver/_/}
pkgrel=0
pkgdesc="nginx/naxsi log parser, whitelist and report generator."
url="http://www.nginx.org | https://github.com/nbs-system/naxsi"
arch="noarch"
license="GPL v2"
depends="python2"
depends_dev=""
makedepends="python2-dev"
source="$_pkgname-$_ver.tar.gz::https://github.com/nbs-system/naxsi/archive/${_ver}.tar.gz
fix-config-location.patch
"
builddir="$srcdir/$_pkgname-$_ver/nxapi"
build() {
cd "$builddir"
python setup.py build
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir"
}
check() {
cd "$builddir"
python setup.py check
}
sha512sums="9e8f41a5cd1342cc9b8aa334a603842d14a256aab1f4a21205bb1278aecbb0c49e39c889d8113a5b41aad2efeaa2ed9f11cba6929173f50add91f54c4c59c8a0 naxsi-0.55.3.tar.gz
b2b62df3d50f03180c8720cb0008039bec45ac08d416617bb53631242b32f7d831016e6381a5b4735f5a00c4196366888123214a776470e47e1fe8c22adf45b8 fix-config-location.patch"
|