1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
3 pkgname='shibboleth-sp'
7 pkgdesc='Shibboleth2 Service Provider (Apache module)'
9 url='http://shibboleth.internet2.edu/'
10 arch=('i686' 'x86_64')
11 depends=('apache' 'openssl' 'log4shib'
12 'opensaml' 'xmltooling'
13 'xerces-c' 'xml-security-c')
15 'etc/shibboleth/shibboleth2.xml'
16 'etc/shibboleth/accessError.html'
17 'etc/shibboleth/httpd.conf'
18 'etc/shibboleth/attribute-map.xml'
19 'etc/shibboleth/attribute-policy.xml'
20 'etc/shibboleth/bindingTemplate.html'
21 'etc/shibboleth/console.logger'
22 'etc/shibboleth/discoveryTemplate.html'
23 'etc/shibboleth/globalLogout.html'
24 'etc/shibboleth/localLogout.html'
25 'etc/shibboleth/metadataError.html'
26 'etc/shibboleth/native.logger'
27 'etc/shibboleth/partialLogout.html'
28 'etc/shibboleth/postTemplate.html'
29 'etc/shibboleth/sessionError.html'
30 'etc/shibboleth/shibd.logger'
31 'etc/shibboleth/sslError.html'
32 'etc/shibboleth/syslog.logger'
33 'etc/shibboleth/upgrade.xsl')
35 md5sums=('750a911d78df0e3a88cfb14983ecf1a2'
36 'a292f1cc0aab3cfe3ecec0e9b2b30a10')
37 _source=("${url}downloads/$_pkgname/cppsp/$pkgver/$pkgname-$pkgver.tar.gz"
41 cd "${srcdir}/${_pkgname}-${pkgver}"
43 ./configure --prefix=/usr \
45 --localstatedir=/var \
48 make; make DESTDIR=$pkgdir install
50 install -Dm755 $srcdir/shibd.rc.d \
51 $pkgdir/etc/rc.d/shibd
53 mkdir -p $pkgdir/usr/share/$pkgname
55 cd $pkgdir/etc/$_pkgname
56 mv *.sh $pkgdir/usr/share/$pkgname
57 mv example-metadata.xml
58 $pkgdir/usr/share/$pkgname
59 mv *.pem $pkgdir/usr/share/$pkgname
60 rm -rf apache.config apache2.config
62 ln -s shibboleth2.xml shibboleth.xml