Line 5... |
Line 5... |
5 |
- ipt_netflow kernel module (netflow log system)
|
5 |
- ipt_netflow kernel module (netflow log system)
|
6 |
- wkhtmltopdf (html to pdf renderer)
|
6 |
- wkhtmltopdf (html to pdf renderer)
|
7 |
- nfdump (collector & processor for netflow data)
|
7 |
- nfdump (collector & processor for netflow data)
|
8 |
- havp (http antivirus proxy) used only before ALCASAR V3.5
|
8 |
- havp (http antivirus proxy) used only before ALCASAR V3.5
|
9 |
|
9 |
|
10 |
This howto explains how to build RPM of these programs in order to keep the distribution clean
|
10 |
This howto explains how to build RPM of these programs in order to keep the distribution clean (no binary installed if not packaged)
|
11 |
The compilation options are set in /etc/rpm/macro.d/*
|
11 |
The compilation options are set in /etc/rpm/macro.d/*
|
12 |
The .spec & RPM can be test with the tool "rpmlint"
|
12 |
The .spec & RPM can be test with the tool "rpmlint"
|
13 |
|
13 |
|
14 |
**** Prepare the RPM creation structure ***
|
14 |
**** Prepare the RPM creation structure ***
|
15 |
- update your system : urpmi --auto-update
|
15 |
- update your system : urpmi --auto-update
|
Line 56... |
Line 56... |
56 |
- download the archive of the binaries of the last version (https://wkhtmltopdf.org/downloads.html) in ~/rpmbuild/SOURCES/wkhtmltox-%{version}_linux-generic-amd64.tar.xz.
|
56 |
- download the archive of the binaries of the last version (https://wkhtmltopdf.org/downloads.html) in ~/rpmbuild/SOURCES/wkhtmltox-%{version}_linux-generic-amd64.tar.xz.
|
57 |
- build with: rpmbuild -bb --clean wkhtmltopdf-%{version}-%{release}.spec
|
57 |
- build with: rpmbuild -bb --clean wkhtmltopdf-%{version}-%{release}.spec
|
58 |
|
58 |
|
59 |
**** For nfdump ****
|
59 |
**** For nfdump ****
|
60 |
- Download archive of the last stable version (https://github.com/phaag/nfdump)
|
60 |
- Download archive of the last stable version (https://github.com/phaag/nfdump)
|
61 |
- install lib64rrdtool-devel, bison, flex
|
61 |
- install lib64rrdtool-devel, bison, flex (urpmi lib64rrdtool-devel bison flex)
|
62 |
- Copy & adapt .spec
|
62 |
- Copy & adapt .spec
|
63 |
- rpmbuild -bb ***.spec
|
63 |
- rpmbuild -bb ***.spec
|
64 |
|
64 |
|
65 |
**** For gammu --> only if new version is needed
|
65 |
**** For gammu --> only if new version is needed
|
66 |
- see .spec in SRPMS and adapt it. copy 69-gammu-acl.rules in SOURCES with the tarball
|
66 |
- see .spec in SRPMS and adapt it. copy 69-gammu-acl.rules in SOURCES with the tarball
|