From e10047845bc5759e9b8ba6d1819c7646ba37cbf5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 13 May 2021 15:51:56 +0200 Subject: sys-apps/lnxhc: port to EAPI 7 Signed-off-by: Sam James Signed-off-by: David Seifert --- sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch | 8 ++++---- sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch | 5 ++--- sys-apps/lnxhc/lnxhc-1.2-r1.ebuild | 12 +++++------- 3 files changed, 11 insertions(+), 14 deletions(-) (limited to 'sys-apps/lnxhc') diff --git a/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch b/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch index 89e184704857..3f6e9e2fd799 100644 --- a/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch +++ b/sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch @@ -1,5 +1,5 @@ ---- lnxhc-1.2/checks/net_hsi_outbound_errors/definitions -+++ lnxhc-1.2-patched/checks/net_hsi_outbound_errors/definitions +--- a/checks/net_hsi_outbound_errors/definitions ++++ b/checks/net_hsi_outbound_errors/definitions @@ -9,7 +9,7 @@ default = "1" @@ -10,8 +10,8 @@ [exception slow_hsi_receivers] severity = medium ---- lnxhc-1.2/checks/net_inbound_errors/definitions 2013-02-06 04:08:55.000000000 -0500 -+++ lnxhc-1.2-patched/checks/net_inbound_errors/definitions 2013-05-22 17:13:56.088787813 -0400 +--- a/checks/net_inbound_errors/definitions ++++ b/checks/net_inbound_errors/definitions @@ -11,7 +11,7 @@ # The above value in percentage diff --git a/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch b/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch index fe237502785f..56599771a7aa 100644 --- a/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch +++ b/sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch @@ -1,6 +1,5 @@ -diff -ruN lnxhc-1.2/Makefile lnxhc-1.2-patched/Makefile ---- lnxhc-1.2/Makefile 2013-02-06 04:14:17.000000000 -0500 -+++ lnxhc-1.2-patched/Makefile 2013-02-09 13:39:25.096883794 -0500 +--- a/Makefile ++++ b/Makefile @@ -71,7 +71,6 @@ pycheckdir := $(libdir)/python/check exampledir := $(docdir)/examples diff --git a/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild b/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild index e45de7621e9b..f2658d42fd1c 100644 --- a/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild +++ b/sys-apps/lnxhc/lnxhc-1.2-r1.ebuild @@ -1,9 +1,8 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit epatch DESCRIPTION="Linux Health Checker" HOMEPAGE="http://lnxhc.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -11,12 +10,11 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="EPL-1.0" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" RDEPEND=">=dev-lang/perl-5.8" DEPEND="${RDEPEND}" -src_prepare() { - epatch "${FILESDIR}/${PN}-1.2-usrlocal.patch" - epatch "${FILESDIR}/${PN}-1.2-ifconfig-path.patch" -} +PATCHES=( + "${FILESDIR}"/${PN}-1.2-usrlocal.patch + "${FILESDIR}"/${PN}-1.2-ifconfig-path.patch +) -- cgit v1.2.3-65-gdbad