-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathipfixprobe-msec.spec.in
More file actions
118 lines (99 loc) · 3.56 KB
/
ipfixprobe-msec.spec.in
File metadata and controls
118 lines (99 loc) · 3.56 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
%global _unitdir %{_prefix}/lib/systemd/system
Name: ipfixprobe-msec
Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: IPFIX flow exporter with various extending IPFIX elements exported by plugins.
URL: https://github.com/CESNET/ipfixprobe
Group: Liberouter
License: BSD
Vendor: CESNET, z.s.p.o.
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
Provides: ipfixprobe
Obsoletes: ipfixprobe-ndp < 5.0.0
Obsoletes: ipfixprobe-dpdk < 5.0.0
Conflicts: ipfixprobe-nemea, ipfixprobe
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
%if 0%{?rhel} == 8
BuildRequires: gcc-toolset-14
BuildRequires: gcc-toolset-14-gcc
BuildRequires: gcc-toolset-14-gcc-c++
%endif
%if 0%{?rhel} >= 9
BuildRequires: gcc >= 10
BuildRequires: gcc-c++ >= 10
%endif
BuildRequires: make
BuildRequires: cmake >= 3.12
%if %{with unwind}
BuildRequires: libunwind-devel
%endif
%if 0%{?rhel} <= 9
BuildRequires: gcc-toolset-14-libatomic-devel
%endif
BuildRequires: pkgconfig
%if %{with lz4}
BuildRequires: lz4-devel
%endif
BuildRequires: openssl-devel
BuildRequires: git
Requires: libatomic
Requires: fuse3
%if %{with lz4}
Requires: lz4
%endif
Requires: openssl
Requires: python3
Requires: python3-pyyaml
Requires: python3-jsonschema
%description
ipfixprobe is a network traffic analysis tool that exports IPFIX flows with extended elements via plugins.
Export timestamp in milliseconds.
# Make sure that build is always performed out-of-source
%undefine __cmake_in_source_build
%prep
%autosetup
%build
%if 0%{?rhel} == 8
source /opt/rh/gcc-toolset-14/enable
%endif
%cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_MILLISECONDS_TIMESTAMP=ON
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%{_bindir}/ipfixprobe
%{_bindir}/ipfixprobed
%{_libdir}/ipfixprobe/input/libipfixprobe-input-raw.so
%{_libdir}/ipfixprobe/output/libipfixprobe-output-ipfix.so
%{_libdir}/ipfixprobe/output/libipfixprobe-output-text.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-basicplus.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-bstats.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-dns.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-dnssd.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-flowhash.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-http.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-icmp.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-pstats.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-phists.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-ovpn.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-vlan.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-osquery.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-netbios.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-tls.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-wg.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-smtp.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-quic.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-idpcontent.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-mqtt.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-passivedns.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-ssadetector.so
%{_libdir}/ipfixprobe/process/libipfixprobe-process-ssdp.so
%{_libdir}/ipfixprobe/storage/libipfixprobe-storage-cache.so
%{_libdir}/ipfixprobe/schema.json
%{_libdir}/ipfixprobe/config2args.py
%{_sysconfdir}/ipfixprobe/link0.conf.example
%{_unitdir}/ipfixprobe-monitoring.target
%{_unitdir}/ipfixprobe@.service
%changelog