Subversion Repositories ALCASAR

Rev

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

Rev 3283 Rev 3327
1
%define kversion 6.6.88-server-3.mga9
1
%define kversion 6.6.120-server-1.mga9
2
%define debug_package %{nil}
2
%define debug_package %{nil}
3
%define _build_id_links none
3
%define _build_id_links none
4
Name:		ipt-netflow
4
Name:		ipt-netflow
5
Version:	2.6
5
Version:	2.6
6
Release:	%mkrel 5
6
Release:	%mkrel 6
7
Summary:	Netflow iptables module for Linux kernel
7
Summary:	Netflow iptables module for Linux kernel
8
License:	GPLv2
8
License:	GPLv2
9
Packager:	Richard REY (Rexy)
9
Packager:	Richard REY (Rexy)
10
Group:		System/Networking
10
Group:		System/Networking
11
URL:		https://github.com/aabc/ipt-netflow
11
URL:		https://github.com/aabc/ipt-netflow
12
BuildRequires:	iptables-devel
12
BuildRequires:	iptables-devel
13
Source0:	%name-%version.tar.gz
13
Source0:	%name-%version.tar.gz
14
 
14
 
15
%description
15
%description
16
High performance NetFlow v5, v9, IPFIX flow data export module for Linux kernel.
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.
17
Created to be useful for highly loaded linux router. It should be used as iptables target.
18
 
18
 
19
%prep
19
%prep
20
%setup -q -n ipt-netflow-%{version}
20
%setup -q -n ipt-netflow-%{version}
21
 
21
 
22
%build
22
%build
23
./configure  --kdir=/usr/src/kernel-%{kversion} --disable-dkms --disable-snmp-agent
23
./configure  --kdir=/usr/src/kernel-%{kversion} --disable-dkms --disable-snmp-agent
24
%make_build 
24
%make_build 
25
 
25
 
26
%install
26
%install
27
%make_install
27
%make_install
28
mkdir -p %{buildroot}/lib64/iptables
28
mkdir -p %{buildroot}/lib64/iptables
29
mkdir -p %{buildroot}/lib/modules/%kversion/extra
29
mkdir -p %{buildroot}/lib/modules/%kversion/extra
30
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
30
cp ~/rpmbuild/BUILD/%name-%version/libipt_NETFLOW.so %{buildroot}/lib64/iptables/
31
cp ~/rpmbuild/BUILD/%name-%version/libip6t_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/
32
cp ~/rpmbuild/BUILD/%name-%version/ipt_NETFLOW.ko %{buildroot}/lib/modules/%kversion/extra/
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
/lib64/iptables/libipt_NETFLOW.so
43
/lib64/iptables/libipt_NETFLOW.so
44
/lib64/iptables/libip6t_NETFLOW.so
44
/lib64/iptables/libip6t_NETFLOW.so
45
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
45
/lib/modules/%kversion/extra/ipt_NETFLOW.ko
46
/lib/modules/%kversion/updates/ipt_NETFLOW.ko
46
/lib/modules/%kversion/updates/ipt_NETFLOW.ko
47
 
47
 
48
%changelog
48
%changelog
-
 
49
* Sat Mar 14 2026 Richard REY <Rexy>
-
 
50
- Version 2.6 for the kernel 6.6.120 (ALCASAR 3.8)
49
* Sun May 18 2025 Richard REY <Rexy>
51
* Sun May 18 2025 Richard REY <Rexy>
50
- Version 2.6 for the kernel 6.6.88 (ALCASAR 3.7.2)
52
- Version 2.6 for the kernel 6.6.88 (ALCASAR 3.7.2)
51
* Tue Nov 14 2023 Richard REY <Rexy>
53
* Tue Nov 14 2023 Richard REY <Rexy>
52
- Version 2.6 for the kernel 5.15.126 (ALCASAR 3.6.1)
54
- Version 2.6 for the kernel 5.15.126 (ALCASAR 3.6.1)
53
* Thu Jul 08 2021 Richard REY <Rexy>
55
* Thu Jul 08 2021 Richard REY <Rexy>
54
- Version 2.6 for the kernel 5.10.46 (ALCASAR 3.5.4)
56
- Version 2.6 for the kernel 5.10.46 (ALCASAR 3.5.4)
55
* Tue May 21 2019 Richard REY <Rexy>
57
* Tue May 21 2019 Richard REY <Rexy>
56
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
58
- Version 2.4 for the kernel 4.14.131 (ALCASAR 3.4)
57
* Wed Jan 02 2019 Richard REY <Rexy>
59
* Wed Jan 02 2019 Richard REY <Rexy>
58
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
60
- Version 2.3 for the kernel 4.14.89 (ALCASAR 3.3.3)
59
* Mon Feb 26 2018 Tom Houdayer
61
* Mon Feb 26 2018 Tom Houdayer
60
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
62
- Version 2.2 for the kernel 4.14.20 (ALCASAR 3.2.1)
61
* Mon Jul 03 2017 Richard Rey <rexy>
63
* Mon Jul 03 2017 Richard Rey <rexy>
62
- 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)
63
* Sun May 28 2017 Richard Rey <rexy> 
65
* Sun May 28 2017 Richard Rey <rexy> 
64
- Version for the kernel 4.4.26 (alcasar 3.0)
66
- Version for the kernel 4.4.26 (alcasar 3.0)
65
* Sat May 14 2016 Richard Rey <rexy> 
67
* Sat May 14 2016 Richard Rey <rexy> 
66
- Version for the kernel 4.4.13
68
- Version for the kernel 4.4.13
67
* Tue Apr 05 2016 Richard Rey <rexy> 
69
* Tue Apr 05 2016 Richard Rey <rexy> 
68
- Initial version of the package
70
- Initial version of the package
69
 
71