summaryrefslogtreecommitdiff
path: root/net-analyzer/bmon
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-analyzer/bmon
reinit the tree, so we can have metadata
Diffstat (limited to 'net-analyzer/bmon')
-rw-r--r--net-analyzer/bmon/Manifest6
-rw-r--r--net-analyzer/bmon/bmon-4.0.ebuild48
-rw-r--r--net-analyzer/bmon/files/bmon-3.6-docdir-examples.patch10
-rw-r--r--net-analyzer/bmon/metadata.xml11
4 files changed, 75 insertions, 0 deletions
diff --git a/net-analyzer/bmon/Manifest b/net-analyzer/bmon/Manifest
new file mode 100644
index 000000000000..1e3b295784a8
--- /dev/null
+++ b/net-analyzer/bmon/Manifest
@@ -0,0 +1,6 @@
+AUX bmon-3.6-docdir-examples.patch 235 SHA256 edca507e8736edc26ec82f67557e59568ea565fb17a5b50b90117b0d723356f0 SHA512 2b74637c6dacfa03e680774787d8287ae084ba426a3e0e178b74f1468179916509ee5de2e0c93f7abe04356d0146ad6dd8e191d9a66718ec8eaf50cb6126afc8 WHIRLPOOL c1e8b690df7949df26fed1db267234c019408eaf6a0c58d82560bde7e2e2630d551a68d114c914c6cdf7800cab69c4e2faecdf2739214dca721fa43ea99ca9a5
+DIST bmon-4.0.tar.gz 61843 SHA256 d5e503ff6b116c681ebf4d10e238604dde836dceb9c0008eb92416a96c87ca40 SHA512 2a5b527a78cc1084c3b96d8d621b002ee86d377776d7e25f711dc2869e59bcd6277cc5f103549fe0b635b1368228a66941d5069fd1240cff678b308d7e17218d WHIRLPOOL ba1a562da80b3d950807941c2a97a20750a6d1b2d15eaa6d585fbc1eb5dc82bfcbf4ceabe5fddba0d72a76542c0aed26420b28b478cca9e8c28e67b380c9f0fb
+EBUILD bmon-4.0.ebuild 977 SHA256 1102b7818602939223eea8cfc2a5fb4b3511070e5d467a1cdc330bd9d9c40f27 SHA512 64e34261413488c02d7d84a9baad0c648a06fdfd3703d813b334e344ebcfe382cbda873137c9e3bf944db59181e4c04576add61e4c81113d034613a357078c70 WHIRLPOOL 4503729693c203c8f2e35bc4e9371db72371286233ae2511b696adcae65ab9fea197c095ac20f3288452e5e1093d52ed717aa41ecd530eb296b291f3c2da77b8
+MISC ChangeLog 5313 SHA256 b39922a45416c32fed728161cae2b8ce39a6fa145666a3cca31715dbd35800ef SHA512 0d1a3bb79bb742bc82359f51b39c7f8a7918908dc2ccfc81204169588b6c382959950c932e316eb57588e5cd10d566d4a60d0a4638b869f96980ae4039b8d63d WHIRLPOOL f6629dadaff31229b3a7bb9f642d4b9874dce6d87dd039b6b25396df5b30f4816ebc8b78cae467b4e8487f0ee9fa95a7993b9d25032990918554aa5d4afdbe9c
+MISC ChangeLog-2015 8713 SHA256 6f491713b8945f5c76fac69383fa4cd8556f5c1fb8ebdc2b20fe934bdc720c77 SHA512 23e391efc470e08f5c4213a3d9544216564472b5db8e394a2b8a5a52718d2c0a3b8fc8b807297dc584e44e1e8d8d4dc3a74e80cc2564178c996a6180e6ba0297 WHIRLPOOL da711cb1812700722435729c9f2b15e2e3e8b8320e019e053d5bb4f4fc9247e85ffbbf82cb7b921159e029357003c84c89e7d6822ed8d3debc2dafed1f38f6e5
+MISC metadata.xml 355 SHA256 b96419c5d63290d7eebe3f46ed0bbd98039df8d974421ab3d4bfcf24d1f04e3e SHA512 44b31fb1a2801c74cd4ba7260566447df31b9dd7bd55ed1ffdabc0bcfef8d5459e753cbbb0a2a31c5f2d87e7853972281cb9412b642e282be9a02be2f519fcef WHIRLPOOL 0e546a994631d07ec5597bee678842f539b38910845843b3947856a8d536dd6d53aabd454f984c28ea2e6b96f0e5acd934bbafe1ea740aa6bc04e504016dc4ad
diff --git a/net-analyzer/bmon/bmon-4.0.ebuild b/net-analyzer/bmon/bmon-4.0.ebuild
new file mode 100644
index 000000000000..95e18c2a29a5
--- /dev/null
+++ b/net-analyzer/bmon/bmon-4.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils linux-info toolchain-funcs
+
+DESCRIPTION="interface bandwidth monitor"
+HOMEPAGE="http://www.infradead.org/~tgr/bmon/ https://github.com/tgraf/bmon/"
+SRC_URI="
+ https://codeload.github.com/tgraf/${PN}/tar.gz/v${PV} -> ${P}.tar.gz
+"
+
+LICENSE="BSD-2 MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm hppa ~ppc ppc64 ~sparc x86"
+
+RDEPEND="
+ >=sys-libs/ncurses-5.3-r2:0=
+ 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() {
+ eapply \
+ "${FILESDIR}"/${PN}-3.6-docdir-examples.patch
+
+ eapply_user
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ CURSES_LIB="$( $(tc-getPKG_CONFIG) --libs ncurses)" \
+ --docdir="/usr/share/doc/${PF}"
+}
diff --git a/net-analyzer/bmon/files/bmon-3.6-docdir-examples.patch b/net-analyzer/bmon/files/bmon-3.6-docdir-examples.patch
new file mode 100644
index 000000000000..bb7d969cedde
--- /dev/null
+++ b/net-analyzer/bmon/files/bmon-3.6-docdir-examples.patch
@@ -0,0 +1,10 @@
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -1,6 +1,6 @@
+ # -*- Makefile -*-
+
+-exampledir = $(datarootdir)/doc/@PACKAGE@/examples
++exampledir = $(docdir)/examples
+ example_DATA = bmon.conf
+
+ EXTRA_DIST = $(example_DATA)
diff --git a/net-analyzer/bmon/metadata.xml b/net-analyzer/bmon/metadata.xml
new file mode 100644
index 000000000000..df5705b8008d
--- /dev/null
+++ b/net-analyzer/bmon/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>netmon@gentoo.org</email>
+ <name>Gentoo network monitoring and analysis project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tgraf/bmon</remote-id>
+ </upstream>
+</pkgmetadata>