buildshib.sh
A simple shell script to compile and install shibboleth and requirements via RPM.
Size 1 kB - File type text/x-shFile contents
#!/bin/sh -x
ver=2.1
rel=1
osx=10.5
rpm=-i #--upgrade
rpmbuild -ba --target=fat shibboleth-fs.spec
rpm $rpm ../RPMS/fat shibboleth-fs-${ver}-${rel}.fat.rpm
for ii in icu4c xerces-c xml-security-c log4shib xmltooling opensaml shibboleth-sp
do
rpmbuild -ba --target=fat -D'pkg yes' ${ii}.spec
if [ $? -ne 0 ] ; then
exit $?
fi
rpm $rpm ../RPMS/fat/${ii}*${rel}_${osx}_${ver}.fat.rpm
if [ $? -ne 0 ] ; then
exit $?
fi
done
Click here to get the file