[96291] trunk/dports/security/shibboleth

scantor at macports.org scantor at macports.org
Mon Aug 6 21:59:07 PDT 2012


Revision: 96291
          https://trac.macports.org/changeset/96291
Author:   scantor at macports.org
Date:     2012-08-06 21:59:07 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
Update to 2.5.0, with patch for clang issue

Modified Paths:
--------------
    trunk/dports/security/shibboleth/Portfile

Added Paths:
-----------
    trunk/dports/security/shibboleth/files/
    trunk/dports/security/shibboleth/files/patch-shibsp-internal.h.diff

Modified: trunk/dports/security/shibboleth/Portfile
===================================================================
--- trunk/dports/security/shibboleth/Portfile	2012-08-07 04:58:29 UTC (rev 96290)
+++ trunk/dports/security/shibboleth/Portfile	2012-08-07 04:59:07 UTC (rev 96291)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                shibboleth
-version             2.4.3
-revision            1
+version             2.5.0
 categories          security www shibboleth
 license             Apache
 maintainers         snc scantor
@@ -16,14 +15,15 @@
                     informed authorization decisions for individual access of \
                     protected online resources in a privacy-preserving manner.
 
-homepage            http://shibboleth.internet2.edu/
+homepage            http://shibboleth.net/
 
 platforms           darwin
 depends_lib         port:opensaml \
                     port:xmltooling \
                     port:xercesc3 \
                     port:xml-security-c \
-                    port:log4shib
+                    port:log4shib \
+                    port:boost
 
 pre-fetch {
     set status 0
@@ -43,14 +43,16 @@
         sudo port install curl +ssl\n"
     }
 }
-master_sites        http://www.shibboleth.net/downloads/service-provider/${version}/
+master_sites        http://shibboleth.net/downloads/service-provider/${version}/
 distname            ${name}-sp-${version}
-worksrcdir          ${name}-${version}
-checksums           rmd160  e2a909f5ea49d6c295056cc3530708fc5534eb63 \
-                    sha256  9e0b219707046b55d0ca38627fb213b799ac98cf11541845b7e6b036a89dcdcf
+worksrcdir          ${name}-sp-${version}
+checksums           rmd160  06811c584cb31bb088545c963c624304284f396a \
+                    sha256  67a8b4043a9e994188dc1d77450fd4adb3fa0fcc157bed28ec22ed6d670f7aa1
+patchfiles          patch-shibsp-internal.h.diff
 
 configure.args      --with-xmltooling=${prefix} \
                     --with-opensaml=${prefix} \
+                    --with-boost=${prefix} \
                     --with-xerces=${prefix} \
                     --with-xmlsec=${prefix}
 
@@ -59,7 +61,7 @@
         configure.args-append --enable-odbc
 }
 
-destroot.keepdirs ${destroot}${prefix}/var/log/${name} ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run/${name}
+destroot.keepdirs ${destroot}${prefix}/var/log/${name} ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run/${name} ${destroot}${prefix}/var/cache/${name}
 
 destroot.args   NOKEYGEN=1
 
@@ -68,7 +70,6 @@
         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]
 }
 
 post-activate {
@@ -88,5 +89,5 @@
 startupitem.executable  ${prefix}/sbin/shibd -F -f -p ${prefix}/var/run/${name}/shibd.pid
 
 livecheck.type          regex
-livecheck.url           http://www.shibboleth.net/downloads/service-provider/latest/
+livecheck.url           http://shibboleth.net/downloads/service-provider/latest/
 livecheck.regex         ${name}-sp-(\\d+\\.\\d+(\\.\\d+)?)

Added: trunk/dports/security/shibboleth/files/patch-shibsp-internal.h.diff
===================================================================
--- trunk/dports/security/shibboleth/files/patch-shibsp-internal.h.diff	                        (rev 0)
+++ trunk/dports/security/shibboleth/files/patch-shibsp-internal.h.diff	2012-08-07 04:59:07 UTC (rev 96291)
@@ -0,0 +1,15 @@
+--- shibsp/internal.h.orig	2012-08-07 00:44:36.000000000 -0400
++++ shibsp/internal.h	2012-08-07 00:39:13.000000000 -0400
+@@ -45,6 +45,12 @@
+ #endif
+ 
+ #include "base.h"
++
++// Need forward decl of stream operator for clang
++#include <iostream>
++#include <xercesc/dom/DOM.hpp>
++extern XMLTOOL_API std::ostream& operator<<(std::ostream& ostr, const xercesc::DOMNode& n);
++
+ #include "SPConfig.h"
+ 
+ #include <memory>


Property changes on: trunk/dports/security/shibboleth/files/patch-shibsp-internal.h.diff
___________________________________________________________________
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/3e750287/attachment.html>


More information about the macports-changes mailing list