# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-w3af
pkgver=1.0.0
pkgrel=3
_pkgid=2004
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a w3af scanner"
url="http://openvas.org/"
arch="noarch"
license="GPL-2.0-or-later"
depends="python3 ospd"
makedepends="python3-dev py3-paramiko"
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
    cd "$builddir"
    python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


md5sums="b2acb00721c9eee136b5f3efbc6c2403  ospd-w3af-1.0.0.tar.gz"
sha256sums="90c650327c21e0ecf20417c61f21eac90336aaa5b47ae646f5f46228d3a08b76  ospd-w3af-1.0.0.tar.gz"
sha512sums="798ce2551134e8060d2c8ed5e72ceaa9b378ee31a175120aa43441ea6ff8f5a6cd421c710d6fde7beaf659cd82d213fe78d7d5b8f846be5d2535e094b719977e  ospd-w3af-1.0.0.tar.gz"
