public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/egressor/
@ 2021-04-03 15:57 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-04-03 15:57 UTC (permalink / raw
  To: gentoo-commits

commit:     b7053d6131a750d6c96b0cbea3dc2ad9e0724df8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  2 00:33:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 15:54:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7053d61

net-analyzer/egressor: port to EAPI 7

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-analyzer/egressor/egressor-1.0-r2.ebuild | 32 +++++++++++++++-------------
 1 file changed, 17 insertions(+), 15 deletions(-)

diff --git a/net-analyzer/egressor/egressor-1.0-r2.ebuild b/net-analyzer/egressor/egressor-1.0-r2.ebuild
index 528e269b589..6a3ea8056e3 100644
--- a/net-analyzer/egressor/egressor-1.0-r2.ebuild
+++ b/net-analyzer/egressor/egressor-1.0-r2.ebuild
@@ -1,30 +1,32 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils toolchain-funcs
+EAPI=7
+
+inherit toolchain-funcs
 
 DESCRIPTION="tool for checking router configuration"
 HOMEPAGE="http://packetfactory.openwall.net/projects/egressor/"
 SRC_URI="http://packetfactory.openwall.net/projects/egressor/${PN}_release${PV}.tar.gz"
+S="${WORKDIR}"
 
 LICENSE="egressor"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 
-DEPEND="<net-libs/libnet-1.1
-	>=net-libs/libnet-1.0.2a-r3"
-RDEPEND="net-libs/libpcap
+DEPEND="
+	<net-libs/libnet-1.1
+	>=net-libs/libnet-1.0.2a-r3
+"
+RDEPEND="
+	net-libs/libpcap
 	dev-perl/Net-RawIP
-	dev-lang/perl"
-
-S=${WORKDIR}
-
-src_prepare() {
-	epatch \
-		"${FILESDIR}"/${PV}-libnet-1.0.patch \
-		"${FILESDIR}"/${PV}-flags.patch
-}
+	dev-lang/perl
+"
+PATCHES=(
+	"${FILESDIR}"/${PV}-libnet-1.0.patch
+	"${FILESDIR}"/${PV}-flags.patch
+)
 
 src_compile() {
 	tc-export CC


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-03 15:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-03 15:57 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/egressor/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox