building freeradius 1.1.0 suse rpm

Markus Krause krause at
Thu Jan 12 21:52:56 CET 2006

hi all!

first: sorry for not testing the build of suse rpms before the release date ..

building freeradius 1.1.0 rpms under suse enterprise server 9 i encountered the
follwing problems:

1) freeradius.spec mentions some config files that are (or at least seem for me
to be) not present:
commenting them out in freeradius.spec solves the problem

on the other hand three files are missing:

adding the following lines (seems to) fix the problem:
   %attr(640,-,radiusd) %config(noreplace) /etc/raddb/
   %attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
   %attr(640,-,radiusd) %config(noreplace) /etc/raddb/otppasswd.sample

2) the next question may be quite stupid so please be patient but i a do not
have much "insider knowledge":
are all these packages listed in "BuildRequires" in freeradius.spec really
nedded?? at least i deleteted "postgresql" (i do not want/need mysql and
postgresql server installed on the same machine), "perl-devel" (there is not
such package available for suse). i am also wondering why e.g. packages like
python and ncurses/ncurses-devel are needed for building. don't get me wrong, i
just want to keep the system with as few packages as possible. and the packages
libzio and libnscd are also not available in the suse distribution, only via

3) i am not sure what is responsible for this: during the bild (rpmbuild -bb
freeradius.spec) i got an error that the file
"/usr/lib/mysql/" is missing. a link (ln -s) to the existing
file "/usr/lib/" solves this problem.

after these fixes the building of the rpms runs without problem (at least at the
end i got a freeradius-1.1.0-1.suse.i586.rpm which can be installed and runs
without problems.

sorry again for not testing this before the release date :-(


Markus Krause                           email: krause at
Computing Center                        Tel.: 089 - 89 40 85 99
Group Lottspeich / Proteomics           Fax.: 089 - 89 40 85 98

     This message was sent using
If you encounter any problems please report to rz-linux at

More information about the Freeradius-Devel mailing list