svn commit: r470220 - head/net/freeradius3

Ryan Steinmetz zi at FreeBSD.org
Thu May 17 14:35:54 UTC 2018


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>
 


More information about the svn-ports-all mailing list