Subversion Repositories ALCASAR

Rev

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

Rev 2742 Rev 2765
1
%define kversion 4.14.131-server-1.mga6
1
%define kversion 5.3.7-server-4.mga7
-
 
2
%define debug_package %{nil}
2
Name:		ipt-netflow
3
Name:		ipt-netflow
3
Version:	2.4
4
Version:	2.4
4
Release:	%mkrel 1
5
Release:	%mkrel 1
5
Summary:	Netflow iptables module for Linux kernel
6
Summary:	Netflow iptables module for Linux kernel
6
License:	GPLv2
7
License:	GPLv2
7
Packager:	Richard REY (Rexy)
8
Packager:	Richard REY (Rexy)
8
Group:		System/Networking
9
Group:		System/Networking
9
URL:		https://github.com/aabc/ipt-netflow
10
URL:		https://github.com/aabc/ipt-netflow
10
BuildRequires:	iptables-devel
11
BuildRequires:	iptables-devel
11
Source0:	%name-%version.tgz
12
Source0:	%name-%version.tgz
12
 
13
 
13
%description
14
%description
14
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
15
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.
16
Created to be useful for highly loaded linux router. It should be used as iptables target.
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  --disable-dkms --disable-snmp-agent
22
./configure  --disable-dkms --disable-snmp-agent
22
%make_build 
23
%make_build 
23
 
24
 
24
%install
25
%install
25
%make_install
26
%make_install
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 ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
31
cp ~/rpmbuild/BUILD/%name-%version/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
31
%clean
32
%clean
32
rm -rf %{buildroot}
33
rm -rf %{buildroot}
33
 
34
 
34
%post
35
%post
35
/sbin/depmod -a %kversion
36
/sbin/depmod -a %kversion
36
 
37
 
37
%postun
38
%postun
38
/sbin/depmod -a %kversion
39
/sbin/depmod -a %kversion
39
 
40
 
40
%files 
41
%files 
41
/lib64/iptables/libipt_NETFLOW.so
42
/lib64/iptables/libipt_NETFLOW.so
42
/lib64/iptables/libip6t_NETFLOW.so
43
/lib64/iptables/libip6t_NETFLOW.so
43
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
44
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
44
 
45
 
45
%changelog
46
%changelog
-
 
47
* Mon Nov 11 2019 Richard REY <Rexy>
-
 
48
- Version 2.4 for the kernel 5.3.7 (ALCASAR 3.5)
46
* Tue May 21 2019 Richard REY <Rexy>
49
* Tue May 21 2019 Richard REY <Rexy>
47
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
50
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
48
* Wed Jan 02 2019 Richard REY <Rexy>
51
* Wed Jan 02 2019 Richard REY <Rexy>
49
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
52
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
50
* Sun Nov 04 2018 Richard REY <Rexy>
53
* Sun Nov 04 2018 Richard REY <Rexy>
51
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
54
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
52
* Sun Aug 19 2018 Richard REY <Rexy>
55
* Sun Aug 19 2018 Richard REY <Rexy>
53
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
56
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
54
* Wed Jul 25 2018 Richard REY <Rexy>
57
* Wed Jul 25 2018 Richard REY <Rexy>
55
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
58
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
56
* Mon Feb 26 2018 Tom Houdayer
59
* Mon Feb 26 2018 Tom Houdayer
57
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
60
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
58
* Wed Oct 11 2017 Tom Houdayer
61
* Wed Oct 11 2017 Tom Houdayer
59
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
62
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
60
* Mon Jul 03 2017 Richard Rey <rexy>
63
* Mon Jul 03 2017 Richard Rey <rexy>
61
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
64
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
62
* Sun May 28 2017 Richard Rey <rexy> 
65
* Sun May 28 2017 Richard Rey <rexy> 
63
- Version for the kernel 4.4.68 (alcasar 3.1.2)
66
- Version for the kernel 4.4.68 (alcasar 3.1.2)
64
* Thu Apr 06 2017 Richard Rey <rexy> 
67
* Thu Apr 06 2017 Richard Rey <rexy> 
65
- Version for the kernel 4.4.59 (alcasar 3.1.1)
68
- Version for the kernel 4.4.59 (alcasar 3.1.1)
66
* Mon Mar 27 2017 Richard Rey <rexy> 
69
* Mon Mar 27 2017 Richard Rey <rexy> 
67
- Version for the kernel 4.4.55 (alcasar 3.1)
70
- Version for the kernel 4.4.55 (alcasar 3.1)
68
* Sat Oct 29 2016 Richard Rey <rexy> 
71
* Sat Oct 29 2016 Richard Rey <rexy> 
69
- Version for the kernel 4.4.26 (alcasar 3.0)
72
- Version for the kernel 4.4.26 (alcasar 3.0)
70
* Sat May 14 2016 Richard Rey <rexy> 
73
* Sat May 14 2016 Richard Rey <rexy> 
71
- Version for the kernel 4.4.13
74
- Version for the kernel 4.4.13
72
* Tue Apr 05 2016 Richard Rey <rexy> 
75
* Tue Apr 05 2016 Richard Rey <rexy> 
73
- Initial version of the package
76
- Initial version of the package
74
 
77