commit: eb5239d71552b85af8910b1b636bd8ad9c93fc9e Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Mon Feb 10 13:14:44 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 24 05:33:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb5239d7
net-analyzer/zmap: add 4.3.2 add useflag cpu_flags_x86_aes add rdep dev-libs/libunistring add doc/examples with udp probes Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/40513 Signed-off-by: Sam James <sam <AT> gentoo.org> net-analyzer/zmap/Manifest | 1 + net-analyzer/zmap/zmap-4.3.2.ebuild | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/net-analyzer/zmap/Manifest b/net-analyzer/zmap/Manifest index ac4fa3839db2..8ea1386f852c 100644 --- a/net-analyzer/zmap/Manifest +++ b/net-analyzer/zmap/Manifest @@ -1 +1,2 @@ DIST zmap-4.1.1.tar.gz 202697 BLAKE2B 35bc21e4d4c4c452deb2e34ac837ee4ae728b3adf97aefb5b88f55dde719bd78787b8a2826a89eaff92170b3eb2e5003194e3dc636616a845efef82bea663114 SHA512 eff32c9bda7b28a48fce85e3acb598c6adc8dc952ffec21cd4d581462e481a3cf61a6285a71c16741d8e9deedf7c8e3b71d4f375a931244b96acc8779c225929 +DIST zmap-4.3.2.tar.gz 211361 BLAKE2B 5b08ba0d45f7ceb877bda874df77000e1d16d6ee2db4eb7427ed7ed12c768b77f88183bfcc445e99c42016b8e2d45c5f1480dd16a96e6bb521e3723bf3646f55 SHA512 38dffacca5a49059e9711bd47a5a660d357adffb9f847b605c9eedbc8d5e3e2bfb5eb13a0fc9f20b48349a3278651c85da301b48741efb3e2ee751bbd4877104 diff --git a/net-analyzer/zmap/zmap-4.3.2.ebuild b/net-analyzer/zmap/zmap-4.3.2.ebuild new file mode 100644 index 000000000000..a5db6a5b7bd5 --- /dev/null +++ b/net-analyzer/zmap/zmap-4.3.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake fcaps + +DESCRIPTION="Fast network scanner designed for Internet-wide network surveys" +HOMEPAGE="https://zmap.io/" +SRC_URI="https://github.com/zmap/zmap/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="cpu_flags_x86_aes" + +RDEPEND=" + dev-libs/gmp:= + dev-libs/json-c:= + dev-libs/judy + dev-libs/libunistring:= + net-libs/libpcap +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/lex + dev-util/byacc + dev-util/gengetopt + virtual/pkgconfig +" + +FILECAPS=( cap_net_raw=ep usr/sbin/zmap ) + +DOCS=( AUTHORS CHANGELOG.md README.md examples ) + +src_configure() { + local mycmakeargs=( + -DENABLE_DEVELOPMENT=OFF + -DFORCE_CONF_INSTALL=ON + -DWITH_AES_HW=$(usex cpu_flags_x86_aes) + # no module in ::gentoo for now + -DWITH_NETMAP=OFF + -DWITH_WERROR=OFF + ) + + cmake_src_configure +}
