install default sssd.conf file
This commit is contained in:
parent
d8497e84c1
commit
9a06dbaf41
10
sssd.spec
10
sssd.spec
@ -1,6 +1,6 @@
|
|||||||
Name: sssd
|
Name: sssd
|
||||||
Version: 2.2.3
|
Version: 2.2.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: System Security Services Daemon
|
Summary: System Security Services Daemon
|
||||||
License: GPLv3+ and LGPLv3+
|
License: GPLv3+ and LGPLv3+
|
||||||
URL: https://pagure.io/SSSD/sssd/
|
URL: https://pagure.io/SSSD/sssd/
|
||||||
@ -215,6 +215,9 @@ sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
|
|||||||
%make_install
|
%make_install
|
||||||
/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sssd
|
/usr/lib/rpm/find-lang.sh $RPM_BUILD_ROOT sssd
|
||||||
|
|
||||||
|
# install default sssd.conf file
|
||||||
|
install -m600 src/examples/sssd-example.conf $RPM_BUILD_ROOT%{_sysconfdir}/sssd/sssd.conf
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/logrotate.d
|
||||||
install -m644 src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd
|
install -m644 src/examples/logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/sssd
|
||||||
|
|
||||||
@ -379,7 +382,7 @@ done
|
|||||||
%attr(700,root,root) %dir %{_sysconfdir}/sssd
|
%attr(700,root,root) %dir %{_sysconfdir}/sssd
|
||||||
%attr(711,root,root) %dir %{_sysconfdir}/sssd/conf.d
|
%attr(711,root,root) %dir %{_sysconfdir}/sssd/conf.d
|
||||||
%attr(711,root,root) %dir %{_sysconfdir}/sssd/pki
|
%attr(711,root,root) %dir %{_sysconfdir}/sssd/pki
|
||||||
%ghost %attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf
|
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/sssd/sssd.conf
|
||||||
%dir %{_sysconfdir}/logrotate.d
|
%dir %{_sysconfdir}/logrotate.d
|
||||||
%config(noreplace) %{_sysconfdir}/logrotate.d/sssd
|
%config(noreplace) %{_sysconfdir}/logrotate.d/sssd
|
||||||
%config(noreplace) /etc/ld.so.conf.d/*
|
%config(noreplace) /etc/ld.so.conf.d/*
|
||||||
@ -576,6 +579,9 @@ fi
|
|||||||
%{_libdir}/%{name}/modules/libwbclient.so
|
%{_libdir}/%{name}/modules/libwbclient.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 19 2020 Liquor <lirui130@huawei.com> - 2.2.3-3
|
||||||
|
- install default sssd.conf file
|
||||||
|
|
||||||
* Sat Aug 1 2020 Liquor <lirui130@huawei.com> - 2.2.3-2
|
* Sat Aug 1 2020 Liquor <lirui130@huawei.com> - 2.2.3-2
|
||||||
- Fix build failure against samba 4.12.5
|
- Fix build failure against samba 4.12.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user