Time for action – building CentOS RPMs
This section takes the recommendations and instructions from the following FreeRADIUS Wiki page to create the latest RPMs on CentOS:
http://wiki.freeradius.org/Red_Hat_FAQ#How_to_build_an_SRPM
You have to be the root user to execute most of these commands. Once that is done, follow these steps:
- Install the
rpm-build
package. This creates the directory structure required for package building:#> yum install rpm-build
- Allow write and execute rights for normal users on this directory structure:
#> find /usr/src/redhat -type d | xargs chmod a+wx
- The latest version of FreeRADIUS will be available for Fedora. We will use this version to build the RPMs on CentOS. Download the source RPM from the following URL:
http://koji.fedoraproject.org/koji/packageinfo?packageID=298
The source RPM package's name ends with
.src.rpm
. - Install this source package. Use the following command as an example. Your source package's name will be different:
#> rpm...