File tracebox.spec of Package tracebox

#
# spec file for package tracebox
#
# Copyright (c) 2018 SUSE LINUX 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/
#


Name:           tracebox
Version:        0.4.4
Release:        0
Summary:        A Middlebox Detection Tool
License:        GPL-2.0-only
Group:          Productivity/Networking/Web/Servers
Url:            http://www.tracebox.org/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  c++_compiler
BuildRequires:  libjson-c-devel
BuildRequires:  libpcap-devel
BuildRequires:  libtool
BuildRequires:  lua-devel

%description
Tracebox is a tool that allows to detect middleboxes on any paths, i.e.,
between a source and any destination. Tracebox can be viewed as a tool
similar to traceroute as it uses ICMP replies to identify changes in
the packets. The fact that tracebox is able to detect middleboxes
comes from the observation that ICMP messages are often not as
defined in RFC792. Indeed it is quite common to receive a ICMP
Time-to-Live exceeded message with the original datagram instead of
64 bits as described in the standard. This is caused by operating
systems configured to reply with full ICMP (e.g., Linux, Cisco IOS-XR,
etc.) as well as the ICMP Multi-Part Messages extension that standardize
the fact that routers using MPLS tunnels replies and ICMP message
containing the full datagram.

%prep
%setup -q

%build
autoreconf -fi
%configure
%__make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%license LICENSE
%doc AUTHORS README.md
%{_bindir}/*tracebox*
%{_mandir}/man*/*%{ext_man}
%{_datadir}/tracebox

%changelog
openSUSE Build Service is sponsored by