Subversion Repositories ALCASAR

Rev

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

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