pkgsrc/www/shibboleth-sp/Makefile
pettai b25d755b8b 2.4.3:
Bug:
* [SSPCPP-357] - Library init routines should be idempotent
* [SSPCPP-358] - OpenSUSE 11.4 RPM build can't handle warnings during mod_shib build
* [SSPCPP-363] - Windows Installer loops infinitely if the SP is deinstalled from the Control Panel
* [SSPCPP-368] - Fails to build with g++ 4.6 (missing stddef.h)
* [SSPCPP-370] - SSL_CHECK_SERVERHELLO_TLSEXT
* [SSPCPP-371] - <SSO>SAML2</SSO> does not enable ECP support
* [SSPCPP-372] - Bug in query in ODBC storage service plugin
* [SSPCPP-374] - metagen.sh creates PAOS ACS elements twice
* [SSPCPP-379] - DiscoFeed should return empty feed with no metadata provider
* [SSPCPP-380] - When maxTimeSinceAuthn is used, valid time interval is miscalculated when IdP time is a few seconds ahead of SP time

Improvement:
* [SSPCPP-359] - metagen.sh includes xmlns for NAKEDHOSTS
* [SSPCPP-381] - Option to expire redirects on Apache

New Feature:
* [SSPCPP-364] - Add <mdui> examples into the example metadata shipped with the SP
2011-07-28 23:16:24 +00:00

110 lines
3.8 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2011/07/28 23:16:24 pettai Exp $
#
DISTNAME= shibboleth-sp-2.4.3
CATEGORIES= www
MASTER_SITES= http://www.shibboleth.net/downloads/service-provider/${PKGVERSION_NOREV}/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://shibboleth.internet2.edu/
COMMENT= Shibboleth2 Service Provider
LICENSE= apache-2.0
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_DEFS+= VARBASE
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xmltooling=${PREFIX:Q}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
WRKSRC= ${WRKDIR}/shibboleth-${PKGVERSION_NOREV}
EGDIR= ${PREFIX}/share/examples/shibboleth
SHIB_CONFDIR= ${PKG_SYSCONFDIR}/shibboleth
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
RCD_SCRIPTS= shibd
APACHE_MODULE= YES
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/configs/Makefile.in
SUBST_FILES.paths+= ${WRKSRC}/configs/keygen.sh
SUBST_STAGE.paths= post-patch
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
SUBST_SED.paths+= -e 's,@SHIB_CONFDIR@,${SHIB_CONFDIR},'
CONF_FILES= ${EGDIR}/console.logger \
${SHIB_CONFDIR}/console.logger
CONF_FILES+= ${EGDIR}/native.logger \
${SHIB_CONFDIR}/native.logger
CONF_FILES+= ${EGDIR}/shibd.logger \
${SHIB_CONFDIR}/shibd.logger
CONF_FILES+= ${EGDIR}/syslog.logger \
${SHIB_CONFDIR}/syslog.logger
CONF_FILES+= ${EGDIR}/shibboleth2.xml \
${SHIB_CONFDIR}/shibboleth2.xml
CONF_FILES+= ${EGDIR}/attribute-map.xml \
${SHIB_CONFDIR}/attribute-map.xml
CONF_FILES+= ${EGDIR}/attribute-policy.xml \
${PKG_SYSCONFDIR}/attribute-policy.xml
CONF_FILES+= ${EGDIR}/protocols.xml \
${SHIB_CONFDIR}/protocols.xml
CONF_FILES+= ${EGDIR}/security-policy.xml \
${SHIB_CONFDIR}/security-policy.xml
CONF_FILES+= ${EGDIR}/accessError.html \
${SHIB_CONFDIR}/accessError.html
CONF_FILES+= ${EGDIR}/sessionError.html \
${SHIB_CONFDIR}/sessionError.html
CONF_FILES+= ${EGDIR}/metadataError.html \
${SHIB_CONFDIR}/metadataError.html
CONF_FILES+= ${EGDIR}/bindingTemplate.html \
${SHIB_CONFDIR}/bindingTemplate.html
CONF_FILES+= ${EGDIR}/discoveryTemplate.html \
${SHIB_CONFDIR}/discoveryTemplate.html
CONF_FILES+= ${EGDIR}/postTemplate.html \
${SHIB_CONFDIR}/postTemplate.html
CONF_FILES+= ${EGDIR}/localLogout.html \
${SHIB_CONFDIR}/localLogout.html
CONF_FILES+= ${EGDIR}/globalLogout.html \
${SHIB_CONFDIR}/globalLogout.html
CONF_FILES+= ${EGDIR}/partialLogout.html \
${SHIB_CONFDIR}/partialLogout.html
CONF_FILES+= ${EGDIR}/sslError.html \
${SHIB_CONFDIR}/sslError.html
INSTALLATION_DIRS+= ${PREFIX}/bin ${PREFIX}/sbin
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/attribute/resolver
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/binding
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/handler
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/lite
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/metadata
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/remoting
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/security
INSTALLATION_DIRS+= ${PREFIX}/include/shibsp/util
INSTALLATION_DIRS+= ${PREFIX}/share/doc/shibboleth-${PKGVERSION_NOREV}
INSTALLATION_DIRS+= ${PREFIX}/share/doc/shibboleth-${PKGVERSION_NOREV}/api
INSTALLATION_DIRS+= ${PREFIX}/share/xml/shibboleth
INSTALLATION_DIRS+= ${PREFIX}/lib/shibboleth
INSTALLATION_DIRS+= ${EGDIR} ${SHIB_CONFDIR}
OWN_DIRS+= ${VARBASE}/log/shibboleth
post-install:
${INSTALL} ${WRKSRC}/configs/keygen.sh \
${DESTDIR}${PREFIX}/sbin/shib-keygen
${INSTALL} ${WRKSRC}/configs/metagen.sh \
${DESTDIR}${PREFIX}/bin/shib-metagen
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/log4shib/buildlink3.mk"
.include "../../textproc/xerces-c/buildlink3.mk"
.include "../../security/xml-security-c/buildlink3.mk"
.include "../../textproc/xmltooling/buildlink3.mk"
.include "../../security/opensaml/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"