[54626] trunk/dports/security
snc at macports.org
snc at macports.org
Thu Jul 30 07:08:36 PDT 2009
Revision: 54626
http://trac.macports.org/changeset/54626
Author: snc at macports.org
Date: 2009-07-30 07:08:35 -0700 (Thu, 30 Jul 2009)
Log Message:
-----------
created shibboleth
Added Paths:
-----------
trunk/dports/security/shibboleth/
trunk/dports/security/shibboleth/Portfile
trunk/dports/security/shibboleth/files/
trunk/dports/security/shibboleth/files/xerces-c-nocf.diff
Added: trunk/dports/security/shibboleth/Portfile
===================================================================
--- trunk/dports/security/shibboleth/Portfile (rev 0)
+++ trunk/dports/security/shibboleth/Portfile 2009-07-30 14:08:35 UTC (rev 54626)
@@ -0,0 +1,80 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name shibboleth
+version 2.2
+revision 1
+categories security shibboleth
+maintainers snc osu.edu:cantor.2
+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/
+
+platforms darwin
+depends_lib port:opensaml \
+ port:xmltooling \
+ port:xercesc3 \
+ port:xml-security-c \
+ port:log4shib
+
+master_sites http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/${version}/
+distname ${name}-sp-${version}
+worksrcdir ${name}-${version}
+checksums sha1 41d23d3585e36c232d6b038e965f71084b7b7daf
+
+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
+}
+
+platform darwin 8 {
+ configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+ build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+ destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+}
+
+platform darwin 9 {
+ configure.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+ build.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+ destroot.env-append MACOSX_DEPLOYMENT_TARGET=10.4
+
+ patch.pre_args -p1
+ patchfiles xercesc-c-nocf.diff
+}
+
+destroot.keepdirs ${destroot}${prefix}/var/log/shibboleth ${destroot}${prefix}/var/log/httpd ${destroot}${prefix}/var/run/shibboleth
+
+destroot.args NOKEYGEN=1
+
+post-destroot {
+ eval file delete [glob ${destroot}${prefix}/etc/shibboleth/*.logger]
+ eval file delete [glob ${destroot}${prefix}/etc/shibboleth/*.html]
+ eval file delete [glob ${destroot}${prefix}/etc/shibboleth/*.xml]
+ file delete ${destroot}${prefix}/etc/shibboleth/shibd-debian
+ file delete ${destroot}${prefix}/etc/shibboleth/shibd-redhat
+ file delete ${destroot}${prefix}/etc/shibboleth/shibd-osx.plist
+ eval file delete [glob ${destroot}${prefix}/lib/shibboleth/*.la]
+}
+
+startupitem.create yes
+startupitem.name shibd
+startupitem.executable ${prefix}/sbin/shibd -F -f -p ${prefix}/var/run/shibboleth/shibd.pid
+startupitem.pidfile clean ${prefix}/var/run/shibboleth/shibd.pid
+
+livecheck.check regex
+livecheck.url http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/mac/ports/shibboleth/shibboleth/Portfile
+livecheck.regex "version *(\\d+\\.\\d+(\\.\\d+)?)"
+
+
Property changes on: trunk/dports/security/shibboleth/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/security/shibboleth/files/xerces-c-nocf.diff
===================================================================
--- trunk/dports/security/shibboleth/files/xerces-c-nocf.diff (rev 0)
+++ trunk/dports/security/shibboleth/files/xerces-c-nocf.diff 2009-07-30 14:08:35 UTC (rev 54626)
@@ -0,0 +1,60 @@
+diff -rup xerces-c-src_2_8_0.orig/src/xercesc/Makefile.incl xerces-c-src_2_8_0/src/xercesc/Makefile.incl
+--- xerces-c-src_2_8_0.orig/src/xercesc/Makefile.incl 2007-08-30 14:10:20.000000000 +0200
++++ xerces-c-src_2_8_0/src/xercesc/Makefile.incl 2008-03-31 08:33:25.000000000 +0100
+@@ -878,7 +878,7 @@ endif
+
+ #=============== MacOS SPECIFIC OPTIONS =========================
+ ifeq (${PLATFORM}, MACOSX)
+- PLATFORM_LIBRARIES = -framework CoreServices
++ #PLATFORM_LIBRARIES = -framework CoreServices
+ PLATFORM_COMPILE_OPTIONS = -D${PLATFORM}
+
+ ifneq (${THREADS},none)
+diff -rup xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp xerces-c-src_2_8_0/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp
+--- xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp 2007-08-28 20:44:11.000000000 +0200
++++ xerces-c-src_2_8_0/src/xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp 2008-03-28 16:10:44.000000000 +0100
+@@ -21,9 +21,18 @@
+
+
+ // ---------------------------------------------------------------------------
+-// FreeBSD runs in little endian mode
++// Detect endian mode (cf. http://issues.apache.org/jira/browse/XERCESC-1502)
+ // ---------------------------------------------------------------------------
+-#define ENDIANMODE_LITTLE
++#include <machine/endian.h>
++#if __DARWIN_BYTE_ORDER == __DARWIN_LITTLE_ENDIAN
++ #define ENDIANMODE_LITTLE
++#else
++ #if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN
++ #define ENDIANMODE_BIG
++ #else
++ #error: unknown byte order!
++ #endif
++#endif
+ typedef void* FileHandle;
+
+ #ifndef FREEBSD
+diff -rup xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/Makefile.in xerces-c-src_2_8_0/src/xercesc/util/Platforms/Makefile.in
+--- xerces-c-src_2_8_0.orig/src/xercesc/util/Platforms/Makefile.in 2007-08-28 20:44:12.000000000 +0200
++++ xerces-c-src_2_8_0/src/xercesc/util/Platforms/Makefile.in 2008-03-31 08:33:25.000000000 +0100
+@@ -180,7 +180,7 @@ ifeq (${PLATFORM}, TRU64)
+ SUBMODULE = Tru64
+ endif
+ ifeq (${PLATFORM}, MACOSX)
+- SUBMODULE = MacOS
++ SUBMODULE = FreeBSD
+ endif
+ ifeq (${PLATFORM}, CYGWIN)
+ SUBMODULE = Cygwin
+diff -rup xerces-c-src_2_8_0.orig/src/xercesc/util/XercesDefs.hpp xerces-c-src_2_8_0/src/xercesc/util/XercesDefs.hpp
+--- xerces-c-src_2_8_0.orig/src/xercesc/util/XercesDefs.hpp 2007-08-28 20:44:52.000000000 +0200
++++ xerces-c-src_2_8_0/src/xercesc/util/XercesDefs.hpp 2008-03-31 08:33:25.000000000 +0100
+@@ -107,7 +107,7 @@
+ #endif
+
+ #if defined(XML_MACOS)
+-#include <xercesc/util/Platforms/MacOS/MacOSDefs.hpp>
++#include <xercesc/util/Platforms/FreeBSD/FreeBSDDefs.hpp>
+ #endif
+
+ #if defined(XML_AS400)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090730/b5674c63/attachment.html>
More information about the macports-changes
mailing list