%post
/sbin/ldconfig
+# Plug the shibboleth SP into Apache2 on a Red Hat system.
+[ -d %{_sysconfdir}/httpd/conf.d ] || exit 0
+[ -f %{_sysconfdir}/httpd/conf.d/shibboleth.conf ] && exit 0
+cp -p %{_sysconfdir}/shibboleth/apache2.config \
+ %{_sysconfdir}/httpd/conf.d/shibboleth.conf
+
%postun
/sbin/ldconfig
+# delete the shibboleth apache configuration if we're being removed
+[ "$0" = 0 ] || exit 0
+[ -f %{_sysconfdir}/httpd/conf.d/shibboleth.conf ] && \
+ rm -f %{_sysconfdir}/httpd/conf.d/shibboleth.conf
+
%triggerin selinux-targeted-policy -- %{name}
restorecon %{_sbindir}/shar
%{_sysconfdir}/selinux/targeted/src/policy/domain/program/*.te
%changelog
+* Fri Apr 1 2005 Derek Atkins <derek@ihtfp.com> - 1.3-0
+- Add selinux-targeted-policy package
+- move shar to sbindir
+
* Tue Oct 19 2004 Derek Atkins <derek@ihtfp.com> - 1.2-1
- Create SPEC file based on various versions in existence.