代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/hping 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#%global debug_package %{nil}
Name: hping
Version: 20200503
Release: 3
Summary: hping is a command-line oriented TCP/IP packet assembler/analyzer
License: GPLv2
URL: http://www.hping.org/
Source0: %{name}-%{version}.zip
Patch0: hping-fix-netbpf-header.patch
Patch1: hping-multiple-definition-of-delaytable.patch
BuildRequires: gcc tcl-devel libpcap-devel
%description
hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired to the ping(8) unix command, but hping isn't only able to send ICMP echo requests. It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, and many other features
%prep
%setup -q -n %{name}-master/
%patch0 -p1
%patch1 -p1
%build
%configure
%make_build
%install
install -d %{buildroot}/%{_bindir}
install -m0755 hping3 %{buildroot}/%{_bindir}
install -d %{buildroot}/%{_mandir}/man8
install -m0644 docs/hping3.8 %{buildroot}/%{_mandir}/man8
%pre
%preun
%post
%postun
%check
%files
%license COPYING
%doc INSTALL README KNOWN-BUGS CHANGES
%{_bindir}/*
%{_mandir}/*
%changelog
* Mon Aug 2 2021 liushaofei <liushaofei5@huawei.com>
- fix multiple definition
* Mon Oct 12 2020 liqingqing_1229 <liqingqing3@huawei.com>
- update source0's url
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。