21a283f3be
UNIQUENAME was never unique, it was only used by USE_LDCONFIG and now, we won't have conflicts there. Use PKGBASE instead of LATEST_LINK in PKGLATESTFILE, the *only* consumer is pkg-devel, and it works just fine without LATEST_LINK as pkg-devel has the correct PKGNAME anyway. Now that UNIQUENAME is gone, OPTIONSFILE is too. (it's been called OPTIONS_FILE now.) Reviewed by: antoine, bapt Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3336
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# Created by: Janos Mohacsi <janos.mohacsi@bsd.hu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= shibboleth-sp
|
|
PORTVERSION= 2.5.5
|
|
PORTREVISION= 1
|
|
CATEGORIES= security www
|
|
MASTER_SITES= http://shibboleth.net/downloads/service-provider/${PORTVERSION}/
|
|
|
|
MAINTAINER= girgen@FreeBSD.org
|
|
COMMENT= C++ Shibboleth Service Provider (Internet2) for Apache
|
|
|
|
BUILD_DEPENDS= boost-libs>=0:${PORTSDIR}/devel/boost-libs
|
|
LIB_DEPENDS= libsaml.so.8:${PORTSDIR}/security/opensaml2 libodbc.so:${PORTSDIR}/databases/unixODBC
|
|
|
|
USES= gmake
|
|
GNU_CONFIGURE= yes
|
|
MAKE_ENV= NOKEYGEN=YES
|
|
USE_LDCONFIG= yes
|
|
USE_RC_SUBR= shibboleth-sp
|
|
|
|
USERS= shibd
|
|
GROUPS= shibd
|
|
|
|
USE_APACHE= 22+
|
|
USE_OPENSSL= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.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} WWWGRP=${WWWGRP}
|
|
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+= --enable-odbc
|
|
CONFIGURE_ARGS+= --with-openssl=${OPENSSLBASE} --with-xmltooling=${LOCALBASE}
|
|
CONFIGURE_ARGS+= --disable-doxygen-doc
|
|
|
|
.include <bsd.port.post.mk>
|