commit:     cf3aeadbf8d9741881746896690ea29c838a4d4e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  2 01:28:26 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr  3 15:55:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf3aeadb

net-analyzer/scanlogd: EAPI 7, eutils--

Signed-off-by: Sam James <sam <AT> gentoo.org>

 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 b7c18a9d4cd..7fb4b5b2a9d 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
 }

Reply via email to