From 4843bca585c452ed9981d698f0ee26eb46855476 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 15 Mar 2021 20:28:28 +0000 Subject: net-analyzer/cutter: port 1.04 to EAPI 7 Signed-off-by: Sam James --- net-analyzer/cutter/cutter-1.04.ebuild | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/net-analyzer/cutter/cutter-1.04.ebuild b/net-analyzer/cutter/cutter-1.04.ebuild index f11002ca418e..045a2f6cf17b 100644 --- a/net-analyzer/cutter/cutter-1.04.ebuild +++ b/net-analyzer/cutter/cutter-1.04.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# 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="TCP/IP Connection cutting on Linux Firewalls and Routers" HOMEPAGE="http://www.digitage.co.uk/digitage/software/linux-security/cutter" @@ -12,9 +13,15 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" +PATCHES=( + "${FILESDIR}"/${PN}-1.03-debian.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-1.03-debian.patch - rm -f Makefile # implicit rules are better ;x + default + + # implicit rules are better ;x + rm -f Makefile || die } src_compile() { -- cgit v1.2.3-18-g5258