From owner-dev-commits-ports-main@freebsd.org Wed May 5 17:03:35 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 258C75FD312; Wed, 5 May 2021 17:03:35 +0000 (UTC) (envelope-from git@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 4Fb32H0YqMz4Y4D; Wed, 5 May 2021 17:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05990579; Wed, 5 May 2021 17:03:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 145H3YSS024344; Wed, 5 May 2021 17:03:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 145H3YUl024343; Wed, 5 May 2021 17:03:34 GMT (envelope-from git) Date: Wed, 5 May 2021 17:03:34 GMT Message-Id: <202105051703.145H3YUl024343@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Sivachenko Subject: git: 41f30e3a1f9c - main - net/haproxy: add lua flavor. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: demon X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 41f30e3a1f9c00af87bbb9124fe89b35d6fb89f4 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2021 17:03:35 -0000 The branch main has been updated by demon: URL: https://cgit.FreeBSD.org/ports/commit/?id=41f30e3a1f9c00af87bbb9124fe89b35d6fb89f4 commit 41f30e3a1f9c00af87bbb9124fe89b35d6fb89f4 Author: Dmitry Sivachenko AuthorDate: 2021-05-05 17:01:23 +0000 Commit: Dmitry Sivachenko CommitDate: 2021-05-05 17:03:25 +0000 net/haproxy: add lua flavor. PR: 255052 Submitted by: Mark Deneen --- net/haproxy/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/net/haproxy/Makefile b/net/haproxy/Makefile index 7cca987cebb6..7c0d9d21467b 100644 --- a/net/haproxy/Makefile +++ b/net/haproxy/Makefile @@ -11,6 +11,13 @@ COMMENT= Reliable, high performance TCP/HTTP load balancer LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi +FLAVORS= default lua +FLAVOR?= ${FLAVORS:[1]} + +default_CONFLICTS_INSTALL= haproxy-lua +lua_CONFLICTS_INSTALL= haproxy +lua_PKGNAMESUFFIX= -lua + CONFLICTS_INSTALL= haproxy-devel-[0-9]* haproxy17-[0-9]* haproxy18-[0-9]* haproxy19-[0-9]* haproxy20-[0-9]* haproxy21-[0-9]* USES= compiler:c++11-lang cpe gmake @@ -41,6 +48,10 @@ OPENSSL_MAKE_ARGS= USE_OPENSSL=1 SSL_LIB=${OPENSSLLIB} SSL_INC=${OPENSSLINC} LUA_USES= lua:53 LUA_MAKE_ARGS= USE_LUA=1 LUA_INC=${LUA_INCDIR} LUA_LIB=${LUA_LIBDIR} LUA_LIB_NAME=lua-${LUA_VER} +.if ${FLAVOR:U} == lua +OPTIONS_DEFAULT+= LUA +.endif + .include .if ${ARCH} == "amd64" || ${ARCH} == "i386"