From owner-svn-ports-head@freebsd.org Tue Mar 9 18:47:18 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE32156CC8E; Tue, 9 Mar 2021 18:47:18 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dw42G5y5Zz4pM6; Tue, 9 Mar 2021 18:47:18 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF27320FC9; Tue, 9 Mar 2021 18:47:18 +0000 (UTC) (envelope-from nc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 129IlIp1088397; Tue, 9 Mar 2021 18:47:18 GMT (envelope-from nc@FreeBSD.org) Received: (from nc@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 129IlIeT088396; Tue, 9 Mar 2021 18:47:18 GMT (envelope-from nc@FreeBSD.org) Message-Id: <202103091847.129IlIeT088396@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: nc set sender to nc@FreeBSD.org using -f From: Neel Chauhan Date: Tue, 9 Mar 2021 18:47:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567951 - head/net/freeradius3 X-SVN-Group: ports-head X-SVN-Commit-Author: nc X-SVN-Commit-Paths: head/net/freeradius3 X-SVN-Commit-Revision: 567951 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2021 18:47:18 -0000 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}