Shibboleth version 2.2.1 - How to Download and Install on Mac OS X
Monday the 23rd of November, 2009

    shibboleth  most recent diff


    version 2.2.1

      View the most recent changes for the shibboleth port at: shibboleth.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for shibboleth.
      The raw portfile for shibboleth 2.2.1 is located here:
      http://shibboleth.darwinports.com/dports/security/shibboleth/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/shibboleth


      # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The shibboleth Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: shibboleth
      Version: 2.2.1
      Category: security www shibboleth
      #license Apache
      Maintainers: snc scantor
      Description: Shibboleth Native Service Provider
      Long Description: The Shibboleth System is a standards based, open source software package for web single sign-on across or within organizational boundaries. It allows sites to make informed authorization decisions for individual access of protected online resources in a privacy-preserving manner.

      Homepage: http://shibboleth.internet2.edu/

      Platform: darwin
      depends_lib port:opensaml port:xmltooling port:xercesc3 port:xml-security-c port:log4shib

      pre-fetch {
      set status 0
      if {[catch {exec ${prefix}/bin/curl --version | grep SSL} results]} {
      if {[lindex $::errorCode 0] eq "CHILDSTATUS"} {
      set status [lindex $::errorCode 2]
      } else {
      set status [lindex $::errorCode 3]
      }
      }
      if {${status} != 0} {
      return -code error "\n
      ${name} requires curl to be installed with SSL support.
      Please deactivate your current curl installation and
      install the proper version of curl:
      sudo port deactivate curl
      sudo port install curl +ssl\n"
      }
      }
      Master Sites: http://shibboleth.internet2.edu/downloads/${name}/cppsp/${version}/
      distname ${name}-sp-${version}
      worksrcdir ${name}-${version}
      Checksums: sha1 f667b37f98757bef951cd4fa81f13da73acff345

      configure.args --with-xmltooling=${prefix} --with-opensaml=${prefix} --with-xerces=${prefix} --with-xmlsec=${prefix}

      Variant: odbc description {enable odbc support} {
      depends_lib-append port:unixODBC
      configure.args-append --enable-odbc
      }

      destroot.keepdirs ${destroot}${prefix}/var/log/${name} ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run/${name}

      destroot.args NOKEYGEN=1

      post-destroot {
      eval file delete [glob ${destroot}${prefix}/etc/${name}/*.logger]
      eval file delete [glob ${destroot}${prefix}/etc/${name}/*.html]
      eval file delete [glob ${destroot}${prefix}/etc/${name}/*.xml]
      eval file delete [glob ${destroot}${prefix}/etc/${name}/shibd-*]
      eval file delete [glob ${destroot}${prefix}/lib/${name}/*.la]
      }

      startupitem.create yes
      startupitem.name shibd
      startupitem.executable ${prefix}/sbin/shibd -F -f -p ${prefix}/var/run/shibboleth/shibd.pid

      livecheck.type regex
      livecheck.url http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/
      livecheck.regex ${name}-sp-(\\d+\\.\\d+\\.\\d+)



    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/shibboleth
      % sudo port install shibboleth
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching shibboleth
      ---> Verifying checksum for shibboleth
      ---> Extracting shibboleth
      ---> Configuring shibboleth
      ---> Building shibboleth with target all
      ---> Staging shibboleth into destroot
      ---> Installing shibboleth
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using shibboleth with these commands:
      %  man shibboleth
      % apropos shibboleth
      % which shibboleth
      % locate shibboleth

     Where to find more information:

    Darwin Ports



    Lightbox this page.