Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmap/
Date: Fri, 16 Apr 2021 04:47:37
Message-Id: 1618548017.259e3d2c5867d70c8f09edfa5c9ce48a881262ea.sam@gentoo
1 commit: 259e3d2c5867d70c8f09edfa5c9ce48a881262ea
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 16 04:27:24 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 16 04:40:17 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=259e3d2c
7
8 net-analyzer/nmap: add verify-sig support
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-analyzer/nmap/Manifest | 1 +
13 net-analyzer/nmap/nmap-7.91-r2.ebuild | 6 ++++--
14 2 files changed, 5 insertions(+), 2 deletions(-)
15
16 diff --git a/net-analyzer/nmap/Manifest b/net-analyzer/nmap/Manifest
17 index 5451f0f7941..d261befb90a 100644
18 --- a/net-analyzer/nmap/Manifest
19 +++ b/net-analyzer/nmap/Manifest
20 @@ -1,2 +1,3 @@
21 DIST nmap-7.80.tar.bz2 10550327 BLAKE2B 513a5589f4dd72660d290cc03b8130da2c41e4620c5a82e125e4345259b8d0f6efa8bceef47d3c0d2b5b588888b716070e05105a09b0185622aed9268715ae2c SHA512 d4384d3ebf4f3abf3588eed5433f733874ecdceb9342a718dc36db19634b0cc819d73399974eb0a9a9c9dd9e5c88473e07644ec91db28b0c072552b54430be6b
22 DIST nmap-7.91.tar.bz2 10503500 BLAKE2B a758e0a20f8243b33b000c23e025b87bdb712390b82982a1aca219c9b98cd55c6ababb810328c7d0cdb5c884ef9bd5b187b9e4929454278342d7ee5ef441cded SHA512 9d59f031b5f748311e9f9a0b9d05ad4a7a70fc6ac17598d7c4c81a4825c95d53817d74435d839e67b9379a052f2d37889fd634f9c75301a851f465d60fb9974d
23 +DIST nmap-7.91.tar.bz2.asc 195 BLAKE2B 16c4bad309c4652128a67f00c6b89f6552f432166733cac45756c20df0f48bdd0b8b9edbcce3df8f25d0a8e422be2494d9d5639fa74fc3f1e2c13489c52387c1 SHA512 376b74fc15896a1008709dac45b5af5d35ca00a1753994aba3ee6cffe2c2f0d67619fab45d57e83b454cfb376defe965f2bf881ef4cb8d5f8f2215979ad8ee96
24
25 diff --git a/net-analyzer/nmap/nmap-7.91-r2.ebuild b/net-analyzer/nmap/nmap-7.91-r2.ebuild
26 index 165e7157943..6778cf91051 100644
27 --- a/net-analyzer/nmap/nmap-7.91-r2.ebuild
28 +++ b/net-analyzer/nmap/nmap-7.91-r2.ebuild
29 @@ -5,12 +5,13 @@ EAPI=7
30
31 LUA_COMPAT=( lua5-3 )
32 LUA_REQ_USE="deprecated"
33 -
34 -inherit autotools lua-single toolchain-funcs
35 +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nmap.asc
36 +inherit autotools lua-single toolchain-funcs verify-sig
37
38 DESCRIPTION="Network exploration tool and security / port scanner"
39 HOMEPAGE="https://nmap.org/"
40 SRC_URI="https://nmap.org/dist/${P}.tar.bz2"
41 +SRC_URI+=" verify-sig? ( https://nmap.org/dist/sigs/${P}.tar.bz2.asc )"
42
43 LICENSE="|| ( NPSL GPL-2 )"
44 SLOT="0"
45 @@ -34,6 +35,7 @@ RDEPEND="
46 system-lua? ( ${LUA_DEPS} )
47 "
48 DEPEND="${RDEPEND}"
49 +BDEPEND+="verify-sig? ( app-crypt/openpgp-keys-nmap )"
50
51 PATCHES=(
52 "${FILESDIR}"/${PN}-5.10_beta1-string.patch