Hi bpo crew :) I've recently hit a bug in backported shibboleth-sp2 (#758600) which makes package postinst fail in some situations (making it unusable in my case). The issue has been introduced while backporting it. Original backporter/maintainer is no more working on this package, and I'm not getting any reaction from the packaging team. As such, I think I'll just go ahead and update the bpo package. I'm not touching anything else except for the bug-fix, as I'm not too familiar with the package. This is however my first upload to bpo, so I'd really like somebody to have at least a look at it. Missing any (negative) feedback, I'll just upload it later today/tomorrow. I just followed the "Contribute" page instructions, so it should be mostly fine. Debdiff here below, source at http://mentors.debian.net/debian/pool/main/s/shibboleth-sp2/shibboleth-sp2_2.5.3+dfsg-1~bpo70+2.dsc Cheers, Luca -- .''`. ** Debian GNU/Linux ** | Luca Bruno (kaeso) : :' : The Universal O.S. | lucab (AT) debian.org `. `'` | GPG Key ID: 0x4F3BBEBF `- http://www.debian.org | Debian GNU/Linux Developer diff -Nru shibboleth-sp2-2.5.3+dfsg/debian/changelog shibboleth-sp2-2.5.3+dfsg/debian/changelog --- shibboleth-sp2-2.5.3+dfsg/debian/changelog 2014-07-11 07:36:04.000000000 +0200 +++ shibboleth-sp2-2.5.3+dfsg/debian/changelog 2014-11-14 13:00:30.000000000 +0100 @@ -1,3 +1,10 @@ +shibboleth-sp2 (2.5.3+dfsg-1~bpo70+2) wheezy-backports; urgency=medium + + * shibboleth-sp2-utils: check before enabling Apache module + (Closes: #758600) + + -- Luca Bruno <email@example.com> Fri, 14 Nov 2014 12:42:46 +0100 + shibboleth-sp2 (2.5.3+dfsg-1~bpo70+1) wheezy-backports; urgency=medium * Backport to wheezy. diff -Nru shibboleth-sp2-2.5.3+dfsg/debian/shibboleth-sp2-utils.postinst shibboleth-sp2-2.5.3+dfsg/debian/shibboleth-sp2-utils.postinst --- shibboleth-sp2-2.5.3+dfsg/debian/shibboleth-sp2-utils.postinst 2014-07-11 07:36:04.000000000 +0200 +++ shibboleth-sp2-2.5.3+dfsg/debian/shibboleth-sp2-utils.postinst 2014-11-14 17:38:03.000000000 +0100 @@ -20,8 +20,11 @@ fi # Enable the module by default on new installs. - if [ -z "$2" ] && [ ! -e /etc/apache2/mods-enabled/shib2.load ] ; then - a2enmod shib2 + A2ENMOD="`which a2enmod || echo ''`" + if [ -z "$2" ] && [ -n "$A2ENMOD" ] && [ -x "$A2ENMOD" ] \ + && [ -e /etc/apache2/mods-available/shib2.load ] \ + && [ ! -e /etc/apache2/mods-enabled/shib2.load ] ; then + $A2ENMOD shib2 fi fi
Description: This is a digitally signed message part.