mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/ospd-netstat: added check, modernized APKBUILD
This commit is contained in:
parent
c9570f0032
commit
17c98cfe58
@ -2,7 +2,7 @@
|
|||||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||||
pkgname=ospd-netstat
|
pkgname=ospd-netstat
|
||||||
pkgver=1.0b1
|
pkgver=1.0b1
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
_pkgid=2219
|
_pkgid=2219
|
||||||
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
|
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
|
||||||
url="http://www.openvas.org/"
|
url="http://www.openvas.org/"
|
||||||
@ -10,19 +10,22 @@ arch="noarch"
|
|||||||
license="GPL"
|
license="GPL"
|
||||||
depends="python3 ospd"
|
depends="python3 ospd"
|
||||||
makedepends="cmake python3-dev"
|
makedepends="cmake python3-dev"
|
||||||
install=""
|
|
||||||
subpackages=""
|
|
||||||
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
|
source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
|
||||||
builddir="$srcdir"/$pkgname-$pkgver
|
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