-DIST bmon-3.6.tar.gz 57883 SHA256 7d9d9b5af751cb61e267b43309506f03e82636282742fce89209f2378ae6a4b1 SHA512 e0c3d828d5391511ea52b1058a22f5eea250c5221664a7c05d7c36fabc361905dcc6cb97184ba0f366e4fe710e33816f72ad59a5856b90265a6b1a415de319e7 WHIRLPOOL d6eaf1b94f6a3dc7d16afe03146a2f8c67514c5fd9cf2956a89f5da6730d329e474b98d6cf3f6138e19e3e1d063aa4b69f325f478b63f8d4bb6fb6b708d13570
-DIST bmon-3.7.tar.gz 58233 SHA256 1e595c9936d8dbc85d91ecc00c3b6a4e49d4f6cade7a8bced3b291925894bb16 SHA512 ef0a50491a2f905b368eb23db5bcfb1c05b2f7fb81f272248a9c6134e7bef06e3db775f18c8e5500cd209461bcb7265c086abb88b55f36009a2040641f64df56 WHIRLPOOL 6ba57c7c726273d0891041580e826654ef75c53cc92b96b4c40021a42aa5959062140a26808f20bfe166bbbbb57ca5daa8b877528e0aa708144e13a3d69003be
DIST bmon-3.8.tar.gz 58319 SHA256 6bb2bbdd619f279132e54f1fa83fc98c0f75003766f82d6b7cd36c8a46900453 SHA512 692dcf4c4274e892b88651ddc2c53ebe5f419cc41c48129cd621d85bf10568c701caea9eaae357b53a0ffc937f2199378cbbc13cbf110aa121e8e2432eee9519 WHIRLPOOL a4ed559c95eb12a3d0bbd727143c83a3197ba726c6c21b2f221beafd25c904ca4e58fe29b0fba47ad86f2241c1d60e3b5b7418463fd1c8aa6c6f7588469b8dcb
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils linux-info toolchain-funcs
-
-DESCRIPTION="interface bandwidth monitor"
-HOMEPAGE="http://www.infradead.org/~tgr/bmon/"
-SRC_URI="
- https://codeload.github.com/tgraf/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
-"
-
-LICENSE="BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64 hppa ~ppc ~sparc x86"
-
-RDEPEND="
- >=sys-libs/ncurses-5.3-r2
- dev-libs/confuse
- dev-libs/libnl:3
-"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
-
-DOCS=( ChangeLog )
-
-CONFIG_CHECK="~NET_SCHED"
-ERROR_NET_SCHED="
- CONFIG_NET_SCHED is not set when it should be.
- Run ${PN} -i proc to use the deprecated proc interface instead.
-"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${P}-docdir-examples.patch \
- "${FILESDIR}"/${P}-net_if.h.patch
-
- epatch_user
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- CURSES_LIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
- --docdir="/usr/share/doc/${PF}"
-}
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils linux-info toolchain-funcs
-
-DESCRIPTION="interface bandwidth monitor"
-HOMEPAGE="http://www.infradead.org/~tgr/bmon/"
-SRC_URI="
- https://codeload.github.com/tgraf/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
-"
-
-LICENSE="BSD-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
-
-RDEPEND="
- >=sys-libs/ncurses-5.3-r2
- dev-libs/confuse
- dev-libs/libnl:3
-"
-DEPEND="
- ${RDEPEND}
- virtual/pkgconfig
-"
-
-DOCS=( ChangeLog )
-
-CONFIG_CHECK="~NET_SCHED"
-ERROR_NET_SCHED="
- CONFIG_NET_SCHED is not set when it should be.
- Run ${PN} -i proc to use the deprecated proc interface instead.
-"
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-3.6-docdir-examples.patch
-
- epatch_user
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- CURSES_LIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
- --docdir="/usr/share/doc/${PF}"
-}
+++ /dev/null
---- a/src/in_netlink.c
-+++ b/src/in_netlink.c
-@@ -37,6 +37,8 @@
- static struct element_group *grp;
- static struct bmon_module netlink_ops;
-
-+#include <net/if.h>
-+
- #include <netlink/netlink.h>
- #include <netlink/cache.h>
- #include <netlink/utils.h>