Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37047827
en ru br
Репозитории ALT
S:1.6.1-alt2
5.1: 0.21-alt1
www.altlinux.org/Changes

Группа :: Мониторинг
Пакет: tcpflow

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: tcpflow
Version: 1.6.1
Release: alt2

Summary: Network traffic recorder
License: GPLv3
Group: Monitoring
Url: https://github.com/simsong/tcpflow

Source: %name-%version.tar
Source1: control-tcpflow

Requires: %name-control

BuildRequires: gcc-c++ boost-devel libcairo-devel libpcap-devel zlib-devel
BuildRequires: openssl-devel

Provides: tcpflow+ = %EVR
Conflicts: tcpflow+ < %EVR
Obsoletes: tcpflow+

%description
tcpflow is a program that captures data transmitted as part of TCP connections
(flows), and stores the data in a way that is convenient for protocol analysis
or debugging. A program like 'tcpdump' shows a summary of packets seen on the
wire, but usually doesn't store the data that's actually being transmitted. In
contrast, tcpflow reconstructs the actual data streams and stores each flow in
a separate file for later analysis.

%package control
Summary: Network traffic recorder control facility.
Group: Monitoring
Requires: control

%description control
This package contains control rules for tcpflow - network traffic recorder.
See control(8) for details.

%prep
%setup
sed -i '/^#include <string>/ a#include <cstdint>' src/netviz/plot_view.h

%build
%autoreconf
%configure
%make_build

%install
%makeinstall_std
install -pD -m755 %SOURCE1 %buildroot%_controldir/%name
sed -i -e 's:__BINARY__:%_bindir/%name:' %buildroot%_controldir/%name

%pre
i/usr/sbin/groupadd -r -f netadmin ||:
%pre_control %name

%post
%post_control -s restricted %name

%files
%doc AUTHORS COPYING ChangeLog NEWS
%attr(700,root,root) %verify(not mode group) %_bindir/%name
%_man1dir/%name.1*

%files control
%config %_controldir/%name

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin