From bc403e7f45e04f825b6bdab96aabfd69abac4e5c Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Wed, 21 Dec 2016 19:57:41 +1000 Subject: [PATCH] * docs/install.md --- docs/install.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs/install.md b/docs/install.md index e300fc9..a60c434 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,14 +1,24 @@ Build process is quite simple: - cmake . + cmake . make + make test + +Then, if everything builds fine, you may install files in proper places. + + sudo make install + +NOTE: This is old good "slackware-way" of installing programs. +You may want use [checkinstall](http://checkinstall.izto.org) or something like this. Actual list of configurable options for first line can be found at top of `CMakeLists.txt`. It looks like this: option(SYMBOL "Option description" DEFAULT_VALUE) -Option can be redefined with `-DSYMBOL=ON` or `-DSYMBOL=OFF` on cmake command line. +Option can be (re)defined with `-DSYMBOL=ON` or `-DSYMBOL=OFF` on cmake command line: + + cmake -D CMAKE_BUILD_TYPE=Release -DWIITH_HARDENING=ON . Other noticeable options are: @@ -26,6 +36,7 @@ Default install layout is: /usr/sbin <- root binaries /usr/lib <- loadable modules /usr/share/f2b <- patterns collection + /var/lib/f2b <- files with saved states of jails After install you need additional steps before configuring f2b.