diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-25 06:49:35 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-25 06:49:35 +0000 |
commit | 0b82ae29b3034efe3e7b7f533dbcb76168544c5e (patch) | |
tree | ea954d341afdcf53b3b79c78c9a54ff2c9693096 /net-analyzer/ettercap/files | |
parent | b0b85e141f6a9a74d9d6bdce989a626ff5e92523 (diff) |
gentoo auto-resync : 25:03:2023 - 06:49:35
Diffstat (limited to 'net-analyzer/ettercap/files')
-rw-r--r-- | net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch b/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch new file mode 100644 index 000000000000..e1c2259733c2 --- /dev/null +++ b/net-analyzer/ettercap/files/ettercap-0.8.3.1-curl-8.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/902987 +https://github.com/Ettercap/ettercap/commit/40534662043b7d831d1f6c70448afa9d374a9b63 + +From 40534662043b7d831d1f6c70448afa9d374a9b63 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Thu, 23 Mar 2023 10:23:14 -0700 +Subject: [PATCH] sslstrip: Enhance the libcurl version check to consider + version 8+ + +Lately curl has released version 8 and hence LIBCURL_VERSION_MAJOR is +reset to 0, current check assumes major version to be 7 at max and hence +on systems with libcurl 8+ this check breaks and build fails + +Fixes + +TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/ettercap/0.8.3.1-r0/git/plug-ins/sslstrip/sslstrip.c:57:2: error: libcurl 7.26.0 or up is needed + ^ +1 error generated. + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- a/plug-ins/sslstrip/sslstrip.c ++++ b/plug-ins/sslstrip/sslstrip.c +@@ -51,7 +51,7 @@ + + #include <curl/curl.h> + +-#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 + + |