ports/security/shibboleth-sp/files/patch-shibboleth.spec.in
Palle Girgensohn a42dc34f6b Update Shibboleth to 3.0.2
Also update the toolchain to latest versions. This includes a security fix for
apache-xml-security-c.

Releaseinfo:    https://wiki.shibboleth.net/confluence/display/SP3/ReleaseNotes
Security:       5786185a-9a43-11e8-b34b-6cc21735f730
Security:       https://shibboleth.net/community/advisories/secadv_20180803.txt
2018-08-07 13:24:36 +00:00

23 lines
768 B
RPMSpec

--- shibboleth.spec.in.orig 2018-07-10 01:17:23 UTC
+++ shibboleth.spec.in
@@ -69,7 +69,7 @@ BuildRequires: systemd-rpm-macros, syste
%if "%{_vendor}" == "suse"
%define pkgdocdir %{_docdir}/shibboleth
%else
-%define pkgdocdir %{_docdir}/shibboleth-%{version}
+%define pkgdocdir %{_docdir}/shibboleth
%endif
%description
@@ -289,11 +289,6 @@ exit 0
/sbin/ldconfig
%endif
-# Key ownership fix.
-if [ -f %{_sysconfdir}/shibboleth/sp-key.pem ] ; then
- %{__chown} %{runuser}:%{runuser} %{_sysconfdir}/shibboleth/sp-key.pem %{_sysconfdir}/shibboleth/sp-cert.pem 2>/dev/null || :
-fi
-
# Fix ownership of log files (even on new installs, if they're left from an older one).
%{__chown} %{runuser}:%{runuser} %{_localstatedir}/log/shibboleth/* 2>/dev/null || :