blob: b0a276eb9481b772b45071eb8baa860d8dd1def3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="ospd-openvas"
pkgver="1.0.0"
pkgrel=1
pkgdesc="ospd-openvas is an OSP server implementation to allow GVM to remotely control an OpenVAS Scanner"
url="https://github.com/greenbone/ospd-openvas"
arch="noarch"
license="GPL-2.0"
depends="ospd py3-psutil py3-redis py3-setuptools"
subpackages="$pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/greenbone/$pkgname/archive/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
ospd.conf"
builddir="$srcdir/$pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py check
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
install -Dm755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
install -Dm755 "$srcdir/$pkgname.confd" "$pkgdir/etc/conf.d/$pkgname"
install -Dm644 "$srcdir"/ospd.conf "$pkgdir"/etc/openvas/ospd.conf
}
sha512sums="2b2e4f38843265a018a58b7fbd2fde0449d4f6cf3c5c1b7bec02d8390ab257020304f5be1bf2a77f7d28a04f4d1da611fc9b3066bef370dd686dfb8684fce534 ospd-openvas-1.0.0.tar.gz
85d69018f447d714363759d488ef378e5e3cedd07c51c675a33728afc73d02c4e3fe7a1aec8a2c20c619619cfeec19d7f636301821f694271c06cd09de585b4a ospd-openvas.initd
ef07f02c3900ee431785b2c2e53f04f4fd114f502526ec509c869dcd3a95e4284fc65f05f5ec85280cc05a29a46fba9c74ef3b0b0d618b9c9c1e62d9bb3fc6fa ospd-openvas.confd
12c9aad78ec0244ff1575563f73fbb8e1def08d5fa71bf69a105a491e6cdb47d1868833168b35d903bb2a94e5e81c32601118130ebdfb8c596721a3c9f3ccabd ospd.conf"
|