From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DBD07158649 for ; Wed, 10 May 2023 16:38:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21283E0985; Wed, 10 May 2023 16:38:26 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 08AAEE0985 for ; Wed, 10 May 2023 16:38:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42AA1340B29 for ; Wed, 10 May 2023 16:38:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D2FF4A68 for ; Wed, 10 May 2023 16:38:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1683736532.3c567ba631c14b1605c441fba76cdaf65e05e828.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ettercap/files/, net-analyzer/ettercap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch X-VCS-Directories: net-analyzer/ettercap/files/ net-analyzer/ettercap/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3c567ba631c14b1605c441fba76cdaf65e05e828 X-VCS-Branch: master Date: Wed, 10 May 2023 16:38:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c0d307c3-4969-4fdc-b3c1-c6ca69b45897 X-Archives-Hash: 9c7bab05758e1f7d9f4f911ec8d4986a commit: 3c567ba631c14b1605c441fba76cdaf65e05e828 Author: orbea riseup net> AuthorDate: Sun Apr 30 01:58:30 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 10 16:35:32 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c567ba6 net-analyzer/ettercap: add upstream libressl patch This patch was accepted upstream and disables APIs not supported by LibreSSL <= 3.7.2. Bug: https://bugs.gentoo.org/903001 Bug: https://bugs.gentoo.org/736990 Upstream-Issue: https://github.com/Ettercap/ettercap/issues/1068 Upstream-PR: https://github.com/Ettercap/ettercap/pull/1069 Upstream-Commit: https://github.com/Ettercap/ettercap/commit/b2fc8e959dc71fdbaba08aecb1f157c914490a07 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/30813 Signed-off-by: Sam James gentoo.org> net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild | 1 + .../ettercap/files/ettercap-0.8.3.1-libressl.patch | 36 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild b/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild index 26b54257f1db..75306f098cca 100644 --- a/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild +++ b/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild @@ -56,6 +56,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-curl-8.patch + "${FILESDIR}"/${P}-libressl.patch #903001, 736990 "${FILESDIR}"/${P}-musl.patch #897820 ) diff --git a/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch b/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch new file mode 100644 index 000000000000..a56e75c88b75 --- /dev/null +++ b/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch @@ -0,0 +1,36 @@ +https://bugs.gentoo.org/903001 +https://bugs.gentoo.org/736990 +https://github.com/Ettercap/ettercap/pull/1069 +https://github.com/Ettercap/ettercap/commit/b2fc8e959dc71fdbaba08aecb1f157c914490a07 + +From b2f7634c9dbc0ef68640f0571787d92300e9f9f9 Mon Sep 17 00:00:00 2001 +From: Stefan Strogin +Date: Sat, 15 Aug 2020 07:18:31 +0300 +Subject: [PATCH] ec_sslwrap: fix compilation with LibreSSL + +Disable taking over SNI extension from ClientHello and SSL configuration +operations until LibreSSL supports the required API. + +Fixes: https://github.com/Ettercap/ettercap/issues/1068 +--- + src/ec_sslwrap.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/ec_sslwrap.c b/src/ec_sslwrap.c +index b9f26a142..1e4c24fc1 100644 +--- a/src/ec_sslwrap.c ++++ b/src/ec_sslwrap.c +@@ -71,11 +71,11 @@ + #define TLS_server_method SSLv23_server_method + #endif + +-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER) + #define HAVE_OPENSSL_1_1_0 + #endif + +-#if (OPENSSL_VERSION_NUMBER >= 0x10101000L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER) + #define HAVE_OPENSSL_1_1_1 + #endif +