aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-acunetix
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:29:08 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:29:08 +0000
commit7338a4c2ecb161d10151b430c0ba372a5cf1dae7 (patch)
tree7d590f1d9d903be788084fbe38eeb6bab2d8b5dc /community/ospd-acunetix
parent7f5372039869c885c07844be29bb08d88aa58201 (diff)
downloadaports-7338a4c2ecb161d10151b430c0ba372a5cf1dae7.tar.bz2
aports-7338a4c2ecb161d10151b430c0ba372a5cf1dae7.tar.xz
community/ospd-acunetix: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-acunetix')
-rw-r--r--community/ospd-acunetix/APKBUILD17
1 files changed, 9 insertions, 8 deletions
diff --git a/community/ospd-acunetix/APKBUILD b/community/ospd-acunetix/APKBUILD
index d01dcf1bed..1731b6444a 100644
--- a/community/ospd-acunetix/APKBUILD
+++ b/community/ospd-acunetix/APKBUILD
@@ -2,29 +2,30 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-acunetix
pkgver=1.0b1
-pkgrel=1
+pkgrel=2
_pkgid=2181
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
url="http://www.openvas.org/"
arch="noarch"
license="GPL"
depends="python3"
-depends_dev=""
-makedepends="$depends_dev cmake"
-install=""
-subpackages=""
+makedepends="cmake"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
-
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python3 setup.py check
}
package() {
cd "$builddir"
- python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}