From: Tomek Mrugalski Date: Wed, 13 Jun 2018 16:25:00 +0000 (+0200) Subject: [5628] Radius doc fixes. X-Git-Tag: 136-add-global-host-reservation-examples_base~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ftrac5628;p=thirdparty%2Fkea.git [5628] Radius doc fixes. --- diff --git a/doc/guide/hooks-radius.xml b/doc/guide/hooks-radius.xml index a0c597c790..43df74a832 100644 --- a/doc/guide/hooks-radius.xml +++ b/doc/guide/hooks-radius.xml @@ -93,7 +93,7 @@ $ sudo yum install gcc-g++ openssl-devel log4cplus-devel wget git reported to FreeRadius client project. Acceptance of those changes is outside of ISC responsibilities. Until those are processed, it is strongly recommended to use FreeRadius - client with ISC patches. To and compile this version, please use + client with ISC patches. To download and compile this version, please use the following steps: $ git clone https://github.com/fxdupont/freeradius-client.git @@ -137,8 +137,7 @@ $ sudo ./b2 install Note that b2 script may optionally take extra parameters. One of them specify the destination path where the sources are to - be compiled. Boost is different compared to other software in - the sense that there is no explicit make install step. + be compiled. @@ -154,7 +153,7 @@ $ sudo ./b2 install $ git clone https://github.com/isc-projects/kea # Get a tarball and extract it -$ tar zxvf kea-1.4.0-beta.tar.gz +$ tar zxvf kea-1.4.0.tar.gz The next step is to extract premium Kea package that contains Radius repository @@ -163,7 +162,7 @@ a premium/ subdirectory. $ cd kea - $ tar zxvf ../kea-premium-radius-1.4.0-beta.tar.gz + $ tar zxvf ../kea-premium-radius-1.4.0.tar.gz Once this is done, make sure the kea sources look similar to this: @@ -188,15 +187,13 @@ drwxr-xr-x 10 thomson staff 340 Apr 26 19:04 src drwxr-xr-x 14 thomson staff 476 Apr 26 19:04 tools -The next step is to configure Kea. There are several essential steps necessary here. -The --with-tier2=yes flag is necessary to compile premium package that contains -RADIUS. Also, --with-freeradius option is necessary to tell Kea where the FreeRADIUS +The makefiles have to be regenerated using autoreconf. + +The next step is to configure Kea. The --with-freeradius switch passed +to configure script is necessary to tell Kea where the FreeRADIUS client sources can be found. Also, since the non-standard boost is used, the path to it has to be specified. -If the sources are not from a tarball release, makefiles have to be regenerated -using autoreconf. - $ autoreconf -i $ ./configure --with-freeradius=/path/to/freeradius --with-boost-include=/path/to/boost --with-boost-lib-dir=/path/to/boost/state/lib @@ -210,8 +207,7 @@ should look as follows: ./configure --with-freeradius=/usr/local \ --with-boost-include=/home/thomson/devel/boost_1_65_1 \ - --with-boost-lib-dir=/home/thomson/devel/boost_1_65_1/stage/lib \ - --with-tier2=yes + --with-boost-lib-dir=/home/thomson/devel/boost_1_65_1/stage/lib