git: f2ce482e04c6 - main - net-mgmt/ettercap: Allow build with curl 8.0.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Apr 2023 17:34:14 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f2ce482e04c6c5711d8c017ef8d7f92f9a6b058f
commit f2ce482e04c6c5711d8c017ef8d7f92f9a6b058f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:13:51 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:51 +0000
net-mgmt/ettercap: Allow build with curl 8.0.0+
---
net-mgmt/ettercap/files/patch-curl | 13 +++++++++++++
1 file changed, 13 insertions(+)
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.