commit: 4843bca585c452ed9981d698f0ee26eb46855476 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Mar 15 20:28:28 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 15 20:58:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4843bca5
net-analyzer/cutter: port 1.04 to EAPI 7 Signed-off-by: Sam James <sam <AT> gentoo.org> 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 f11002ca418..045a2f6cf17 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() {
