From nobody Mon Jul 01 22:34:22 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 4WDFtW155kz5PNW0; Tue, 02 Jul 2024 21:10:27 +0000 (UTC) (envelope-from mandree@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WDFtW0cYGz4sjt; Tue, 2 Jul 2024 21:10:27 +0000 (UTC) (envelope-from mandree@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719954627; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v7MkMM7A8IYnjsQW1k93/Kn5Pc5gYgUXRiE5vtpSOOg=; b=XiJ19FnWn3090y+mKRu6c2a4UMI4h8bqZwnSxbPcMC/QPrPzTEx/+v0Pd8cxp8GkPs0BnA Vu9C5UbPXSPB9X0gLInNKU5SQNuj+iQFHTd/hw0FXTQHDuOUOlqHxzGO1tShEUrP2UXYjF QZ/7sm9oae9KDACFSToOlQoBQc1GSVzv8DI5ktSsi+GVMS78SSt8qGVhc1GLZULQekvNzU zQnz/i+rWpQnJIv0umpq7mXy/Slt8pOIWjJGaLaHQOOsp205qlhBHhlMCM8SSgXI6ilP3y JpcmnzbFrU31ovYmS7X/jaNCu6r489tyesl5feldVyPSOf6AyaRg0g7Bd9iqAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719954627; a=rsa-sha256; cv=none; b=oxi1pJs94HUgYj1aEGf01ND0lAV5R4l8LHBTqsV6JEmRMhmJyg9+9ER0DiefwGHjBFv3Fp vXH1up8DioZK5OUsmZ5tma0V+gDi/w2GHP4USMP4DmnPR3xhm/C/Jhb5dLRbLFIigILpeI vmS+WJ885bxnzzwoJDh2HnD9MrXP4y95dsehbzYiMIwo6I43CaLVVslO5PVqYaVjhj15FM 2tuHLG1YJC72IvnSgydX7FgpAb+8xi/7tRIkxejyUk3WlwIfQIOGO5k1MvjRH871FFcfDG RXzQHADOkZ4+AKl7ersgCLtZDc0GEFTVmWrezE8i5NBOVcp9hydD+6ECQc+ewQ== 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=1719954627; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v7MkMM7A8IYnjsQW1k93/Kn5Pc5gYgUXRiE5vtpSOOg=; b=ab1uWyzeLCxypHf2CNUBZa2x7xHMPCLWI4lyuOH49SupurM9Ci1+SHkJ1ifQV2uoL3QBza 51RktFs8Jd56YzVcueKYKBDK7HAGxoMX2IxEG/CFm3GoKwhZ9TdYwhxql7UIk0UQ0BiiMO btU+6r446iBRLFjjAElDIC8OTUIHrGIdnkCObZ48mpVIbIBsojaS0eb2lB/GyVKLOdKZm1 5L+x3ex7IWc4D9gI3FFjBE/35yixiZE1DHVG3itTCaWAGRey7Xejn12de14KgrfGTCYciP Z9UVQFcxp+QlEeDZoZWj2IQpbU7v7DmChLyp83Kva7s00IzSdTH9MeGqKKGQjQ== Received: from mandree.no-ip.org (p200300d02722f300329c23fffe3f7574.dip0.t-ipconnect.de [IPv6:2003:d0:2722:f300:329c:23ff:fe3f:7574]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: mandree/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WDFtV6RhYz1GFM; Tue, 2 Jul 2024 21:10:26 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from [127.0.0.1] (localhost [127.0.0.1]) by ryzen.an3e.de (Postfix) with ESMTP id 753E91DAE680; Tue, 2 Jul 2024 00:34:22 +0200 (CEST) Message-ID: <1aee547b-fb9c-4a35-957b-1c6eb34d106c@FreeBSD.org> Date: Tue, 2 Jul 2024 00:34:22 +0200 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: git: 3653c88dfeb3 - main - irc/ircd-ratbox: Unbreak with modern OpenSSL To: Ryan Steinmetz References: <202407012147.461LlLWb038146@gitrepo.freebsd.org> Content-Language: en-US Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Andree Organization: FreeBSD.org In-Reply-To: <202407012147.461LlLWb038146@gitrepo.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Am 01.07.24 um 23:47 schrieb Ryan Steinmetz: > The branch main has been updated by zi: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3653c88dfeb3bbc5e9ad572b65276f5d8807693b > > commit 3653c88dfeb3bbc5e9ad572b65276f5d8807693b > Author: Ryan Steinmetz > AuthorDate: 2024-07-01 21:46:46 +0000 > Commit: Ryan Steinmetz > CommitDate: 2024-07-01 21:46:46 +0000 > > irc/ircd-ratbox: Unbreak with modern OpenSSL > > - Bump PORTREVISION > Approved by: blanket > --- > irc/ircd-ratbox/Makefile | 2 +- > irc/ircd-ratbox/files/patch-libratbox_src_openssl.c | 11 +++++++++++ > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/irc/ircd-ratbox/Makefile b/irc/ircd-ratbox/Makefile > index 43f2c284fdce..1fa77580afe2 100644 > --- a/irc/ircd-ratbox/Makefile > +++ b/irc/ircd-ratbox/Makefile > @@ -1,6 +1,6 @@ > PORTNAME= ircd-ratbox > PORTVERSION= 3.0.10 > -PORTREVISION= 7 > +PORTREVISION= 8 > CATEGORIES= irc > MASTER_SITES= http://www.ratbox.org/download/ \ > http://www.ratbox.org/download/old/ > diff --git a/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c b/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c > new file mode 100644 > index 000000000000..69db1316de0a > --- /dev/null > +++ b/irc/ircd-ratbox/files/patch-libratbox_src_openssl.c > @@ -0,0 +1,11 @@ > +--- libratbox/src/openssl.c.orig 2024-07-01 21:36:08 UTC > ++++ libratbox/src/openssl.c > +@@ -299,7 +299,7 @@ rb_init_ssl(void) > + /* Disable SSLv2, make the client use our settings */ > + SSL_CTX_set_options(ssl_server_ctx, SSL_OP_NO_SSLv2 | SSL_OP_CIPHER_SERVER_PREFERENCE); Thanks. Should that also get options to add SSL_OP_NO_SSLv3, and possibly does it - or should one add - options to set the minimum negotiable TLS version to 1.2? > + > +- ssl_client_ctx = SSL_CTX_new(TLSv1_client_method()); > ++ ssl_client_ctx = SSL_CTX_new(TLS_client_method()); > + > + if(ssl_client_ctx == NULL) > + { -- Matthias Andree FreeBSD ports committer