From: "Agostino Sarubbo" <ago@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ettercap/
Date: Thu, 13 Aug 2020 10:27:04 +0000 (UTC) [thread overview]
Message-ID: <1597314423.239a954b41d073906df891f38fe4a2210a774ccd.ago@gentoo> (raw)
commit: 239a954b41d073906df891f38fe4a2210a774ccd
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 13 10:26:42 2020 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> 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 <ago <AT> 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
}
next reply other threads:[~2020-08-13 10:27 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-13 10:27 Agostino Sarubbo [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-03-25 7:15 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ettercap/ Sam James
2023-03-25 5:52 Sam James
2021-04-30 18:46 Mikle Kolyada
2020-09-24 13:15 Agostino Sarubbo
2020-09-24 6:46 Agostino Sarubbo
2020-09-18 22:58 Sergei Trofimovich
2020-09-18 15:09 Agostino Sarubbo
2020-09-18 15:07 Agostino Sarubbo
2020-09-18 10:17 Agostino Sarubbo
2020-09-18 10:07 Agostino Sarubbo
2020-08-13 10:27 Agostino Sarubbo
2019-10-14 1:08 Matt Turner
2019-09-13 18:05 Mikle Kolyada
2019-08-30 7:57 Agostino Sarubbo
2019-08-28 9:51 Agostino Sarubbo
2019-08-27 22:59 Sergei Trofimovich
2019-08-27 22:58 Sergei Trofimovich
2019-08-26 18:45 Sergei Trofimovich
2019-08-11 11:20 David Seifert
2019-07-02 7:13 Agostino Sarubbo
2019-04-13 2:37 Aaron Bauman
2019-04-08 6:47 Mikle Kolyada
2019-03-30 19:12 Mikle Kolyada
2019-03-27 23:44 Thomas Deutschmann
2019-03-26 21:09 Sergei Trofimovich
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 10:01 Agostino Sarubbo
2017-11-14 19:11 Agostino Sarubbo
2016-12-23 10:11 Johannes Huber
2016-07-13 17:25 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1597314423.239a954b41d073906df891f38fe4a2210a774ccd.ago@gentoo \
--to=ago@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox