blob: d15ef36e621b4544a1e570cb03114b186399d2be (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# $NetBSD: Makefile,v 1.29 2018/12/13 19:52:26 adam Exp $
#
DISTNAME= shibboleth-sp-2.5.5
PKGREVISION= 9
CATEGORIES= www
MASTER_SITES= http://www.shibboleth.net/downloads/service-provider/${PKGVERSION_NOREV}/
MAINTAINER= pettai@NetBSD.org
HOMEPAGE= http://shibboleth.net/
COMMENT= Shibboleth2 Service Provider
LICENSE= apache-2.0
BUILD_DEFS+= VARBASE
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-xmltooling=${PREFIX}
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
EGDIR= ${PREFIX}/share/examples/shibboleth
SHIB_CONFDIR= ${PKG_SYSCONFDIR}/shibboleth
USE_LIBTOOL= yes
USE_LANGUAGES= c c++
CFLAGS.SunOS+= -fpermissive
RCD_SCRIPTS= shibd
APACHE_MODULE= YES
PLIST_SUBST+= PKG_APACHE_NUM=${PKG_APACHE:S/apache//}
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${WRKSRC}/configs/Makefile.in
SUBST_FILES.paths+= ${WRKSRC}/configs/keygen.sh
SUBST_STAGE.paths= pre-configure
SUBST_SED.paths= -e 's,@EGDIR@,${EGDIR},'
SUBST_SED.paths+= -e 's,@SHIB_CONFDIR@,${SHIB_CONFDIR},'
REPLACE_BASH= configs/metagen.sh
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 "../../devel/boost-libs/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../devel/boost-headers/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"
|