diff options
Diffstat (limited to 'net-analyzer/ettercap/ettercap-9999.ebuild')
-rw-r--r-- | net-analyzer/ettercap/ettercap-9999.ebuild | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild index b050ccc4f5d7..c56915d82186 100644 --- a/net-analyzer/ettercap/ettercap-9999.ebuild +++ b/net-analyzer/ettercap/ettercap-9999.ebuild @@ -1,30 +1,31 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake -DESCRIPTION="A suite for man in the middle attacks" +DESCRIPTION="Suite for man in the middle attacks" HOMEPAGE="https://github.com/Ettercap/ettercap" LICENSE="GPL-2+" SLOT="0" -if [[ ${PV} == "9999" ]] ; then +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" + KEYWORDS="~alpha amd64 arm ppc ppc64 sparc x86" fi IUSE="doc geoip gtk ipv6 ncurses +plugins test" RESTRICT="!test? ( test )" -RDEPEND="dev-libs/libbsd +RDEPEND=" + dev-libs/libbsd dev-libs/libpcre - dev-libs/openssl:0= + dev-libs/openssl:= net-libs/libnet:1.1 >=net-libs/libpcap-0.8.1 sys-libs/zlib @@ -39,13 +40,19 @@ RDEPEND="dev-libs/libbsd >=x11-libs/pango-1.2.3 ) ncurses? ( >=sys-libs/ncurses-5.3:= ) - plugins? ( >=net-misc/curl-7.26.0 )" -DEPEND="${RDEPEND} - doc? ( app-text/ghostscript-gpl - sys-apps/groff ) - test? ( dev-libs/check ) + plugins? ( >=net-misc/curl-7.26.0 ) +" +DEPEND=" + app-alternatives/yacc sys-devel/flex - app-alternatives/yacc" +" +BDEPEND=" + doc? ( + app-text/ghostscript-gpl + sys-apps/groff + ) + test? ( dev-libs/check ) +" src_prepare() { sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die @@ -66,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) - #right now we only support gtk2, but ettercap also supports gtk3 - #do we care? do we want to support both? + cmake_src_configure } |