Suse rpm in 2.1.4

Norbert Wegener norbert.wegener at siemens.com
Wed Mar 11 13:44:20 CET 2009


autoreconf on suse  does not seem to work and I commented it out in the 
specfile.
otp.conf does not seem to exist any longer,
/usr/sbin/raddebug must be applied.

With these little modifications of the suse specfile 2.1.4 builds on 
suse 10.3.

bugs.freeradius.org still seems to be unavailable, therefore I post the 
patch here.

 # diff -Nru freeradius.spec-org freeradius.spec
--- freeradius.spec-org    2009-03-11 13:29:53.000000000 +0100
+++ freeradius.spec    2009-03-11 13:30:02.000000000 +0100
@@ -179,7 +179,7 @@
 %build
 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -DLDAP_DEPRECATED 
-fPIC -DPIC"
 #export CFLAGS="$CFLAGS -std=c99 -pedantic"
-autoreconf
+#autoreconf
 
 %configure \
         --libdir=%{_libdir}/freeradius \
@@ -332,7 +332,7 @@
 %attr(640,-,radiusd) %config(noreplace) 
/etc/raddb/sql/oracle/msqlippool.txt
 %attr(640,-,radiusd) %config(noreplace) /etc/raddb/users
 %attr(640,-,radiusd) %config(noreplace) /etc/raddb/experimental.conf
-%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
+#%attr(640,-,radiusd) %config(noreplace) /etc/raddb/otp.conf
 %dir %attr(750,-,radiusd) /etc/raddb/certs
 /etc/raddb/certs/Makefile
 /etc/raddb/certs/README
@@ -355,6 +355,7 @@
 /usr/sbin/radrelay
 /usr/sbin/radwatch
 /usr/sbin/radmin
+/usr/sbin/raddebug
 # man-pages
 %doc %{_mandir}/man1/*
 %doc %{_mandir}/man5/*

Norbert Wegener




More information about the Freeradius-Users mailing list