From nobody Tue Aug 29 07:29:04 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 4RZfF91cDDz4rTc3; Tue, 29 Aug 2023 07:29:17 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZfF90vxSz4KBQ; Tue, 29 Aug 2023 07:29:17 +0000 (UTC) (envelope-from bofh@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693294157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8WysBlVuz6ZXc5XiFV74LyGZwNulY4bSBvWBK5OGLVc=; b=rzXlnoqwOARbgU4dw79d1F/PWNmxlXTJj3qnJM9SZWOvTgML8pDVsRH+HFI67AvAD+KOxs d3f2MK5SPWr0Z0BYtERI4ZbkjNPdcDrVYy/kNukhFH4Zu71DZ/KgLdIoDghkbv846Eg2Qe Q/XqxMPcqpBzptow1hSKhm1LjQis6zsFFP6wQ33gJT6kInykUMinPUWl+3p5wx5jtzglQg zlb1RMCgYskysCf8Xkho/14/IiVAnS/5JPsiBRAlNx7bv1Fq1UXO4QXz1o0ryMwMJ9Jgjt dO03m73AnV3ul3xDRcrYKj3B6hQj5IOyFQ3dq3mJ6vUBS1o8yGkl67DUH5AFFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693294157; a=rsa-sha256; cv=none; b=nOX8tp+c5/9mCYVRA9Kjfaa2XCzEuA9+yucDDLxosphNoryxMh6y5+7hEAAsvcEfM0v8y2 6v8KZImNhWAqeLI+36YwmpKF9q9YxTFQs9NbvISMq7z+77eFAOKn2SsAEU7hWCiIM3f/r0 s8CZAvUG2lLtowoKrzfQGeHNnq4B9yHdHcJ+LgEUq/0XqXzlL02uV591HO82lpfgxKUsjG S8f5IaaIQYyNy2olCRRSnD4cG+D/GolgjgJB99KpaHQIaILXJmmPai1ha/ZNgLyj6INo92 3quL5XjkPgaaBChgLBoQZiqxh3VGmd2V7UpvzM+9CPC6lhSHY5uAdN6v97Mrqg== 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=1693294157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=8WysBlVuz6ZXc5XiFV74LyGZwNulY4bSBvWBK5OGLVc=; b=LlFSp5UCQy3qYNxI/YogtFD0/mDmpQMurq+mxOSXjsxLqaXrnGqNWuzUy0VtkYZwCeflqV wn6aMacmd7ct0Hy0QH+uyhpZvq8Lqq1XImROhMJFtI8IKlcUK0sBSNym6IZBlENggsk9aV 306GIwbE34xbQpacg8Zglb2DVK4UtOj7W45j7y2+deu9VrQXD6q2SheX/EBdmBFpfD/A/+ 8kd39Uk2gYUTAra3okr3zb32tHuN7iA55+UUdi6GPtmqOGQy5YA3inP7IjN0uf4uZ2UWKG QQDMawuqdhEhSN0oVQnmMFwLE3bXEKIkeafOPg6/1s2Vbx62igEQTAeIHXT/uQ== Received: from mx.bofh.network (mx.bofh.network [IPv6:2a01:4f8:261:25de::227]) (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 ECDSA (P-256) client-digest SHA256) (Client CN "mx.bofh.network", Issuer "R3" (verified OK)) (Authenticated sender: bofh/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RZfF83HM8zwH2; Tue, 29 Aug 2023 07:29:16 +0000 (UTC) (envelope-from bofh@freebsd.org) Received: from smtpclient.apple ( [217.117.226.147]) by mx.bofh.network (OpenSMTPD) with ESMTPSA id 08de1814 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO); Tue, 29 Aug 2023 07:29:15 +0000 (UTC) From: Moin Rahman Message-Id: <0BC50B76-6EA7-40B9-9EF3-8B83412837B8@freebsd.org> Content-Type: multipart/signed; boundary="Apple-Mail=_761A6E42-6FC2-4FBA-85A3-65D57FFE71CF"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: git: 364f59940199 - main - net/lavinmq: Fix build with openssl3 Date: Tue, 29 Aug 2023 09:29:04 +0200 In-Reply-To: Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org To: v@fatpipi.com References: <202307261747.36QHlGhN053216@gitrepo.freebsd.org> X-Mailer: Apple Mail (2.3731.700.6) --Apple-Mail=_761A6E42-6FC2-4FBA-85A3-65D57FFE71CF Content-Type: multipart/alternative; boundary="Apple-Mail=_56ECD305-613F-4F6F-9EEE-2770404D8E06" --Apple-Mail=_56ECD305-613F-4F6F-9EEE-2770404D8E06 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 29, 2023, at 9:18 AM, Vanilla Hsu wrote: >=20 > I think the root cause should be lang/crystal, not lavinmq. > -- > with extra patches, crystal only build with openssl 1.1, not = compatible with openssl3. Yes indeed. Looks like the dirty hack just applies on OSREL < 15 making = it bypass the test and build while other ports dependent on that fails. > Muhammad Moinur Rahman > = =E6=96=BC 2023=E5=B9=B47=E6=9C=8827=E6=97=A5 =E9=80=B1=E5=9B=9B = =E4=B8=8A=E5=8D=881:47=E5=AF=AB=E9=81=93=EF=BC=9A >> The branch main has been updated by bofh: >>=20 >> URL: = https://cgit.FreeBSD.org/ports/commit/?id=3D364f59940199e45a608ea2c53363d0= 8243e3aa93 = >>=20 >> commit 364f59940199e45a608ea2c53363d08243e3aa93 >> Author: Muhammad Moinur Rahman >> AuthorDate: 2023-07-26 17:18:33 +0000 >> Commit: Muhammad Moinur Rahman >> CommitDate: 2023-07-26 17:47:05 +0000 >>=20 >> net/lavinmq: Fix build with openssl3 >>=20 >> Approved by: portmgr (blanket) >> Sponsored by: The FreeBSD Foundation >> --- >> net/lavinmq/Makefile | 8 ++++++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) >>=20 >> diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile >> index 5ae75f50cfc0..bf6c119b8173 100644 >> --- a/net/lavinmq/Makefile >> +++ b/net/lavinmq/Makefile >> @@ -11,8 +11,6 @@ WWW=3D https://www.lavinmq.com/ >>=20 >> LICENSE=3D APACHE20 >>=20 >> -BROKEN_FreeBSD_14=3D Incompatible with OpenSSL 3.0 in 14-CURRENT >> - >> BUILD_DEPENDS=3D crystal:lang/crystal \ >> help2man:misc/help2man \ >> shards:devel/shards >> @@ -40,6 +38,12 @@ OPTIONS_DEFINE=3D DOCS >> SHARDS_ENV=3D --time --verbose --production --release --no-color = --stats \ >> --static >>=20 >> +.include > >> + >> +.if ( ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} >=3D 1400092 && = ${SSL_DEFAULT} =3D=3D base ) || ${SSL_DEFAULT:Mopenssl3*} >> +CXXFLAGS+=3D -DOPENSSL_API_COMPAT=3D0x30000000L >> +.endif >> + >> post-extract: >> # force shards to use local paths, not git repos, for dependencies >> @${RM} ${WRKSRC}/shard.lock --Apple-Mail=_56ECD305-613F-4F6F-9EEE-2770404D8E06 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Aug = 29, 2023, at 9:18 AM, Vanilla Hsu <vanilla@fatpipi.com> = wrote:

I think the root cause should be lang/crystal, not = lavinmq.
--
with extra patches, crystal only build with = openssl 1.1, not compatible with = openssl3.
Yes indeed. Looks like the dirty = hack just applies on OSREL < 15 making it bypass the test and build = while other ports dependent on that = fails.


Muhammad = Moinur Rahman <bofh@freebsd.org> =E6=96=BC = 2023=E5=B9=B47=E6=9C=8827=E6=97=A5 =E9=80=B1=E5=9B=9B = =E4=B8=8A=E5=8D=881:47=E5=AF=AB=E9=81=93=EF=BC=9A
The branch main has been updated by = bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3D364f59940199= e45a608ea2c53363d08243e3aa93

commit 364f59940199e45a608ea2c53363d08243e3aa93
Author:     Muhammad Moinur Rahman = <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 17:18:33 +0000
Commit:     Muhammad Moinur Rahman = <bofh@FreeBSD.org>
CommitDate: 2023-07-26 17:47:05 +0000

    net/lavinmq: Fix build with openssl3

    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net/lavinmq/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net/lavinmq/Makefile b/net/lavinmq/Makefile
index 5ae75f50cfc0..bf6c119b8173 100644
--- a/net/lavinmq/Makefile
+++ b/net/lavinmq/Makefile
@@ -11,8 +11,6 @@ WWW=3D          https://www.lavinmq.com/

 LICENSE=3D       APACHE20

-BROKEN_FreeBSD_14=3D     Incompatible with OpenSSL 3.0 = in 14-CURRENT
-
 BUILD_DEPENDS=3D crystal:lang/crystal \
                = help2man:misc/help2man \
                = shards:devel/shards
@@ -40,6 +38,12 @@ OPTIONS_DEFINE=3D      DOCS
 SHARDS_ENV=3D    --time --verbose --production --release = --no-color --stats \
                --static

+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} =3D=3D FreeBSD && ${OSVERSION} >=3D 1400092 = && ${SSL_DEFAULT} =3D=3D base ) || ${SSL_DEFAULT:Mopenssl3*}
+CXXFLAGS+=3D     -DOPENSSL_API_COMPAT=3D0x30000000L
+.endif
+
 post-extract:
 # force shards to use local paths, not git repos, for = dependencies
        @${RM} ${WRKSRC}/shard.lock

