forked from pool/freeradius-server
specfile cleanup
OBS-URL: https://build.opensuse.org/package/show/network/freeradius-server?expand=0&rev=19
This commit is contained in:
parent
b2bbbc554b
commit
6016e85067
@ -137,7 +137,7 @@ Authors:
|
||||
|
||||
%package utils
|
||||
License: GPLv2 ; LGPLv2.1
|
||||
Group: Productivity/Networking/Radius/Servers
|
||||
Group: Productivity/Networking/Radius/Clients
|
||||
Summary: FreeRADIUS Clients
|
||||
Requires: %{name}-libs = %{version}
|
||||
|
||||
@ -246,7 +246,8 @@ export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
%endif
|
||||
export LDFLAGS="-pie"
|
||||
%configure \
|
||||
--disable-static --with-pic\
|
||||
--disable-static \
|
||||
--with-pic \
|
||||
--libdir=%{_libdir}/freeradius \
|
||||
--disable-ltdl-install \
|
||||
--enable-strict-dependencies \
|
||||
@ -331,7 +332,7 @@ chgrp radiusd /etc/raddb/certs/*
|
||||
|
||||
%postun
|
||||
%restart_on_update freeradius
|
||||
%insserv_cleanup
|
||||
%{insserv_cleanup}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -383,7 +384,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_sysconfdir}/raddb/sql/ndb/README
|
||||
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.conf
|
||||
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/sql/*/*.sql
|
||||
%{_sysconfdir}/raddb/sql/*/*.txt
|
||||
%{_sysconfdir}/raddb/sql/oracle/msqlippool.txt
|
||||
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/users
|
||||
%attr(640,root,radiusd) %config(noreplace) %{_sysconfdir}/raddb/experimental.conf
|
||||
%dir %attr(750,root,radiusd) %{_sysconfdir}/raddb/certs
|
||||
@ -404,7 +405,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%attr(700,radiusd,radiusd) %dir %{_localstatedir}/run/radiusd/
|
||||
# binaries
|
||||
%defattr(-,root,root)
|
||||
# %{_sbindir}/check-radiusd-config
|
||||
%{_sbindir}/checkrad
|
||||
%{_sbindir}/radiusd
|
||||
%{_sbindir}/radmin
|
||||
@ -432,13 +432,14 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root)
|
||||
# RADIUS shared libs
|
||||
%attr(755,root,root) %dir %{_libdir}/freeradius
|
||||
%attr(755,root,root) %{_libdir}/freeradius/lib*.so*
|
||||
%if %{_oracle_support} == 1
|
||||
|
||||
%files oracle
|
||||
%defattr(-,root,root)
|
||||
%defattr(-,radiusd,radiusd)
|
||||
%attr(755,root,root) %dir %{_libdir}/freeradius
|
||||
%attr(755,root,root) %{_libdir}/freeradius/rlm_sql_oracle*.so*
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user