aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/ettercap
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:13:51 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-04-05 17:29:51 +0000
commitf2ce482e04c6c5711d8c017ef8d7f92f9a6b058f (patch)
tree11d83aa997d1c4492d4aa420a0bd27c4715848dd /net-mgmt/ettercap
parentdfd26eafbbb9bfbad77b232de3514230385c1ca3 (diff)
downloadports-f2ce482e04c6c5711d8c017ef8d7f92f9a6b058f.tar.gz
ports-f2ce482e04c6c5711d8c017ef8d7f92f9a6b058f.zip
net-mgmt/ettercap: Allow build with curl 8.0.0+
Diffstat (limited to 'net-mgmt/ettercap')
-rw-r--r--net-mgmt/ettercap/files/patch-curl13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-mgmt/ettercap/files/patch-curl b/net-mgmt/ettercap/files/patch-curl
new file mode 100644
index 000000000000..616e246e54f6
--- /dev/null
+++ b/net-mgmt/ettercap/files/patch-curl
@@ -0,0 +1,13 @@
+--- plug-ins/sslstrip/sslstrip.c.orig 2020-08-01 14:32:06 UTC
++++ plug-ins/sslstrip/sslstrip.c
+@@ -53,10 +53,6 @@
+
+ #include <curl/curl.h>
+
+-#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26)
+-#error libcurl 7.26.0 or up is needed
+-#endif
+-
+ /*
+ * This plugin will basically replace all https links sent to the user's browser with http
+ * but keep track of those https links to send a proper HTTPS request to the links when requested.