From nobody Thu Mar 28 17:25:35 2024 X-Original-To: dev-commits-ports-main@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 4V59RM2nb9z5GLfp; Thu, 28 Mar 2024 17:25: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 4V59RM1D98z444w; Thu, 28 Mar 2024 17:25:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711646735; 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=CDKueHV9a7cgG+BiBjbRsx/m437GHeIjgFiBkO7HIVs=; b=oYd+Q5+OzzTM8mqLq/6NSL3DmNroaPdEWi/n/QDxWFm35sEZI/dVNG2MWgsCJCpEVDqmqY ryL3NIXTnG2ep41IuiztBUia7VyFye56es0/rNjA9RwA/eOu8eLIGmjSWoHOtoRCGcSYPZ xJdhPPWWhS6hrXN+DQ7VyeK80i5Lj6tA7hEhQu8EzG20fIVTxuKQRzS4cmN3l+CFMYOUuD TyzNIY3leF/NboIXR1e2ThTlf3mCYlS/v6KJcX+5Wl7J30CqWMlupzodFC4+gR7huqJsMG cwGMIwirli9VOmiCo3mnzqReBLK5OmX6xLoJ5pVr/AqzScNkfWLKBV2riX5wvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711646735; a=rsa-sha256; cv=none; b=FRxWJTr1w7soBBVIXimDfOReS0E37iEzTueennSujubAAmMrP2WoYTrHrbln5p65BtxghG csrOR4d64oCkycSc+GXms5NY9Fcbps8h4MKpiYWEz2D9k8LRV+5pzz/MwFXiQaTCegYgcd 59CDbL5TCn7IkaJs1TaXiG2juLQOCFx1/WGOL8l8GtZf8+NsApu73eqJ52hGbnaV58OkDu +kEc7MNYXCYXqrrEyr5YBjDABeIFkkNcbOgWcxrgqtho4odrRnbwqPJsEGLKAWsuKmK26q 5ZIknaCxsFRPYIZ2jzrjnDo+przV7bYi7C4h6+ASvTW7NhrOvSHodhWQbOsppw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711646735; 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=CDKueHV9a7cgG+BiBjbRsx/m437GHeIjgFiBkO7HIVs=; b=e9Pe4g5JguJeyGo7pPEE0g51VLdBgZ4dtuwt6iallnAUTG+0e0zct18a36q4MIH1JKINe7 AVjoaypmC1MGzr6LdGua7iaa9N/G6nHhbW8ssjdsK9PewXENL7mP0pVCfc6KevHjnetGH1 NSVcsmS7A9u6mb7xUge0OAhDkIuId+mjqnmPO4MI7VXPZti7Ni8sVf7q/vRsD8IS5Mo2MF oi8trnvgoOVTSVUcmtBrmOqwtosn01xq9KY67wUL2wmUpSUieUuv9p11Y1vFB0zR9yg2wz CRXOq2emOMzSXwxk3r9+WUVUgplSoeJkp/DDVM09oPyimdPTmHyEin6L4iYRwA== 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 4V59RM0qjKzc5p; Thu, 28 Mar 2024 17:25:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42SHPZWi050687; Thu, 28 Mar 2024 17:25:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42SHPZxk050684; Thu, 28 Mar 2024 17:25:35 GMT (envelope-from git) Date: Thu, 28 Mar 2024 17:25:35 GMT Message-Id: <202403281725.42SHPZxk050684@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hajimu UMEMOTO Subject: git: e3051908c543 - main - mail/cyrus-imapd38: Fix build against libreSSL. List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ume X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e3051908c543c2669210c72736f7d9904e27db95 Auto-Submitted: auto-generated The branch main has been updated by ume: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3051908c543c2669210c72736f7d9904e27db95 commit e3051908c543c2669210c72736f7d9904e27db95 Author: Hajimu UMEMOTO AuthorDate: 2024-03-28 17:22:34 +0000 Commit: Hajimu UMEMOTO CommitDate: 2024-03-28 17:25:22 +0000 mail/cyrus-imapd38: Fix build against libreSSL. PR: 277997 Reported by: David Marec --- mail/cyrus-imapd38/files/patch-imap__tls.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/mail/cyrus-imapd38/files/patch-imap__tls.c b/mail/cyrus-imapd38/files/patch-imap__tls.c new file mode 100644 index 000000000000..2d9b8d36b1df --- /dev/null +++ b/mail/cyrus-imapd38/files/patch-imap__tls.c @@ -0,0 +1,14 @@ +--- imap/tls.c.orig 2024-03-13 02:47:44 UTC ++++ imap/tls.c +@@ -257,7 +257,11 @@ static DH *get_dh1024(void) + dh = DH_new(); + if (!dh) return NULL; + ++#if defined(LIBRESSL_VERSION_NUMBER) ++ p = BN_get_rfc2409_prime_1024(NULL); ++#else + p = get_rfc2409_prime_1024(NULL); ++#endif + BN_dec2bn(&g, "2"); + + if (DH_set0_pqg(dh, p, NULL, g))