Date: Tue, 9 Mar 2021 18:47:18 +0000 (UTC) From: Neel Chauhan <nc@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567951 - head/net/freeradius3 Message-ID: <202103091847.129IlIeT088396@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nc Date: Tue Mar 9 18:47:18 2021 New Revision: 567951 URL: https://svnweb.freebsd.org/changeset/ports/567951 Log: net/freeradius3: Add FLAVORs for LDAP, MYSQL, PGSQL, and SQLITE3 PR: 254165 Approved by: zi (maintainer) Differential Revision: https://reviews.freebsd.org/D28718 Modified: head/net/freeradius3/Makefile Modified: head/net/freeradius3/Makefile ============================================================================== --- head/net/freeradius3/Makefile Tue Mar 9 18:27:36 2021 (r567950) +++ head/net/freeradius3/Makefile Tue Mar 9 18:47:18 2021 (r567951) @@ -21,6 +21,13 @@ LICENSE= GPLv2 LIB_DEPENDS= libgdbm.so:databases/gdbm \ libtalloc.so:devel/talloc +FLAVORS= default ldap mysql pgsql sqlite3 +FLAVOR?= ${FLAVORS:[1]} +ldap_PKGNAMESUFFIX= -ldap +mysql_PKGNAMESUFFIX= -mysql +pgsql_PKGNAMESUFFIX= -pgsql +sqlite3_PKGNAMESUFFIX= -sqlite3 + LOGDIR?= /var/log KRB5_CONFIG?= /usr/bin/krb5-config --libs @@ -52,6 +59,19 @@ OPTIONS_DEFINE= USER LDAP MYSQL PGSQL UNIXODBC FIREBIR OPTIONS_DEFAULT=USER PERL HEIMDAL UDPFROMTO OPTIONS_SINGLE= KRB OPTIONS_SINGLE_KRB= NOKRB HEIMDAL HEIMDAL_PORT MITKRB_PORT + +.if ${FLAVOR} == ldap +OPTIONS_DEFAULT+= LDAP +.endif +.if ${FLAVOR} == mysql +OPTIONS_DEFAULT+= MYSQL +.endif +.if ${FLAVOR} == pgsql +OPTIONS_DEFAULT+= PGSQL +.endif +.if ${FLAVOR} == sqlite3 +OPTIONS_DEFAULT+= SQLITE3 +.endif USER_DESC= Run as user freeradius, group freeradius KRB_DESC= ${KERBEROS_DESC}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103091847.129IlIeT088396>