Ticket #38004: shibboleth.diff
File shibboleth.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 12 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup active_variants 1.1 5 6 6 7 name shibboleth 7 8 version 2.5.1 … … 25 26 port:log4shib \ 26 27 port:boost 27 28 28 pre-fetch {29 set status 030 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 "\n39 ${name} requires curl to be installed with SSL support.40 Please deactivate your current curl installation and41 install the proper version of curl:42 sudo port deactivate curl43 sudo port install curl +ssl\n"44 }45 }46 29 master_sites http://shibboleth.net/downloads/service-provider/${version}/ 47 30 distname ${name}-sp-${version} 48 31 worksrcdir ${name}-sp-${version} 49 32 checksums rmd160 115af4627ac13a8fa645632f4d1cf065239ca8e5 \ 50 33 sha256 a697034fe56a170602a3907cde6faf822836b1ba23cdc11af315a81df6102f04 51 34 35 require_active_variants curl ssl 36 52 37 configure.args --with-xmltooling=${prefix} \ 53 38 --with-saml=${prefix} \ 54 39 --with-boost=${prefix} \