hunt/hunt.spec

Name: hunt
Summary: TCP hijacking tool
Version: 1.5
Release: 0.2
License: GPL
Group: Applications/Internet
URL: http://lin.fsid.cvut.cz/~kra/#HUNT
Description: hunt is a program for intruding into a connection, watching it and resetting it.

hunt is operating on Ethernet and is best used for connections which can be watched through it. However, it is possible to do something even for hosts on another segments or hosts that are on switched ports.

hunt doesn't distinguish between local network connections and connections going to/from Internet. It can handle all connections it sees.

CentOS 7 x86_64

The build could not start because the following file is missing: hunt-1.5.tgz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: hunt-1.5.tgz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Pavel Krauz <kra$gncz,cz>

Summary: TCP hijacking tool
Name: hunt
Version: 1.5
Release: 0.2%{?dist}
License: GPL
Group: Applications/Internet
URL: http://lin.fsid.cvut.cz/~kra/#HUNT

Source: http://lin.fsid.cvut.cz/~kra/hunt/hunt-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
hunt is a program for intruding into a connection, watching it
and resetting it.

hunt is operating on Ethernet and is best used for connections
which can be watched through it. However, it is possible to do
something even for hosts on another segments or hosts that are
on switched ports.

hunt doesn't distinguish between local network connections and
connections going to/from Internet. It can handle all
connections it sees.

%prep
%setup

%{__perl} -pi.orig -e 's|egcs|%{__cc}|' tpserv/Makefile

%build
%{__make} %{?_smp_mflags} \
	CFLAGS="%{optflags}"
%{__make} %{?_smp_mflags} -C tpserv \
	CFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 hunt %{buildroot}%{_sbindir}/hunt
%{__install} -Dp -m0755 tpserv/tpserv %{buildroot}%{_sbindir}/tpserv
%{__install} -Dp -m0755 tpsetup/transproxy %{buildroot}%{_sbindir}/transproxy
%{__install} -Dp -m0644 man/hunt.1 %{buildroot}%{_mandir}/man1/hunt.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CHANGES COPYING README* TODO
%doc %{_mandir}/man?/*
%{_sbindir}/*

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.5-0.2
- Rebuild for Fedora Core 5.

* Sun Jul 13 2003 Dag Wieers <dag@wieers.com> - 1.5-0
- Initial package. (using DAR)