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 CD41C1581E7 for ; Sun, 21 Apr 2024 13:50:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E092DE29CB; Sun, 21 Apr 2024 13:50:25 +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 C35D9E29CB for ; Sun, 21 Apr 2024 13:50:25 +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 003AF34350F for ; Sun, 21 Apr 2024 13:50:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 340281732 for ; Sun, 21 Apr 2024 13:50:23 +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: <1713707381.53628c828b9510425fc683f5d45dcd68e6766be5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fping/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/fping/Manifest net-analyzer/fping/fping-5.2.ebuild X-VCS-Directories: net-analyzer/fping/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 53628c828b9510425fc683f5d45dcd68e6766be5 X-VCS-Branch: master Date: Sun, 21 Apr 2024 13:50:23 +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: 77f29f7b-84ba-4386-8978-bc770c8e192e X-Archives-Hash: b10cc8c27d3434974f91e448fe0c0007 commit: 53628c828b9510425fc683f5d45dcd68e6766be5 Author: Sam James gentoo org> AuthorDate: Sun Apr 21 13:49:35 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 21 13:49:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53628c82 net-analyzer/fping: add 5.2 Signed-off-by: Sam James gentoo.org> net-analyzer/fping/Manifest | 1 + net-analyzer/fping/fping-5.2.ebuild | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/net-analyzer/fping/Manifest b/net-analyzer/fping/Manifest index 5d58b6f9d312..78cb10654baa 100644 --- a/net-analyzer/fping/Manifest +++ b/net-analyzer/fping/Manifest @@ -1 +1,2 @@ DIST fping-5.1.tar.gz 191224 BLAKE2B 2fb344e650b5a359fb8780f2c599455d39405ae823edf695ee4385aa2661dc5811e088bafa1b9f53846ee90c0afa959a92832381a03346d1fda048eb4e7ee098 SHA512 1a208da8dcd99093d0512af5d85ba5e7b5743ec97993d24c1fe612bb58d93090ac1ba0952f648aa075f16d390a77c4be65e394ae56dbede2a6914e0e8c68e2bd +DIST fping-5.2.tar.gz 194259 BLAKE2B 7efb445f32ffe2d3766d598da5f1585270ae8e68ceb8b64e418040f330e7736bfaf0313077e28b12031af25ed7952943603d3a5908174c3f78d9a1af0b735da9 SHA512 062896662804c55ffe2d4e3eb7efc2ff796d20a77b367e16f8fa381e302986b5127ca55f0866bbf08f8ae2b2f6795ec4c5d43dc59ebec157fb3e8eff25d0bdb3 diff --git a/net-analyzer/fping/fping-5.2.ebuild b/net-analyzer/fping/fping-5.2.ebuild new file mode 100644 index 000000000000..4cd7221d0476 --- /dev/null +++ b/net-analyzer/fping/fping-5.2.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps + +DESCRIPTION="Utility to ping multiple hosts at once" +HOMEPAGE="https://fping.org/ https://github.com/schweikert/fping/" +SRC_URI=" + https://fping.org/dist/${P}.tar.gz + https://github.com/schweikert/fping/releases/download/v${PV}/${P}.tar.gz +" + +LICENSE="fping" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="debug suid" +# There are some tests in ci/* but they don't seem to be for packaging +# (they want to modify the live FS by e.g. copying to /tmp.) +RESTRICT="test" + +FILECAPS=( cap_net_raw+ep usr/sbin/fping ) + +src_configure() { + econf \ + $(use_enable debug) \ + --enable-ipv6 +} + +src_install() { + default + + if use suid; then + fperms u+s /usr/sbin/fping + fi + + dosym fping /usr/sbin/fping6 +}