Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2520 rexy 1
Name:		ipt-netflow
2
Version:	2.3
3
Release:	%mkrel 1
4
Summary:	Netflow iptables module for Linux kernel
5
License:	GPLv2
6
Packager:	Richard REY (Rexy)
7
Group:		Development/Kernel
8
URL:		https://github.com/aabc/ipt-netflow
9
BuildRequires:	iptables-devel
10
Source0:	%name-%version.tgz
11
%define kversion 4.14.30-server-3.mga6
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
21
./configure
22
%make 
23
 
24
%install
25
%makeinstall
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
47
* Mon Apr 01 2018 Richard REY <Rexy> - 2.3
48
- Version for the kernel 4.14.30 (ALCASAR 3.2.1)
49
* Mon Feb 26 2018 Tom Houdayer - 2.2
50
- Version for the kernel 4.14.20 (ALCASAR 3.2.1)
51
* Wed Oct 11 2017 Tom Houdayer - 2.2
52
- Version for the kernel 4.9.50 (ALCASAR 3.2)
53
* Mon Jul 03 2017 Richard Rey <rexy> - 2.1
54
- Version for the kernel 4.4.74 (alcasar 3.1.3)
55
* Sun May 28 2017 Richard Rey <rexy> 
56
- Version for the kernel 4.4.68 (alcasar 3.1.2)
57
* Thu Apr 06 2017 Richard Rey <rexy> 
58
- Version for the kernel 4.4.59 (alcasar 3.1.1)
59
* Mon Mar 27 2017 Richard Rey <rexy> 
60
- Version for the kernel 4.4.55 (alcasar 3.1)
61
* Sat Oct 29 2016 Richard Rey <rexy> 
62
- Version for the kernel 4.4.26 (alcasar 3.0)
63
* Sat May 14 2016 Richard Rey <rexy> 
64
- Version for the kernel 4.4.13
65
* Tue Apr 05 2016 Richard Rey <rexy> 
66
- Initial version of the package