diff options
author | Sam James <sam@gentoo.org> | 2021-05-13 15:51:56 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-13 15:51:56 +0200 |
commit | e10047845bc5759e9b8ba6d1819c7646ba37cbf5 (patch) | |
tree | ab8b899c6bd95b022b4fffc707ce5beb61239518 /sys-apps/lnxhc | |
parent | sys-apps/xinetd: drop 2.3.15-r3 (EAPI 5) (diff) | |
download | gentoo-e10047845bc5759e9b8ba6d1819c7646ba37cbf5.tar.gz gentoo-e10047845bc5759e9b8ba6d1819c7646ba37cbf5.tar.bz2 gentoo-e10047845bc5759e9b8ba6d1819c7646ba37cbf5.zip |
sys-apps/lnxhc: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-apps/lnxhc')
-rw-r--r-- | sys-apps/lnxhc/files/lnxhc-1.2-ifconfig-path.patch | 8 | ||||
-rw-r--r-- | sys-apps/lnxhc/files/lnxhc-1.2-usrlocal.patch | 5 | ||||
-rw-r--r-- | sys-apps/lnxhc/lnxhc-1.2-r1.ebuild | 12 |
3 files changed, 11 insertions, 14 deletions
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 +) |