Update to 5.1

This commit is contained in:
starlet-dx 2023-09-14 16:53:21 +08:00
parent 4e48e8342a
commit ceeaf77591
4 changed files with 6 additions and 16 deletions

Binary file not shown.

BIN
fping-5.1.tar.gz Normal file

Binary file not shown.

View File

@ -1,11 +1,10 @@
Name: fping
Version: 4.2
Release: 3
Version: 5.1
Release: 1
Summary: fping is a program to send ICMP echo probes to network hosts
License: BSD like
URL: http://www.fping.org/
Source0: http://www.fping.org/dist/%{name}-%{version}.tar.gz
Patch0: gcc-10.patch
BuildRequires: gcc
@ -13,8 +12,7 @@ BuildRequires: gcc
fping is a program to send ICMP echo probes to network hosts, similar to ping, but much better performing when pinging multiple hosts
%prep
%setup -q -n %{name}-%{version}/
%patch0 -p1
%autosetup -n %{name}-%{version} -p1
%build
%configure
@ -37,6 +35,9 @@ fping is a program to send ICMP echo probes to network hosts, similar to ping, b
%{_mandir}/*
%changelog
* Thu Sep 14 2023 yaoxin <yao_xin001@hoperun.com> - 5.1-1
- Update to 5.1
* Wed Sep 8 2021 caodongxia <caodongxia@huawei.com> - 4.2-3
- Add debug package to add strip

View File

@ -1,11 +0,0 @@
--- a/src/fping.h 2021-08-03 15:44:55.282990658 +0800
+++ b/src/fping.h 2021-08-03 15:45:15.519338280 +0800
@@ -11,7 +11,7 @@
void crash_and_burn( char *message );
void errno_crash_and_burn( char *message );
int in_cksum( unsigned short *p, int n );
-int random_data_flag;
+extern int random_data_flag;
/* socket.c */
int open_ping_socket_ipv4();