Change-Id: Ic3ba300fb31eaf4d86f786dd53d772c6a58fc7af
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/6566
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Srinidhi Rao <srinidhir@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,43 @@ |
| 0 |
+Summary: Utility to send ICMP echo probes to network hosts |
|
| 1 |
+Name: fping |
|
| 2 |
+Version: 4.1 |
|
| 3 |
+Release: 1%{?dist}
|
|
| 4 |
+License: Charityware |
|
| 5 |
+Group: Productivity/Networking/Diagnostic |
|
| 6 |
+Vendor: VMware, Inc. |
|
| 7 |
+Distribution: Photon |
|
| 8 |
+URL: http://www.fping.org/ |
|
| 9 |
+Source0: http://fping.org/dist/%{name}-%{version}.tar.gz
|
|
| 10 |
+%define sha1 fping=4eda89e12b81d2d0f95919c303286fe1b3667ffe |
|
| 11 |
+BuildRequires: autoconf |
|
| 12 |
+BuildRequires: automake |
|
| 13 |
+ |
|
| 14 |
+%description |
|
| 15 |
+fping is a ping like program which uses the Internet Control Message Protocol |
|
| 16 |
+(ICMP) echo request to determine if a target host is responding. |
|
| 17 |
+ |
|
| 18 |
+%prep |
|
| 19 |
+%setup -q |
|
| 20 |
+ |
|
| 21 |
+%build |
|
| 22 |
+%configure |
|
| 23 |
+make %{?_smp_mflags}
|
|
| 24 |
+ |
|
| 25 |
+%install |
|
| 26 |
+make DESTDIR=%{buildroot} install
|
|
| 27 |
+ln -sf fping %{buildroot}%{_sbindir}/fping6
|
|
| 28 |
+rm -rf %{buildroot}%{_infodir}
|
|
| 29 |
+ |
|
| 30 |
+%clean |
|
| 31 |
+rm -rf %{buildroot}
|
|
| 32 |
+ |
|
| 33 |
+%files |
|
| 34 |
+%defattr(-, root, root) |
|
| 35 |
+%{_sbindir}/fping
|
|
| 36 |
+%{_sbindir}/fping6
|
|
| 37 |
+%doc CHANGELOG.md COPYING |
|
| 38 |
+%doc %{_mandir}/man8/fping.8*
|
|
| 39 |
+ |
|
| 40 |
+%changelog |
|
| 41 |
+* Wed Jan 23 2019 Dweep Advani <dadvani@vmware.com> 4.1-1 |
|
| 42 |
+- Added fping package to Photon 2.0 |