Subversion Repositories ALCASAR

Rev

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

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