-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
-----Original Message-----
How do i have to modify freeradius.spec file to build it successfully?
Has anyone (besides Alberto Cruz) also managed to build RPM on RHEL 4?
Thanky for any info, Tadej Bregar
Hi Yes, I've successfully built on RHEL4 ES (I'm using FR 1.1.1, though 1.1.2 shouldn't be different, I think). A diff of my spec file against the standard one in the tarball is shown below: $ diff -u /usr/src/redhat/SPECS/freeradius.spec freeradius.spec.orig - --- /usr/src/redhat/SPECS/freeradius.spec 2006-04-09 18:26:53.000000000 +1000 +++ freeradius.spec.orig 2006-02-13 02:54:56.000000000 +1100 @@ -23,8 +23,6 @@ %prep %setup - -sed -i "s@doc/freeradius@doc/freeradius-%{version}@" doc/Makefile doc/examples/Makefile doc/rfc/Makefile - - %build CFLAGS="$RPM_OPT_FLAGS" \ %configure --prefix=%{_prefix} \ @@ -101,14 +99,7 @@ %files %defattr(-,root,root) - -%doc doc/Acct-Type doc/Autz-Type doc/CYGWIN doc/ChangeLog doc/DIFFS doc/MACOSX - -%doc doc/OS2 doc/Post-Auth-Type doc/RADIUS-LDAP-eDirectory doc/RADIUS-SQL.schema - -%doc doc/README doc/Session-Type doc/Simultaneous-Use doc/aaa.txt doc/ascend - -%doc doc/bay doc/bugs doc/cisco doc/coding-methods.txt doc/configurable_failover - -%doc doc/duplicate-users doc/ldap_howto.txt doc/load-balance.txt doc/misc-nas - -%doc doc/module_interface doc/mssql doc/performance-testing doc/processing_users_file - -%doc doc/proxy doc/radrelay doc/release-method.txt doc/rfc/ doc/rlm* doc/supervise-radiusd.txt - -%doc doc/tuning_guide doc/variables.txt todo/ COPYRIGHT INSTALL +%doc doc/ChangeLog doc/README* todo/ COPYRIGHT INSTALL %config /etc/pam.d/radius %config /etc/logrotate.d/radiusd %config /etc/rc.d/init.d/radiusd Regards -----BEGIN PGP SIGNATURE----- Note: This signature can be verified at https://www.hushtools.com/verify Version: Hush 2.5 wkYEARECAAYFAkSbXB8ACgkQmw4BJyaatJ2b8gCfaXuYxjruzPqHjXh8e6x5swy8sCsA oIDGkhRlJOc/VPBSLGei1pSaIxE5 =idM8 -----END PGP SIGNATURE-----