!8 Update to 5.1
From: @starlet-dx Reviewed-by: @caodongxia, @Lostwayzxc Signed-off-by: @caodongxia
This commit is contained in:
commit
0756e3d2cf
BIN
fping-4.2.tar.gz
BIN
fping-4.2.tar.gz
Binary file not shown.
BIN
fping-5.1.tar.gz
Normal file
BIN
fping-5.1.tar.gz
Normal file
Binary file not shown.
11
fping.spec
11
fping.spec
@ -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
|
||||
|
||||
|
||||
11
gcc-10.patch
11
gcc-10.patch
@ -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();
|
||||
Loading…
x
Reference in New Issue
Block a user