From 1ebab58e8377818fea85847715b09a683d0c4ad9 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Wed, 16 Aug 2023 20:13:14 -0400 Subject: [PATCH] ettercap: rebuild for openssl3 --- srcpkgs/ettercap/patches/libcurl-8.patch | 11 +++++++++++ srcpkgs/ettercap/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/ettercap/patches/libcurl-8.patch diff --git a/srcpkgs/ettercap/patches/libcurl-8.patch b/srcpkgs/ettercap/patches/libcurl-8.patch new file mode 100644 index 00000000000..30a196d9807 --- /dev/null +++ b/srcpkgs/ettercap/patches/libcurl-8.patch @@ -0,0 +1,11 @@ +--- a/plug-ins/sslstrip/sslstrip.c ++++ b/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 + diff --git a/srcpkgs/ettercap/template b/srcpkgs/ettercap/template index ce206d8bdaf..0f0bb25dbf8 100644 --- a/srcpkgs/ettercap/template +++ b/srcpkgs/ettercap/template @@ -1,7 +1,7 @@ # Template file for 'ettercap' pkgname=ettercap version=0.8.3.1 -revision=2 +revision=3 build_style=cmake configure_args="-DENABLE_GTK=OFF -DBUNDLED_LIBS=OFF" hostmakedepends="flex pkg-config"