8,7 → 8,7 |
This howto explains how to build RPM of these programs in order to keep the distribution clean |
|
**** Prepare the RPM creation structure *** |
- install the "rpm-build", "gengetopt", "libtool" packages |
- install the "kernel-userspace-headers", "rpm-build", "gengetopt", "libtool" packages |
- create directories structure in your user home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp} |
- find the ".rpmmacros" file on mageia wiki (https://wiki.mageia.org/en/Packagers_RPM_tutorial) and copy it in your home directory |
|
28,4 → 28,9 |
**** HAVP **** |
- récupérer le tarball de la dernière version d'HAVP. Le décompresser dans un répertoire et tester la compilation traditionnelle (./configure + make) |
- copier ce tarball dans ~/rpmbuild/SOURCES/ |
- adaptation du fichier .spec (version, packager, commentaires, etc.) |
- adaptation du fichier .spec (version, packager, commentaires, etc.) |
|
**** ipt_netflow **** |
- install the RPMs "kernel-server-devel-x.y", "lib64iptables-devel (libiptables)" |
- retrieve, decompress and test the conpilation of the last version (configure, make all install) |
- test to load the module (modprobe ipt_NETFLOW) |