commit:     81c68a08e97ee7ea7d87f303292f0d640eb39702
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  6 18:28:38 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb  6 18:29:56 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c68a08

Revert "net-analyzer/ettercap: sync 9999"

This reverts commit 8afe9f76e4d1cc180ef43e6f325fd3b1caaaef63.

The || ( ... ) dep for libpcre2 is wrong, it should prefer libpcre2
(possibly with configure changes, don't know, not looked), you can't
switch these at runtime anyway w/o dlopen.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/ettercap/ettercap-9999.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild 
b/net-analyzer/ettercap/ettercap-9999.ebuild
index 0753c976a8a5..4c99ecb6d35c 100644
--- a/net-analyzer/ettercap/ettercap-9999.ebuild
+++ b/net-analyzer/ettercap/ettercap-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2026 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -24,22 +24,21 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="
        dev-libs/libbsd
-       || ( dev-libs/libpcre dev-libs/libpcre2 )
+       dev-libs/libpcre2
        dev-libs/openssl:=
        net-libs/libnet:1.1
        >=net-libs/libpcap-0.8.1
        virtual/zlib:=
-       geoip? ( dev-libs/libmaxminddb )
+       geoip? ( dev-libs/geoip )
        gtk? (
                >=app-accessibility/at-spi2-core-2.46.0
                >=dev-libs/glib-2.2.2:2
                media-libs/freetype
                x11-libs/cairo
                x11-libs/gdk-pixbuf:2
-               >=x11-libs/gtk+-3.12.0:3
+               >=x11-libs/gtk+-2.2.2:2
                >=x11-libs/pango-1.2.3
        )
-       ipv6? ( >=net-libs/libnet-1.1.5:1.1 )
        ncurses? ( >=sys-libs/ncurses-5.3:= )
        plugins? ( >=net-misc/curl-7.26.0 )
 "
@@ -74,8 +73,9 @@ src_configure() {
                -DINSTALL_SYSCONFDIR="${EPREFIX}"/etc
        )
 
+       # right now we only support gtk2, but ettercap also supports gtk3
+       # do we care? do we want to support both?
        ! use gtk && mycmakeargs+=(-DINSTALL_DESKTOP=OFF)
-       use gtk && mycmakeargs+=(-DGTK_BUILD_TYPE=GTK3)
 
        cmake_src_configure
 }

Reply via email to