From nobody Mon Jul 24 14:46:17 2023 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 4R8jf14pykz4p0MD; Mon, 24 Jul 2023 14:46:17 +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 4R8jf149rCz4c2K; Mon, 24 Jul 2023 14:46:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690209977; 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=uP+nj+9jrapwXoJZCp7L+Vc9SQ9/zn5z5Z8ltqhmuZo=; b=jgl6oFEMyV6gQ/TEuHOO5A+I1bBxnrOOje5gC5f8sbne0mU28472G1zSfUaRb/UY5WAozY /Rx8GUOSOy5a5MS9C6fVIoFogVbRf9OBWCQU7Efu0/jQ88lM4c2CBAqqvDFjdfV+90wfit IezzyWFXkJ5RGIAOyxcyR7BZUVK19C5XaFfe2KUSu12rrWyHdZr2QoBkzIeoM/p8oJ5pGE 9Iu3xkIUY5Ef4cQbSB5wy6KggZ5TVWU7/zzNbVluR38LVMK+OauWwfSFwc7ltsBsZo6OOU BVgeoYjqhRJ7Qw0O9aVWzK2vAjzkPS4SHOYWS17F/X5YeQ6P6qWc8sZjL0shng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690209977; 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=uP+nj+9jrapwXoJZCp7L+Vc9SQ9/zn5z5Z8ltqhmuZo=; b=KYJlseADeckml4ARf5v81dWW7O98V1H9amYgG0DF9X4ciWf7r2vFUEUx+Fp0DgneoD89+r ngEBaEHLwQkpANwtyjYE4Wo1qkSeD2YHsfjFntveacRnbTGHB8/LJwRnmD5n55OG+Sf5Vd wA/YKuIKtrr03ua4PwrI5F8YhAjbpx0kwKUixZKF8C32knVL+fNOjh7KAOd/UomfaA/JPJ 11jh8/78eopUWoh71bI9LGeZsRcnHwjgXzJTNZi9eb1dSNAg3Yi/dhxam48SkF9oltx7W9 VGHO8yqflboH9wS90MGtRN8temiVbR0bWT4paZtcc43InIDGGS9Os87UBuzU0w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690209977; a=rsa-sha256; cv=none; b=N7xEmGbunyyP8dwsq3Dxvl4BNGa39SNYfskszOifb6Q+MTfxpAFSbY3ZVQa3DaaWmGvgfw wiU63MBprZ0FMaLBL11ggidZ7qR6fk5oK1G3UFc5ABCsvzyJjxNmjYNTMjgmv9FrQpgkc2 j9aivLr+e2TeeeS+318oqVinFTtxrg73NAp82CsK1rWjB9L5gZbEKoqWsXyNND8lGJveD1 0rGFvlvETlI9I+kibrNWOF/tL4yMazn4LX8FJ/Q7TsqqqGLJsFsBA2+zwMgq95Co85RjRr LaPkMIxlCHGBCiQN3mcj1jl3CD0WVgb3MWOfqzqPDDH4okNYfqgs1JDc6rcWtg== 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 4R8jf13DgQzLmc; Mon, 24 Jul 2023 14:46:17 +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 36OEkHpf080267; Mon, 24 Jul 2023 14:46:17 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36OEkHVR080266; Mon, 24 Jul 2023 14:46:17 GMT (envelope-from git) Date: Mon, 24 Jul 2023 14:46:17 GMT Message-Id: <202307241446.36OEkHVR080266@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: d5443d2a7120 - main - news/nzbget: Fix build with openssl3 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: d5443d2a7120c2a3dc227202081a8d9cfcf87cda Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5443d2a7120c2a3dc227202081a8d9cfcf87cda commit d5443d2a7120c2a3dc227202081a8d9cfcf87cda Author: Muhammad Moinur Rahman AuthorDate: 2023-07-24 14:39:50 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-24 14:46:03 +0000 news/nzbget: Fix build with openssl3 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- news/nzbget/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index 34ddedfa2b2c..feab3c06ad6a 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -14,8 +14,6 @@ LIB_DEPENDS= libxml2.so:textproc/libxml2 USES= autoreconf compiler:c++14-lang cpe gmake localbase ncurses \ pkgconfig python:build shebangfix ssl -BROKEN_SSL= openssl30 openssl31 -BROKEN_SSL_REASON= Requires FIPS_mode_set routine which has been removed from OpenSSL 3.0.0 and later USE_GITHUB= yes USE_RC_SUBR= nzbget @@ -42,6 +40,10 @@ OPTIMIZED_FLAGS_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-disable-optimized-flags.pat CONFIGURE_ARGS+= --disable-sigchld-handler .endif +.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*} +CXXFLAGS+= -DOPENSSL_API_COMPAT=0x30000000L" +.endif + post-install: ${INSTALL_DATA} ${WRKSRC}/nzbget.conf \ ${STAGEDIR}${PREFIX}/etc/nzbget.conf.sample