mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/ospd-debsecan: added check, modernized APKBUILD
This commit is contained in:
parent
8b409c8009
commit
2885b93b6f
@ -2,7 +2,7 @@
|
|||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=ospd-debsecan
|
pkgname=ospd-debsecan
|
||||||
pkgver=1.2b1
|
pkgver=1.2b1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
_pkgid=2405
|
_pkgid=2405
|
||||||
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner"
|
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a debsecan scanner"
|
||||||
url="http://www.openvas.org/"
|
url="http://www.openvas.org/"
|
||||||
@ -16,12 +16,17 @@ builddir="$srcdir"/$pkgname-$pkgver
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
python3 setup.py build || return 1
|
python3 setup.py build
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
python3 setup.py check
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$builddir"
|
cd "$builddir"
|
||||||
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user