Bug 127402 - [NEW PORT] security/shibboleth2-sp: C++ Shibboleth Service Provider (Internet2) for Apache
Summary: [NEW PORT] security/shibboleth2-sp: C++ Shibboleth Service Provider (Internet...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-15 18:10 UTC by Janos Mohacsi
Modified: 2009-06-25 16:57 UTC (History)
0 users

See Also:


Attachments
shibboleth-sp-2.1.shar (9.61 KB, text/plain)
2008-09-15 18:10 UTC, Janos Mohacsi
no flags Details
shibboleth2-sp.shar (9.62 KB, TEXT/PLAIN; charset=US-ASCII)
2009-02-04 12:10 UTC, Mohacsi Janos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Janos Mohacsi 2008-09-15 18:10:01 UTC
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 version 2
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

NOTE:
this should replace in long term the security/shibboleth-sp port. I created 
under different name since they are configured rather differently. No easy
upgrade path is possible form shibbolet sp 1.3 to 2.x.

This requires some already submitted ports/patches:

opensaml2, xmltooling, xerces-c2 vesion 2.8! etc.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2008-09-15 18:18:36 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2008-11-22 16:28:43 UTC
State Changed
From-To: open->feedback

Hi, 

Build failed, could you please take a look, 

http://i386.miwibox.org/index.php?action=describe_port&id=1654 
http://amd64.miwibox.org/index.php?action=describe_port&id=1684 


Thanks, Martin
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2009-01-05 16:25:34 UTC
State Changed
From-To: feedback->closed

timeout about 2 months.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2009-01-12 17:39:46 UTC
State Changed
From-To: closed->suspended

Submitter is working on an update. 


Comment 5 Mark Linimon freebsd_committer freebsd_triage 2009-01-12 17:39:46 UTC
Responsible Changed
From-To: miwi->freebsd-ports-bugs

Back to pool until then.
Comment 6 Mohacsi Janos 2009-02-04 12:10:58 UTC
Dear All,
 	Here I send a new shar which is fixing the packaging problem.
 	Best Regards,

Janos Mohacsi
Network Engineer, Research Associate, Head of Network Planning and Projects
NIIF/HUNGARNET, HUNGARY
Key 70EF9882: DEC2 C685 1ED4 C95A 145F  4300 6F64 7B00 70EF 9882

On Mon, 12 Jan 2009, linimon@FreeBSD.org wrote:

> Synopsis: [NEW PORT] security/shibboleth2-sp: C++ Shibboleth Service Provider (Internet2) for Apache
>
> State-Changed-From-To: closed->suspended
> State-Changed-By: linimon
> State-Changed-When: Mon Jan 12 17:39:46 UTC 2009
> State-Changed-Why:
> Submitter is working on an update.
>
>
> Responsible-Changed-From-To: miwi->freebsd-ports-bugs
> Responsible-Changed-By: linimon
> Responsible-Changed-When: Mon Jan 12 17:39:46 UTC 2009
> Responsible-Changed-Why:
> Back to pool until then.
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=127402
>
Comment 7 Philip M. Gollucci freebsd_committer freebsd_triage 2009-04-21 02:42:59 UTC
State Changed
From-To: suspended->open

to apache, re-open, new shar sent 


Comment 8 Philip M. Gollucci freebsd_committer freebsd_triage 2009-04-21 02:42:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->apache

to apache, re-open, new shar sent
Comment 9 Philip M. Gollucci 2009-04-22 06:01:46 UTC
Still not right.


$ sh ~/p.shar
c - shibboleth2-sp/
c - shibboleth2-sp/files
x - shibboleth2-sp/files/shibboleth-sp.in
/home/pgollucci/p.shar: cannot create
shibboleth2-sp/files/shibboleth-sp.in: No such file or directory
x - shibboleth2-sp/files/patch-shibsp_remoting_impl_TCPListener.cpp
/home/pgollucci/p.shar: cannot create
shibboleth2-sp/files/patch-shibsp_remoting_impl_TCPListener.cpp: No such
file or directory
x - shibboleth2-sp/Makefile
x - shibboleth2-sp/distinfo
x - shibboleth2-sp/pkg-descr
x - shibboleth2-sp/pkg-plist
: not found
: not found

-- 
------------------------------------------------------------------------
Philip M. Gollucci (philip@ridecharge.com)
did: 703.579.6947, o: 703.549.2050x206
Senior System Admin - RideCharge Inc.
http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
Comment 10 Philip M. Gollucci freebsd_committer freebsd_triage 2009-04-22 06:01:57 UTC
State Changed
From-To: open->feedback

feedback
Comment 11 Philip M. Gollucci freebsd_committer freebsd_triage 2009-05-20 20:01:05 UTC
State Changed
From-To: feedback->closed

feedback timeout (1 month)
Comment 12 Philip M. Gollucci freebsd_committer freebsd_triage 2009-06-22 20:32:34 UTC
State Changed
From-To: closed->open

Submitter has fixed.
Comment 13 Steve Wills 2009-06-22 20:40:18 UTC
# 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:
#
#	shibboleth2-sp/
#	shibboleth2-sp/files
#	shibboleth2-sp/files/shibboleth-sp.in
#	shibboleth2-sp/files/patch-shibsp_remoting_impl_TCPListener.cpp
#	shibboleth2-sp/Makefile
#	shibboleth2-sp/distinfo
#	shibboleth2-sp/pkg-descr
#	shibboleth2-sp/pkg-plist
#
echo c - shibboleth2-sp/
mkdir -p shibboleth2-sp/ > /dev/null 2>&1
echo c - shibboleth2-sp/files
mkdir -p shibboleth2-sp/files > /dev/null 2>&1
echo x - shibboleth2-sp/files/shibboleth-sp.in
sed 's/^X//' >shibboleth2-sp/files/shibboleth-sp.in << '53ff55569c92c6723b5811f675bb98ca'
X#!/bin/sh
X#
X# $FreeBSD: ports/security/shibboleth-sp/files/shibboleth-sp.in,v 1.1 2007/08/03 23:21:25 pav Exp $
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} -f -p ${pidfile} &"
X
Xload_rc_config $name
Xrun_rc_command "$1"
53ff55569c92c6723b5811f675bb98ca
echo x - shibboleth2-sp/files/patch-shibsp_remoting_impl_TCPListener.cpp
sed 's/^X//' >shibboleth2-sp/files/patch-shibsp_remoting_impl_TCPListener.cpp << '2906cc9ba467a1c1e0b33182a8946ebe'
X
X$FreeBSD$
X
X--- shibsp/remoting/impl/TCPListener.cpp.orig
X+++ shibsp/remoting/impl/TCPListener.cpp
X@@ -38,6 +38,7 @@
X #include <stdio.h>
X #include <stdlib.h>
X #include <errno.h>
X+#include <netinet/in.h>
X 
X using namespace shibsp;
X using namespace xmltooling;
2906cc9ba467a1c1e0b33182a8946ebe
echo x - shibboleth2-sp/Makefile
sed 's/^X//' >shibboleth2-sp/Makefile << '4fd46d52947d4efb233058bd57dd4019'
X# New ports collection makefile for:	security/shibboleth2-sp
X# Date created:		17 Sept2008
X# Whom:			Janos Mohacsi <janos.mohacsi@bsd.hu>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	shibboleth-sp
XPORTVERSION=	2.1
XCATEGORIES=	security www
XMASTER_SITES=	http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/2.1/
X
XMAINTAINER=	janos.mohacsi@bsd.hu
XCOMMENT=	C++ Shibboleth Service Provider (Internet2) for Apache
X
XLIB_DEPENDS=	saml.3:${PORTSDIR}/security/opensaml2
X
XOPTIONS=	APACHE22 "Use Apache version 2.2 instead of version 2.0"  on
X
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
XUSE_LDCONFIG=	yes
XUSE_RC_SUBR=	shibboleth-sp
XWRKSRC=		${WRKDIR}/shibboleth-${PORTVERSION}
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_APACHE22)
XUSE_APACHE=	22
XCONFIGURE_ARGS=	--enable-apache-22 --with-apxs22=${APXS}
X.else
XUSE_APACHE=	20
XCONFIGURE_ARGS=	--enable-apache-20 --with-apxs2=${APXS}
X.endif
XCONFIGURE_ARGS+=	--localstatedir=/var --with-log4shib=${LOCALBASE} --with-openssl=${OPENSSLBASE} --with-xmltooling=${LOCALBASE}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|/run|/run/shibboleth|' ${WRKSRC}/configs/Makefile.in
X
X.include <bsd.port.post.mk>
4fd46d52947d4efb233058bd57dd4019
echo x - shibboleth2-sp/distinfo
sed 's/^X//' >shibboleth2-sp/distinfo << 'bba97482a1f55e06d2ef39a4e7ea9336'
XMD5 (shibboleth-sp-2.1.tar.gz) = 39c35035139f2cf06b05633b79441852
XSHA256 (shibboleth-sp-2.1.tar.gz) = 6967dc482ee9a6b24335ee1e14954f78815393252a0fde0c44b4274ff5462554
XSIZE (shibboleth-sp-2.1.tar.gz) = 756381
bba97482a1f55e06d2ef39a4e7ea9336
echo x - shibboleth2-sp/pkg-descr
sed 's/^X//' >shibboleth2-sp/pkg-descr << '43f0b1cb8dbc5b586de1850037493138'
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 version 2
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/
43f0b1cb8dbc5b586de1850037493138
echo x - shibboleth2-sp/pkg-plist
sed 's/^X//' >shibboleth2-sp/pkg-plist << 'f59698c4ce0f2ede0c1ab24befde3bfc'
Xbin/mdquery
Xbin/resolvertest
Xetc/shibboleth/native.logger
Xetc/shibboleth/native.logger.dist
Xetc/shibboleth/shibd.logger
Xetc/shibboleth/shibd.logger.dist
Xetc/shibboleth/shibboleth2.xml
Xetc/shibboleth/shibboleth2.xml.dist
Xetc/shibboleth/attribute-map.xml
Xetc/shibboleth/attribute-map.xml.dist
Xetc/shibboleth/attribute-policy.xml
Xetc/shibboleth/attribute-policy.xml.dist
Xetc/shibboleth/example-metadata.xml
Xetc/shibboleth/example-metadata.xml.dist
Xetc/shibboleth/console.logger
Xetc/shibboleth/console.logger.dist
Xetc/shibboleth/syslog.logger
Xetc/shibboleth/syslog.logger.dist
Xetc/shibboleth/accessError.html
Xetc/shibboleth/accessError.html.dist
Xetc/shibboleth/sessionError.html
Xetc/shibboleth/sessionError.html.dist
Xetc/shibboleth/metadataError.html
Xetc/shibboleth/metadataError.html.dist
Xetc/shibboleth/bindingTemplate.html
Xetc/shibboleth/bindingTemplate.html.dist
Xetc/shibboleth/discoveryTemplate.html
Xetc/shibboleth/discoveryTemplate.html.dist
Xetc/shibboleth/localLogout.html
Xetc/shibboleth/localLogout.html.dist
Xetc/shibboleth/globalLogout.html
Xetc/shibboleth/globalLogout.html.dist
Xetc/shibboleth/sslError.html
Xetc/shibboleth/sslError.html.dist
Xetc/shibboleth/shibd-redhat
Xetc/shibboleth/shibd-debian
Xetc/shibboleth/shibd-osx.plist
Xetc/shibboleth/apache.config
Xetc/shibboleth/apache2.config
Xetc/shibboleth/apache22.config
Xetc/shibboleth/keygen.sh
Xetc/shibboleth/upgrade.xsl
Xetc/shibboleth/sp-key.pem
Xetc/shibboleth/sp-cert.pem
Xinclude/shibsp/attribute/filtering/AttributeFilter.h
Xinclude/shibsp/attribute/filtering/BasicFilteringContext.h
Xinclude/shibsp/attribute/filtering/FilteringContext.h
Xinclude/shibsp/attribute/filtering/FilterPolicyContext.h
Xinclude/shibsp/attribute/filtering/MatchFunctor.h
Xinclude/shibsp/attribute/Attribute.h
Xinclude/shibsp/attribute/AttributeDecoder.h
Xinclude/shibsp/attribute/NameIDAttribute.h
Xinclude/shibsp/attribute/ScopedAttribute.h
Xinclude/shibsp/attribute/SimpleAttribute.h
Xinclude/shibsp/attribute/resolver/AttributeExtractor.h
Xinclude/shibsp/attribute/resolver/AttributeResolver.h
Xinclude/shibsp/attribute/resolver/ResolutionContext.h
Xinclude/shibsp/binding/ArtifactResolver.h
Xinclude/shibsp/binding/SOAPClient.h
Xinclude/shibsp/handler/AbstractHandler.h
Xinclude/shibsp/handler/AssertionConsumerService.h
Xinclude/shibsp/handler/Handler.h
Xinclude/shibsp/handler/LogoutHandler.h
Xinclude/shibsp/handler/RemotedHandler.h
Xinclude/shibsp/handler/SessionInitiator.h
Xinclude/shibsp/AbstractSPRequest.h
Xinclude/shibsp/AccessControl.h
Xinclude/shibsp/Application.h
Xinclude/shibsp/base.h
Xinclude/shibsp/exceptions.h
Xinclude/shibsp/paths.h
Xinclude/shibsp/RequestMapper.h
Xinclude/shibsp/ServiceProvider.h
Xinclude/shibsp/SessionCache.h
Xinclude/shibsp/SessionCacheEx.h
Xinclude/shibsp/SPConfig.h
Xinclude/shibsp/SPRequest.h
Xinclude/shibsp/TransactionLog.h
Xinclude/shibsp/version.h
Xinclude/shibsp/lite/CommonDomainCookie.h
Xinclude/shibsp/lite/SAMLConstants.h
Xinclude/shibsp/metadata/MetadataExt.h
Xinclude/shibsp/metadata/MetadataProviderCriteria.h
Xinclude/shibsp/remoting/ddf.h
Xinclude/shibsp/remoting/ListenerService.h
Xinclude/shibsp/security/PKIXTrustEngine.h
Xinclude/shibsp/security/SecurityPolicy.h
Xinclude/shibsp/util/CGIParser.h
Xinclude/shibsp/util/DOMPropertySet.h
Xinclude/shibsp/util/PropertySet.h
Xinclude/shibsp/util/SPConstants.h
Xinclude/shibsp/util/TemplateParameters.h
Xlib/libshibsp.so.2
Xlib/libshibsp.so
Xlib/shibboleth/adfs.so
Xlib/shibboleth/adfs.la
Xlib/shibboleth/adfs-lite.so
Xlib/shibboleth/adfs-lite.la
Xlib/shibboleth/mod_shib_22.so
Xlib/shibboleth/mod_shib_22.la
Xlib/libshibsp-lite.so.2
Xlib/libshibsp-lite.so
Xsbin/shibd
Xshare/xml/shibboleth/catalog.xml
Xshare/xml/shibboleth/shibboleth.xsd
Xshare/xml/shibboleth/shibboleth-metadata-1.0.xsd
Xshare/xml/shibboleth/shibboleth-2.0-native-sp-config.xsd
Xshare/xml/shibboleth/shibboleth-2.0-afp.xsd
Xshare/xml/shibboleth/shibboleth-2.0-afp-mf-basic.xsd
Xshare/xml/shibboleth/shibboleth-2.0-afp-mf-saml.xsd
Xshare/xml/shibboleth/shibboleth-2.0-attribute-map.xsd
Xshare/xml/shibboleth/shibboleth-2.0-sp-notify.xsd
Xshare/xml/shibboleth/WS-Trust.xsd
Xshare/doc/shibboleth/CREDITS.txt
Xshare/doc/shibboleth/LICENSE.txt
Xshare/doc/shibboleth/NOTICE.txt
Xshare/doc/shibboleth/README.txt
Xshare/doc/shibboleth/RELEASE.txt
Xshare/doc/shibboleth/FASTCGI.LICENSE
Xshare/doc/shibboleth/OPENSSL.LICENSE
Xshare/doc/shibboleth/LOG4CPP.LICENSE
Xshare/doc/shibboleth/main.css
Xshare/doc/shibboleth/logo.jpg
X@exec mkdir -p %D/data
X@exec mkdir -p /var/log/shibboleth
X@exec mkdir -p /var/run/shibboleth
X@exec chmod -R ug=rwx,o= /var/run/shibboleth
X@unexec rm -rf /var/run/shibboleth 2>&1 >/dev/null || true
X@dirrmtry share/doc/shibboleth/api
X@dirrmtry share/doc/shibboleth
X@dirrmtry lib/shibboleth
X@dirrmtry share/xml/shibboleth
X@dirrmtry include/shibsp/util
X@dirrmtry include/shibsp/security
X@dirrmtry include/shibsp/remoting
X@dirrmtry include/shibsp/metadata
X@dirrmtry include/shibsp/lite
X@dirrmtry include/shibsp/handler
X@dirrmtry include/shibsp/binding
X@dirrmtry include/shibsp/attribute/resolver
X@dirrmtry include/shibsp/attribute/filtering
X@dirrmtry include/shibsp/attribute
X@dirrmtry include/shibsp
X@dirrmtry etc/shibboleth
X@dirrmtry data
f59698c4ce0f2ede0c1ab24befde3bfc
exit
Comment 14 Mark Linimon freebsd_committer freebsd_triage 2009-06-25 16:55:56 UTC
State Changed
From-To: open->closed

Superseded by ports/136034. 


Comment 15 Mark Linimon freebsd_committer freebsd_triage 2009-06-25 16:55:56 UTC
Responsible Changed
From-To: apache->linimon