summaryrefslogtreecommitdiff
path: root/user/nmap/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/nmap/APKBUILD')
-rw-r--r--user/nmap/APKBUILD18
1 files changed, 13 insertions, 5 deletions
diff --git a/user/nmap/APKBUILD b/user/nmap/APKBUILD
index d8bdea9a9..3b256aaa3 100644
--- a/user/nmap/APKBUILD
+++ b/user/nmap/APKBUILD
@@ -1,14 +1,13 @@
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=nmap
-pkgver=7.70
-pkgrel=1
+pkgver=7.80
+pkgrel=0
pkgdesc="A network exploration tool and security/port scanner"
url="https://nmap.org/"
arch="all"
license="GPL-2.0-only"
depends=""
makedepends="linux-headers openssl-dev libpcap-dev pcre-dev zlib-dev libssh2-dev lua5.3-dev"
-options="!checkroot"
subpackages="
$pkgname-doc
$pkgname-scripts::noarch
@@ -17,7 +16,12 @@ subpackages="
$pkgname-ncat
$pkgname-ncat-doc:ncat_doc
netcat::noarch"
-source="https://nmap.org/dist/$pkgname-$pkgver.tar.bz2"
+source="https://nmap.org/dist/$pkgname-$pkgver.tar.bz2
+ nmap-7.80-fix_addrset.patch"
+
+# secfixes:
+# 7.80-r0:
+# - CVE-2018-15173
prepare() {
default_prepare
@@ -26,6 +30,9 @@ prepare() {
build() {
# zenmap and ndiff require python 2
+ export CFLAGS=-g3
+ export CPPFLAGS=-g3
+ export CXXFLAGS=-g3
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -99,4 +106,5 @@ netcat() {
ln -s ncat "$subpkgdir"/usr/bin/nc
}
-sha512sums="084c148b022ff6550e269d976d0077f7932a10e2ef218236fe13aa3a70b4eb6506df03329868fc68cb3ce78e4360b200f5a7a491d3145028fed679ef1c9ecae5 nmap-7.70.tar.bz2"
+sha512sums="d4384d3ebf4f3abf3588eed5433f733874ecdceb9342a718dc36db19634b0cc819d73399974eb0a9a9c9dd9e5c88473e07644ec91db28b0c072552b54430be6b nmap-7.80.tar.bz2
+e079c07716bc847b44cb5ba0c1f71fe7d95e786c7a18dad7927ca29e6f2e20fce3674d939335db038e509755945d1db05a1746b508ada3df011fafb890ab9033 nmap-7.80-fix_addrset.patch"