summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-16 04:27:24 +0000
committerSam James <sam@gentoo.org>2021-04-16 04:40:17 +0000
commit259e3d2c5867d70c8f09edfa5c9ce48a881262ea (patch)
treeda96d681fd61ad72928d163b7bd80bafb10340b9 /net-analyzer/nmap
parentapp-crypt/openpgp-keys-nmap: initial import (diff)
downloadgentoo-259e3d2c5867d70c8f09edfa5c9ce48a881262ea.tar.gz
gentoo-259e3d2c5867d70c8f09edfa5c9ce48a881262ea.tar.bz2
gentoo-259e3d2c5867d70c8f09edfa5c9ce48a881262ea.zip
net-analyzer/nmap: add verify-sig support
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/Manifest1
-rw-r--r--net-analyzer/nmap/nmap-7.91-r2.ebuild6
2 files changed, 5 insertions, 2 deletions
diff --git a/net-analyzer/nmap/Manifest b/net-analyzer/nmap/Manifest
index 5451f0f7941c..d261befb90a4 100644
--- a/net-analyzer/nmap/Manifest
+++ b/net-analyzer/nmap/Manifest
@@ -1,2 +1,3 @@
DIST nmap-7.80.tar.bz2 10550327 BLAKE2B 513a5589f4dd72660d290cc03b8130da2c41e4620c5a82e125e4345259b8d0f6efa8bceef47d3c0d2b5b588888b716070e05105a09b0185622aed9268715ae2c SHA512 d4384d3ebf4f3abf3588eed5433f733874ecdceb9342a718dc36db19634b0cc819d73399974eb0a9a9c9dd9e5c88473e07644ec91db28b0c072552b54430be6b
DIST nmap-7.91.tar.bz2 10503500 BLAKE2B a758e0a20f8243b33b000c23e025b87bdb712390b82982a1aca219c9b98cd55c6ababb810328c7d0cdb5c884ef9bd5b187b9e4929454278342d7ee5ef441cded SHA512 9d59f031b5f748311e9f9a0b9d05ad4a7a70fc6ac17598d7c4c81a4825c95d53817d74435d839e67b9379a052f2d37889fd634f9c75301a851f465d60fb9974d
+DIST nmap-7.91.tar.bz2.asc 195 BLAKE2B 16c4bad309c4652128a67f00c6b89f6552f432166733cac45756c20df0f48bdd0b8b9edbcce3df8f25d0a8e422be2494d9d5639fa74fc3f1e2c13489c52387c1 SHA512 376b74fc15896a1008709dac45b5af5d35ca00a1753994aba3ee6cffe2c2f0d67619fab45d57e83b454cfb376defe965f2bf881ef4cb8d5f8f2215979ad8ee96
diff --git a/net-analyzer/nmap/nmap-7.91-r2.ebuild b/net-analyzer/nmap/nmap-7.91-r2.ebuild
index 165e7157943d..6778cf910514 100644
--- a/net-analyzer/nmap/nmap-7.91-r2.ebuild
+++ b/net-analyzer/nmap/nmap-7.91-r2.ebuild
@@ -5,12 +5,13 @@ EAPI=7
LUA_COMPAT=( lua5-3 )
LUA_REQ_USE="deprecated"
-
-inherit autotools lua-single toolchain-funcs
+VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nmap.asc
+inherit autotools lua-single toolchain-funcs verify-sig
DESCRIPTION="Network exploration tool and security / port scanner"
HOMEPAGE="https://nmap.org/"
SRC_URI="https://nmap.org/dist/${P}.tar.bz2"
+SRC_URI+=" verify-sig? ( https://nmap.org/dist/sigs/${P}.tar.bz2.asc )"
LICENSE="|| ( NPSL GPL-2 )"
SLOT="0"
@@ -34,6 +35,7 @@ RDEPEND="
system-lua? ( ${LUA_DEPS} )
"
DEPEND="${RDEPEND}"
+BDEPEND+="verify-sig? ( app-crypt/openpgp-keys-nmap )"
PATCHES=(
"${FILESDIR}"/${PN}-5.10_beta1-string.patch