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 1C4A1138359 for ; Fri, 25 Sep 2020 12:07:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 429B4E07F9; Fri, 25 Sep 2020 12:07:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 2660AE077A for ; Fri, 25 Sep 2020 12:07:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C374A340DD7 for ; Fri, 25 Sep 2020 12:07:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 448DE377 for ; Fri, 25 Sep 2020 12:07:38 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1601035656.770ec15cace6db071c4690b02064d0433d406c07.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/bwm-ng/, net-analyzer/bwm-ng/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/bwm-ng/Manifest net-analyzer/bwm-ng/bwm-ng-0.6.2.ebuild net-analyzer/bwm-ng/files/bwm-ng-0.6.2-tinfo.patch X-VCS-Directories: net-analyzer/bwm-ng/ net-analyzer/bwm-ng/files/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 770ec15cace6db071c4690b02064d0433d406c07 X-VCS-Branch: master Date: Fri, 25 Sep 2020 12:07:38 +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: 0532a8aa-74c6-4d8f-a2e9-edff90b45fc1 X-Archives-Hash: 07eb67a38974e22b4b172ed729c6bf27 commit: 770ec15cace6db071c4690b02064d0433d406c07 Author: Jeroen Roovers gentoo org> AuthorDate: Fri Sep 25 12:05:04 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Sep 25 12:07:36 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=770ec15c net-analyzer/bwm-ng: Version 0.6.2 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jeroen Roovers gentoo.org> net-analyzer/bwm-ng/Manifest | 1 + net-analyzer/bwm-ng/bwm-ng-0.6.2.ebuild | 38 ++++++++++++++++++++++ net-analyzer/bwm-ng/files/bwm-ng-0.6.2-tinfo.patch | 10 ++++++ 3 files changed, 49 insertions(+) diff --git a/net-analyzer/bwm-ng/Manifest b/net-analyzer/bwm-ng/Manifest index ce662ef5c6e..44c35c9cce1 100644 --- a/net-analyzer/bwm-ng/Manifest +++ b/net-analyzer/bwm-ng/Manifest @@ -1 +1,2 @@ DIST bwm-ng-0.6.1.tar.gz 162620 BLAKE2B 28e201ac681fcb1d79afead8a7d2c31d52bfa9ee1ebc132d3cd1080a7edd8ddcc8c0cd6df1897d23a1c79a4a5d9157214a8f3224bd5f8f2c1a12cad96ec188bd SHA512 3f8d4a10f5cbf743d6aee9c6170f334c4274224a2f1886f04338c9a1bf0cf13af5be4aaea0445c9e5b5d361915cc3a93bbfe7c4abf69a0d24e42bc414d8056cd +DIST bwm-ng-0.6.2.tar.gz 70079 BLAKE2B 4e0c5dd73bdcaabf5138ce842e5ce50709ba3bc0792f11ebee2640b6246f5bd740fcf8ad79b7dcffabdbc8f44c5ec2d925b20cf28609f8735e537f6920f92aba SHA512 4a7f141692f96dfab0c1729a7df36f5213a75ddb891b967b2cf951419daea7b84354c276705a0ee7c09f4ed26948ca068f65a04b8f9d18b2b8ed2df97b5e3b0a diff --git a/net-analyzer/bwm-ng/bwm-ng-0.6.2.ebuild b/net-analyzer/bwm-ng/bwm-ng-0.6.2.ebuild new file mode 100644 index 00000000000..23c71582d27 --- /dev/null +++ b/net-analyzer/bwm-ng/bwm-ng-0.6.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools + +DESCRIPTION="Bandwidth Monitor NG is a small and simple console-based bandwidth monitor" +HOMEPAGE="http://www.gropp.org/" +SRC_URI="https://github.com/vgropp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~ppc ~x86" +LICENSE="GPL-2" +SLOT="0" +IUSE="+csv +html" + +RDEPEND=" + >=sys-apps/net-tools-1.60-r1 + sys-libs/ncurses:0= +" +DEPEND=" + ${RDEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-0.6.2-tinfo.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable csv) \ + $(use_enable html) \ + --with-ncurses \ + --with-procnetdev +} diff --git a/net-analyzer/bwm-ng/files/bwm-ng-0.6.2-tinfo.patch b/net-analyzer/bwm-ng/files/bwm-ng-0.6.2-tinfo.patch new file mode 100644 index 00000000000..a51f9c0596a --- /dev/null +++ b/net-analyzer/bwm-ng/files/bwm-ng-0.6.2-tinfo.patch @@ -0,0 +1,10 @@ +--- a/configure.in ++++ b/configure.in +@@ -52,6 +52,7 @@ + CPPFLAGS="$CPPFLAGS -I$withval" + fi + AC_CHECK_LIB([ncurses],[newterm,timeout],,[ CPPFLAGS=$OLD_CPPFLAGS ]) ++ AC_SEARCH_LIBS([wtimeout],[tinfo]) + CURSES_CHECKED="1" + else + CURSES_CHECKED="1"