-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge all french translation and update instructions on how to build …
…doc for different languages
- Loading branch information
Showing
93 changed files
with
1,368 additions
and
1,363 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ Compilation | |
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
linux/index.rst | ||
windows/index.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
Armadito ClamAV module | ||
====================== | ||
|
||
**Armadito ClamAV** module correspond à l'intégration de libclamav bibliothèque dans Armadito-av. | ||
|
||
Les sources sont publiquement disponibles sur github.com, vous pouvez l'obtenir avec la commande suivante : | ||
|
||
:: | ||
|
||
$ git clone https://github.com/armadito/armadito-mod-clamav.git -b DEV | ||
|
||
Les prérequis | ||
------------- | ||
|
||
Pour compiler le module Armadito ClamAV, vous avez besoin des outils suivants: | ||
|
||
- automake/autoconf | ||
- GNU make | ||
- C compiler | ||
- libclamav library and headers | ||
|
||
.. warning:: Assurez-vous d'avoir **Armadito core** bibliothèque avant d'essayer de construire ce module. | ||
|
||
- Ubuntu: | ||
|
||
:: | ||
|
||
apt-get install libclamav-dev | ||
|
||
Configuration | ||
------------- | ||
|
||
|
||
Pour initialiser la construction en utilisant automake, autoconf et tools, un script shell | ||
**autogen.sh** est prévu pour faciliter cette étape: | ||
|
||
:: | ||
|
||
$ ./autogen.sh | ||
+ aclocal --force | ||
+ libtoolize --force --automake --copy | ||
+ automake --foreign --add-missing --force-missing --copy | ||
+ autoconf --force | ||
|
||
Cela **Makefile.in** fichiers et les scripts de **configuration**. | ||
|
||
**configure** script prend les options utiles suivantes: | ||
|
||
--prefix=PREFIX installe l'architecture-independent de PREFIX | ||
[/usr/local] | ||
--enable-debug enable debugging [default is yes] | ||
|
||
Le répertoire ** PREFIX ** sera utilisé par ** make install **. Son utilisation est obligatoire, sauf si | ||
la construction d'un paquet et l'installation dans les répertoires système. | ||
libarmadito utilise le **pkg-config** pour spécifier les options de compilation relatives à | ||
libarmadito. Depuis **libarmadito.pc** fichier de spécification pour **pkg-config** n'est pas situé | ||
dans le repertoire standard (habituel **/usr/lib/pkgconfig**), appel du script configure | ||
doit utiliser le **PKG_CONFIG_PATH** environnement variable. | ||
|
||
Bâtir dans un répertoire distinct est fortement recommandé, sauf si vous voulez vraiment | ||
à clobber le sourcetree avec des objets, des bibliothèques, des binaires et d'autres choses. | ||
|
||
:: | ||
|
||
$ mkdir /home/joebar/build/modules/clamav | ||
|
||
L'appel typique du script de configuration est: | ||
|
||
:: | ||
|
||
$ /home/joebar/armadito-av/modules/clamav/configure --prefix=/home/joebar/install --enable-debug PKG_CONFIG_PATH=/home/joebar/install/lib/pkgconfig | ||
|
||
Notez que le chemin spécifié dans la valeur de**PKG_CONFIG_PATH** doit être cohérent | ||
avec le **PREFIX** utilisé dans l'installation libarmadito (voir **Armadito core** section de construction linux). | ||
|
||
|
||
Bâtiment | ||
-------- | ||
|
||
Une fois configuré, la construction est facile: | ||
|
||
:: | ||
|
||
$ make | ||
|
||
|
||
Installation | ||
---------- | ||
|
||
Après la construction, l'installation se fait par: | ||
|
||
:: | ||
|
||
$ make install | ||
|
||
Cela installera les bibliothèques, les outils, les fichiers d'en-tête ... dans les sous-répertoires de la **PREFIX** | ||
défini au moment de la configuration. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
Armadito core | ||
============= | ||
|
||
**Armadito core** correspond à la librairie libarmadito. Les symboles exportés depuis cette bibliothèque permettent à toutes les bibliothèques de modules d'utiliser les mêmes API. | ||
|
||
Les sources sont accessibles au public sur github.com, vous pouvez l'obtenir avec la commande suivante: | ||
|
||
:: | ||
|
||
$ git clone https://github.com/armadito/armadito-av.git -b DEV | ||
|
||
Les prérequis | ||
------------- | ||
|
||
Pour construire libarmadito, vous avez besoin des outils suivants: | ||
|
||
- automake / autoconf | ||
- Fabrication GNU | ||
- Compilateur C | ||
- glib, libmagic, libxml2, libmicrohttpd, bibliothèques libcurl et en-têtes | ||
|
||
Pour installer les en-têtes nécessaires: | ||
|
||
- Ubuntu: | ||
|
||
:: | ||
|
||
apt-get install automake autoconf libtool libglib2.0-dev libmagic-dev libxml2-dev libjson-c-dev libmicrohttpd-dev libcurl4-openssl-dev | ||
|
||
- Fedora: | ||
|
||
:: | ||
|
||
dnf install automake autoconf libtool glib2-devel file-devel libxml2-devel json-c-devel libmicrohttpd-devel libcurl-devel | ||
|
||
|
||
Configuration | ||
------------- | ||
|
||
Une fois git repo cloné, vous devez initialiser la construction en utilisant automake, autoconf et des outils. | ||
Un script shell **autogen.sh** est prévu pour faciliter cette étape : | ||
|
||
:: | ||
|
||
$ ./autogen.sh | ||
+ aclocal --force | ||
+ libtoolize --force --automake --copy | ||
+ autoheader --force | ||
+ automake --foreign --add-missing --force-missing --copy | ||
+ autoconf --force | ||
|
||
Cela **Makefile.in** fichiers et les **configure** script. | ||
|
||
**configure** script prend les options utiles suivantes: | ||
|
||
--prefix=PREFIX install architecture-independent files in PREFIX [default is /usr/local] | ||
--enable-debug enable debugging [default is yes] | ||
|
||
Le répertoire ** PREFIX ** sera utilisé par ** make install **. Son utilisation est obligatoire, sauf si | ||
La construction d'un paquetage et l'installation dans les répertoires système, | ||
Les modules de balayage et l'interface utilisateur graphique aura besoin d'un libarmadito correctement | ||
Installé. | ||
Bâtir dans un répertoire distinct est fortement recommandé, sauf si vous voulez vraiment | ||
Pour gifler l'arbre source avec des objets, des bibliothèques, des binaires et d'autres choses. | ||
|
||
:: | ||
|
||
$ mkdir /home/joebar/build/libarmadito | ||
|
||
L'appel typique du script de configuration est: | ||
|
||
:: | ||
|
||
$ /home/joebar/armadito-av/libarmadito/configure --prefix=/home/joebar/install --enable-debug | ||
|
||
|
||
Construction | ||
------------ | ||
|
||
Une fois configuré, la construction est facile: | ||
|
||
:: | ||
|
||
$ make | ||
|
||
Installation | ||
------------ | ||
|
||
Après la construction, l'installation se fait par: | ||
|
||
:: | ||
|
||
$ make install | ||
|
||
Cela installera les bibliothèques, les outils, les fichiers d'en-tête ... dans les sous-répertoires du ** PREFIX ** | ||
Répertoire défini au moment de la configuration. | ||
|
||
.. toctree:: |
Oops, something went wrong.