ALT Linux repos
Group :: Security/Networking
RPM: hping3
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define snap 20051105
Name: hping3
Version: 0.0.%snap
Release: alt3
Summary: TCP/IP stack auditing and much more
License: GPLv2
Group: Security/Networking
URL: http://www.hping.org
Source: %url/hping3-%snap.tar.gz
Patch1: hping3-20051105-cflags.patch
Patch2: hping3-20051105-bytesex.patch
# Automatically added by buildreq on Wed Mar 12 2008
BuildRequires: libpcap-devel tcl-devel
%description
hping3 is a network tool able to send custom TCP/IP packets and to
display target replies like ping do with ICMP replies. hping3 can handle
fragmentation, and almost arbitrary packet size and content, using the
command line interface.
Since version 3, hping implements scripting capabilties.
%prep
%setup -n hping3-%snap
%patch1 -p1
%patch2 -p1
%build
# Teach configure to recognize tcl 8.5 :)
%__subst 's/"8.4"/"8.5"/' configure
./configure
%make_build CFLAGS="%optflags -D_FORTIFY_SOURCE=2"
%install
install -pD -m700 hping3 %buildroot%_sbindir/hping3
install -pD -m644 docs/hping3.8 %buildroot%_man8dir/hping3.8
%files
%_sbindir/*
%_man8dir/*
%doc AUTHORS BUGS NEWS README TODO
%doc docs/[A-Z]* docs/hping2rc.example
%changelog
…
Full changelog you can see here
Name: hping3
Version: 0.0.%snap
Release: alt3
Summary: TCP/IP stack auditing and much more
License: GPLv2
Group: Security/Networking
URL: http://www.hping.org
Source: %url/hping3-%snap.tar.gz
Patch1: hping3-20051105-cflags.patch
Patch2: hping3-20051105-bytesex.patch
# Automatically added by buildreq on Wed Mar 12 2008
BuildRequires: libpcap-devel tcl-devel
%description
hping3 is a network tool able to send custom TCP/IP packets and to
display target replies like ping do with ICMP replies. hping3 can handle
fragmentation, and almost arbitrary packet size and content, using the
command line interface.
Since version 3, hping implements scripting capabilties.
%prep
%setup -n hping3-%snap
%patch1 -p1
%patch2 -p1
%build
# Teach configure to recognize tcl 8.5 :)
%__subst 's/"8.4"/"8.5"/' configure
./configure
%make_build CFLAGS="%optflags -D_FORTIFY_SOURCE=2"
%install
install -pD -m700 hping3 %buildroot%_sbindir/hping3
install -pD -m644 docs/hping3.8 %buildroot%_man8dir/hping3.8
%files
%_sbindir/*
%_man8dir/*
%doc AUTHORS BUGS NEWS README TODO
%doc docs/[A-Z]* docs/hping2rc.example
%changelog
…
Full changelog you can see here