Received: by mail.netbsd.org (Postfix, from userid 605) id C5BED84F1B; Thu, 13 Apr 2023 12:38:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 0267F84F03 for ; Thu, 13 Apr 2023 12:38:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id FnTnnwQq0Ucw for ; Thu, 13 Apr 2023 12:38:53 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 62B3284D31 for ; Thu, 13 Apr 2023 12:38:53 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 56A41FA85; Thu, 13 Apr 2023 12:38:53 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16813895335140" MIME-Version: 1.0 Date: Thu, 13 Apr 2023 12:38:53 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/net/ettercap To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230413123853.56A41FA85@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_16813895335140 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Thu Apr 13 12:38:53 UTC 2023 Modified Files: pkgsrc/net/ettercap: distinfo Added Files: pkgsrc/net/ettercap/patches: patch-plug-ins_sslstrip_sslstrip.c Log Message: ettercap: fix build with curl 8 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/ettercap/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16813895335140 Content-Disposition: inline Content-Length: 1748 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/ettercap/distinfo diff -u pkgsrc/net/ettercap/distinfo:1.20 pkgsrc/net/ettercap/distinfo:1.21 --- pkgsrc/net/ettercap/distinfo:1.20 Tue Oct 26 11:05:35 2021 +++ pkgsrc/net/ettercap/distinfo Thu Apr 13 12:38:53 2023 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.20 2021/10/26 11:05:35 nia Exp $ +$NetBSD: distinfo,v 1.21 2023/04/13 12:38:53 wiz Exp $ BLAKE2s (ettercap-0.8.3.1.tar.gz) = df662ced097a9072eed9221ecf5f53de9d702ab46531baa22492a38cf0398265 SHA512 (ettercap-0.8.3.1.tar.gz) = 9bd71dcc1730293ee83934aca3587dfde662cb3890c12fafa557b6359f12226e5cb6f59a0db1aa11245a132b275e355e3bcc8952db921171d27b792827f148b5 Size (ettercap-0.8.3.1.tar.gz) = 6678653 bytes SHA1 (patch-CMakeLists.txt) = f14a4c529631897bf5120be395a0111a639cda84 SHA1 (patch-cmake_Modules_EttercapLibCheck.cmake) = 4d5d523735b64cf06d13fa4eb177d16553a9f8f3 +SHA1 (patch-plug-ins_sslstrip_sslstrip.c) = 6b59b92787387ad04c99a2c99df0869bbf641283 Added files: Index: pkgsrc/net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c diff -u /dev/null pkgsrc/net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c:1.1 --- /dev/null Thu Apr 13 12:38:53 2023 +++ pkgsrc/net/ettercap/patches/patch-plug-ins_sslstrip_sslstrip.c Thu Apr 13 12:38:53 2023 @@ -0,0 +1,15 @@ +$NetBSD: patch-plug-ins_sslstrip_sslstrip.c,v 1.1 2023/04/13 12:38:53 wiz Exp $ + +Fix build with curl 8. + +--- plug-ins/sslstrip/sslstrip.c.orig 2020-08-01 14:32:06.000000000 +0000 ++++ plug-ins/sslstrip/sslstrip.c +@@ -53,7 +53,7 @@ + + #include + +-#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26) ++#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MAJOR == 7 && LIBCURL_VERSION_MINOR < 26) + #error libcurl 7.26.0 or up is needed + #endif + --_----------=_16813895335140--