12 Star 1 Fork 12

src-openEuler/hping
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
hping.spec 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
zhihang 提交于 2025-06-24 11:01 +08:00 . Correct URL
Name: hping
Version: 20200503
Release: 5
Summary: hping is a command-line oriented TCP/IP packet assembler/analyzer
License: GPLv2
URL: https://github.com/antirez/hping
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
* Tue Jun 24 2025 zhihang <zhihang161013@outlook.com> - 20200503-5
- correct URL
* Thu Sep 9 2021 Pengju Jiang <jiangpengju2@huawei.com>
- solve the problem of safe compilation strip
* 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/hping.git
git@gitee.com:src-openeuler/hping.git
src-openeuler
hping
hping
master

搜索帮助