aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2008-03-24 00:21:43 +0800
committerahze <ahze@FreeBSD.org>2008-03-24 00:21:43 +0800
commit652b5f2ab695eee5d807552834f0b56e9bc4449d (patch)
tree5db83911d5f0a139c60e0fdc957eaee4a668fa2d /net-p2p
parent309d7e9a5a5135d10c399c6626d36fbf91123f3f (diff)
downloadfreebsd-ports-graphics-652b5f2ab695eee5d807552834f0b56e9bc4449d.tar.gz
freebsd-ports-graphics-652b5f2ab695eee5d807552834f0b56e9bc4449d.tar.zst
freebsd-ports-graphics-652b5f2ab695eee5d807552834f0b56e9bc4449d.zip
system-config-printer --> ports/print/system-config-printer
Diffstat (limited to 'net-p2p')
0 files changed, 0 insertions, 0 deletions
ain/security/shibboleth2-sp/Makefile?h=gstreamer0.10-removal&id=1fbc15da8caf5b6dab02ab14848106893a28450c'>plain) (blame)
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
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
# $FreeBSD$

PORTNAME=   shibboleth-sp
PORTVERSION=    2.5.2
CATEGORIES= security www
MASTER_SITES=   http://shibboleth.net/downloads/service-provider/${PORTVERSION}/

MAINTAINER= girgen@FreeBSD.org
COMMENT=    C++ Shibboleth Service Provider (Internet2) for Apache

LIB_DEPENDS=    saml.8:${PORTSDIR}/security/opensaml2

BUILD_DEPENDS=  boost-libs>=0:${PORTSDIR}/devel/boost-libs

MAKE_JOBS_SAFE= yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
MAKE_ENV=   NOKEYGEN=YES
USE_LDCONFIG=   yes
USE_RC_SUBR=    shibboleth-sp

LATEST_LINK=    shibboleth2-sp

USERS=      shibd
GROUPS=     shibd

USE_APACHE= 22-24
USE_OPENSSL=    yes

.include <bsd.port.pre.mk>

.if ${APACHE_VERSION} == 22
CONFIGURE_ARGS= --enable-apache-22 --with-apxs22=${APXS}
PLIST_SUB+= WITH_APACHE_22=""
PLIST_SUB+= WITH_APACHE_24="@comment "
.else
CONFIGURE_ARGS= --enable-apache-24 --with-apxs24=${APXS}
PLIST_SUB+= WITH_APACHE_22="@comment "
PLIST_SUB+= WITH_APACHE_24=""
.endif

SUB_LIST+=  SH=${SH}
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}

SUB_LIST+=  SHIBD_USER=${USERS}
SUB_LIST+=  SHIBD_GROUP=${GROUPS}
PLIST_SUB+= SHIBD_USER=${USERS}
PLIST_SUB+= SHIBD_GROUP=${GROUPS}

CONFIGURE_ARGS+=    --localstatedir=/var --with-log4shib=${LOCALBASE}
CONFIGURE_ARGS+=    --with-openssl=${OPENSSLBASE} --with-xmltooling=${LOCALBASE}
CONFIGURE_ARGS+=    --disable-doxygen-doc

post-install:
    ${CHOWN} -R ${USERS}:${GROUPS} /var/cache/shibboleth ;\
    ${CHOWN} -R ${USERS}:${GROUPS} /var/log/shibboleth ;\
        ${CHOWN} -R ${USERS}:${WWWGRP} /var/run/shibboleth ;\
        ${CHMOD} -R u=rwx,g=rx,o= /var/run/shibboleth

.include <bsd.port.post.mk>