Sophie

Sophie

distrib > Altlinux > 4.1 > i586 > media > core-src > by-pkgid > 263ab8cbec57b61e269eb00897516bd3 > files > 3

hping2-2.0.0-alt4.rc2.src.rpm

# $Id: hping2.spec,v 1.7 2004/02/13 10:37:33 homyakov Exp $

%define beta	rc2

Name:		hping2
Version:	2.0.0
Release:	alt4.%beta
Packager:	Igor Homyakov <homyakov at altlinux dot ru>

Provides:	hping = %version
Obsoletes:	hping

%define srcname	 %name-%beta

Summary: hping2 is a network tool able to send custom ICMP/UDP/TCP packets
Summary(ru_RU.KOI8-R): ÕÔÉÌÉÔÁ ÄÌÑ ÇÅÎÅÒÁÃÉÉ ICMP/UDP/TCP ÐÁËÅÔÏ×
License: GPL
Group: Security/Networking
Url: http://www.hping.org
Source: hping%version-%beta.tar.gz
Patch:  hping2-rc2-alt-cleanup.patch

# Automatically added by buildreq on Wed Feb 11 2004
BuildRequires: libpcap-devel

%description
hping2 is a network tool able to send custom ICMP/UDP/TCP
packets and to display target replies like ping do with
ICMP replies. hping2 handle fragmentation, arbitrary packet
body and size and can be used in order to transfer files
under supported protocols. Using hping2 you are able at
least to perform the following jobs:

      - Test firewall rules
      - [spoofed] port scanning
      - Test net performance using differents protocols,
          packet size, TOS (type of service) and fragmentation.
      - Path MTU discovery
      - Files trasfering even between really fascist firewall rules.
      - Traceroute like under different protocols.
      - Firewalk like usage.
      - Remote OS fingerprint.
      - TCP/IP stack auditing.
      - A lot of others.

%description -l ru_RU.KOI8-R
%name ÐÏÚ×ÏÌÑÅÔ ×ÒÕÞÎÕÀ ÓÏÚÄÁ×ÁÔØ ICMP/UDP/TCP ÐÁËÅÔÙ, ÆÒÁÇÍÅÎÔÉÒÏ×ÁÔØ
ÉÈ ÉÚÍÅÎÑÔØ ÚÁÇÏÌÏ×ËÉ É Ô.Ä. íÏÖÅÔ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÄÌÑ ÒÁÚÌÉÞÎÙÈ ÚÁÄÁÞ
Ó×ÑÚÁÎÎÙÈ Ó ÓÅÔÅ×ÏÊ ÂÅÚÏÐÁÓÎÏÔØÀ É ÒÁÂÏÔÏÊ ÓÔÅËÁ TCP/IP
  - ÐÒÏ×ÅÒËÁ ÒÁÂÏÔÙ ÍÅÖÓÅÔÅ×ÙÈ ÜËÒÁÎÏ×
  - ÓËÁÎÉÒÏ×ÁÎÉÅ ÐÏÔÒÏ×
  - ÔÅÓÔÉÒÏ×ÁÎÉÅ ÐÒÏÉÚ×ÏÄÉÔÅÌØÎÏÓÔÉ ÐÒÏÔÏËÏÌÏ×
  - ÉÓÓÌÅÄÏ×ÁÎÉÅ ÒÁÂÏÔÙ ÓÔÅËÁ TCP/IP
  - ÕÄÁÌÅÎÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÏÐÅÒÁÃÉÏÎÎÏÊ ÓÉÓÔÅÍÙ ÈÏÓÔÁ
  - ÍÎÏÇÏÅ ÄÒÕÇÏÅ ...

%prep

%setup -q -n %srcname

%patch -p1

%build
%configure --force-libpcap

%make_build

%install
install -m700 -D %name        %buildroot%_sbindir/%name
install -m644 -D docs/%name.8 %buildroot%_man8dir/%name.8

%files
%_sbindir/*
%_mandir/man8/*
%doc README INSTALL AUTHORS BUGS CHANGES KNOWN-BUGS NEWS TODO docs/
%doc docs/ utils/

%changelog
* Fri Feb 13 2004 Igor Homyakov <homyakov at altlinux dot ru> 2.0.0-alt4.rc2
- add patch for remove gcc warningds
- fixed depend for libpcap0.7

* Wed Feb 11 2004 Igor Homyakov <homyakov at altlinux dot ru> 2.0.0-alt3.rc2
- rebuild with libpcap0.8

* Thu May 08 2003 Igor Homyakov <homyakov at altlinux dot ru> 2.0.0-alt2.rc2
- fixed bad URL to source tarbal
- spec cleanup
- strict permissions
- rename package to hping2

* Wed Nov 20 2002 Igor Homyakov <homyakov at altlinux dot ru> 2.0.0-alt1.rc2
- rc2 

* Thu Feb 28 2002 Igor Homyakov <homyakov at altlinux dot ru> 2.0.0-alt1.rc1
- Build package for ALTLinux