From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF55A13835C for ; Mon, 15 Mar 2021 21:01:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1FD8BE0845; Mon, 15 Mar 2021 21:01:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CB8D4E0858 for ; Mon, 15 Mar 2021 21:01:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9899333BF41 for ; Mon, 15 Mar 2021 21:01:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A656E5B8 for ; Mon, 15 Mar 2021 21:01:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1615841920.d3f1239fca123e53cb804d70811e4dbd34380cc1.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/fwlogwatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild X-VCS-Directories: net-analyzer/fwlogwatch/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d3f1239fca123e53cb804d70811e4dbd34380cc1 X-VCS-Branch: master Date: Mon, 15 Mar 2021 21:01:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e6113ebe-6637-483b-82ba-c36fe7a451c6 X-Archives-Hash: 4b529f78a2ec504b842fdfadbef838df commit: d3f1239fca123e53cb804d70811e4dbd34380cc1 Author: Sam James gentoo org> AuthorDate: Mon Mar 15 20:34:45 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Mar 15 20:58:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3f1239f net-analyzer/fwlogwatch: port to EAPI 7 Signed-off-by: Sam James gentoo.org> net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild index 93b1e6a2a35..bd1e751f1e7 100644 --- a/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild +++ b/net-analyzer/fwlogwatch/fwlogwatch-1.5.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit eutils flag-o-matic toolchain-funcs +inherit flag-o-matic toolchain-funcs DESCRIPTION="A packet filter and firewall log analyzer" HOMEPAGE="http://fwlogwatch.inside-security.de/" @@ -18,13 +18,15 @@ RDEPEND=" geoip? ( dev-libs/geoip ) zlib? ( sys-libs/zlib ) " -DEPEND=" - ${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" sys-devel/flex nls? ( sys-devel/gettext ) " src_prepare() { + default + if use nls; then strip-linguas -i po/ local lingua pofile @@ -62,7 +64,7 @@ src_configure() { src_compile() { emake \ - CC=$(tc-getCC) \ + CC="$(tc-getCC)" \ CFLAGS="${CFLAGS}" \ LDFLAGS="${LDFLAGS}" use nls && emake -C po @@ -72,6 +74,7 @@ src_install() { emake \ LOCALE_DIR="${D}/usr" INSTALL_DIR="${D}/usr" \ install + use nls && emake \ LOCALE_DIR="${D}/usr" INSTALL_DIR="${D}/usr" \ install-i18n