aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-w3af/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:36:40 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:36:40 +0000
commit8be760b348ea3420add52701bcc1e7c6f3c78b96 (patch)
tree513f4232f7b61ec0d87e874f1ea54e7904659c9f /community/ospd-w3af/APKBUILD
parentb8b501f77d5643217951fc62bcc97053ec8306dc (diff)
downloadaports-8be760b348ea3420add52701bcc1e7c6f3c78b96.tar.bz2
aports-8be760b348ea3420add52701bcc1e7c6f3c78b96.tar.xz
community/ospd-w3af: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-w3af/APKBUILD')
-rw-r--r--community/ospd-w3af/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/community/ospd-w3af/APKBUILD b/community/ospd-w3af/APKBUILD
index 431c39ceb7..5043735103 100644
--- a/community/ospd-w3af/APKBUILD
+++ b/community/ospd-w3af/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-w3af
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
_pkgid=2004
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a w3af scanner"
url="http://openvas.org/"
@@ -10,20 +10,22 @@ arch="noarch"
license="GPLV2+"
depends="python3 ospd"
makedepends="python3-dev py3-paramiko"
-install=""
-subpackages=""
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"
}