Subversion Repositories ALCASAR

Rev

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

Rev 2925 Rev 2940
1
%define kversion 5.10.14-server-1.mga7
1
%define kversion 5.10.27-server-1.mga7
2
%define debug_package %{nil}
2
%define debug_package %{nil}
3
Name:		ipt-netflow
3
Name:		ipt-netflow
4
Version:	2.5.1
4
Version:	2.5.1
5
Release:	%mkrel 2
5
Release:	%mkrel 2
6
Summary:	Netflow iptables module for Linux kernel
6
Summary:	Netflow iptables module for Linux kernel
7
License:	GPLv2
7
License:	GPLv2
8
Packager:	Richard REY (Rexy)
8
Packager:	Richard REY (Rexy)
9
Group:		System/Networking
9
Group:		System/Networking
10
URL:		https://github.com/aabc/ipt-netflow
10
URL:		https://github.com/aabc/ipt-netflow
11
BuildRequires:	iptables-devel
11
BuildRequires:	iptables-devel
12
Source0:	%name-%version.tgz
12
Source0:	%name-%version.tgz
13
 
13
 
14
%description
14
%description
15
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.
16
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.
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  --disable-dkms --disable-snmp-agent
22
./configure  --disable-dkms --disable-snmp-agent
23
%make_build 
23
%make_build 
24
 
24
 
25
%install
25
%install
26
%make_install
26
%make_install
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 ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
29
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
31
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/
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
/lib64/iptables/libipt_NETFLOW.so
42
/lib64/iptables/libipt_NETFLOW.so
43
/lib64/iptables/libip6t_NETFLOW.so
43
/lib64/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
* Wed Feb 24 2021 Richard REY <Rexy>
47
* Wed Feb 24 2021 Richard REY <Rexy>
48
- Version 2.5.1-2 for the kernel 5.10.14 (ALCASAR 3.5.3)
48
- Version 2.5.1-2 for the kernel 5.10.27 (ALCASAR 3.5.3)
49
* Sat Oct 17 2020 Richard REY <Rexy>
49
* Sat Oct 17 2020 Richard REY <Rexy>
50
- Version 2.5.1-1 for the kernel 5.7.19 (ALCASAR 3.5.1)
50
- Version 2.5.1-1 for the kernel 5.7.19 (ALCASAR 3.5.1)
51
* Fri May 22 2020 Richard REY <Rexy>
51
* Fri May 22 2020 Richard REY <Rexy>
52
- Version 2.5 for the kernel 5.6.14 (ALCASAR 3.5)
52
- Version 2.5 for the kernel 5.6.14 (ALCASAR 3.5)
53
* Tue May 21 2019 Richard REY <Rexy>
53
* Tue May 21 2019 Richard REY <Rexy>
54
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
54
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
55
* Wed Jan 02 2019 Richard REY <Rexy>
55
* Wed Jan 02 2019 Richard REY <Rexy>
56
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
56
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
57
* Sun Nov 04 2018 Richard REY <Rexy>
57
* Sun Nov 04 2018 Richard REY <Rexy>
58
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
58
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
59
* Sun Aug 19 2018 Richard REY <Rexy>
59
* Sun Aug 19 2018 Richard REY <Rexy>
60
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
60
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
61
* Wed Jul 25 2018 Richard REY <Rexy>
61
* Wed Jul 25 2018 Richard REY <Rexy>
62
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
62
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
63
* Mon Feb 26 2018 Tom Houdayer
63
* Mon Feb 26 2018 Tom Houdayer
64
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
64
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
65
* Wed Oct 11 2017 Tom Houdayer
65
* Wed Oct 11 2017 Tom Houdayer
66
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
66
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
67
* Mon Jul 03 2017 Richard Rey <rexy>
67
* Mon Jul 03 2017 Richard Rey <rexy>
68
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
68
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
69
* Sun May 28 2017 Richard Rey <rexy> 
69
* Sun May 28 2017 Richard Rey <rexy> 
70
- Version for the kernel 4.4.68 (alcasar 3.1.2)
70
- Version for the kernel 4.4.68 (alcasar 3.1.2)
71
* Thu Apr 06 2017 Richard Rey <rexy> 
71
* Thu Apr 06 2017 Richard Rey <rexy> 
72
- Version for the kernel 4.4.59 (alcasar 3.1.1)
72
- Version for the kernel 4.4.59 (alcasar 3.1.1)
73
* Mon Mar 27 2017 Richard Rey <rexy> 
73
* Mon Mar 27 2017 Richard Rey <rexy> 
74
- Version for the kernel 4.4.55 (alcasar 3.1)
74
- Version for the kernel 4.4.55 (alcasar 3.1)
75
* Sat Oct 29 2016 Richard Rey <rexy> 
75
* Sat Oct 29 2016 Richard Rey <rexy> 
76
- Version for the kernel 4.4.26 (alcasar 3.0)
76
- Version for the kernel 4.4.26 (alcasar 3.0)
77
* Sat May 14 2016 Richard Rey <rexy> 
77
* Sat May 14 2016 Richard Rey <rexy> 
78
- Version for the kernel 4.4.13
78
- Version for the kernel 4.4.13
79
* Tue Apr 05 2016 Richard Rey <rexy> 
79
* Tue Apr 05 2016 Richard Rey <rexy> 
80
- Initial version of the package
80
- Initial version of the package
81
 
81