ettercap: rebuild for openssl3
This commit is contained in:
11
srcpkgs/ettercap/patches/libcurl-8.patch
Normal file
11
srcpkgs/ettercap/patches/libcurl-8.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- a/plug-ins/sslstrip/sslstrip.c
|
||||||
|
+++ b/plug-ins/sslstrip/sslstrip.c
|
||||||
|
@@ -53,7 +53,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
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'ettercap'
|
# Template file for 'ettercap'
|
||||||
pkgname=ettercap
|
pkgname=ettercap
|
||||||
version=0.8.3.1
|
version=0.8.3.1
|
||||||
revision=2
|
revision=3
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DENABLE_GTK=OFF -DBUNDLED_LIBS=OFF"
|
configure_args="-DENABLE_GTK=OFF -DBUNDLED_LIBS=OFF"
|
||||||
hostmakedepends="flex pkg-config"
|
hostmakedepends="flex pkg-config"
|
||||||
|
|||||||
Reference in New Issue
Block a user