commit: 2a08583ce6cb9eba5c254b2ce0f8f4bdb69da520 Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org> AuthorDate: Fri Feb 6 13:43:46 2026 +0000 Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org> CommitDate: Fri Feb 6 13:43:46 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a08583c
net-analyzer/ettercap: version bump to 0.8.4 Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org> net-analyzer/ettercap/Manifest | 1 + net-analyzer/ettercap/ettercap-0.8.4.ebuild | 81 +++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/net-analyzer/ettercap/Manifest b/net-analyzer/ettercap/Manifest index fa8a33dc442d..67fa232c7798 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 12067187 BLAKE2B 2ba8e911fd94783b211d68ad868e5e056ffdbdc1905af48826ca76a0ea9b2c14ae863a8e32c33ca28263917f4007b414b67343799410e58d876a8f17f2ef14ab SHA512 ba96d1cda6302e754c7b180ac4e74f4e96cbf40edef04a5f14e287225b0fe3f7a71247f4fea5600fd1e20dc8b6950730e6a629e6015d4afeb887662d2e859e47 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..0753c976a8a5 --- /dev/null +++ b/net-analyzer/ettercap/ettercap-0.8.4.ebuild @@ -0,0 +1,81 @@ +# 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}/archive/v${PV}.tar.gz -> ${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/libpcre 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_GTK="$(usex gtk)" + -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 + ) + + ! use gtk && mycmakeargs+=(-DINSTALL_DESKTOP=OFF) + use gtk && mycmakeargs+=(-DGTK_BUILD_TYPE=GTK3) + + cmake_src_configure +}
