mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
Properly own (via ghost) the Apache configuration files.
This commit is contained in:
parent
30f9f77727
commit
38a27b1c2f
@ -242,8 +242,11 @@ ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \
|
||||
%{buildroot}%{_usr}/share/ipa/html/unauthorized.html
|
||||
|
||||
# So we can own our Apache configuration
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/ipa/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/
|
||||
/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa.conf
|
||||
/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/ipa/ipa-rewrite.conf
|
||||
/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ipa.conf
|
||||
/bin/touch $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -349,7 +352,8 @@ fi
|
||||
%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html
|
||||
%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html
|
||||
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ipa.conf
|
||||
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/ipa/ipa-rewrite.conf
|
||||
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa-rewrite.conf
|
||||
%ghost %attr(0644,root,apache) %config(noreplace) %{_sysconfdir}/httpd/conf.d/ipa.conf
|
||||
%{_usr}/share/ipa/ipa.conf
|
||||
%{_usr}/share/ipa/ipa-rewrite.conf
|
||||
#%dir %{_usr}/share/ipa/ipaserver
|
||||
|
Loading…
Reference in New Issue
Block a user