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 9D22213835A for ; Sat, 3 Apr 2021 19:53:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA0B9E083B; Sat, 3 Apr 2021 19:53:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 C39C1E083B for ; Sat, 3 Apr 2021 19:53:33 +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 D2C4B340B7E for ; Sat, 3 Apr 2021 19:53:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41DB3643 for ; Sat, 3 Apr 2021 19:53:30 +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: <1617479576.0d89e74893170c7a6e9fc13f30d8754fef52246a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/ifstatus/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild net-analyzer/ifstatus/ifstatus-2.0.0.ebuild X-VCS-Directories: net-analyzer/ifstatus/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0d89e74893170c7a6e9fc13f30d8754fef52246a X-VCS-Branch: master Date: Sat, 3 Apr 2021 19:53:30 +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: 89b37fd4-8b50-4354-9f54-7385adf2f157 X-Archives-Hash: 8940e9ed98bebb45c86a20fbba44f4b9 commit: 0d89e74893170c7a6e9fc13f30d8754fef52246a Author: Sam James gentoo org> AuthorDate: Sat Apr 3 19:18:40 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 3 19:52:56 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d89e748 net-analyzer/ifstatus: eutils--, tidy up Signed-off-by: Sam James gentoo.org> net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild | 32 ++++++++++++-------------- net-analyzer/ifstatus/ifstatus-2.0.0.ebuild | 28 +++++++++++----------- 2 files changed, 28 insertions(+), 32 deletions(-) diff --git a/net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild b/net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild index 10f512067d0..986b1e4ad56 100644 --- a/net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild +++ b/net-analyzer/ifstatus/ifstatus-1.1.0-r2.ebuild @@ -1,29 +1,27 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit eutils toolchain-funcs +EAPI=7 -KEYWORDS="amd64 arm ~ppc x86" +inherit toolchain-funcs DESCRIPTION="A simple CLI program for displaying network statistics in real time" HOMEPAGE="http://ifstatus.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}" + LICENSE="GPL-2" SLOT="0" +KEYWORDS="amd64 arm ~ppc x86" RDEPEND=">=sys-libs/ncurses-4.2:0=" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -S="${WORKDIR}/${PN}" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" PATCHES=( - "${FILESDIR}/${P}-gcc43.patch" - "${FILESDIR}/${P}-tinfo.patch" - "${FILESDIR}/${P}-gcc6.patch" + "${FILESDIR}"/${P}-gcc43.patch + "${FILESDIR}"/${P}-tinfo.patch + "${FILESDIR}"/${P}-gcc6.patch ) src_prepare() { @@ -37,8 +35,8 @@ src_install() { } pkg_postinst() { - elog "You may want to configure ~/.ifstatus/ifstatus.cfg" - elog "before running ifstatus. For example, you may add" - elog "Interfaces = eth0 there. Read the README file for" - elog "more information." + elog "You may want to configure ~/.ifstatus/ifstatus.cfg" + elog "before running ifstatus. For example, you may add" + elog "Interfaces = eth0 there. Read the README file for" + elog "more information." } diff --git a/net-analyzer/ifstatus/ifstatus-2.0.0.ebuild b/net-analyzer/ifstatus/ifstatus-2.0.0.ebuild index c954845ed7d..3aea08cd6d9 100644 --- a/net-analyzer/ifstatus/ifstatus-2.0.0.ebuild +++ b/net-analyzer/ifstatus/ifstatus-2.0.0.ebuild @@ -2,31 +2,29 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs -KEYWORDS="amd64 arm ~ppc x86" +inherit toolchain-funcs DESCRIPTION="A simple CLI program for displaying network statistics in real time" HOMEPAGE="http://ifstatus.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" + LICENSE="GPL-2" SLOT="0" +KEYWORDS="amd64 arm ~ppc x86" + +RDEPEND=">=sys-libs/ncurses-4.2:0=" +DEPEND="${RDEPEND}" +BDEPEND+"virtual/pkgconfig" -RDEPEND=" - >=sys-libs/ncurses-4.2:0= -" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig -" PATCHES=( "${FILESDIR}"/${PN}-2.0.0-tinfo.patch ) -S="${WORKDIR}/${PN}-v${PV}" src_compile() { tc-export CXX PKG_CONFIG - emake GCC=$(tc-getCXX) ${PN} + emake GCC="$(tc-getCXX)" ${PN} } src_install() { @@ -35,8 +33,8 @@ src_install() { } pkg_postinst() { - elog "You may want to configure ~/.ifstatus/ifstatus.cfg" - elog "before running ifstatus. For example, you may add" - elog "Interfaces = eth0 there. Read the README file for" - elog "more information." + elog "You may want to configure ~/.ifstatus/ifstatus.cfg" + elog "before running ifstatus. For example, you may add" + elog "Interfaces = eth0 there. Read the README file for" + elog "more information." }