# nice-lad ## Building requirements * CMake >= 2.8.3 * Boost >= 1.57 * Audit >= 2.4.3 * gmock >= 1.7.0 -- required for tests only * gcc >= 4.8.3 or clang >= 3.4 ## The project was tested using following compilers (Linux distributions) * gcc 5.1.1 (Fedora 22) * clang 3.5.0 (Fedora 22) * gcc 4.9 (Tizen) * gcc 4.8.4 (Ubuntu 14.04) * clang 3.4 (Ubuntu 14.04) ## Building Following commands should be performed in the source directory. ```sh mkdir build cd build # With tests cmake .. [ -DGMOCK_ROOT=/path/to/gmock/root/directory ] [ -DCMAKE_BUILD_TYPE= ] # Without tests cmake .. -DWITH_TESTS=OFF [ -DCMAKE_BUILD_TYPE= ] make ``` ### Build modes Possible build modes are: RELEASE, DEBUG, CCOV (enables code coverage) and PROFILING (enables code profiling). ## Installing ```sh make install ``` To change installing location (add prefix) use CMAKE_INSTALL_PREFIX flag to cmake. ## Files The package consists of following files (note, the exact paths are system-dependent): * /etc/audisp/plugins.d/nice_lad.conf * /usr/sbin/nice-lad * /usr/share/man/man8/nice-lad.8.gz * /usr/share/man/man8/nice_lad.conf.8.gz