1 |
commit: 0c2568736c8c8531176094c2ce14d59caf30ffed |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 16 07:04:52 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 16 19:56:41 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c256873 |
7 |
|
8 |
net-analyzer/fping: add 5.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/fping/Manifest | 1 + |
13 |
net-analyzer/fping/fping-5.1.ebuild | 31 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/net-analyzer/fping/Manifest b/net-analyzer/fping/Manifest |
17 |
index 96b39264dfd7..196c468ebd2c 100644 |
18 |
--- a/net-analyzer/fping/Manifest |
19 |
+++ b/net-analyzer/fping/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST fping-5.0.tar.gz 185281 BLAKE2B 6dbb6708ecb55c1f1281bcd9e298475a1ad3a21aa81d8488b61cb39ad07d1d7285247a3c39883cbaae0b1a0e4403b6340ea7ec43411b81546f0e8eeefb02ef88 SHA512 c843f7bb7c4e3289c4dd9eb8ae2ab93a363316c0000aac9187f79580a3d2505df179f2e0ae9e0a791c74bfc9e17c476874f8e122dfa6ad74930498c4e02d0de3 |
22 |
+DIST fping-5.1.tar.gz 191224 BLAKE2B 2fb344e650b5a359fb8780f2c599455d39405ae823edf695ee4385aa2661dc5811e088bafa1b9f53846ee90c0afa959a92832381a03346d1fda048eb4e7ee098 SHA512 1a208da8dcd99093d0512af5d85ba5e7b5743ec97993d24c1fe612bb58d93090ac1ba0952f648aa075f16d390a77c4be65e394ae56dbede2a6914e0e8c68e2bd |
23 |
|
24 |
diff --git a/net-analyzer/fping/fping-5.1.ebuild b/net-analyzer/fping/fping-5.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..07d43604bf0e |
27 |
--- /dev/null |
28 |
+++ b/net-analyzer/fping/fping-5.1.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+inherit fcaps |
36 |
+ |
37 |
+DESCRIPTION="A utility to ping multiple hosts at once" |
38 |
+HOMEPAGE="https://fping.org/ https://github.com/schweikert/fping/" |
39 |
+SRC_URI="https://fping.org/dist/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="fping" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
44 |
+IUSE="suid" |
45 |
+ |
46 |
+FILECAPS=( cap_net_raw+ep usr/sbin/fping ) |
47 |
+ |
48 |
+src_configure() { |
49 |
+ econf --enable-ipv6 |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ default |
54 |
+ |
55 |
+ if use suid; then |
56 |
+ fperms u+s /usr/sbin/fping |
57 |
+ fi |
58 |
+ |
59 |
+ dosym fping /usr/sbin/fping6 |
60 |
+} |