Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2060 richard 1
Name:		ipt-netflow
2
Version:	2.2
2230 richard 3
Release:	%mkrel 10
2060 richard 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
Source0:	%name-%version.tgz
2230 richard 10
%define kversion 4.4.65-server-1.mga5
2060 richard 11
 
12
%description
13
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
14
Created to be useful for highly loaded linux router. It should be used as iptables target.
15
 
16
 
17
%prep
18
%setup -q -n ipt-netflow-%{version}
19
 
20
%build
21
./configure
22
%make 
23
 
24
%install
25
%makeinstall
26
######### uncoment for 32b #####################
27
#mkdir -p %{buildroot}/lib/iptables 
28
#mkdir -p %{buildroot}/lib/modules/%kversion/extra
29
#cp /lib/iptables/libipt_NETFLOW.so %{buildroot}/lib/iptables/ 
30
#cp /lib/iptables/libip6t_NETFLOW.so %{buildroot}/lib/iptables/
31
#cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
32
######### uncoment for 64b #####################
33
mkdir -p %{buildroot}/lib64/iptables
34
mkdir -p %{buildroot}/lib/modules/%kversion/extra
35
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
36
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
37
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
38
 
39
%post
40
/sbin/depmod -a %kversion
41
 
42
%postun
43
/sbin/depmod -a %kversion
44
 
45
%files 
46
/%{_lib}/iptables/libipt_NETFLOW.so
47
/%{_lib}/iptables/libip6t_NETFLOW.so
48
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
49
 
50
%changelog
2230 richard 51
* Tue May 16 2017 Richard Rey <rexy> 
52
- Version for the kernel 4.4.65 (alcasar 3.1.2)
2164 richard 53
* Thu Apr 6 2017 Richard Rey <rexy> 
54
- Version for the kernel 4.4.59 (alcasar 3.1.1)
2153 richard 55
* Mon Mar 27 2017 Richard Rey <rexy> 
56
- Version for the kernel 4.4.55 (alcasar 3.1)
2070 richard 57
* Sat Oct 29 2016 Richard Rey <rexy> 
2110 richard 58
- Version for the kernel 4.4.26 (alcasar 3.0)
2070 richard 59
* Sat May 14 2016 Richard Rey <rexy> 
2060 richard 60
- Version for the kernel 4.4.13
61
* Tue Apr 5 2016 Richard Rey <rexy> 
62
- Initial version of the package