Commit ddf37486 authored by Francesco Colista's avatar Francesco Colista

community/ospd-ikeprobe: added check, modernized APKBUILD

parent 2885b93b
......@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-ikeprobe
pkgver=1.0b1
pkgrel=2
pkgrel=3
_pkgid=2204
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a ikeprobe scanner"
url="http://www.openvas.org/"
......@@ -10,24 +10,22 @@ arch="noarch"
license="GPL"
depends="python3 ospd"
makedepends="cmake python3-dev"
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"
}
md5sums="97bc6b0953faf1e8883ee43360bf1e38 ospd-ikeprobe-1.0b1.tar.gz"
sha256sums="86b29210b5c5b674352b8366a83b167c492c92e145a1637d28dd9a8f6a2ecde0 ospd-ikeprobe-1.0b1.tar.gz"
sha512sums="567b2100ab42d7effe8fb47890a3c05fb7066ef97e29f2c723a3f29fd58addac220a91dda01804e997eec126905d43d59621b7318bfa02487ed789e228fe8660 ospd-ikeprobe-1.0b1.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment