//rpms/ipt-netflow-2.6.spec |
---|
1,4 → 1,4 |
%define kversion 5.15.74-server-1.mga8 |
%define kversion 5.15.82-server-1.mga8 |
%define debug_package %{nil} |
Name: ipt-netflow |
Version: 2.6 |
19,7 → 19,7 |
%setup -q -n ipt-netflow-%{version} |
%build |
./configure --disable-dkms --disable-snmp-agent |
./configure --kdir=/usr/src/kernel-5.15.82-server-1.mga8 --disable-dkms --disable-snmp-agent |
%make_build |
%install |
44,9 → 44,9 |
/lib/modules/%kversion/extra/ipt_NETFLOW.ko |
%changelog |
* Thu Nov 06 2022 Richard REY <Rexy> |
- Version 2.6 for the kernel 5.15.74 (ALCASAR 3.6.0) |
* Tue Jul 08 2021 Richard REY <Rexy> |
* Fri Dec 30 2022 Richard REY <Rexy> |
- Version 2.6 for the kernel 5.15.86 (ALCASAR 3.6.0) |
* Thu Jul 08 2021 Richard REY <Rexy> |
- Version 2.6 for the kernel 5.10.46 (ALCASAR 3.5.4) |
* Wed Feb 24 2021 Richard REY <Rexy> |
- Version 2.5.1-2 for the kernel 5.10.30 (ALCASAR 3.5.3) |
//rpms/rpm-build-howto |
---|
47,7 → 47,7 |
- download, uncompress and test the compilation of the last version of ipt-netflow (./configure --disable-dkms --disable-snmp-agent, make all install). The module is compiled in the same directory. The libs are copied in the /lib64/iptables (libip6t_NETFLOW.so & libipt_NETFLOW.so) |
- test the module : go to the directory of sources and try to load it (insmod ./ipt_NETFLOW.ko), look at "journalctrl -f" to verify. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok. |
- if all is ok, copy the tarball in rpmbuild/SOURCES. |
- Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel and rpm). |
- Copy and adapt the .spec in rpmbuild/SPECS (change the versions of kernel, kernel source and rpm). |
- Run "rpmbuild -bb ****.spec" |
- install the fresh rpm (urpmi) and load ALCASAR iptables rules (alcasar-iptables.sh). Great job ;-) |
//rpms/x86_64/ipt-netflow-2.6-0.mga8.x86_64.rpm |
---|
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |