diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-01-30 09:58:15 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-01-30 09:58:15 -0500 |
commit | d73dd8b427449be8fe40f394542591aeea15cc8e (patch) | |
tree | 53e5fa771eec9fac11a8f88db5582da0d6fafffa /ipa-server/ipa-server.spec.in | |
parent | aad14c5d5472045bced425c94a4a61653e7fd047 (diff) | |
download | freeipa-d73dd8b427449be8fe40f394542591aeea15cc8e.tar.gz freeipa-d73dd8b427449be8fe40f394542591aeea15cc8e.tar.xz freeipa-d73dd8b427449be8fe40f394542591aeea15cc8e.zip |
Put user-modifiable files into /etc/ipa/html so they can be marked as
config(noreplace).
Resolves 430004
Diffstat (limited to 'ipa-server/ipa-server.spec.in')
-rw-r--r-- | ipa-server/ipa-server.spec.in | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/ipa-server/ipa-server.spec.in b/ipa-server/ipa-server.spec.in index d77e98a1..7c117557 100644 --- a/ipa-server/ipa-server.spec.in +++ b/ipa-server/ipa-server.spec.in @@ -1,6 +1,6 @@ Name: ipa-server Version: VERSION -Release: 4%{?dist} +Release: 5%{?dist} Summary: IPA authentication server Group: System Environment/Base @@ -67,6 +67,16 @@ rm %{buildroot}/%{plugin_dir}/libipa_pwd_extop.la rm %{buildroot}/%{plugin_dir}/libipa-memberof-plugin.la rm %{buildroot}/%{plugin_dir}/libipa-dna-plugin.la +# Some user-modifiable HTML files are provided. Move these to /etc +# and link back. +mkdir -p %{buildroot}/%{_sysconfdir}/ipa/html +mv %{buildroot}/%{_usr}/share/ipa/html/ssbrowser.html %{buildroot}/%{_sysconfdir}/ipa/html +mv %{buildroot}/%{_usr}/share/ipa/html/unauthorized.html %{buildroot}/%{_sysconfdir}/ipa/html +ln -s ../../../..%{_sysconfdir}/ipa/html/ssbrowser.html \ + %{buildroot}%{_usr}/share/ipa/html/ssbrowser.html +ln -s ../../../..%{_sysconfdir}/ipa/html/unauthorized.html \ + %{buildroot}%{_usr}/share/ipa/html/unauthorized.html + %clean rm -rf %{buildroot} @@ -103,7 +113,23 @@ fi %attr(755,root,root) %{_initrddir}/ipa_webgui %dir %{_usr}/share/ipa -%{_usr}/share/ipa/* +%{_usr}/share/ipa/*.ldif +%{_usr}/share/ipa/*.template +%dir %{_usr}/share/ipa/html +%{_usr}/share/ipa/html/ssbrowser.html +%{_usr}/share/ipa/html/unauthorized.html +%dir %{_sysconfdir}/ipa +%dir %{_sysconfdir}/ipa/html +%config(noreplace) %{_sysconfdir}/ipa/html/ssbrowser.html +%config(noreplace) %{_sysconfdir}/ipa/html/unauthorized.html +%{_usr}/share/ipa/ipa_webgui.cfg +%{_usr}/share/ipa/ipa.conf +%dir %{_usr}/share/ipa/ipagui +%{_usr}/share/ipa/ipagui/* +%dir %{_usr}/share/ipa/ipa_gui.egg-info +%{_usr}/share/ipa/ipa_gui.egg-info/* +%dir %{_usr}/share/ipa/ipaserver +%dir %{_usr}/share/ipa/ipaserver/* %dir %{python_sitelib}/ipaserver %{python_sitelib}/ipaserver/*.py* @@ -117,6 +143,10 @@ fi %attr(700,apache,apache) %dir %{_localstatedir}/cache/ipa/sessions %changelog +* Tue Jan 29 2008 Rob Crittenden <rcritten@redhat.com> 0.6.0-5 +- Put user-modifiable files into /etc/ipa so they can be marked as + config(noreplace). + * Thu Jan 24 2008 Rob Crittenden <rcritten@redhat.com> = 0.6.0-4 - Use new name of pyasn1, python-pyasn1, in Requires |