Subversion Repositories ALCASAR

Rev

Rev 3149 | Details | Compare with Previous | Last modification | View Log

Rev Author Line No. Line
3193 rexy 1
%define kversion 6.6.22-server-1.mga9
2968 rexy 2
%define debug_package %{nil}
3193 rexy 3
%define _build_id_links none
2968 rexy 4
Name:		ipt-netflow
5
Version:	2.6
3193 rexy 6
Release:	%mkrel 0
2968 rexy 7
Summary:	Netflow iptables module for Linux kernel
8
License:	GPLv2
9
Packager:	Richard REY (Rexy)
10
Group:		System/Networking
11
URL:		https://github.com/aabc/ipt-netflow
12
BuildRequires:	iptables-devel
13
Source0:	%name-%version.tgz
14
 
15
%description
16
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
17
Created to be useful for highly loaded linux router. It should be used as iptables target.
18
 
19
%prep
20
%setup -q -n ipt-netflow-%{version}
21
 
22
%build
3193 rexy 23
./configure  --kdir=/usr/src/kernel-%{kversion} --disable-dkms --disable-snmp-agent
2968 rexy 24
%make_build 
25
 
26
%install
27
%make_install
28
mkdir -p %{buildroot}/lib64/iptables
29
mkdir -p %{buildroot}/lib/modules/%kversion/extra
30
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
31
cp ~/rpmbuild/BUILD/%name-%version/libip6t_NETFLOW.so %{buildroot}/lib64/iptables/
32
cp ~/rpmbuild/BUILD/%name-%version/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
33
%clean
34
rm -rf %{buildroot}
35
 
36
%post
37
/sbin/depmod -a %kversion
38
 
39
%postun
40
/sbin/depmod -a %kversion
41
 
42
%files 
43
/lib64/iptables/libipt_NETFLOW.so
44
/lib64/iptables/libip6t_NETFLOW.so
45
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
3193 rexy 46
/lib/modules/%kversion/updates/ipt_NETFLOW.ko
2968 rexy 47
 
48
%changelog
3193 rexy 49
* Sun Apr 21 2024 Richard REY <Rexy>
50
- Version 2.6 for the kernel 6.6.22 (ALCASAR 3.7.0)
51
* Tue Nov 14 2023 Richard REY <Rexy>
3147 rexy 52
- Version 2.6 for the kernel 5.15.126 (ALCASAR 3.6.1)
3103 rexy 53
* Fri Dec 30 2022 Richard REY <Rexy>
54
- Version 2.6 for the kernel 5.15.86 (ALCASAR 3.6.0)
55
* Thu Jul 08 2021 Richard REY <Rexy>
2968 rexy 56
- Version 2.6 for the kernel 5.10.46 (ALCASAR 3.5.4)
57
* Wed Feb 24 2021 Richard REY <Rexy>
58
- Version 2.5.1-2 for the kernel 5.10.30 (ALCASAR 3.5.3)
59
* Sat Oct 17 2020 Richard REY <Rexy>
60
- Version 2.5.1-1 for the kernel 5.7.19 (ALCASAR 3.5.1)
61
* Fri May 22 2020 Richard REY <Rexy>
62
- Version 2.5 for the kernel 5.6.14 (ALCASAR 3.5)
63
* Tue May 21 2019 Richard REY <Rexy>
64
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
65
* Wed Jan 02 2019 Richard REY <Rexy>
66
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
67
* Sun Nov 04 2018 Richard REY <Rexy>
68
- Version 2.3 for the kernel 4.14.74 (ALCASAR 3.3.2)
69
* Sun Aug 19 2018 Richard REY <Rexy>
70
- Version 2.3 for the kernel 4.14.69 (ALCASAR 3.3.1)
71
* Wed Jul 25 2018 Richard REY <Rexy>
72
- Version 2.3 for the kernel 4.14.56 (ALCASAR 3.3)
73
* Mon Feb 26 2018 Tom Houdayer
74
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
75
* Wed Oct 11 2017 Tom Houdayer
76
- Version 2.2 for the kernel 4.9.50 (ALCASAR 3.2)
77
* Mon Jul 03 2017 Richard Rey <rexy>
78
- Version 2.1 for the kernel 4.4.74 (alcasar 3.1.3)
79
* Sun May 28 2017 Richard Rey <rexy> 
80
- Version for the kernel 4.4.68 (alcasar 3.1.2)
81
* Thu Apr 06 2017 Richard Rey <rexy> 
82
- Version for the kernel 4.4.59 (alcasar 3.1.1)
83
* Mon Mar 27 2017 Richard Rey <rexy> 
84
- Version for the kernel 4.4.55 (alcasar 3.1)
85
* Sat Oct 29 2016 Richard Rey <rexy> 
86
- Version for the kernel 4.4.26 (alcasar 3.0)
87
* Sat May 14 2016 Richard Rey <rexy> 
88
- Version for the kernel 4.4.13
89
* Tue Apr 05 2016 Richard Rey <rexy> 
90
- Initial version of the package