summaryrefslogtreecommitdiff
path: root/net-analyzer/ettercap
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r--net-analyzer/ettercap/Manifest3
-rw-r--r--net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild1
-rw-r--r--net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch36
3 files changed, 39 insertions, 1 deletions
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest
index 10fe242839cc..6b8fbbd7a3fa 100644
--- a/net-analyzer/ettercap/Manifest
+++ b/net-analyzer/ettercap/Manifest
@@ -1,6 +1,7 @@
AUX ettercap-0.8.3.1-curl-8.patch 1110 BLAKE2B 7a70191da6b2376826f739d52445c35789af07f2cfddc24197cbeb637808f6e461694a34dff6faaf6971ce11d717fe2c18a8ff0291832ec27eb6479591f9e206 SHA512 cdb2ab8d8078c1b8c3305dd00345d295e2cf4b0127c8be471b326ed6375324d9c227f2d3cffd1ac6583e23385fd5fdb34dfc54f11b0952d2e8b1864455da95d3
+AUX ettercap-0.8.3.1-libressl.patch 1206 BLAKE2B ee037af44e8071a4fdc1a778dfdaca4c5a6f1abc9e1cb07e997d9be587a8369a5b9319010b76685dc990e4566023d4fd4f2b4acc8e7809700b76a9d8db51adfb SHA512 6c70d9c396d8b55271a190db9680e0a2347f0d870109c979417238c395c7fb63c64bb0250c7983eef619f227a56354d8780c247c039fa101731dc7f7a8d81702
AUX ettercap-0.8.3.1-musl.patch 1196 BLAKE2B 104817bca2c0608314645713153120b348779c470052f5c9bfcb91592823aa6a0dc1c0c2363f05e1c1506805ef54742891b62e836dfe03d52c624ac0b585b4b4 SHA512 666078ad8b415b957d7d636299d67c7c4cca733820de01016fa29cd42915f4120324afd7560e417f8f91eb13583a543ca6852dcb3d32af38e2ced76186d87a88
DIST ettercap-0.8.3.1.tar.gz 6678653 BLAKE2B 2680b97454626a6f1af3b21f689ba8eed7a023c3ef5cd84d5b2b5859382f398b3a6fc622270ca41941a8a18a7bdd260af64165344a33b2e195c86ee61567f2eb SHA512 9bd71dcc1730293ee83934aca3587dfde662cb3890c12fafa557b6359f12226e5cb6f59a0db1aa11245a132b275e355e3bcc8952db921171d27b792827f148b5
-EBUILD ettercap-0.8.3.1-r3.ebuild 1861 BLAKE2B 42e511f6358774f57f08068f1c18b3ea083f3af54d94600d5abdfbdbdd69b8d37534a7522a19ec632cbdd2f645a343dc5b3447c64f712c8526c5da433c41db31 SHA512 f8d7bb4baf3537dfaa91c7cc7a71af98429b221d96a6de1b1ce17fcc279d8580ac7f910d19054089cfaf18a8d09bcbddc7af9a099dcefb6e55c2b115793fb20e
+EBUILD ettercap-0.8.3.1-r3.ebuild 1912 BLAKE2B bd904ec5f66ba8dd829d24515a4856c475ba5d7feb9bf535da5b89723724bffeb81d08e82131d746e844bdc3bb1bd30485d278aedae674bfc8268fdd3b2d9525 SHA512 82a0dde835fd396db7c0dee63b4e25ce7a1cd6e9897318a1e3cbd8d5fec3f92563a3f36e8c7c250e103886012563c79d0289763cb53fa777f3925b6e7fd259d8
EBUILD ettercap-9999.ebuild 1777 BLAKE2B 3fe67b7f5e0f925a40b776c48d0f50083b3645a6452ebd7c33bb269e77fa26d8fa63048ad5b419a3dffbd5e92c5780b54b23a5f053c7caf9dfd6db1ae32490d3 SHA512 bf30fd462d8cff05939e27bf6275391da68d43d7ce86a3bd4b1439e7917849dbfcdc4aa0fc926d9f3a4d180dd122a57b7594cf100b50c20c0ae90a1214dffaf4
MISC metadata.xml 658 BLAKE2B b4696f4a0f2f3fb86352067988aa4cdf1860363bce7d1dfb7b625bb18157d8985a2a7873f3730acf092b46b94ec7804df11de5e736ef763841fa1a6238859986 SHA512 f9935abb68e3d85eaf393cad919b867ebfca66f8f9d3dc5a570c691c18ce7324dc6bd4e670345b1668b6593d90b99d6d47874ed08512e0ab882160fe0ea6cd24
diff --git a/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild b/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild
index 26b54257f1db..75306f098cca 100644
--- a/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild
+++ b/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild
@@ -56,6 +56,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${P}-curl-8.patch
+ "${FILESDIR}"/${P}-libressl.patch #903001, 736990
"${FILESDIR}"/${P}-musl.patch #897820
)
diff --git a/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch b/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch
new file mode 100644
index 000000000000..a56e75c88b75
--- /dev/null
+++ b/net-analyzer/ettercap/files/ettercap-0.8.3.1-libressl.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/903001
+https://bugs.gentoo.org/736990
+https://github.com/Ettercap/ettercap/pull/1069
+https://github.com/Ettercap/ettercap/commit/b2fc8e959dc71fdbaba08aecb1f157c914490a07
+
+From b2f7634c9dbc0ef68640f0571787d92300e9f9f9 Mon Sep 17 00:00:00 2001
+From: Stefan Strogin <stefan@steils.org>
+Date: Sat, 15 Aug 2020 07:18:31 +0300
+Subject: [PATCH] ec_sslwrap: fix compilation with LibreSSL
+
+Disable taking over SNI extension from ClientHello and SSL configuration
+operations until LibreSSL supports the required API.
+
+Fixes: https://github.com/Ettercap/ettercap/issues/1068
+---
+ src/ec_sslwrap.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/ec_sslwrap.c b/src/ec_sslwrap.c
+index b9f26a142..1e4c24fc1 100644
+--- a/src/ec_sslwrap.c
++++ b/src/ec_sslwrap.c
+@@ -71,11 +71,11 @@
+ #define TLS_server_method SSLv23_server_method
+ #endif
+
+-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER)
+ #define HAVE_OPENSSL_1_1_0
+ #endif
+
+-#if (OPENSSL_VERSION_NUMBER >= 0x10101000L)
++#if (OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER)
+ #define HAVE_OPENSSL_1_1_1
+ #endif
+