Subversion Repositories ALCASAR

Rev

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

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