From nobody Sat Jan 11 19:01:37 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YVntp1qpcz4rbKw; Sat, 11 Jan 2025 19:01:38 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YVntp15wnz41sL; Sat, 11 Jan 2025 19:01:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736622098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YsXi3BDUvbHug6FwlBGdbcIu0YciQ97DpbMCFNeucXQ=; b=qcU+j6km52DI7/+ND5VSemF+1zIGk/lWtF4bFqas189BeEFbxs4Pf2S2OQGtzrADWArGlR W4CugnMxnQaSBz08zFpUHXwmHQJtuT4XOH5i2DCVoLSWUg0UtOGbHm1ZJsUpiZmDoL5DNE Q6J1ZT0Os7iDeFRYJSm1ojnUgj1hcrySg+s7Zi+8mdRRgTwHPkM4Dj1/iOxZWcW+ghgpqu sqEp0uZMZHXdpHncoMupd7vRv82wc15naRBKmchdVsBmwFHasGAQ4I645FMK1+pWQSZ7ds SkCgcSDmrip+gVNO2vryL0FcGdxqqIV0xcxF9KXHctykoOLiFHUHy5Zk++KoMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736622098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YsXi3BDUvbHug6FwlBGdbcIu0YciQ97DpbMCFNeucXQ=; b=hD+671ujQZKc+ln2W5CivjEnVf4n4A+M4tSa9trWd7n8b/D1QbTmFIy9+A8yOZFTiHmQCW 4AQHG+kJcBdn2sD6fc2IP8CpMbP8W8SnYvdBn8rvjf2Dk6iHW5b2nV7xI56cbRwNjSQYt4 E2wGoyg4+hLW4JDX0BcZ26A6klnr7gqd4dg5M0orpep8/gapL9yZLRGuUQU3rJ53HU40Hq abPUWyvzUIgKepP6bNnrwHpZRsEcbBB3ODToulSaLHdnHK4nx70U7XRlHRoYAL6GSfr/7n hR5altDNoPfs0UE2hPLpe2luIlkRf8RekCVemBqWqbJkq4Hw67UdyYUmSE1viQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736622098; a=rsa-sha256; cv=none; b=PnJqzrXX25qSCxa56khWBEi27Kl3d+8tnbonnf5QRLfTRh1HL0268PqX81z4+9UuHCAeSA 1+uQfROFf+Dli6BhBQWz7K15iwvPiaOYutk/67bfaIyqxcI1ueduN3kzwl2+tj8LCzqAbk 0cQ0L7zXCTJ4voGc9UBrzCu3IefYhQRA6LlY2JdSiFTbOdDESs80YoIumFA6p3QkaCVS5U 8QceZKviA251Ivkpz50zvhhWnu5eef+JCik1cOrCbKlps1e6srWN8SCT4X7GQodLyMjKQC rW0cs+2oOsbPISnzrgxlbNhBbFvhvd3G1v7bzbFYQ4/CPlHNBfuruCP/lAa8MA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YVntp0glSz18vb; Sat, 11 Jan 2025 19:01:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50BJ1bvo000440; Sat, 11 Jan 2025 19:01:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50BJ1b4F000437; Sat, 11 Jan 2025 19:01:37 GMT (envelope-from git) Date: Sat, 11 Jan 2025 19:01:37 GMT Message-Id: <202501111901.50BJ1b4F000437@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Larry Rosenman Subject: git: d4e949bafdb4 - main - mail/dovecot: add mysql & pgsql flavors List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ler X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d4e949bafdb4e842868267d26a357c9921d3efeb Auto-Submitted: auto-generated The branch main has been updated by ler: URL: https://cgit.FreeBSD.org/ports/commit/?id=d4e949bafdb4e842868267d26a357c9921d3efeb commit d4e949bafdb4e842868267d26a357c9921d3efeb Author: Larry Rosenman AuthorDate: 2025-01-11 18:59:21 +0000 Commit: Larry Rosenman CommitDate: 2025-01-11 18:59:21 +0000 mail/dovecot: add mysql & pgsql flavors Add database flavors for dovecot --- mail/dovecot/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index 4fc43b254226..0bddbb8bed39 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -21,6 +21,11 @@ WWW= https://www.dovecot.org/ LICENSE= LGPL21 MIT LICENSE_COMB= dual +FLAVORS= default mysql pgsql +FLAVOR?= ${FLAVORS[1]} +mysql_PKGNAMESUFFIX= -mysql +pgsql_PKGNAMESUFFIX= -pgsql + LIB_DEPENDS= libzstd.so:archivers/zstd USES= cpe iconv libtool pkgconfig ssl @@ -112,10 +117,18 @@ LUCENE_CONFIGURE_WITH= lucene stemmer LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_CONFIGURE_WITH= lz4 +.if ${FLAVOR:U} == mysql +OPTIONS_DEFAULT+= MYSQL +.endif + MYSQL_USES= mysql MYSQL_CONFIGURE_WITH= mysql MYSQL_VARS= _REQUIRE+=mysql +.if ${FLAVOR:U} == pgsql +OPTIONS_DEFAULT+= PGSQL +.endif + PGSQL_USES= pgsql PGSQL_CONFIGURE_WITH= pgsql PGSQL_VARS= _REQUIRE+=postgresql