fddd917
%define  cvs 20051105
9599f2c
Name:    hping3
9599f2c
Version: 0.0.%{cvs}
feb2e08
Release: 21%{?dist}
9599f2c
Summary: TCP/IP stack auditing and much more
9599f2c
9599f2c
Group: Applications/Internet
cfd5388
License: GPLv2
9599f2c
URL: http://www.hping.org/
9599f2c
Source0: http://www.hping.org/hping3-20051105.tar.gz
9599f2c
Patch0: hping3-include.patch
9599f2c
Patch1: hping3-bytesex.patch
9599f2c
Patch2: hping3-getifnamedebug.patch
9599f2c
Patch3: hping3-cflags.patch
31b02e5
Patch4: hping3-man.patch
Paul Wouters d9121da
Patch5: hping3-20051105-typo.patch
9599f2c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9599f2c
BuildRequires: libpcap-devel, tcl-devel
9599f2c
Obsoletes: hping2
9599f2c
Provides: hping2
9599f2c
9599f2c
%description
9599f2c
hping3 is a network tool able to send custom TCP/IP packets and to
9599f2c
display target replies like ping do with ICMP replies. hping3 can handle
9599f2c
fragmentation, and almost arbitrary packet size and content, using the
9599f2c
command line interface.
9599f2c
Since version 3, hping implements scripting capabilties
9599f2c
9599f2c
%prep
9599f2c
9599f2c
%setup -q  -n hping3-20051105
9599f2c
%patch0 -p0 -b .include
9599f2c
%patch1 -p0 -b .bytesex
9599f2c
%patch2 -p1 -b .getifnamedebug
9599f2c
%patch3 -p0 -b .cflags
31b02e5
%patch4 -p0 -b .man
Paul Wouters d9121da
%patch5 -p1
9599f2c
9599f2c
%build
9599f2c
%configure --force-libpcap
9599f2c
make %{?_smp_mflags}
9599f2c
9599f2c
%install
9599f2c
rm -rf $RPM_BUILD_ROOT
9599f2c
9599f2c
install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
9599f2c
9599f2c
install -m0755 hping3 $RPM_BUILD_ROOT%{_sbindir}
9599f2c
install -m0644 docs/hping3.8 $RPM_BUILD_ROOT%{_mandir}/man8
9599f2c
9599f2c
ln -sf hping3 $RPM_BUILD_ROOT%{_sbindir}/hping
9599f2c
ln -sf hping3 $RPM_BUILD_ROOT%{_sbindir}/hping2
9599f2c
9599f2c
%clean
9599f2c
rm -rf $RPM_BUILD_ROOT
9599f2c
9599f2c
%files
9599f2c
%defattr(0644,root,root,0755)
9599f2c
%doc COPYING *BUGS CHANGES README TODO docs/AS-BACKDOOR docs/HPING2-HOWTO.txt
9599f2c
%doc docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/SPOOFED_SCAN.txt
9599f2c
%doc docs/HPING3.txt
9599f2c
%attr(755,root,root) %{_sbindir}/*
9599f2c
%{_mandir}/man8/*
9599f2c
9599f2c
%changelog
feb2e08
* Wed May 21 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 0.0.20051105-21
feb2e08
- Rebuilt for https://fedoraproject.org/wiki/Changes/f21tcl86
feb2e08
1f88de8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-20
1f88de8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1f88de8
7101f79
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-19
7101f79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7101f79
Paul Wouters d9121da
* Tue Jul 17 2012 Paul Wouters <pwouters@redhat.com> - 0.0.20051105-18
Paul Wouters d9121da
- Fix typo in output (tramitting -> transmitting), rhbz#781325
Paul Wouters d9121da
3465cfd
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-17
3465cfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3465cfd
f33e50e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-16
f33e50e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f33e50e
f18f034
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-15
f18f034
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f18f034
fddd917
* Mon May 25 2009 Dan Horak <dan[at]danny.cz> - 0.0.20051105-14
fddd917
- update the bytesex patch to include s390/s390x arch
fddd917
7a9577b
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20051105-13
7a9577b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7a9577b
d7aede0
* Fri Nov 27 2008 Paul Wouters <paul@xelerance.com> - 0.0.20051105-12
d7aede0
- Fix for "sh" arch, see https://bugzilla.redhat.com/show_bug.cgi?id=471709
d7aede0
31b02e5
* Fri Nov  7 2008 Paul Wouters <paul@xelerance.com> - 0.0.20051105-11
31b02e5
- Fix for man page, see https://bugzilla.redhat.com/show_bug.cgi?id=456675
31b02e5
cfd5388
* Thu Jul 31 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.20051105-10
cfd5388
- fix license tag
cfd5388
b60385e
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.20051105-9
b60385e
- Autorebuild for GCC 4.3
b60385e
809b6f6
* Thu Jan  3 2008 Alex Lancaster <alexlan[AT]fedoraproject.org> - 0.0.20051105-8
809b6f6
- Rebuild against new Tcl 8.5
809b6f6
3fa82a6
* Fri Feb 22 2007 Paul Wouters <paul@xelerance.com> 0.0.20051105-7
3fa82a6
- Rebuild for new tcl 8.4 dependancy (it got rolled back)
3fa82a6
ed11d5b
* Fri Feb  2 2007 Paul Wouters <paul@xelerance.com> 0.0.20051105-6
ed11d5b
- Rebuild for new tcl 8.5 dependancy
ed11d5b
f1b8b6c
* Wed Nov 29 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-5
ed11d5b
- Rebuild for new libpcap dependancy
f1b8b6c
a2063d7
* Thu Sep  7 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-4
a7d2cff
- Rebuild requested for PT_GNU_HASH support from gcc
a7d2cff
9599f2c
* Sun May 19 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-2
9599f2c
- Added Provides hping2 to fix upgrade path
9599f2c
9599f2c
* Sun May 07 2006 Paul Wouters <paul@xelerance.com> 0.0.20051105-1
9599f2c
- Initial Release based on hping2 package