= --Apple-Mail=_56ECD305-613F-4F6F-9EEE-2770404D8E06-- --Apple-Mail=_761A6E42-6FC2-4FBA-85A3-65D57FFE71CF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmTtnkBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA vJHplw/+LDnoM1XWnRDmGDHuXSBKHivQoJ937Un7MpDMApR6kmtGeIslsttSJsYd fX4RkqvCsyEUIzqYkU4dBqxPx1z6SlE+6kpsIKl3ie7/T0AL4Ao/2qFkf5T7Z8be 5gqhtt6/E8SLdZ1JoQYFim+aGlU34DFl3gIrsZhzbxBHpXnrS8I1CN8yG5SlaZSC QlMBgBrwx/dWPHi+NXwTkrqBLDIV5BXUryjzTw2KwGIL5BV3ws89K3x0G8zooe0N hflMumMFaDPZIti0p5jKWLYFLgvw/Ih+vVZxzmolo2nvM2VkMFlfqUAIvJMEaZ0Q cyPB3/JQ1l1aBKwhUI4vw4Tt7CZpPN91OM82qIjBs2rRnE9sDNEueMixWRRUMAFq CeADcADA7IB6fFBSZGWsW0J8M+f3r+vkqzSpYDaxzVViByJaikE0/OvFVylboWEM ADndGew3H9pwNZxBU9E+ZSjBPr/qvCsOXKnW/sicOTGmC+wDooUZtEiM5WEd7GU2 6Fcvsu6M8O7aCe4z0dx1B3hy7RTEqI+JgdbV0qKyHbGFrH42fmqcEpjue2G2HDVv 5ABgkQNGRqNEs2eHt/SREWH4yE8j24SbYmrSb1wqSH/lbe7xknj09wjjaMGqSt+d O/T2v8TMp9peMB4cwaVT/EbY3ZD85aKlWVLexUqM2JlJisRfIZ8= =6Nab -----END PGP SIGNATURE----- --Apple-Mail=_761A6E42-6FC2-4FBA-85A3-65D57FFE71CF--