aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Polański <michal@polanski.me>2021-01-18 01:44:50 +0100
committerLeo <thinkabit.ukim@gmail.com>2021-01-18 00:52:30 +0000
commit57025cb71f192c7c0ac302c9de45e93b6ec13bbc (patch)
tree63a4c9efa94089192e66ff7f6e86a9d00b3caa57
parent42b9e6aed626e19ac658c15a3f9b4be9a4eb4596 (diff)
downloadaports-57025cb71f192c7c0ac302c9de45e93b6ec13bbc.tar.gz
aports-57025cb71f192c7c0ac302c9de45e93b6ec13bbc.tar.bz2
aports-57025cb71f192c7c0ac302c9de45e93b6ec13bbc.tar.xz
testing/ospd-nmap: modernize
-rw-r--r--testing/ospd-nmap/APKBUILD16
1 files changed, 5 insertions, 11 deletions
diff --git a/testing/ospd-nmap/APKBUILD b/testing/ospd-nmap/APKBUILD
index c8b4650257..928b429304 100644
--- a/testing/ospd-nmap/APKBUILD
+++ b/testing/ospd-nmap/APKBUILD
@@ -2,32 +2,26 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=ospd-nmap
pkgver=1.0b1
-pkgrel=5
+pkgrel=6
_pkgid=2218
pkgdesc="OSP server implementation to allow OpenVAS to remotel control nmap port scanner"
-url="http://www.openvas.org/"
+url="https://www.openvas.org/"
arch="noarch"
-license="GPL"
+license="GPL-2.0-or-later"
depends="python3"
-makedepends="cmake python3-dev py3-setuptools"
-source="http://wald.intevation.org/frs/download.php/$_pkgid/$pkgname-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+makedepends="python3-dev py3-setuptools"
+source="https://wald.intevation.org/frs/download.php/$_pkgid/ospd-nmap-$pkgver.tar.gz"
build() {
- cd "$builddir"
python3 setup.py build
}
check() {
- cd "$builddir"
python3 setup.py check
}
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-
-
sha512sums="f251d0951ba6225844274d26187aa7b90a654ed765471f356fa7979b623c5c04c7f7527dffb9e8f28e278c3e4079a7881947787435779c57d5346520934a9d21 ospd-nmap-1.0b1.tar.gz"