Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
specify file attributes for /etc/raddb/ldap.attrmap fix consistent use of tabs/spaces (rpmlint warning)
This commit is contained in:
parent
8b5c4b5e6c
commit
c71c5f8476
@ -4,7 +4,7 @@
|
||||
Summary: High-performance and highly configurable free RADIUS server
|
||||
Name: freeradius
|
||||
Version: 2.0.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Daemons
|
||||
URL: http://www.freeradius.org/
|
||||
@ -199,10 +199,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC"
|
||||
export CFLAGS="$RPM_OPT_FLAGS -fpic"
|
||||
%endif
|
||||
|
||||
# bad fix for libtool: clear buildroot early, set LDFLAGS to buildroot libdir
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
export LDFLAGS="-L${RPM_BUILD_ROOT}%{_libdir}"
|
||||
|
||||
%configure \
|
||||
--libdir=%{_libdir}/freeradius \
|
||||
--with-gnu-ld \
|
||||
@ -286,7 +282,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%post
|
||||
/bin/chown -R radiusd.radiusd %{_sysconfdir}/raddb
|
||||
/sbin/ldconfig
|
||||
if [ $1 = 1 ]; then
|
||||
/sbin/chkconfig --add radiusd
|
||||
@ -569,7 +564,7 @@ fi
|
||||
|
||||
%files ldap
|
||||
%defattr(-,root,root)
|
||||
%config(noreplace) /etc/raddb/ldap.attrmap
|
||||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/ldap.attrmap
|
||||
%{_libdir}/freeradius/rlm_ldap.so
|
||||
%{_libdir}/freeradius/rlm_ldap-%{version}.so
|
||||
|
||||
@ -579,6 +574,11 @@ fi
|
||||
%{_libdir}/freeradius/rlm_sql_unixodbc-%{version}.so
|
||||
|
||||
%changelog
|
||||
* Wed Jul 30 2008 John Dennis <jdennis@redhat.com> - 2.0.5-2
|
||||
- Resolves: bug #453761: FreeRADIUS %%post should not include chown -R
|
||||
specify file attributes for /etc/raddb/ldap.attrmap
|
||||
fix consistent use of tabs/spaces (rpmlint warning)
|
||||
|
||||
* Mon Jun 9 2008 John Dennis <jdennis@redhat.com> - 2.0.5-1
|
||||
- upgrade to latest upstream, see Changelog for details,
|
||||
upstream now has more complete fix for bug #447545, local patch removed
|
||||
|
Loading…
Reference in New Issue
Block a user