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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD5C315817D for ; Tue, 18 Jun 2024 18:12:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32589E2A36; Tue, 18 Jun 2024 18:12:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1BEBBE2A36 for ; Tue, 18 Jun 2024 18:12:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E251335DC2 for ; Tue, 18 Jun 2024 18:12:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC9C11CD8 for ; Tue, 18 Jun 2024 18:12:47 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1718734358.7b28eb6ccecf9006da49b35b025e61fafa605c87.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/zmap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/zmap/Manifest net-analyzer/zmap/zmap-4.1.1.ebuild X-VCS-Directories: net-analyzer/zmap/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: 7b28eb6ccecf9006da49b35b025e61fafa605c87 X-VCS-Branch: master Date: Tue, 18 Jun 2024 18:12:47 +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: a77d9878-56ba-4b77-a3e0-5f8e9189c618 X-Archives-Hash: faa152682c0c9c549658e5e6ddc6abb3 commit: 7b28eb6ccecf9006da49b35b025e61fafa605c87 Author: Jakov Smolić gentoo org> AuthorDate: Tue Jun 18 18:06:49 2024 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Tue Jun 18 18:12:38 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b28eb6c net-analyzer/zmap: add 4.1.1 Closes: https://bugs.gentoo.org/928903 Signed-off-by: Jakov Smolić gentoo.org> net-analyzer/zmap/Manifest | 1 + net-analyzer/zmap/zmap-4.1.1.ebuild | 49 +++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/net-analyzer/zmap/Manifest b/net-analyzer/zmap/Manifest index c31ac5b49776..0706d5d7fd6b 100644 --- a/net-analyzer/zmap/Manifest +++ b/net-analyzer/zmap/Manifest @@ -1 +1,2 @@ DIST zmap-2.1.1.tar.gz 131689 BLAKE2B c4bcea835b080dca879c227691230ad135d1822db0b81245ea60963b0a78ac71fd64df7ddca5d5a762c3d7dc67f2d689fd9d0d13e0ee9be21033de75c61ebd1f SHA512 9d62dceff77fa20ff5945516b0766340366175947130bb844f19c11dac7676e658bcdedd6be29ffc945706aa3cdc0e4ac207bd127b618592769a4d3e75892857 +DIST zmap-4.1.1.tar.gz 202697 BLAKE2B 35bc21e4d4c4c452deb2e34ac837ee4ae728b3adf97aefb5b88f55dde719bd78787b8a2826a89eaff92170b3eb2e5003194e3dc636616a845efef82bea663114 SHA512 eff32c9bda7b28a48fce85e3acb598c6adc8dc952ffec21cd4d581462e481a3cf61a6285a71c16741d8e9deedf7c8e3b71d4f375a931244b96acc8779c225929 diff --git a/net-analyzer/zmap/zmap-4.1.1.ebuild b/net-analyzer/zmap/zmap-4.1.1.ebuild new file mode 100644 index 000000000000..2ffbd683d165 --- /dev/null +++ b/net-analyzer/zmap/zmap-4.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2024 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="mongo redis" + +RDEPEND=" + dev-libs/gmp:= + dev-libs/judy + dev-util/gengetopt + net-libs/libpcap + dev-libs/json-c:= + redis? ( dev-libs/hiredis:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-alternatives/lex + dev-util/gengetopt + dev-util/byacc + virtual/pkgconfig +" + +FILECAPS=( cap_net_raw=ep usr/sbin/zmap ) + +src_prepare() { + sed \ + -e '/ggo/s:CMAKE_CURRENT_SOURCE_DIR}:CMAKE_BINARY_DIR}/src:g' \ + -i src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DENABLE_DEVELOPMENT=OFF + -DWITH_WERROR=OFF + ) + + cmake_src_configure +}