-
Notifications
You must be signed in to change notification settings - Fork 236
/
tcpflow.spec.in
57 lines (44 loc) · 1.52 KB
/
tcpflow.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
%global _hardened_build 1
Name: tcpflow
Version: @VERSION@
Release: 0%{?dist}
License: GPLv3
Summary: Network traffic recorder
URL: https://github.com/simsong/tcpflow
Source0: http://digitalcorpora.org/downloads/%{name}/%{name}-%{version}.tar.gz
BuildRequires: boost-devel
#BuildRequires: bzip2-devel
BuildRequires: cairo-devel
BuildRequires: libpcap-devel
BuildRequires: openssl-devel
BuildRequires: zlib-devel
%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.
%prep
%setup -q
%build
export CPPFLAGS="%{optflags}"
export LDFLAGS="%{__global_ldflags}"
%configure
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} INSTALL='install -p' install
%check
#make check
%files
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/tcpflow
%{_mandir}/man1/tcpflow.1*
%changelog
* Sun Jun 04 2017 O. Libre <[email protected]> - 1.4.6-0
- Apply improvements from Fedora Packages repo https://src.fedoraproject.org/cgit/rpms/?q=tcpflow
* Sun Feb 26 2012 Simson Garfinkel <[email protected]> - 1.2
- Rewrite for version 1.2
* Thu Apr 22 1999 Ross Golder <[email protected]> - 0.12
- Wrote for version 0.12