ports/109113: New port: opensaml

Tony Maher anthony.maher at uts.edu.au
Tue Feb 13 00:10:08 UTC 2007


>Number:         109113
>Category:       ports
>Synopsis:       New port: opensaml
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 13 00:10:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Tony Maher
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD karma.internal 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Mon Jan 22 10:16:42 EST 2007 root at karma.internal:/var/obj/usr/src/sys/KARMA i386


>Description:
	New port - opensaml.
	OpenSAML is an implementation of SAML 1.0 and 1.1 providing java and C++
	APIs.  This is the C++ version.

	WWW:    https://spaces.internet2.edu/display/SHIB/OpenSAML

	I actually want to install shibboleth and this is a dependency.
	This port depends on apache-xml-security-c which has also
	just been submitted a new port.
	(No reply yet so I do not have the PR number)


>How-To-Repeat:

>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	opensaml
#	opensaml/Makefile
#	opensaml/pkg-plist
#	opensaml/pkg-descr
#	opensaml/distinfo
#	opensaml/files
#	opensaml/files/patch-configure
#
echo c - opensaml
mkdir -p opensaml > /dev/null 2>&1
echo x - opensaml/Makefile
sed 's/^X//' >opensaml/Makefile << 'END-of-opensaml/Makefile'
X# New ports collection makefile for:	opensaml
X# Date created:				06 Febuary 2007
X# Whom:					Tony Maher
X#
X# $FreeBSD$
X#
X
XPORTNAME=	opensaml
XPORTVERSION=	1.1
XCATEGORIES=	security
XMASTER_SITES=	http://shibboleth.internet2.edu/downloads/
X
XMAINTAINER=	tonymaher at optusnet.com.au
XCOMMENT=	Open source implentation of SAML
X
XLIB_DEPENDS=	curl.4:${PORTSDIR}/ftp/curl \
X		log4cpp.4:${PORTSDIR}/devel/log4cpp \
X		xerces-c.27:${PORTSDIR}/textproc/xerces-c2 \
X		xml-security-c.13:${PORTSDIR}/security/apache-xml-security-c
X
XGNU_CONFIGURE=	yes
XUSE_GMAKE=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
END-of-opensaml/Makefile
echo x - opensaml/pkg-plist
sed 's/^X//' >opensaml/pkg-plist << 'END-of-opensaml/pkg-plist'
Xbin/signtest
Xdoc/opensaml/CURL.LICENSE
Xdoc/opensaml/INSTALL-WIN32.txt
Xdoc/opensaml/INSTALL.txt
Xdoc/opensaml/LICENSE.txt
Xdoc/opensaml/LOG4CPP.LICENSE
Xdoc/opensaml/NEWS.txt
Xdoc/opensaml/NOTICE.txt
Xdoc/opensaml/OPENSSL.LICENSE
Xdoc/opensaml/README.txt
Xdoc/opensaml/TODO.txt
Xinclude/saml/SAMLDateTime.h
Xinclude/saml/config_pub.h
Xinclude/saml/hresult.h
Xinclude/saml/saml.h
Xinclude/saml/version.h
Xlib/libsaml.so
Xlib/libsaml.so.5
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
Xshare/xml/opensaml/cs-sstc-schema-assertion-01.xsd
Xshare/xml/opensaml/cs-sstc-schema-assertion-1.1.xsd
Xshare/xml/opensaml/cs-sstc-schema-protocol-01.xsd
Xshare/xml/opensaml/cs-sstc-schema-protocol-1.1.xsd
Xshare/xml/opensaml/soap-envelope.xsd
Xshare/xml/opensaml/xml.xsd
Xshare/xml/opensaml/xmldsig-core-schema.xsd
X at dirrm share/xml/opensaml
X at dirrm include/saml
X at dirrm doc/opensaml
END-of-opensaml/pkg-plist
echo x - opensaml/pkg-descr
sed 's/^X//' >opensaml/pkg-descr << 'END-of-opensaml/pkg-descr'
XOpenSAML is an implementation of SAML 1.0 and 1.1 providing java and C++
XAPIs.  This is the C++ version.
X
XWWW:	https://spaces.internet2.edu/display/SHIB/OpenSAML
END-of-opensaml/pkg-descr
echo x - opensaml/distinfo
sed 's/^X//' >opensaml/distinfo << 'END-of-opensaml/distinfo'
XMD5 (opensaml-1.1.tar.gz) = 060443b7e7419c186c3add38a5c726f7
XSHA256 (opensaml-1.1.tar.gz) = fa8f1383dd6b5b88e1ad4525c5b7b687ef4285fc063272f141ef61f9876503d0
XSIZE (opensaml-1.1.tar.gz) = 466921
END-of-opensaml/distinfo
echo c - opensaml/files
mkdir -p opensaml/files > /dev/null 2>&1
echo x - opensaml/files/patch-configure
sed 's/^X//' >opensaml/files/patch-configure << 'END-of-opensaml/files/patch-configure'
X--- configure.orig	Mon Feb 12 12:13:21 2007
X+++ configure	Mon Feb 12 12:13:27 2007
X@@ -20574,8 +20574,12 @@
X fi;
X     SSLLIBS="$SSLLIBS -lssl -lcrypto"
X else
X-    SSLLIBS="`$PKG_CONFIG --libs openssl`"
X-    SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
X+	if `$PKG_CONFIG --libs openssl >> /dev/null 2>&1`; then
X+    	SSLLIBS="`$PKG_CONFIG --libs openssl`"
X+    	SSLFLAGS="`$PKG_CONFIG --cflags openssl`"
X+	else
X+		SSLLIBS="$SSLLIBS -lssl -lcrypto"
X+	fi
X fi
X echo "$as_me:$LINENO: checking for OpenSSL libraries" >&5
X echo $ECHO_N "checking for OpenSSL libraries... $ECHO_C" >&6
END-of-opensaml/files/patch-configure
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list