Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2016 14:23:02 +0000 (UTC)
From:      "Lev A. Serebryakov" <lev@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r411401 - head/www/serf
Message-ID:  <201603191423.u2JEN2Ye003245@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lev
Date: Sat Mar 19 14:23:02 2016
New Revision: 411401
URL: https://svnweb.freebsd.org/changeset/ports/411401

Log:
   Ad support for different Kerberos installations.
  
  PR:		207508

Modified:
  head/www/serf/Makefile

Modified: head/www/serf/Makefile
==============================================================================
--- head/www/serf/Makefile	Sat Mar 19 14:21:39 2016	(r411400)
+++ head/www/serf/Makefile	Sat Mar 19 14:23:02 2016	(r411401)
@@ -19,7 +19,15 @@ USES=		scons tar:bzip2 cpe
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
-OPTIONS_DEFINE=	DOCS GSSAPI
+OPTIONS_DEFINE=	DOCS
+OPTIONS_RADIO=	KERBEROS
+OPTIONS_RADIO_KERBEROS= MIT HEIMDAL HEIMDAL_BASE
+
+HEIMDAL_DESC=		Heimdal Kerberos (security/heimdal)
+HEIMDAL_BASE_DESC=	Heimdal Kerberos (base)
+MIT_DESC=		MIT Kerberos (security/krb5)
+MIT_LIB_DEPENDS=	libkrb5.so.3:${PORTSDIR}/security/krb5
+HEIMDAL_LIB_DEPENDS=	libkrb5.so.26:${PORTSDIR}/security/heimdal
 
 SCONS_ARGS=	APR=${LOCALBASE}/bin/apr-1-config
 SCONS_ARGS+=	APU=${LOCALBASE}/bin/apu-1-config
@@ -31,9 +39,12 @@ INSTALL_TARGET=	install --install-sandbo
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MGSSAPI}
+.if ${PORT_OPTIONS:MHEIMDAL_BASE}
 SCONS_ARGS+=	GSSAPI="/usr"
 .endif
+.if ${PORT_OPTIONS:MMIT} || ${PORT_OPTIONS:MHEIMDAL}
+SCONS_ARGS+=    GSSAPI="${LOCALBASE}"
+.endif
 
 do-build:
 	@(cd ${WRKSRC} && ${SETENV} ${MAKE_CMD} ${SCONS_ARGS})



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603191423.u2JEN2Ye003245>