Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2742 rexy 1
%define kversion 4.14.131-server-1.mga6
2
Name:		ipt-netflow
3
Version:	2.4
4
Release:	%mkrel 1
5
Summary:	Netflow iptables module for Linux kernel
6
License:	GPLv2
7
Packager:	Richard REY (Rexy)
8
Group:		System/Networking
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
21
./configure  --disable-dkms --disable-snmp-agent
22
%make_build 
23
 
24
%install
25
%make_install
26
mkdir -p %{buildroot}/lib64/iptables
27
mkdir -p %{buildroot}/lib/modules/%kversion/extra
28
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
31
%clean
32
rm -rf %{buildroot}
33
 
34
%post
35
/sbin/depmod -a %kversion
36
 
37
%postun
38
/sbin/depmod -a %kversion
39
 
40
%files 
41
/lib64/iptables/libipt_NETFLOW.so
42
/lib64/iptables/libip6t_NETFLOW.so
43
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
44
 
45
%changelog
46
* Tue May 21 2019 Richard REY <Rexy>
47
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
48
* Wed Jan 02 2019 Richard REY <Rexy>
49
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
50
* Sun Nov 04 2018 Richard REY <Rexy>
51
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
52
* Sun Aug 19 2018 Richard REY <Rexy>
53
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
54
* Wed Jul 25 2018 Richard REY <Rexy>
55
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
56
* Mon Feb 26 2018 Tom Houdayer
57
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
58
* Wed Oct 11 2017 Tom Houdayer
59
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
60
* Mon Jul 03 2017 Richard Rey <rexy>
61
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
62
* Sun May 28 2017 Richard Rey <rexy> 
63
- Version for the kernel 4.4.68 (alcasar 3.1.2)
64
* Thu Apr 06 2017 Richard Rey <rexy> 
65
- Version for the kernel 4.4.59 (alcasar 3.1.1)
66
* Mon Mar 27 2017 Richard Rey <rexy> 
67
- Version for the kernel 4.4.55 (alcasar 3.1)
68
* Sat Oct 29 2016 Richard Rey <rexy> 
69
- Version for the kernel 4.4.26 (alcasar 3.0)
70
* Sat May 14 2016 Richard Rey <rexy> 
71
- Version for the kernel 4.4.13
72
* Tue Apr 05 2016 Richard Rey <rexy> 
73
- Initial version of the package