diff options
Diffstat (limited to 'testing/ospd-w3af/APKBUILD')
-rw-r--r-- | testing/ospd-w3af/APKBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/testing/ospd-w3af/APKBUILD b/testing/ospd-w3af/APKBUILD new file mode 100644 index 0000000000..963ff5256f --- /dev/null +++ b/testing/ospd-w3af/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> +pkgname=ospd-w3af +pkgver=1.0.0 +pkgrel=0 +_pkgid=2004 +pkgdesc="OSP server implementation to allow OpenVAS to remotely control a w3af scanner" +url="http://openvas.org/" +arch="noarch" +license="GPLV2+" +depends="python ospd" +depends_dev="" +makedepends="$depends_dev py-setuptools py-paramiko" +install="" +subpackages="" +source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver +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="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" |