File hping.spec of Package hping
#
# spec file for package hping
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: hping
#BuildRequires:
License: GPLv2
Group: Productivity/Networking/Diagnostic
BuildRequires: libpcap-devel tcl-devel
AutoReqProv: on
Version: 3
Release: 1
Summary: Command-line oriented TCP/IP packet assembler/analyzer
Url: http://www.hping.org/
Source: %{name}%{version}-20051105.tar.bz2
Patch0: %{name}-include.patch
Patch1: %{name}-cflags.patch
Patch2: %{name}-bytesex.patch
Patch3: %{name}-64bit.patch
Patch4: %{name}-build-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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}%{version}-20051105
%patch0 -p0
%patch1 -p0
%patch2 -p1
%patch3 -p0
%patch4 -p0
%build
autoreconf -fiv
%configure
make %{?_smp_mflags}
%install
%makeinstall
%files
%defattr(-,root,root)
%doc COPYING *BUGS CHANGES NEWS README TODO
%doc docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/SPOOFED_SCAN.txt docs/HPING3.txt docs/AS-BACKDOOR docs/HPING2-HOWTO.txt
%attr(755,root,root) %{_sbindir}/hping3
%{_mandir}/man8/*
%changelog