aboutsummaryrefslogtreecommitdiffstats
path: root/community/ospd-netstat
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:33:45 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-05 14:33:45 +0000
commit17c98cfe5898e2f1e55dc9d8dba14a887fd9975f (patch)
tree2a3efcb556ab88a1465373a7b69c36528d65bfae /community/ospd-netstat
parentc9570f003285455b0c73d446f767978ea7398637 (diff)
downloadaports-17c98cfe5898e2f1e55dc9d8dba14a887fd9975f.tar.bz2
aports-17c98cfe5898e2f1e55dc9d8dba14a887fd9975f.tar.xz
community/ospd-netstat: added check, modernized APKBUILD
Diffstat (limited to 'community/ospd-netstat')
-rw-r--r--community/ospd-netstat/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/ospd-netstat/APKBUILD b/community/ospd-netstat/APKBUILD
index b187b39c22..1a7f58885b 100644
--- a/community/ospd-netstat/APKBUILD
+++ b/community/ospd-netstat/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-netstat
pkgver=1.0b1
-pkgrel=2
+pkgrel=3
_pkgid=2219
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
url="http://www.openvas.org/"
@@ -10,19 +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"
}