commit:     1c05c090f62c7b50b45455835ad6a6fe5e47c177
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 09:18:12 2026 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 09:18:12 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c05c090

net-analyzer/ettercap: version bump(v2) to 0.8.4 - thanks sam/eschwartz

Bug: https://bugs.gentoo.org/955891
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 net-analyzer/ettercap/Manifest              |  1 +
 net-analyzer/ettercap/ettercap-0.8.4.ebuild | 83 +++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest
index fa8a33dc442d..76a55a0b1b18 100644
--- a/net-analyzer/ettercap/Manifest
+++ b/net-analyzer/ettercap/Manifest
@@ -1 +1,2 @@
 DIST ettercap-0.8.3.1.tar.gz 6678653 BLAKE2B 
2680b97454626a6f1af3b21f689ba8eed7a023c3ef5cd84d5b2b5859382f398b3a6fc622270ca41941a8a18a7bdd260af64165344a33b2e195c86ee61567f2eb
 SHA512 
9bd71dcc1730293ee83934aca3587dfde662cb3890c12fafa557b6359f12226e5cb6f59a0db1aa11245a132b275e355e3bcc8952db921171d27b792827f148b5
+DIST ettercap-0.8.4.tar.gz 5818248 BLAKE2B 
e5455714e936dab5d4cb6773561655d693a6114adeaf64449dbeeb95bb0f3ee0c2d2d12ccfe82d0744f117e5f7d9113651c73b50c3fdddc2572acc97e188254c
 SHA512 
a1268b56199a2f1f2c3af6cda9c8203e33dd2c13a1a8fc826c58e90daf081b014dc4bdeade463df14b72334df63baf5a52a40ebabc37b39109434d63921ded17

diff --git a/net-analyzer/ettercap/ettercap-0.8.4.ebuild 
b/net-analyzer/ettercap/ettercap-0.8.4.ebuild
new file mode 100644
index 000000000000..88e7fcfdfafc
--- /dev/null
+++ b/net-analyzer/ettercap/ettercap-0.8.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Suite for man in the middle attacks"
+HOMEPAGE="https://github.com/Ettercap/ettercap";
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+if [[ ${PV} == 9999 ]] ; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/Ettercap/${PN}.git";
+else
+       
SRC_URI="https://github.com/Ettercap/${PN}/releases/download/v${PV}/${P}.tar.gz";
+       KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
+fi
+
+IUSE="doc geoip gtk ipv6 ncurses +plugins test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       dev-libs/libbsd
+       dev-libs/libpcre2:=
+       dev-libs/openssl:=
+       net-libs/libnet:1.1
+       >=net-libs/libpcap-0.8.1
+       virtual/zlib:=
+       geoip? ( dev-libs/libmaxminddb )
+       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/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 )
+"
+DEPEND="
+       app-alternatives/yacc
+       app-alternatives/lex
+"
+BDEPEND="
+       doc? (
+               app-text/ghostscript-gpl
+               sys-apps/groff
+       )
+       test? ( dev-libs/check )
+"
+
+src_prepare() {
+       sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die
+       cmake_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DENABLE_CURSES="$(usex ncurses)"
+               -DENABLE_PLUGINS="$(usex plugins)"
+               -DENABLE_IPV6="$(usex ipv6)"
+               -DENABLE_TESTS="$(usex test)"
+               -DENABLE_PDF_DOCS="$(usex doc)"
+               -DENABLE_GEOIP="$(usex geoip)"
+               -DBUNDLED_LIBS=OFF
+               -DSYSTEM_LIBS=ON
+               -DINSTALL_SYSCONFDIR="${EPREFIX}"/etc
+       )
+
+       if use gtk ; then
+               mycmakeargs+=(-DGTK_BUILD_TYPE=GTK3 -DENABLE_GTK=ON)
+       else
+               mycmakeargs+=(-DINSTALL_DESKTOP=OFF)
+       fi
+
+       cmake_src_configure
+}

Reply via email to