Subversion Repositories ALCASAR

Rev

Rev 2428 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2428 Rev 2431
1
Name:		ipt-netflow
1
Name:		ipt-netflow
2
Version:	2.2
2
Version:	2.2
3
Release:	%mkrel 14
3
Release:	%mkrel 15
4
Summary:	Netflow iptables module for Linux kernel
4
Summary:	Netflow iptables module for Linux kernel
5
License:	GPLv2
5
License:	GPLv2
6
Packager:	Richard REY (Rexy)
6
Packager:	Richard REY (Rexy)
7
Group:		Development/Kernel
7
Group:		Development/Kernel
8
URL:		https://github.com/aabc/ipt-netflow
8
URL:		https://github.com/aabc/ipt-netflow
-
 
9
BuildRequires:	iptables-devel
9
Source0:	%name-%version.tgz
10
Source0:	%name-%version.tgz
10
%define kversion 4.9.50-server-1.mga6
11
%define kversion 4.9.56-server-1.mga6
11
 
12
 
12
%description
13
%description
13
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
14
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
Created to be useful for highly loaded linux router. It should be used as iptables target.
15
 
16
 
16
 
17
 
17
%prep
18
%prep
18
%setup -q -n ipt-netflow-%{version}
19
%setup -q -n ipt-netflow-%{version}
19
 
20
 
20
%build
21
%build
21
./configure
22
./configure
22
%make 
23
%make 
23
 
24
 
24
%install
25
%install
25
%makeinstall
26
%makeinstall
26
mkdir -p %{buildroot}/lib64/iptables
27
mkdir -p %{buildroot}/lib64/iptables
27
mkdir -p %{buildroot}/lib/modules/%kversion/extra
28
mkdir -p %{buildroot}/lib/modules/%kversion/extra
28
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp /lib64/iptables/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp /lib64/iptables/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
31
cp /lib/modules/%kversion/extra/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
31
 
32
 
32
%clean
33
%clean
33
rm -rf %{buildroot}
34
rm -rf %{buildroot}
34
 
35
 
35
%post
36
%post
36
/sbin/depmod -a %kversion
37
/sbin/depmod -a %kversion
37
 
38
 
38
%postun
39
%postun
39
/sbin/depmod -a %kversion
40
/sbin/depmod -a %kversion
40
 
41
 
41
%files 
42
%files 
42
/%{_lib}/iptables/libipt_NETFLOW.so
43
/%{_lib}/iptables/libipt_NETFLOW.so
43
/%{_lib}/iptables/libip6t_NETFLOW.so
44
/%{_lib}/iptables/libip6t_NETFLOW.so
44
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
45
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
45
 
46
 
46
%changelog
47
%changelog
47
* Wed Oct 11 2017 Tom Houdayer - 2.2-14.mga6
48
* Wed Oct 11 2017 Tom Houdayer - 2.2-14.mga6
48
- Version for the kernel 4.9.50 (ALCASAR 3.2.0)
49
- Version for the kernel 4.9.50 (ALCASAR 3.2.0)
49
* Mon Jul 03 2017 Richard Rey <rexy> 
50
* Mon Jul 03 2017 Richard Rey <rexy> 
50
- Version for the kernel 4.4.74 (alcasar 3.1.3)
51
- Version for the kernel 4.4.74 (alcasar 3.1.3)
51
* Sun May 28 2017 Richard Rey <rexy> 
52
* Sun May 28 2017 Richard Rey <rexy> 
52
- Version for the kernel 4.4.68 (alcasar 3.1.2)
53
- Version for the kernel 4.4.68 (alcasar 3.1.2)
53
* Thu Apr 6 2017 Richard Rey <rexy> 
54
* Thu Apr 6 2017 Richard Rey <rexy> 
54
- Version for the kernel 4.4.59 (alcasar 3.1.1)
55
- Version for the kernel 4.4.59 (alcasar 3.1.1)
55
* Mon Mar 27 2017 Richard Rey <rexy> 
56
* Mon Mar 27 2017 Richard Rey <rexy> 
56
- Version for the kernel 4.4.55 (alcasar 3.1)
57
- Version for the kernel 4.4.55 (alcasar 3.1)
57
* Sat Oct 29 2016 Richard Rey <rexy> 
58
* Sat Oct 29 2016 Richard Rey <rexy> 
58
- Version for the kernel 4.4.26 (alcasar 3.0)
59
- Version for the kernel 4.4.26 (alcasar 3.0)
59
* Sat May 14 2016 Richard Rey <rexy> 
60
* Sat May 14 2016 Richard Rey <rexy> 
60
- Version for the kernel 4.4.13
61
- Version for the kernel 4.4.13
61
* Tue Apr 5 2016 Richard Rey <rexy> 
62
* Tue Apr 5 2016 Richard Rey <rexy> 
62
- Initial version of the package
63
- Initial version of the package
63
 
64