svn commit: r308425 - head/net/freeradius2

Ryan Steinmetz zi at FreeBSD.org
Fri Dec 7 14:44:19 UTC 2012


Author: zi
Date: Fri Dec  7 14:44:18 2012
New Revision: 308425
URL: http://svnweb.freebsd.org/changeset/ports/308425

Log:
  - Add Novell eDirectory support
  - Do not bump PORTREVISION
  
  Submitted by:	Guy Antony Halse <G.halse at ru.ac.za>
  Feature safe:	yes

Modified:
  head/net/freeradius2/Makefile   (contents, props changed)

Modified: head/net/freeradius2/Makefile
==============================================================================
--- head/net/freeradius2/Makefile	Fri Dec  7 14:29:00 2012	(r308424)
+++ head/net/freeradius2/Makefile	Fri Dec  7 14:44:18 2012	(r308425)
@@ -45,7 +45,7 @@ PLIST_SUB=	PORTVERSION=${DISTVERSION}
 
 OPTIONS_DEFINE=	USER KERBEROS HEIMDAL HEIMDAL_PORT HEIMDAL_PATCH LDAP MYSQL \
 		PGSQL UNIXODBC FIREBIRD PERL PYTHON OCI8 RUBY DHCP \
-		EXPERIMENTAL UDPFROMTO DEVELOPER
+		EXPERIMENTAL UDPFROMTO DEVELOPER EDIR
 OPTIONS_DEFAULT=USER PERL PYTHON
 
 DHCP_DESC=		With DHCP support (EXPERIMENTAL)
@@ -59,6 +59,7 @@ OCI8_DESC=		With Oracle support (current
 EXPERIMENTAL_DESC=	Build experimental modules
 UDPFROMTO_DESC=		Compile in UDPFROMTO support
 DEVELOPER_DESC=		Enable developer options
+EDIR_DESC=		Enable eDirectory support (implies LDAP)
 
 .include <bsd.port.options.mk>
 
@@ -114,6 +115,13 @@ PLIST_SUB+=	KRB5="@comment "
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-src__modules__rlm_krb5__rlm_krb5.c
 .endif
 
+.if ${PORT_OPTIONS:MEDIR}
+CONFIGURE_ARGS+=--with-edir
+.if empty(${PORT_OPTIONS:MLDAP})
+PORT_OPTIONS+= LDAP
+.endif
+.endif
+
 .if ${PORT_OPTIONS:MLDAP}
 USE_OPENLDAP=	YES
 CONFIGURE_ARGS+=--with-rlm_ldap


More information about the svn-ports-all mailing list