From cf3aeadbf8d9741881746896690ea29c838a4d4e Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 2 Apr 2021 02:28:26 +0100 Subject: [PATCH] net-analyzer/scanlogd: EAPI 7, eutils-- Signed-off-by: Sam James --- net-analyzer/scanlogd/scanlogd-2.2.7.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/net-analyzer/scanlogd/scanlogd-2.2.7.ebuild b/net-analyzer/scanlogd/scanlogd-2.2.7.ebuild index b7c18a9d4cd03..7fb4b5b2a9d40 100644 --- a/net-analyzer/scanlogd/scanlogd-2.2.7.ebuild +++ b/net-analyzer/scanlogd/scanlogd-2.2.7.ebuild @@ -1,10 +1,11 @@ -# 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 savedconfig toolchain-funcs user +EAPI=7 -DESCRIPTION="a port scan detection tool" +inherit savedconfig toolchain-funcs user + +DESCRIPTION="A port scan detection tool" SRC_URI="http://www.openwall.com/scanlogd/${P}.tar.gz" HOMEPAGE="http://www.openwall.com/scanlogd/" @@ -20,8 +21,12 @@ DEPEND=" " RDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch +) + src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo.patch + default restore_config params.h tc-export CC }