Forked from vidiecan/shibboleth_sp_with_fastcgi.sh
Last active
March 3, 2016 16:04
-
-
Save saimonmoore/43bf3a002b941dfa7cbe to your computer and use it in GitHub Desktop.
Revisions
-
saimonmoore revised this gist
Mar 3, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,11 +22,11 @@ function get { } get log4shib 1.0.9 http://shibboleth.net/downloads/log4shib/latest/ get xerces-c 3.1.3 http://mirror.hosting90.cz/apache/xerces/c/3/sources/ get xml-security-c 1.7.3 http://mirror.hosting90.cz/apache/santuario/c-library/ get xmltooling 1.5.6 http://shibboleth.net/downloads/c++-opensaml/latest/ get opensaml 2.5.5 http://shibboleth.net/downloads/c++-opensaml/latest/ get shibboleth-sp 2.5.6 http://shibboleth.net/downloads/service-provider/latest/ function compile { -
vidiecan revised this gist
Sep 18, 2015 . 1 changed file with 2 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ # https://github.com/ufal/lindat-dspace/wiki/Building-Shibboleth-with-FastCGI-support # ensure the versions are still latest sudo apt-get install libfcgi-dev libboost-all-dev openssl libssl-devc INSTALLDIR=/opt/shibboleth-sp-fastcgi @@ -42,10 +42,7 @@ function compile { compile log4shib "--disable-static --disable-doxygen --prefix=$INSTALLDIR" compile xerces-c "--disable-netaccessor-libcurl --prefix=$INSTALLDIR" compile xml-security-c "--without-xalan --disable-static \ --with-xerces=$INSTALLDIR \ --prefix=$INSTALLDIR" compile xmltooling "--with-log4shib=$INSTALLDIR --prefix=$INSTALLDIR -C" -
vidiecan created this gist
Sep 18, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,55 @@ #!/bin/bash # https://github.com/ufal/lindat-dspace/wiki/Building-Shibboleth-with-FastCGI-support # ensure the versions are still latest sudo apt-get install libfcgi-dev libboost-all-dev INSTALLDIR=/opt/shibboleth-sp-fastcgi function get { local dirname=$1 local version=$2 local url=$3 local archive="$dirname-$version.tar.gz" if [ ! -d "$dirname" ]; then wget -O "$archive" "$url$archive" tar -xzvf "$archive" mv `tar -ztf "$archive" | head -n 1` "$dirname.$version" ln -s $dirname.$version $dirname rm "$archive" fi } get log4shib 1.0.9 http://shibboleth.net/downloads/log4shib/latest/ get xerces-c 3.1.2 http://mirror.hosting90.cz/apache/xerces/c/3/sources/ get xml-security-c 1.7.3 http://mirror.hosting90.cz/apache/santuario/c-library/ get xmltooling 1.5.6 http://shibboleth.net/downloads/c++-opensaml/latest/ get opensaml 2.5.5 http://shibboleth.net/downloads/c++-opensaml/latest/ get shibboleth-sp 2.5.5 http://shibboleth.net/downloads/service-provider/latest/ function compile { local dirname=$1 local config=$2 cd $dirname ./configure $config make sudo make install cd .. } compile log4shib "--disable-static --disable-doxygen --prefix=$INSTALLDIR" compile xerces-c "--disable-netaccessor-libcurl --prefix=$INSTALLDIR" compile xmltooling "--without-xalan --disable-static \ --with-log4shib=$INSTALLDIR \ --prefix=$INSTALLDIR" compile xml-security "--without-xalan --disable-static \ --with-xerces=$INSTALLDIR \ --prefix=$INSTALLDIR" compile xmltooling "--with-log4shib=$INSTALLDIR --prefix=$INSTALLDIR -C" compile opensaml "--with-log4shib=$INSTALLDIR --prefix=$INSTALLDIR -C" compile shibboleth-sp "--with-log4shib=$INSTALLDIR \ --prefix=$INSTALLDIR \ --with-fastcgi"