Using m4 to build aide.conf files
Creating the /etc/aide.conf file can be very time consuming process. In order to simplify this process (if for no one but me), I've created an set of m4 macros that can be used to build the /etc/aide.conf file.
The m4 macros attempt to be directory independent where they are installed. The only m4 macro file that needs to include the full path to any other file is the host dependent file called aide.m4. It needs to point to the full path to the init.m4 file. All other files are relative locations to this file.
There is one host dependent file called aide.m4 that is source to the m4 macros, and a collection of OS dependent and Application dependent macros that AIDE:data/cf/aide.m4 calls to generate the host dependent /etc/aide.conf file. Here is a simple example of a aide.m4 file:
Page name |
Piped link |
Interwiki link |