From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 44E77158011 for ; Thu, 14 Jul 2022 11:06:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 289E7E0C57; Thu, 14 Jul 2022 11:06:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 02FCAE0C57 for ; Thu, 14 Jul 2022 11:06:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C695E340E22 for ; Thu, 14 Jul 2022 11:06:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F9EB538 for ; Thu, 14 Jul 2022 11:06:13 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1657796763.f1367051f359503107ca26cc9971f5513da9f50d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/nmap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/nmap/metadata.xml net-analyzer/nmap/nmap-7.92-r1.ebuild net-analyzer/nmap/nmap-7.92.ebuild net-analyzer/nmap/nmap-9999.ebuild X-VCS-Directories: net-analyzer/nmap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: f1367051f359503107ca26cc9971f5513da9f50d X-VCS-Branch: master Date: Thu, 14 Jul 2022 11:06:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ada8ae1d-105a-40b2-9f5a-8ee33a3e2a1e X-Archives-Hash: 272e4de68a4ca351fd3da8a4aea0b01c commit: f1367051f359503107ca26cc9971f5513da9f50d Author: Mathieu Tortuyaux microsoft com> AuthorDate: Sat Jul 9 14:20:09 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jul 14 11:06:03 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1367051 net-analyzer/nmap: add symlink from ncat to nc For compatiblity, it's good to have `nc` in the PATH too. [sam: keep it as an extra flag to avoid more blockers; it's useful to be able to evaluate two implementations.] Closes: https://github.com/gentoo/gentoo/pull/26287 Signed-off-by: Mathieu Tortuyaux microsoft.com> Signed-off-by: Sam James gentoo.org> net-analyzer/nmap/metadata.xml | 1 + net-analyzer/nmap/{nmap-7.92.ebuild => nmap-7.92-r1.ebuild} | 9 +++++++-- net-analyzer/nmap/nmap-9999.ebuild | 9 +++++++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/net-analyzer/nmap/metadata.xml b/net-analyzer/nmap/metadata.xml index 21fee1f7bbb0..4ca312aa6de6 100644 --- a/net-analyzer/nmap/metadata.xml +++ b/net-analyzer/nmap/metadata.xml @@ -18,6 +18,7 @@ Install the ncat utility Install the nping utility Include support for the Nmap Scripting Engine (NSE) + Install symlink to nc Use dev-lang/lua instead of the bundled liblua diff --git a/net-analyzer/nmap/nmap-7.92.ebuild b/net-analyzer/nmap/nmap-7.92-r1.ebuild similarity index 94% rename from net-analyzer/nmap/nmap-7.92.ebuild rename to net-analyzer/nmap/nmap-7.92-r1.ebuild index 8d80c56138aa..752a2273e4f7 100644 --- a/net-analyzer/nmap/nmap-7.92.ebuild +++ b/net-analyzer/nmap/nmap-7.92-r1.ebuild @@ -29,8 +29,11 @@ else fi SLOT="0" -IUSE="ipv6 libssh2 ncat nping +nse ssl +system-lua" -REQUIRED_USE="system-lua? ( nse ${LUA_REQUIRED_USE} )" +IUSE="ipv6 libssh2 ncat nping +nse ssl symlink +system-lua" +REQUIRED_USE=" + system-lua? ( nse ${LUA_REQUIRED_USE} ) + symlink? ( ncat ) +" RDEPEND=" dev-libs/liblinear:= @@ -130,4 +133,6 @@ src_install() { install dodoc CHANGELOG HACKING docs/README docs/*.txt + + use symlink && dosym /usr/bin/ncat /usr/bin/nc } diff --git a/net-analyzer/nmap/nmap-9999.ebuild b/net-analyzer/nmap/nmap-9999.ebuild index 2812d6599000..3b55f48a5dbd 100644 --- a/net-analyzer/nmap/nmap-9999.ebuild +++ b/net-analyzer/nmap/nmap-9999.ebuild @@ -29,8 +29,11 @@ else fi SLOT="0" -IUSE="ipv6 libssh2 ncat nping +nse ssl +system-lua" -REQUIRED_USE="system-lua? ( nse ${LUA_REQUIRED_USE} )" +IUSE="ipv6 libssh2 ncat nping +nse ssl symlink +system-lua" +REQUIRED_USE=" + system-lua? ( nse ${LUA_REQUIRED_USE} ) + symlink? ( ncat ) +" RDEPEND=" dev-libs/liblinear:= @@ -131,4 +134,6 @@ src_install() { install dodoc CHANGELOG HACKING docs/README docs/*.txt + + use symlink && dosym /usr/bin/ncat /usr/bin/nc }