diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-14 05:44:50 +0100 |
commit | 1d18b53ed419c49eb3f71637ccd58a431c1368d4 (patch) | |
tree | eb3671b1209855aa64534ee96262d06bcda99d74 /net-analyzer/ettercap | |
parent | fdca6388cf31827202fae75cae067c695bd09339 (diff) |
gentoo auto-resync : 14:04:2023 - 05:44:49
Diffstat (limited to 'net-analyzer/ettercap')
-rw-r--r-- | net-analyzer/ettercap/Manifest | 3 | ||||
-rw-r--r-- | net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild (renamed from net-analyzer/ettercap/ettercap-0.8.3.1-r2.ebuild) | 1 | ||||
-rw-r--r-- | net-analyzer/ettercap/files/ettercap-0.8.3.1-musl.patch | 39 |
3 files changed, 42 insertions, 1 deletions
diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest index 4f487b7e19d0..10fe242839cc 100644 --- a/net-analyzer/ettercap/Manifest +++ b/net-analyzer/ettercap/Manifest @@ -1,5 +1,6 @@ AUX ettercap-0.8.3.1-curl-8.patch 1110 BLAKE2B 7a70191da6b2376826f739d52445c35789af07f2cfddc24197cbeb637808f6e461694a34dff6faaf6971ce11d717fe2c18a8ff0291832ec27eb6479591f9e206 SHA512 cdb2ab8d8078c1b8c3305dd00345d295e2cf4b0127c8be471b326ed6375324d9c227f2d3cffd1ac6583e23385fd5fdb34dfc54f11b0952d2e8b1864455da95d3 +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-r2.ebuild 1822 BLAKE2B 70f0fb76899fe3accd15668a3c6db01e273fa766ea7679cd3a4d9efa0cedd6f08da2273364b6f21917bda4b6690d4c62ae004dbe12f12de03348faf51af0847d SHA512 7c95f17b76d7db1b0e1e6763bbef44c05ac634c7f7965654dc29b09f62dd078e81d7aab6e7e70584421f898b1c90e6baa6bd9f2d9fbebf66a2bb5907e9d3ebac +EBUILD ettercap-0.8.3.1-r3.ebuild 1861 BLAKE2B 42e511f6358774f57f08068f1c18b3ea083f3af54d94600d5abdfbdbdd69b8d37534a7522a19ec632cbdd2f645a343dc5b3447c64f712c8526c5da433c41db31 SHA512 f8d7bb4baf3537dfaa91c7cc7a71af98429b221d96a6de1b1ce17fcc279d8580ac7f910d19054089cfaf18a8d09bcbddc7af9a099dcefb6e55c2b115793fb20e 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-r2.ebuild b/net-analyzer/ettercap/ettercap-0.8.3.1-r3.ebuild index 3583a1dd0776..26b54257f1db 100644 --- a/net-analyzer/ettercap/ettercap-0.8.3.1-r2.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}-musl.patch #897820 ) src_prepare() { diff --git a/net-analyzer/ettercap/files/ettercap-0.8.3.1-musl.patch b/net-analyzer/ettercap/files/ettercap-0.8.3.1-musl.patch new file mode 100644 index 000000000000..516823ec6972 --- /dev/null +++ b/net-analyzer/ettercap/files/ettercap-0.8.3.1-musl.patch @@ -0,0 +1,39 @@ +Upsream-PR: https://github.com/Ettercap/ettercap/pull/1220 +Uptream-Commit: https://github.com/Ettercap/ettercap/commit/f03a1174ffccf9343423498fa3c65bd9090d4ce0 +Bug: https://bugs.gentoo.org/897820 + +From 3ef51159d4e2cea97accb87af08943333fbefb04 Mon Sep 17 00:00:00 2001 +From: Gianfranco Costamagna <costamagnagianfranco@yahoo.it> +Date: Fri, 3 Mar 2023 21:27:14 +0100 +Subject: [PATCH] Define _GNU_SOURCE to make sure memmem is found when musl + library is used. This fixes issue: #1219 + +Thanks Sam James for the suggestion! +--- + include/ec.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/include/ec.h b/include/ec.h +index fbf048111..561062c2f 100644 +--- a/include/ec.h ++++ b/include/ec.h +@@ -21,6 +21,9 @@ + #if !defined (__USE_GNU) /* for memmem(), strsignal(), etc etc... */ + #define __USE_GNU + #endif ++#if !defined (_GNU_SOURCE) /* for memmem(), strsignal(), etc etc... on musl */ ++ #define _GNU_SOURCE ++#endif + #ifdef OS_SOLARIS + #define _REENTRANT /* for strtok_r() */ + #endif +@@ -28,6 +31,9 @@ + #if defined (__USE_GNU) + #undef __USE_GNU + #endif ++#if defined (_GNU_SOURCE) ++ #undef _GNU_SOURCE ++#endif + #include <strings.h> + #include <unistd.h> + #include <time.h> |