commit:     c594512892b8171fd96de94d6e2c9ffd57461506
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Jan 26 13:57:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 14:23:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5945128

net-analyzer/wireshark: do not build tfshark

tfshark is unsupported upstream, easily segfaults with user-supplied
input and has severe security implications. Remove the USE flag and
do not build it.

Closes: https://bugs.gentoo.org/948855
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/40316
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/wireshark/wireshark-4.4.3.ebuild | 4 ++--
 net-analyzer/wireshark/wireshark-9999.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-analyzer/wireshark/wireshark-4.4.3.ebuild 
b/net-analyzer/wireshark/wireshark-4.4.3.ebuild
index 9247e0f60c8a..475ae8d5d1a7 100644
--- a/net-analyzer/wireshark/wireshark-4.4.3.ebuild
+++ b/net-analyzer/wireshark/wireshark-4.4.3.ebuild
@@ -33,7 +33,7 @@ IUSE="androiddump bcg729 brotli +capinfos +captype ciscodump 
+dftest doc dpauxmo
 IUSE+=" +dumpcap +editcap +gui http2 http3 ilbc kerberos libxml2 lua lz4 
maxminddb"
 IUSE+=" +mergecap +minizip +netlink opus +plugins +pcap +randpkt"
 IUSE+=" +randpktdump +reordercap sbc selinux +sharkd smi snappy spandsp 
sshdump ssl"
-IUSE+=" sdjournal test +text2pcap tfshark +tshark +udpdump wifi zlib +zstd"
+IUSE+=" sdjournal test +text2pcap +tshark +udpdump wifi zlib +zstd"
 
 REQUIRED_USE="
        lua? ( ${LUA_REQUIRED_USE} )
@@ -209,7 +209,7 @@ src_configure() {
                -DBUILD_sharkd=$(usex sharkd)
                -DBUILD_sshdump=$(usex sshdump)
                -DBUILD_text2pcap=$(usex text2pcap)
-               -DBUILD_tfshark=$(usex tfshark)
+               -DBUILD_tfshark=OFF
                -DBUILD_tshark=$(usex tshark)
                -DBUILD_udpdump=$(usex udpdump)
 

diff --git a/net-analyzer/wireshark/wireshark-9999.ebuild 
b/net-analyzer/wireshark/wireshark-9999.ebuild
index 9247e0f60c8a..475ae8d5d1a7 100644
--- a/net-analyzer/wireshark/wireshark-9999.ebuild
+++ b/net-analyzer/wireshark/wireshark-9999.ebuild
@@ -33,7 +33,7 @@ IUSE="androiddump bcg729 brotli +capinfos +captype ciscodump 
+dftest doc dpauxmo
 IUSE+=" +dumpcap +editcap +gui http2 http3 ilbc kerberos libxml2 lua lz4 
maxminddb"
 IUSE+=" +mergecap +minizip +netlink opus +plugins +pcap +randpkt"
 IUSE+=" +randpktdump +reordercap sbc selinux +sharkd smi snappy spandsp 
sshdump ssl"
-IUSE+=" sdjournal test +text2pcap tfshark +tshark +udpdump wifi zlib +zstd"
+IUSE+=" sdjournal test +text2pcap +tshark +udpdump wifi zlib +zstd"
 
 REQUIRED_USE="
        lua? ( ${LUA_REQUIRED_USE} )
@@ -209,7 +209,7 @@ src_configure() {
                -DBUILD_sharkd=$(usex sharkd)
                -DBUILD_sshdump=$(usex sshdump)
                -DBUILD_text2pcap=$(usex text2pcap)
-               -DBUILD_tfshark=$(usex tfshark)
+               -DBUILD_tfshark=OFF
                -DBUILD_tshark=$(usex tshark)
                -DBUILD_udpdump=$(usex udpdump)
 

Reply via email to