Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 May 2018 14:35:53 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470220 - head/net/freeradius3
Message-ID:  <201805171435.w4HEZrHd067668@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Thu May 17 14:35:53 2018
New Revision: 470220
URL: https://svnweb.freebsd.org/changeset/ports/470220

Log:
  - Add OPTION for native winbind support for the rlm_mschap module

Modified:
  head/net/freeradius3/Makefile

Modified: head/net/freeradius3/Makefile
==============================================================================
--- head/net/freeradius3/Makefile	Thu May 17 14:12:18 2018	(r470219)
+++ head/net/freeradius3/Makefile	Thu May 17 14:35:53 2018	(r470220)
@@ -45,7 +45,8 @@ _REQUIRE=	NETWORKING SERVERS
 OPTIONS_SUB=	yes
 OPTIONS_DEFINE=	USER LDAP MYSQL PGSQL UNIXODBC FIREBIRD REDIS \
 		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR PERL REST \
-		FREETDS IDN DOCS SQLITE3 PYTHON RUBY UNBOUND PCRE
+		FREETDS IDN DOCS SQLITE3 PYTHON RUBY UNBOUND PCRE \
+		WINBIND
 OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO
 OPTIONS_SINGLE=	KRB
 OPTIONS_SINGLE_KRB=	NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT
@@ -64,6 +65,7 @@ UDPFROMTO_DESC=		Compile in UDPFROMTO support
 DEVELOPER_DESC=		Enable developer options
 EDIR_DESC=		Enable eDirectory support (implies LDAP)
 REST_DESC=		Enable RESTful API support
+WINBIND_DESC=		Enable native winbind support in rlm_mschap
 
 EDIR_CONFIGURE_WITH=		edir
 EDIR_IMPLIES=			LDAP
@@ -122,6 +124,9 @@ UNBOUND_CONFIGURE_WITH=		rlm_unbound
 UNBOUND_LIB_DEPENDS=		libunbound.so:dns/unbound
 UNIXODBC_CONFIGURE_WITH=	rlm_sql_unixodbc
 UNIXODBC_LIB_DEPENDS=		libodbc.so:databases/unixODBC
+WINBIND_USES=			samba:build,lib
+WINBIND_CONFIGURE_ON=		--with-winbind-include-dir=${LOCALBASE}/include/samba4 \
+				--with-winbind-lib-dir=${LOCALBASE}/lib/samba4
 
 .include <bsd.port.options.mk>
 



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