commit:     0c2568736c8c8531176094c2ce14d59caf30ffed
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 07:04:52 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 16 19:56:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c256873

net-analyzer/fping: add 5.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/fping/Manifest         |  1 +
 net-analyzer/fping/fping-5.1.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/net-analyzer/fping/Manifest b/net-analyzer/fping/Manifest
index 96b39264dfd7..196c468ebd2c 100644
--- a/net-analyzer/fping/Manifest
+++ b/net-analyzer/fping/Manifest
@@ -1 +1,2 @@
 DIST fping-5.0.tar.gz 185281 BLAKE2B 
6dbb6708ecb55c1f1281bcd9e298475a1ad3a21aa81d8488b61cb39ad07d1d7285247a3c39883cbaae0b1a0e4403b6340ea7ec43411b81546f0e8eeefb02ef88
 SHA512 
c843f7bb7c4e3289c4dd9eb8ae2ab93a363316c0000aac9187f79580a3d2505df179f2e0ae9e0a791c74bfc9e17c476874f8e122dfa6ad74930498c4e02d0de3
+DIST fping-5.1.tar.gz 191224 BLAKE2B 
2fb344e650b5a359fb8780f2c599455d39405ae823edf695ee4385aa2661dc5811e088bafa1b9f53846ee90c0afa959a92832381a03346d1fda048eb4e7ee098
 SHA512 
1a208da8dcd99093d0512af5d85ba5e7b5743ec97993d24c1fe612bb58d93090ac1ba0952f648aa075f16d390a77c4be65e394ae56dbede2a6914e0e8c68e2bd

diff --git a/net-analyzer/fping/fping-5.1.ebuild 
b/net-analyzer/fping/fping-5.1.ebuild
new file mode 100644
index 000000000000..07d43604bf0e
--- /dev/null
+++ b/net-analyzer/fping/fping-5.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit fcaps
+
+DESCRIPTION="A 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";
+
+LICENSE="fping"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="suid"
+
+FILECAPS=( cap_net_raw+ep usr/sbin/fping )
+
+src_configure() {
+       econf --enable-ipv6
+}
+
+src_install() {
+       default
+
+       if use suid; then
+               fperms u+s /usr/sbin/fping
+       fi
+
+       dosym fping /usr/sbin/fping6
+}

Reply via email to