automatic update by autodist [release 3.0.3-1mamba;Mon Jun 23 2014]

This commit is contained in:
Automatic Build System 2024-01-05 22:33:14 +01:00
parent aa6c8f441f
commit 390f40ef0f

View File

@ -4,7 +4,7 @@
%define libname libfreeradius
Name: freeradius-server
Version: 2.2.1
Version: 3.0.3
Release: 1mamba
Summary: A high performance and highly configurable GPL'd free RADIUS server
Group: System/Servers
@ -116,7 +116,7 @@ The FreeRADIUS server can use unixODBC to authenticate users and do accounting,
%setup -q
#%patch0 -p1 -b .libgdbm
#%patch1 -p1 -b .samba3
%patch2 -p1
#%patch2 -p1
find -type f -name "configure*" | xargs perl -pi -e "s|/lib\b|/%{_lib}|g"
@ -168,9 +168,9 @@ install -D redhat/freeradius-radiusd-init \
install -D -m0644 redhat/freeradius-logrotate \
%{buildroot}%{_sysconfdir}/logrotate.d/freeradius
# fix the naming of the sql.conf file
mv %{buildroot}%{_sysconfdir}/raddb/sql.conf \
%{buildroot}%{_sysconfdir}/raddb/mysql.conf
## fix the naming of the sql.conf file
#mv %{buildroot}%{_sysconfdir}/raddb/sql.conf \
# %{buildroot}%{_sysconfdir}/raddb/mysql.conf
# install header files
install -d %{buildroot}%{_includedir}/%{name}
@ -261,34 +261,45 @@ exit 0
%config(noreplace) %{_sysconfdir}/pam.d/radiusd
%dir %{_sysconfdir}/raddb
%config(noreplace) %attr(-,root,root) %{_sysconfdir}/raddb/certs/*
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/acct_users
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/attrs*
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/clients
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/acct_users
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/attrs*
##%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/clients
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/clients.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/dictionary
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/eap.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/example.pl
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/eap.conf
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/example.pl
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/experimental.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/hints
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/huntgroups
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/modules
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/naspasswd
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/postgresql.conf
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/policy.conf
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/policy.txt
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/modules
##%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/naspasswd
##%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/postgresql.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/policy.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/policy.txt
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/proxy.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/radiusd.conf
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/realms
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sites-available
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sites-enabled
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sql
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sqlippool.conf
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sql
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/sqlippool.conf
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/templates.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/snmp.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/x99.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/x99passwd.sample
%config(noreplace) %attr(0640,root,radiusd) %{_sysconfdir}/raddb/preproxy_users
#%config(noreplace) %attr(0640,root,radiusd) %{_sysconfdir}/raddb/preproxy_users
%config(noreplace) %attr(0640,root,radiusd) %{_sysconfdir}/raddb/users
%{_sysconfdir}/raddb/panic.gdb
%config(noreplace) %attr(0640,root,radiusd) %{_sysconfdir}/raddb/trigger.conf
%{_sysconfdir}/raddb/README.rst
%dir %{_sysconfdir}/raddb/mods-available
%{_sysconfdir}/raddb/mods-available/*
%dir %{_sysconfdir}/raddb/mods-config
%config(noreplace) %{_sysconfdir}/raddb/mods-config/*
%dir %{_sysconfdir}/raddb/mods-enabled
%config(noreplace) %{_sysconfdir}/raddb/mods-enabled/*
%dir %{_sysconfdir}/raddb/policy.d
%{_sysconfdir}/raddb/policy.d/*
%{_sysconfdir}/openldap/schema/radius.schema
%attr(0755,root,root) %{_initrddir}/radiusd
%{_bindir}/*
@ -314,12 +325,18 @@ exit 0
#%{_libdir}/%{name}/libradius*.so
#%{_libdir}/%{name}/libeap*.la
#%{_libdir}/%{name}/libeap*.so
%{_libdir}/%{name}/proto_dhcp.la
%{_libdir}/%{name}/proto_dhcp.so
%{_libdir}/%{name}/proto_vmps.la
%{_libdir}/%{name}/proto_vmps.so
%{_libdir}/%{name}/rlm_*.la
%{_libdir}/%{name}/rlm_*.so
%{_libdir}/%{name}/libfreeradius-eap*.la
%{_libdir}/%{name}/libfreeradius-eap*.so
%{_libdir}/%{name}/libfreeradius-radius*.la
%{_libdir}/%{name}/libfreeradius-radius*.so
%{_libdir}/%{name}/libfreeradius-server*.la
%{_libdir}/%{name}/libfreeradius-server*.so
%exclude %{_libdir}/%{name}/rlm_sql_mysql*
%exclude %{_libdir}/%{name}/rlm_sql_postgresql*
%exclude %{_libdir}/%{name}/rlm_sql_unixodbc*
@ -337,7 +354,7 @@ exit 0
%files -n %{libname}-ldap
%defattr(-,root,root)
%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/ldap.attrmap
#%config(noreplace) %attr(0644,root,root) %{_sysconfdir}/raddb/ldap.attrmap
%{_libdir}/%{name}/rlm_ldap*.so*
%{_libdir}/%{name}/rlm_ldap*.la
@ -349,7 +366,7 @@ exit 0
%files -n %{libname}-mysql
%defattr(-,root,root)
%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/mysql.conf
#%config(noreplace) %attr(0640,root,root) %{_sysconfdir}/raddb/mysql.conf
%{_libdir}/%{name}/rlm_sql_mysql*.so*
%{_libdir}/%{name}/rlm_sql_mysql*.la
@ -359,6 +376,9 @@ exit 0
%{_libdir}/%{name}/rlm_sql_unixodbc*.la
%changelog
* Mon Jun 23 2014 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic update by autodist
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic update by autodist