From 475311c03a5e1b718a0ad74dd60cb7d7383e09e3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 11 Nov 2026 21:28:30 -0800 Subject: [PATCH] ettercap: upgrade 0.8.4.1 -> 0.8.5.1 Refresh 0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj --- .../ettercap/{ettercap_0.8.4.1.bb => ettercap_0.8.5.1.bb} | 2 +- ...h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename meta-networking/recipes-support/ettercap/{ettercap_0.8.4.1.bb => ettercap_0.8.5.1.bb} (96%) diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb similarity index 96% rename from meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb rename to meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb index 9a2090719b..8ec930d39c 100644 --- a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb +++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.5.1.bb @@ -25,7 +25,7 @@ SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https;tag file://0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch \ " -SRCREV = "0dc8409779f3a09cbfff4434b9a4d7b33480d88d" +SRCREV = "832524f3c4c215f1007fe9f190dbf052ee965b55" EXTRA_OECMAKE = " \ -DCMAKE_SKIP_RPATH=TRUE \ diff --git a/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch b/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch index 126d37ff50..8beb540334 100644 --- a/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch +++ b/meta-networking/recipes-support/ettercap/files/0001-ec.h-do-not-strip-a-pre-existing-_GNU_SOURCE-define.patch @@ -24,13 +24,16 @@ intact for the remainder of the translation unit. Upstream-Status: Pending Signed-off-by: Khem Raj + --- include/ec.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) +diff --git a/include/ec.h b/include/ec.h +index 5536982..9723755 100644 --- a/include/ec.h +++ b/include/ec.h -@@ -20,19 +20,23 @@ +@@ -20,20 +20,24 @@ #if !defined (__USE_GNU) /* for memmem(), strsignal(), etc etc... */ #define __USE_GNU @@ -44,6 +47,7 @@ Signed-off-by: Khem Raj #define _REENTRANT /* for strtok_r() */ #endif #include + #include /* for setresuid() and setresgid() */ -#if defined (__USE_GNU) +#if defined (EC_UNDEF_USE_GNU) #undef __USE_GNU @@ -55,4 +59,4 @@ Signed-off-by: Khem Raj + #undef EC_UNDEF_GNU_SOURCE #endif #include - #include + #include