Subversion Repositories ALCASAR

Rev

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

Rev 2730 Rev 2741
-
 
1
%define kversion 4.14.127-server-1.mga6
1
Name:		ipt-netflow
2
Name:		ipt-netflow
2
Version:	2.3
3
Version:	2.3
3
Release:	%mkrel 7
4
Release:	%mkrel 7
4
Summary:	Netflow iptables module for Linux kernel
5
Summary:	Netflow iptables module for Linux kernel
5
License:	GPLv2
6
License:	GPLv2
6
Packager:	Richard REY (Rexy)
7
Packager:	Richard REY (Rexy)
7
Group:		Development/Kernel
8
Group:		System/Networking
8
URL:		https://github.com/aabc/ipt-netflow
9
URL:		https://github.com/aabc/ipt-netflow
9
BuildRequires:	iptables-devel
10
BuildRequires:	iptables-devel
10
Source0:	%name-%version.tgz
11
Source0:	%name-%version.tgz
11
%define kversion 4.14.119-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
%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 --disable-dkms --disable-snmp-agent
21
./configure --disable-dkms --disable-snmp-agent
22
%make_build 
22
%make_build 
23
 
23
 
24
%install
24
%install
25
%make_install
25
%make_install
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
32
%clean
33
rm -rf %{buildroot}
33
rm -rf %{buildroot}
34
 
34
 
35
%post
35
%post
36
/sbin/depmod -a %kversion
36
/sbin/depmod -a %kversion
37
 
37
 
38
%postun
38
%postun
39
/sbin/depmod -a %kversion
39
/sbin/depmod -a %kversion
40
 
40
 
41
%files 
41
%files 
42
/%{_lib}/iptables/libipt_NETFLOW.so
42
/%{_lib}/iptables/libipt_NETFLOW.so
43
/%{_lib}/iptables/libip6t_NETFLOW.so
43
/%{_lib}/iptables/libip6t_NETFLOW.so
44
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
44
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
45
 
45
 
46
%changelog
46
%changelog
47
* Tue May 21 2019 Richard REY <Rexy>
47
* Tue May 21 2019 Richard REY <Rexy>
48
- Version 2.3 for the kernel 4.14.119 (ALCASAR 3.4)
48
- Version 2.3 for the kernel 4.14.127 (ALCASAR 3.4)
49
* Wed Jan 02 2019 Richard REY <Rexy>
49
* Wed Jan 02 2019 Richard REY <Rexy>
50
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
50
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
51
* Sun Nov 04 2018 Richard REY <Rexy>
51
* Sun Nov 04 2018 Richard REY <Rexy>
52
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
52
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
53
* Sun Aug 19 2018 Richard REY <Rexy>
53
* Sun Aug 19 2018 Richard REY <Rexy>
54
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
54
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
55
* Wed Jul 25 2018 Richard REY <Rexy>
55
* Wed Jul 25 2018 Richard REY <Rexy>
56
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
56
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
57
* Mon Feb 26 2018 Tom Houdayer
57
* Mon Feb 26 2018 Tom Houdayer
58
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
58
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
59
* Wed Oct 11 2017 Tom Houdayer
59
* Wed Oct 11 2017 Tom Houdayer
60
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
60
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
61
* Mon Jul 03 2017 Richard Rey <rexy>
61
* Mon Jul 03 2017 Richard Rey <rexy>
62
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
62
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
63
* Sun May 28 2017 Richard Rey <rexy> 
63
* Sun May 28 2017 Richard Rey <rexy> 
64
- Version for the kernel 4.4.68 (alcasar 3.1.2)
64
- Version for the kernel 4.4.68 (alcasar 3.1.2)
65
* Thu Apr 06 2017 Richard Rey <rexy> 
65
* Thu Apr 06 2017 Richard Rey <rexy> 
66
- Version for the kernel 4.4.59 (alcasar 3.1.1)
66
- Version for the kernel 4.4.59 (alcasar 3.1.1)
67
* Mon Mar 27 2017 Richard Rey <rexy> 
67
* Mon Mar 27 2017 Richard Rey <rexy> 
68
- Version for the kernel 4.4.55 (alcasar 3.1)
68
- Version for the kernel 4.4.55 (alcasar 3.1)
69
* Sat Oct 29 2016 Richard Rey <rexy> 
69
* Sat Oct 29 2016 Richard Rey <rexy> 
70
- Version for the kernel 4.4.26 (alcasar 3.0)
70
- Version for the kernel 4.4.26 (alcasar 3.0)
71
* Sat May 14 2016 Richard Rey <rexy> 
71
* Sat May 14 2016 Richard Rey <rexy> 
72
- Version for the kernel 4.4.13
72
- Version for the kernel 4.4.13
73
* Tue Apr 05 2016 Richard Rey <rexy> 
73
* Tue Apr 05 2016 Richard Rey <rexy> 
74
- Initial version of the package
74
- Initial version of the package
75
 
75