mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/ospd-paloalto: added check, modernized APKBUILD
This commit is contained in:
parent
bcb32c1b69
commit
6f80948d30
@ -2,7 +2,7 @@
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=ospd-paloalto
|
||||
pkgver=1.0b1
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
_pkgid=2149
|
||||
pkgdesc="OSP server implementation to allow OpenVAS to remotely control a PaloAlto"
|
||||
url="http://www.openvas.org/"
|
||||
@ -10,20 +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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user