2741 |
rexy |
1 |
%define kversion 4.14.127-server-1.mga6
|
2520 |
rexy |
2 |
Name: ipt-netflow
|
|
|
3 |
Version: 2.3
|
2728 |
rexy |
4 |
Release: %mkrel 7
|
2520 |
rexy |
5 |
Summary: Netflow iptables module for Linux kernel
|
|
|
6 |
License: GPLv2
|
|
|
7 |
Packager: Richard REY (Rexy)
|
2741 |
rexy |
8 |
Group: System/Networking
|
2520 |
rexy |
9 |
URL: https://github.com/aabc/ipt-netflow
|
|
|
10 |
BuildRequires: iptables-devel
|
|
|
11 |
Source0: %name-%version.tgz
|
|
|
12 |
|
|
|
13 |
%description
|
|
|
14 |
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
|
|
|
15 |
Created to be useful for highly loaded linux router. It should be used as iptables target.
|
|
|
16 |
|
|
|
17 |
%prep
|
|
|
18 |
%setup -q -n ipt-netflow-%{version}
|
|
|
19 |
|
|
|
20 |
%build
|
2730 |
rexy |
21 |
./configure --disable-dkms --disable-snmp-agent
|
2656 |
rexy |
22 |
%make_build
|
2520 |
rexy |
23 |
|
|
|
24 |
%install
|
2656 |
rexy |
25 |
%make_install
|
2520 |
rexy |
26 |
mkdir -p %{buildroot}/lib64/iptables
|
|
|
27 |
mkdir -p %{buildroot}/lib/modules/%kversion/extra
|
|
|
28 |
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
|
|
|
29 |
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
|
|
|
30 |
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
|
|
|
31 |
|
|
|
32 |
%clean
|
|
|
33 |
rm -rf %{buildroot}
|
|
|
34 |
|
|
|
35 |
%post
|
|
|
36 |
/sbin/depmod -a %kversion
|
|
|
37 |
|
|
|
38 |
%postun
|
|
|
39 |
/sbin/depmod -a %kversion
|
|
|
40 |
|
|
|
41 |
%files
|
|
|
42 |
/%{_lib}/iptables/libipt_NETFLOW.so
|
|
|
43 |
/%{_lib}/iptables/libip6t_NETFLOW.so
|
|
|
44 |
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
|
|
|
45 |
|
|
|
46 |
%changelog
|
2730 |
rexy |
47 |
* Tue May 21 2019 Richard REY <Rexy>
|
2741 |
rexy |
48 |
- Version 2.3 for the kernel 4.14.127 (ALCASAR 3.4)
|
2682 |
rexy |
49 |
* Wed Jan 02 2019 Richard REY <Rexy>
|
|
|
50 |
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
|
2656 |
rexy |
51 |
* Sun Nov 04 2018 Richard REY <Rexy>
|
|
|
52 |
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
|
2593 |
rexy |
53 |
* Sun Aug 19 2018 Richard REY <Rexy>
|
2636 |
rexy |
54 |
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
|
2578 |
rexy |
55 |
* Wed Jul 25 2018 Richard REY <Rexy>
|
|
|
56 |
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
|
2562 |
rexy |
57 |
* Mon Feb 26 2018 Tom Houdayer
|
|
|
58 |
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
|
|
|
59 |
* Wed Oct 11 2017 Tom Houdayer
|
|
|
60 |
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
|
|
|
61 |
* Mon Jul 03 2017 Richard Rey <rexy>
|
|
|
62 |
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
|
2520 |
rexy |
63 |
* Sun May 28 2017 Richard Rey <rexy>
|
|
|
64 |
- Version for the kernel 4.4.68 (alcasar 3.1.2)
|
|
|
65 |
* Thu Apr 06 2017 Richard Rey <rexy>
|
|
|
66 |
- Version for the kernel 4.4.59 (alcasar 3.1.1)
|
|
|
67 |
* Mon Mar 27 2017 Richard Rey <rexy>
|
|
|
68 |
- Version for the kernel 4.4.55 (alcasar 3.1)
|
|
|
69 |
* Sat Oct 29 2016 Richard Rey <rexy>
|
|
|
70 |
- Version for the kernel 4.4.26 (alcasar 3.0)
|
|
|
71 |
* Sat May 14 2016 Richard Rey <rexy>
|
|
|
72 |
- Version for the kernel 4.4.13
|
|
|
73 |
* Tue Apr 05 2016 Richard Rey <rexy>
|
|
|
74 |
- Initial version of the package
|