summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-15 20:28:28 +0000
committerSam James <sam@gentoo.org>2021-03-15 20:58:38 +0000
commit4843bca585c452ed9981d698f0ee26eb46855476 (patch)
tree954449a67e2903d38a16d6e2089caab24c419326 /net-analyzer/cutter
parentnet-analyzer/bwm-ng: add 0.6.3 (diff)
downloadgentoo-4843bca585c452ed9981d698f0ee26eb46855476.tar.gz
gentoo-4843bca585c452ed9981d698f0ee26eb46855476.tar.bz2
gentoo-4843bca585c452ed9981d698f0ee26eb46855476.zip
net-analyzer/cutter: port 1.04 to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/cutter')
-rw-r--r--net-analyzer/cutter/cutter-1.04.ebuild17
1 files 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() {