Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2060 richard 1
Name:		ipt-netflow
2
Version:	2.2
2131 richard 3
Release:	%mkrel 7
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
2131 richard 10
%define kversion 4.4.50-server-2.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
2131 richard 51
* Sat Mar 4 2017 Richard Rey <rexy> 
52
- Version for the kernel 4.4.50 (alcasar 3.1)
2110 richard 53
* Sun Jan 8 2017 Richard Rey <rexy> 
54
- Version for the kernel 4.4.39 (alcasar 3.1)
2070 richard 55
* Sat Oct 29 2016 Richard Rey <rexy> 
2110 richard 56
- Version for the kernel 4.4.26 (alcasar 3.0)
2070 richard 57
* Sat May 14 2016 Richard Rey <rexy> 
2060 richard 58
- Version for the kernel 4.4.13
59
* Tue Apr 5 2016 Richard Rey <rexy> 
60
- Initial version of the package