Ticket #38004: shibboleth.diff

File shibboleth.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago)

proposed patch

  • Portfile

     
    22# $Id$
    33
    44PortSystem          1.0
     5PortGroup           active_variants 1.1
    56
    67name                shibboleth
    78version             2.5.1
     
    2526                    port:log4shib \
    2627                    port:boost
    2728
    28 pre-fetch {
    29     set status 0
    30     if {[catch {exec ${prefix}/bin/curl --version | grep SSL} results]} {
    31         if {[lindex $::errorCode 0] eq "CHILDSTATUS"} {
    32             set status [lindex $::errorCode 2]
    33         } else {
    34             set status [lindex $::errorCode 3]
    35         }
    36     }
    37     if {${status} != 0} {
    38         return -code error "\n
    39     ${name} requires curl to be installed with SSL support.
    40     Please deactivate your current curl installation and
    41     install the proper version of curl:
    42         sudo port deactivate curl
    43         sudo port install curl +ssl\n"
    44     }
    45 }
    4629master_sites        http://shibboleth.net/downloads/service-provider/${version}/
    4730distname            ${name}-sp-${version}
    4831worksrcdir          ${name}-sp-${version}
    4932checksums           rmd160  115af4627ac13a8fa645632f4d1cf065239ca8e5 \
    5033                    sha256  a697034fe56a170602a3907cde6faf822836b1ba23cdc11af315a81df6102f04
    5134
     35require_active_variants curl ssl
     36
    5237configure.args      --with-xmltooling=${prefix} \
    5338                    --with-saml=${prefix} \
    5439                    --with-boost=${prefix} \