2013-04-28 23:02:39 +02:00
|
|
|
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
|
2007-08-04 01:21:25 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= shibboleth-sp
|
2011-07-28 13:55:02 +02:00
|
|
|
PORTVERSION= 2.4.3
|
2012-06-01 17:02:49 +02:00
|
|
|
PORTREVISION= 1
|
2007-08-04 01:21:25 +02:00
|
|
|
CATEGORIES= security www
|
2011-07-28 13:55:02 +02:00
|
|
|
MASTER_SITES= http://www.shibboleth.net/downloads/service-provider/${PORTVERSION}/
|
2007-08-04 01:21:25 +02:00
|
|
|
|
2011-07-28 13:55:02 +02:00
|
|
|
MAINTAINER= swills@FreeBSD.org
|
2007-08-04 01:21:25 +02:00
|
|
|
COMMENT= C++ Shibboleth Service Provider (Internet2) for Apache
|
|
|
|
|
2011-06-27 04:57:29 +02:00
|
|
|
LIB_DEPENDS= saml.7:${PORTSDIR}/security/opensaml2
|
2007-08-04 01:21:25 +02:00
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
OPTIONS_DEFINE= APACHE22
|
|
|
|
APACHE22_DESC= Use Apache version 2.2 instead of version 2.0
|
2007-08-04 01:21:25 +02:00
|
|
|
|
2010-01-26 03:35:37 +01:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2007-08-04 01:21:25 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_RC_SUBR= shibboleth-sp
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf automake:env libtool:env
|
2010-01-26 03:35:37 +01:00
|
|
|
WRKSRC= ${WRKDIR}/shibboleth-${PORTVERSION}
|
|
|
|
|
|
|
|
LATEST_LINK= shibboleth2-sp
|
2007-08-04 01:21:25 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-04-28 23:02:39 +02:00
|
|
|
.if ${PORT_OPTIONS:MAPACHE22}
|
2007-08-04 01:21:25 +02:00
|
|
|
USE_APACHE= 22
|
|
|
|
CONFIGURE_ARGS= --enable-apache-22 --with-apxs22=${APXS}
|
2010-01-26 03:35:37 +01:00
|
|
|
PLIST_SUB+= WITH_APACHE_22=""
|
|
|
|
PLIST_SUB+= WITH_APACHE_20="@comment "
|
2007-08-04 01:21:25 +02:00
|
|
|
.else
|
2012-08-18 16:29:08 +02:00
|
|
|
IGNORE= apache20 is no longer available
|
|
|
|
#USE_APACHE= 20
|
|
|
|
#CONFIGURE_ARGS= --enable-apache-20 --with-apxs2=${APXS} --with-apr=${PREFIX}/lib/apache2/apr-config --with-apu=${PREFIX}/lib/apache2/apu-config
|
2010-01-26 03:35:37 +01:00
|
|
|
PLIST_SUB+= WITH_APACHE_22="@comment "
|
|
|
|
PLIST_SUB+= WITH_APACHE_20=""
|
2007-08-04 01:21:25 +02:00
|
|
|
.endif
|
2010-01-26 03:35:37 +01:00
|
|
|
CONFIGURE_ARGS+= --localstatedir=/var --with-log4shib=${LOCALBASE}
|
|
|
|
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} --with-xmltooling=${LOCALBASE}
|
|
|
|
CONFIGURE_ARGS+= --disable-doxygen-doc
|
2007-08-04 01:21:25 +02:00
|
|
|
|
2010-01-26 03:35:37 +01:00
|
|
|
pre-configure:
|
2007-08-04 01:21:25 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/run|/run/shibboleth|' ${WRKSRC}/configs/Makefile.in
|
2010-01-26 03:35:37 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|/doc/@PACKAGE@-@PACKAGE_VERSION@|/doc/@PACKAGE@|' \
|
|
|
|
${WRKSRC}/configs/Makefile.am ${WRKSRC}/configs/Makefile.in \
|
|
|
|
${WRKSRC}/doc/Makefile.am ${WRKSRC}/doc/Makefile.in
|
|
|
|
${RM} ${WRKSRC}/aclocal.m4
|
|
|
|
@cd ${WRKSRC} && ${AUTORECONF} -fvi
|
2007-09-30 12:33:03 +02:00
|
|
|
|
2007-08-04 01:21:25 +02:00
|
|
|
.include <bsd.port.post.mk>
|