diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2016-08-18 20:46:53 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-21 22:24:04 +0200 |
commit | 5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch) | |
tree | 919836fe454e953f46685adf8228b0401280d4b6 /community/nxapi/APKBUILD | |
parent | 6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff) | |
download | aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2 aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz |
testing/[various]: move to community
albatross-themes
apk-post-messages
autossh
bitcoin
btrbk
entr
ffmpegthumbnailer
firejail
firetools
fwsnort
gnome-colors
imapsync
inetutils-syslogd
inotify-tools-inc
isync
junit
ktsuss
letsencrypt-nosudo
libmbim
libndp
libqmi
libteam
mini-sendmail
modemmanager
namecoin
networkmanager
nginx-naxsi
numix-themes
nxapi
opencl-headers
opencl-icd-loader
opus-tools
perl-authen-ntlm
perl-bit-vector
perl-data-uniqid
perl-file-copy-recursive
perl-getopt-argvfile
perl-io-tee
perl-iptables-chainmgr
perl-iptables-parse
perl-module-scandeps
perl-par-dist
perl-par-packer
perl-par
perl-uri-escape
psad
py-crcmod
py-graphviz
py-lz4
py-opencl
py-opengl-accelerate
runit
secpwgen
secure-delete
socklog
spacefm
tinyssh
udevil
virt-viewer
virtualbricks
whois
wrk
xpra
zram-init
Diffstat (limited to 'community/nxapi/APKBUILD')
-rw-r--r-- | community/nxapi/APKBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/nxapi/APKBUILD b/community/nxapi/APKBUILD new file mode 100644 index 0000000000..4163f466ba --- /dev/null +++ b/community/nxapi/APKBUILD @@ -0,0 +1,47 @@ +# Contributor: Stuart Cardall <developer@it-offshore.co.uk> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=nxapi +_pkgname=naxsi +pkgver=0.54 +_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="python" +depends_dev="" +makedepends="python-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 +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="1bc31058991268e4cfdb44e9b6d8b3b3 naxsi-0.54.tar.gz +1ad187c532b7314e6db3a18dcb0e56bc fix-config-location.patch" +sha256sums="9cc2c09405bc71f78ef26a8b6d70afcea3fccbe8125df70cb0cfc480133daba5 naxsi-0.54.tar.gz +abc80d64fa48babcb99272fc7a0b15bfe887370e9f0021e64104c83c9e4ff448 fix-config-location.patch" +sha512sums="91934bfd41495715269cc6e549d17f6da66f2bdd0c9a6821fa9096b694dd3927109c4aad2f8b327620ae7c34f76a0839ac16669cd8c65081bc01fa7f829c1d43 naxsi-0.54.tar.gz +b2b62df3d50f03180c8720cb0008039bec45ac08d416617bb53631242b32f7d831016e6381a5b4735f5a00c4196366888123214a776470e47e1fe8c22adf45b8 fix-config-location.patch" |