Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 2928 → Rev 2940

/rpms/ipt-netflow-2.5.1.spec
1,4 → 1,4
%define kversion 5.10.14-server-1.mga7
%define kversion 5.10.27-server-1.mga7
%define debug_package %{nil}
Name: ipt-netflow
Version: 2.5.1
45,7 → 45,7
 
%changelog
* Wed Feb 24 2021 Richard REY <Rexy>
- Version 2.5.1-2 for the kernel 5.10.14 (ALCASAR 3.5.3)
- Version 2.5.1-2 for the kernel 5.10.27 (ALCASAR 3.5.3)
* Sat Oct 17 2020 Richard REY <Rexy>
- Version 2.5.1-1 for the kernel 5.7.19 (ALCASAR 3.5.1)
* Fri May 22 2020 Richard REY <Rexy>
/rpms/rpm-build-howto
43,7 → 43,7
- Must be complied on a system which runs the target kernel. So install manually the targeted kernel and reboot (ipt_NETFLOW will not load during this reboot)
- install the RPMs "kernel-server-devel" (choose the targeted kernel), "lib64iptables-devel (or libiptables-devel in 32b arch)"
- 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 (modprobe ipt_NETFLOW), look at "journalctrl -f" and run "lsmod|grep NETFLOW" to verify if it's loaded. Run "alcasar-iptables.sh" to reload netfilter rules (no errors should appear). Run "alcasar-daemon.sh" to verify that all is ok.
- test the module : go to the directory of sources and try to load it (modprobe ipt_NETFLOW), 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).
- Run "rpmbuild -bb ****.spec"
/rpms/x86_64/ipt-netflow-2.5.1-2.mga7.x86_64.rpm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream