From nobody Wed Jul 26 17:47:13 2023 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 4RB1Ys2jdpz4pPZn; Wed, 26 Jul 2023 17:47:13 +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 4RB1Ys20fSz3k8T; Wed, 26 Jul 2023 17:47:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393633; 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=G+e/WxDHiJNs7kF5JJhCSq60D3ZZdXuTugewWzqmjrM=; b=Y8Ko6ocFa9T5zS/agkUcXM6w3CXsr5/hwNOGmywyBeUU2Mdj1D7hL8b4Her1Jynr+8ICC+ IOsCVgC9y6K45slgr93fbpT59+skPD18rQFQfhJf0ZS37Ye5yr+KDETFJhpQW7sHmbvEaK kDX1gRkRPwKP5nmNUGlLtrDL+VOC8EfZZb74ZwU5jVw8ris6T5XhDrMtmEWumf5djcjdmU vHFpms7tDOI4CudnkDqlxl5VuLvn/nEuHiBtHUizBMJOm1Iw0WK62eTxkdGnoESxBgEdo4 epL9vy6pGqfb5tDwof9fW4ZfttIoTakvZ3V1jTQlPmsqcB6bCwg5CnpvqkkDIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690393633; 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=G+e/WxDHiJNs7kF5JJhCSq60D3ZZdXuTugewWzqmjrM=; b=vbhcjOqZWr0dLRMRB/KcqwjoEoad3OxfGN5ok3WqgAf4qi26u6eQpG0TbdknXgLNK7Z1O1 icGA7wpvNDH1TMoU/tgF1h8fJZX9Z/lVx0//Fx8FLQPpWlD0FMVPWmn04RgC4KWqceMmyD R47czzSU1v+wt6NaWx9fRijnAvUlARCm8gVkzCqC35zAj4jZvduFpsZcm+IWoBdTnf7+3i pW6a287ktXzBKMhRT/eq57T/VuwhIemyT7VsN2jf6GpHSGprOti+9YwNkPaIu9HaD8TUbV Z2ImnBnUG55w+204O8qzVZmBGM52fw53C+w7uvDW+t8+spzaA3An0UKaodlTww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690393633; a=rsa-sha256; cv=none; b=MdeoGeOpuWllxHfasEllHXrRJ8gO9JVimiYwnHURiBOumt7F7yfGnvLdwtDBWWyJv4PbSm /haqG5T2DXacFAG0wgmWmsL+Um2n5gmMpIE3krPsehUpTHSA3e4v8QAyH37rMuNw3tkNy/ 0dpnXbPiDu5ATVSheemBfiZfBa8RmnBXtTIoSHMzIfCjaO+0ESRthqBg+dky1nZSq+OY0O rvmRCOFPxxAdEHmeIsUAUzbS+U0sn+rzlVGH7OMRa+j52kREJu03IrQ0ZgsdTinxZtU6fJ xiwf2fcpssCv/o5Cp4/cO4EIQVyc/AeKPjbXlF2wBb6CdT5pWhJTF92ANlx5LQ== 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 4RB1Ys14cJzrhy; Wed, 26 Jul 2023 17:47:13 +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 36QHlDp0053157; Wed, 26 Jul 2023 17:47:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36QHlDWe053156; Wed, 26 Jul 2023 17:47:13 GMT (envelope-from git) Date: Wed, 26 Jul 2023 17:47:13 GMT Message-Id: <202307261747.36QHlDWe053156@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: a5981f590944 - main - mail/archiveopteryx: Fix build with openssl3 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5981f5909443e3e33874ba707ea205f6b0b6f6d Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5981f5909443e3e33874ba707ea205f6b0b6f6d commit a5981f5909443e3e33874ba707ea205f6b0b6f6d Author: Muhammad Moinur Rahman AuthorDate: 2023-07-26 15:39:23 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-26 17:47:04 +0000 mail/archiveopteryx: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- mail/archiveopteryx/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mail/archiveopteryx/Makefile b/mail/archiveopteryx/Makefile index b5f2435a0a92..7dc33db12ba4 100644 --- a/mail/archiveopteryx/Makefile +++ b/mail/archiveopteryx/Makefile @@ -10,9 +10,6 @@ WWW= https://www.archiveopteryx.org/ LICENSE= MIT -BROKEN_SSL= openssl30 openssl31 -BROKEN_SSL_REASON= error: 'SSL_CTX_use_RSAPrivateKey_file' is deprecated - BUILD_DEPENDS= jam:devel/jam USES= compiler perl5 ssl tar:bzip2 @@ -46,6 +43,10 @@ JAMARG+= "-sCLANG=1" .endif .endif +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + post-patch: @${EGREP} -Rl '%%[[:alpha:]]+%%' ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \ -e 's,%%PREFIX%%,${PREFIX},g'