From nobody Wed Aug 16 02:31:14 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 4RQXFG6Mhtz4q3mh; Wed, 16 Aug 2023 02:31:14 +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 4RQXFG5NcJz4ftX; Wed, 16 Aug 2023 02:31:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153074; 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=5/+tYThGX+GFQKjmksYeuQdzeT1JpRKzyfAtJ/36DEU=; b=JAMry5IAZfSPKrSeCJ92Ws2u7/02rHgNhNTPiMCGOVmYOEZjyhH+pSv4QABp51gb27J23y FxUT1/qEBSt1jNvo77RXMTPfzQJDBu4bNApvs5buXlFZvoEAh3vgsGXnq3NGjTyTjPZ0db 588w6JkBuN4pGdECd12fGCSU8bUEzoQp4EhfM3/NXlHWEQCrv47HnPLo0hNQ/+y4iECWDK rJHH+03PaP/GG7GDVLktf71V8FqxMWjkMv/KfohIQn3/AqW4uwaNy1Lr/Vqe9jCPH0Yefy 2SCfBwFDLM1xC+0A2eVOCjrjRtPeSyKMH3QDmEly89yGj5gtWEx9DgpPDbMOww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692153074; 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=5/+tYThGX+GFQKjmksYeuQdzeT1JpRKzyfAtJ/36DEU=; b=KBLh6ouxm+kNban3UyaXf5/RUmhK3ZbVhkjLPOOJa7/3ChUY5ZWqzqhDzLGTdLBNHxsOQA gs1h2kVuTU6zT99cBQa44kQkRWLIshOhCSMlb6EekCYczzPyoSEZd1RgHKgcpmVDF9zQwv LbRFbjoKZgPMvKNrToNRnXvd/3brKB88eCbxUVGKxbqHC1zJNHyuYvu61W/mr4KPWOoBJQ Jx+QIXdThzFRzRuvccKXlOLj1t4/Jple76GSVeHgQT0QBvzt+Ian/tWvX3Jbf/fqtoOH0g 4Vs2LQRO7Jg81K4XfmePC/Mo+oPVpPva/wjBdboLsIpZ1INzgjdPN2Is8BSegw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692153074; a=rsa-sha256; cv=none; b=sTjeoFz8v3lcaEvY8U/ZrPKoZOusVrEfFv+LMVge1uOAeLHk1el1mmPN5W0GBooRu31CfL FSXO7tFTMIUEJfEGXjjWbsVV1OFlqpcOmhntLZxjr78r3f8XAmlbKhN2+tBFjYv5t78Tx2 98pOeSEZKK/X+ErVDfDMSSDFNKISvCrg7klW/0LanU8HEdnb1YCiEtHP3keilWOdgKOxTP Y5bghW8W5Y8o9q2y23QdNVDwBkPzMjUM4fhJOKdCpaeOIqkFMGNR2m+4W1uID4YVeZ6jLi p+SS5bbLOrvyYsbILGcrLofaTZ6K8f922z4sT4TrEyJZfZQ/CEUp6iewHsXTqg== 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 4RQXFG4DsyzZWJ; Wed, 16 Aug 2023 02:31:14 +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 37G2VE5P018455; Wed, 16 Aug 2023 02:31:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37G2VE2c018452; Wed, 16 Aug 2023 02:31:14 GMT (envelope-from git) Date: Wed, 16 Aug 2023 02:31:14 GMT Message-Id: <202308160231.37G2VE2c018452@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: c65b98e8b1b0 - main - net/asterisk16: Fix build with OpenSSL 3 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: c65b98e8b1b075de83b415eb91c657eb4b092333 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=c65b98e8b1b075de83b415eb91c657eb4b092333 commit c65b98e8b1b075de83b415eb91c657eb4b092333 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-15 06:14:18 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-16 02:31:00 +0000 net/asterisk16: Fix build with OpenSSL 3 Although astersisk itself builds fine with OpenSSL 3 however one of it's internal project pjproject fails to detect OpenSSL 3 and picks up gnutls as a dependency but fails to detect the library. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net/asterisk18/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/asterisk18/Makefile b/net/asterisk18/Makefile index db7c8cc7c1e4..c8d81232fe0f 100644 --- a/net/asterisk18/Makefile +++ b/net/asterisk18/Makefile @@ -228,7 +228,9 @@ CXX= clang++${LLVM_VERSION} .include .if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} -CFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L +LIB_DEPENDS+= libgnutls.so:security/gnutls +CFLAGS+= -DOPENSSL_API_COMPAT=0x10100000L +LDFLAGS+= -lgnutls .endif .if empty(ICONV_LIB)