Personal tools
You are here: Home Software Shibboleth for OS X SRPMS buildshib.sh
Document Actions

buildshib.sh

A simple shell script to compile and install shibboleth and requirements via RPM.

Click here to get the file

Size 1 kB - File type text/x-sh

File 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

Powered by Plone, the Open Source Content Management System