From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9E1C0138359 for ; Thu, 13 Aug 2020 10:27:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8553E099B; Thu, 13 Aug 2020 10:27:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EFB7E099B for ; Thu, 13 Aug 2020 10:27:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5B9E34F27B for ; Thu, 13 Aug 2020 10:27:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 862DD310 for ; Thu, 13 Aug 2020 10:27:04 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1597314423.239a954b41d073906df891f38fe4a2210a774ccd.ago@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ettercap/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/ettercap/ettercap-9999.ebuild X-VCS-Directories: net-analyzer/ettercap/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 239a954b41d073906df891f38fe4a2210a774ccd X-VCS-Branch: master Date: Thu, 13 Aug 2020 10:27:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d5cbfe1f-d042-4b59-b1d5-325095f63cd3 X-Archives-Hash: ba693c14152f30bc88122f9c5cd53b94 commit: 239a954b41d073906df891f38fe4a2210a774ccd Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Aug 13 10:26:42 2020 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Aug 13 10:27:03 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239a954b net-analyzer/ettercap: sync live ebuild Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Agostino Sarubbo gentoo.org> net-analyzer/ettercap/ettercap-9999.ebuild | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/net-analyzer/ettercap/ettercap-9999.ebuild b/net-analyzer/ettercap/ettercap-9999.ebuild index 047be22f8f4..f6f494b3507 100644 --- a/net-analyzer/ettercap/ettercap-9999.ebuild +++ b/net-analyzer/ettercap/ettercap-9999.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="A suite for man in the middle attacks" HOMEPAGE="https://github.com/Ettercap/ettercap" @@ -15,11 +15,11 @@ 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" #mirror does not work + 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 gtk ipv6 libressl ncurses +plugins test" +IUSE="doc geoip gtk ipv6 libressl ncurses +plugins test" RESTRICT="!test? ( test )" RDEPEND="dev-libs/libbsd @@ -29,6 +29,7 @@ RDEPEND="dev-libs/libbsd net-libs/libnet:1.1 >=net-libs/libpcap-0.8.1 sys-libs/zlib + geoip? ( dev-libs/geoip ) gtk? ( >=dev-libs/atk-1.2.4 >=dev-libs/glib-2.2.2:2 @@ -46,13 +47,10 @@ DEPEND="${RDEPEND} test? ( dev-libs/check ) sys-devel/flex virtual/yacc" -PATCHES=( - "${FILESDIR}"/${PN}-0.8.3-fno-common.patch -) src_prepare() { sed -i "s:Release:Release Gentoo:" CMakeLists.txt || die - cmake-utils_src_prepare + cmake_src_prepare } src_configure() { @@ -63,11 +61,14 @@ src_configure() { -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="${EROOT}"etc + -DINSTALL_SYSCONFDIR="${EPREFIX}"/etc ) + + ! 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-utils_src_configure + cmake_src_configure }