FastCGI Shibboleth Packages

Andy Bennett andyjpb at knodium.com
Thu Oct 4 15:04:11 UTC 2012


Hi,

> Just lack of demand meaning that I've never looked at what would be
> involved in packaging them or how to structure such a package.
> 
>> How difficult would it be to produce a binary package for them similar
>> to the Apache module package?
> 
> Alas, I have no idea, having never looked at it.  It might be fairly easy,
> but I don't know.


I started by adding --with-fastcgi to the debian/rules thusly:

-----
override_dh_auto_configure:
        dh_auto_configure -- \
            --libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/shibboleth \
            --localstatedir=/var --enable-apache-22 \
            --with-apxs2=/usr/bin/apxs2 --disable-dependency-tracking \
            --with-fastcgi \
            --with-memcached $(SYSTEM)
-----

It produces a libapache2-mod-shib2 package and the fresh apache module
continues to work. The FastCGI binaries also appear to work however,
they only work for the first login: if a subsequent login is attempted
with a different IdP I get some parsing errors:

-----
2012-10-04 09:22:15 ERROR XMLTooling.ParserPool [1]: fatal error on line
1, column 1, message: invalid byte '�' at position 1 of a 1-byte sequence
-----

Have you seen anything like this before?

I asked on the shibboleth list and they wonder about library mismatches
but I figured the working apache module from the same build would
disprove that?

I'm just composing a reply to the thread on shibboleth-users so I shall
take the liberty of copying you in there.





Thanks for your time.





Regards,
@ndy

-- 
andyjpb at knodium.com
http://www.knodium.com/





More information about the Pkg-shibboleth-devel mailing list