Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 17:19:32 +0200 (CEST)
From:      Janos Mohacsi <janos.mohacsi@bsd.hu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/114663: [NEW PORT] security/shibboleth-sp: C++ Shibboleth Service Provider (Internet2) for Apache
Message-ID:  <200707171519.l6HFJWYq009714@csoki.ki.iif.hu>
Resent-Message-ID: <200707171600.l6HG0AYg000470@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         114663
>Category:       ports
>Synopsis:       [NEW PORT] security/shibboleth-sp: C++ Shibboleth Service Provider (Internet2) for Apache
>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 Jul 17 16:00:09 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Janos Mohacsi
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
NIIF/HUNGARNET
>Environment:
System: FreeBSD csoki.ki.iif.hu 6.2-STABLE FreeBSD 6.2-STABLE #1: Thu Jun 28 13:14:41 CEST 2007
>Description:
Shibboleth is standards-based, open source middleware software which
provides Web Single SignOn (SSO) 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.

This software is a C++ implementation of the Service Provider
component of the Shibboleth can be used in Apache Web servers.  The
service provider manages secured resources. User access to resources
is based on assertions received by the service provider (SP) from
an identity provider.

WWW:	http://shibboleth.internet2.edu/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- shibboleth-sp-1.3f.shar begins here ---
# 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:
#
#	shibboleth-sp
#	shibboleth-sp/pkg-descr
#	shibboleth-sp/Makefile
#	shibboleth-sp/pkg-plist
#	shibboleth-sp/distinfo
#	shibboleth-sp/files
#	shibboleth-sp/files/patch-shib-target_shib-handlers.cpp
#	shibboleth-sp/files/patch-doc_Makefile.am
#	shibboleth-sp/files/patch-doc_Makefile.in
#	shibboleth-sp/files/shibboleth-sp.in
#
echo c - shibboleth-sp
mkdir -p shibboleth-sp > /dev/null 2>&1
echo x - shibboleth-sp/pkg-descr
sed 's/^X//' >shibboleth-sp/pkg-descr << 'END-of-shibboleth-sp/pkg-descr'
XShibboleth is standards-based, open source middleware software which
Xprovides Web Single SignOn (SSO) across or within organizational
Xboundaries. It allows sites to make informed authorization decisions
Xfor individual access of protected online resources in a
Xprivacy-preserving manner.
X
XThis software is a C++ implementation of the Service Provider
Xcomponent of the Shibboleth can be used in Apache Web servers.  The
Xservice provider manages secured resources. User access to resources
Xis based on assertions received by the service provider (SP) from
Xan identity provider.
X
XWWW:	http://shibboleth.internet2.edu/
END-of-shibboleth-sp/pkg-descr
echo x - shibboleth-sp/Makefile
sed 's/^X//' >shibboleth-sp/Makefile << 'END-of-shibboleth-sp/Makefile'
X# New ports collection makefile for:	security/shibboleth-sp
X# Date created:		2007-07-17
X# Whom:			Janos Mohacsi <janos.mohacsi@bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	shibboleth-sp
XPORTVERSION=	1.3f
XCATEGORIES=	security www
XMASTER_SITES=	http://shibboleth.internet2.edu/downloads/
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	C++ Shibboleth Service Provider (Internet2) for Apache
X
XLIB_DEPENDS=	saml.5:${PORTSDIR}/security/opensaml
X
XOPTIONS=	APACHE22 "Use apache version 2.2 instead of version 2.0"  on
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LDCONFI=	yes
XUSE_RC_SUBR=	shibboleth-sp
XAPXS?=		${LOCALBASE}/sbin/apxs
XWRKSRC=		${WRKDIR}/shibboleth-1.3
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_APACHE22)
XUSE_APACHE=	22
XCONFIGURE_ARGS=	--enable-apache-22 --with-apxs22=${APXS}
XBUILD_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
XRUN_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache22
X.else
XUSE_APACHE=	20
XCONFIGURE_ARGS=	--enable-apache-20 --with-apxs2=${APXS}
XBUILD_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache20
XRUN_DEPENDS+=	${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache20
X.endif
X
X.include <bsd.port.post.mk>
END-of-shibboleth-sp/Makefile
echo x - shibboleth-sp/pkg-plist
sed 's/^X//' >shibboleth-sp/pkg-plist << 'END-of-shibboleth-sp/pkg-plist'
X@comment $FreeBSD$
Xbin/test-client
Xbin/shibtest
Xbin/posttest
Xetc/shibboleth/shibboleth.xml
Xetc/shibboleth/shibboleth.xml.dist
Xetc/shibboleth/native.logger
Xetc/shibboleth/native.logger.dist
Xetc/shibboleth/shibd.logger
Xetc/shibboleth/shibd.logger.dist
Xetc/shibboleth/AAP.xml
Xetc/shibboleth/AAP.xml.dist
Xetc/shibboleth/IQ-metadata.xml
Xetc/shibboleth/IQ-metadata.xml.dist
Xetc/shibboleth/example-metadata.xml
Xetc/shibboleth/example-metadata.xml.dist
Xetc/shibboleth/shibboleth.logger
Xetc/shibboleth/shibboleth.logger.dist
Xetc/shibboleth/accessError.html
Xetc/shibboleth/accessError.html.dist
Xetc/shibboleth/rmError.html
Xetc/shibboleth/sslError.html
Xetc/shibboleth/rmError.html.dist
Xetc/shibboleth/sessionError.html
Xetc/shibboleth/sessionError.html.dist
Xetc/shibboleth/metadataError.html
Xetc/shibboleth/metadataError.html.dist
Xetc/shibboleth/sslError.html.dist
Xetc/shibboleth/sp-example.key
Xetc/shibboleth/sp-example.key.dist
Xetc/shibboleth/sp-example.crt
Xetc/shibboleth/sp-example.crt.dist
Xetc/shibboleth/shibd
Xetc/shibboleth/apache.config
Xetc/shibboleth/apache2.config
Xetc/shibboleth/apache22.config
Xetc/shibboleth/inqueue.pem
Xinclude/shib/shib.h
Xinclude/shib/shib-threads.h
Xinclude/shib/hresult.h
Xinclude/shib-target/shib-target.h
Xinclude/shib-target/shibrpc.h
Xinclude/shib-target/shib-paths.h
Xinclude/shib-target/hresult.h
Xlib/liboncrpc.so.2
Xlib/liboncrpc.so
Xlib/libshib.so.6
Xlib/libshib.so
Xlib/libshib-target.so.5
Xlib/libshib-target.so
Xlibexec/xmlproviders.so
Xlibexec/xmlproviders.la
Xlibexec/adfs.so
Xlibexec/adfs.la
Xlibexec/mod_shib_22.so
Xlibexec/mod_shib_22.la
Xsbin/shibd
Xsbin/siterefresh
Xshare/xml/shibboleth/credentials.xsd
Xshare/xml/shibboleth/cs-sstc-schema-assertion-01.xsd
Xshare/xml/shibboleth/cs-sstc-schema-protocol-01.xsd
Xshare/xml/shibboleth/cs-sstc-schema-assertion-1.1.xsd
Xshare/xml/shibboleth/cs-sstc-schema-protocol-1.1.xsd
Xshare/xml/shibboleth/soap-envelope.xsd
Xshare/xml/shibboleth/xmldsig-core-schema.xsd
Xshare/xml/shibboleth/xenc-schema.xsd
Xshare/xml/shibboleth/xml.xsd
Xshare/xml/shibboleth/shibboleth.xsd
Xshare/xml/shibboleth/shibboleth-trust-1.0.xsd
Xshare/xml/shibboleth/shibboleth-metadata-1.0.xsd
Xshare/xml/shibboleth/shibboleth-targetconfig-1.0.xsd
Xshare/xml/shibboleth/saml-schema-assertion-2.0.xsd
Xshare/xml/shibboleth/WS-Trust.xsd
Xshare/xml/shibboleth/saml-schema-metadata-2.0.xsd
Xshare/xml/shibboleth/metadata_v12_to_v11.xsl
Xshare/xml/shibboleth/metadata_v12_to_v13.xsl
Xshare/xml/shibboleth/metadata_v13_to_v12.xsl
Xshare/xml/shibboleth/trust_v12_to_v11.xsl
Xshare/xml/shibboleth/trust_v13_to_v12.xsl
Xshare/doc/shibboleth/CREDITS.txt
Xshare/doc/shibboleth/INSTALL.txt
Xshare/doc/shibboleth/INSTALL-WIN32.txt
Xshare/doc/shibboleth/LICENSE.txt
Xshare/doc/shibboleth/NEWS.txt
Xshare/doc/shibboleth/NOTICE.txt
Xshare/doc/shibboleth/README.txt
Xshare/doc/shibboleth/OPENSSL.LICENSE
Xshare/doc/shibboleth/LOG4CPP.LICENSE
Xshare/doc/shibboleth/CURL.LICENSE
Xshare/doc/shibboleth/mysql-4.0.12.diff
Xshare/doc/shibboleth/main.css
Xshare/doc/shibboleth/logo.jpg
X@dirrmtry var/log/shibboleth
X@dirrmtry var/log/httpd
X@dirrmtry var/log
X@dirrmtry var/run
X@dirrmtry share/xml/shibboleth
X@dirrmtry include/shib-target
X@dirrmtry include/shib
X@dirrmtry etc/shibboleth
X@dirrmtry share/doc/shibboleth
X@dirrmtry share/doc
X@dirrmtry data
END-of-shibboleth-sp/pkg-plist
echo x - shibboleth-sp/distinfo
sed 's/^X//' >shibboleth-sp/distinfo << 'END-of-shibboleth-sp/distinfo'
XMD5 (shibboleth-sp-1.3f.tar.gz) = cd28dedcbb9fe56e32e287506bf4fed6
XSHA256 (shibboleth-sp-1.3f.tar.gz) = e72a8935c0df038233cabb24a1aada2790b5bc76b5cf4f8108b3a9d9e4fa7e7a
XSIZE (shibboleth-sp-1.3f.tar.gz) = 846077
END-of-shibboleth-sp/distinfo
echo c - shibboleth-sp/files
mkdir -p shibboleth-sp/files > /dev/null 2>&1
echo x - shibboleth-sp/files/patch-shib-target_shib-handlers.cpp
sed 's/^X//' >shibboleth-sp/files/patch-shib-target_shib-handlers.cpp << 'END-of-shibboleth-sp/files/patch-shib-target_shib-handlers.cpp'
X
X$FreeBSD$
X
X--- shib-target/shib-handlers.cpp.orig
X+++ shib-target/shib-handlers.cpp
X@@ -544,8 +544,8 @@
X     for (; *s; s++) {
X         if (strchr(badchars,*s) || *s<=0x20 || *s>=0x7F) {
X             ret+='%';
X-        ret+=hexchar(*s >> 4);
X-        ret+=hexchar(*s & 0x0F);
X+        ret+=hexchar((unsigned char)*s >> 4);
X+        ret+=hexchar((unsigned char)*s & 0x0F);
X         }
X         else
X             ret+=*s;
END-of-shibboleth-sp/files/patch-shib-target_shib-handlers.cpp
echo x - shibboleth-sp/files/patch-doc_Makefile.am
sed 's/^X//' >shibboleth-sp/files/patch-doc_Makefile.am << 'END-of-shibboleth-sp/files/patch-doc_Makefile.am'
X
X$FreeBSD$
X
X--- doc/Makefile.am.orig
X+++ doc/Makefile.am
X@@ -1,6 +1,6 @@
X AUTOMAKE_OPTIONS = foreign
X 
X-pkgdocdir = $(prefix)/doc/@PACKAGE@
X+pkgdocdir = $(prefix)/share/doc/@PACKAGE@
X pkgdoc_DATA = \
X 	CREDITS.txt \
X 	INSTALL.txt \
X@@ -14,4 +14,4 @@
X 	CURL.LICENSE \
X 	mysql-4.0.12.diff \
X 	main.css \
X-	logo.jpg
X\ No newline at end of file
X+	logo.jpg
END-of-shibboleth-sp/files/patch-doc_Makefile.am
echo x - shibboleth-sp/files/patch-doc_Makefile.in
sed 's/^X//' >shibboleth-sp/files/patch-doc_Makefile.in << 'END-of-shibboleth-sp/files/patch-doc_Makefile.in'
X
X$FreeBSD$
X
X--- doc/Makefile.in.orig
X+++ doc/Makefile.in
X@@ -188,7 +188,7 @@
X sysconfdir = @sysconfdir@
X target_alias = @target_alias@
X AUTOMAKE_OPTIONS = foreign
X-pkgdocdir = $(prefix)/doc/@PACKAGE@
X+pkgdocdir = $(prefix)/share/doc/@PACKAGE@
X pkgdoc_DATA = \
X 	CREDITS.txt \
X 	INSTALL.txt \
END-of-shibboleth-sp/files/patch-doc_Makefile.in
echo x - shibboleth-sp/files/shibboleth-sp.in
sed 's/^X//' >shibboleth-sp/files/shibboleth-sp.in << 'END-of-shibboleth-sp/files/shibboleth-sp.in'
X#!/bin/sh
X#
X# $FreeBSD$
X#
X# PROVIDE: shibboleth_sp
X# REQUIRE: DAEMON
X#
X
X. %%RC_SUBR%%
X
Xname="shibboleth_sp"
Xrcvar=${name}_enable
X
X[ -z "$shibboleth_sp_enable" ] && shibboleth_sp_enable="NO"
Xpidfile="/var/run/${name}.pid"
Xcommand="%%PREFIX%%/sbin/shibd"
Xstart_cmd="${command} -p ${pidfile} &"
X
Xload_rc_config $name
Xrun_rc_command "$1"
END-of-shibboleth-sp/files/shibboleth-sp.in
exit
--- shibboleth-sp-1.3f.shar ends here ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707171519.l6HFJWYq009714>