summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/bmon
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/bmon')
-rw-r--r--net-analyzer/bmon/Manifest2
-rw-r--r--net-analyzer/bmon/bmon-3.6-r1.ebuild50
-rw-r--r--net-analyzer/bmon/bmon-3.7.ebuild49
-rw-r--r--net-analyzer/bmon/files/bmon-3.6-docdir-examples.patch10
-rw-r--r--net-analyzer/bmon/files/bmon-3.6-net_if.h.patch11
-rw-r--r--net-analyzer/bmon/metadata.xml5
6 files changed, 127 insertions, 0 deletions
diff --git a/net-analyzer/bmon/Manifest b/net-analyzer/bmon/Manifest
new file mode 100644
index 000000000000..ea51ee8644a3
--- /dev/null
+++ b/net-analyzer/bmon/Manifest
@@ -0,0 +1,2 @@
+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
diff --git a/net-analyzer/bmon/bmon-3.6-r1.ebuild b/net-analyzer/bmon/bmon-3.6-r1.ebuild
new file mode 100644
index 000000000000..493a2463bd02
--- /dev/null
+++ b/net-analyzer/bmon/bmon-3.6-r1.ebuild
@@ -0,0 +1,50 @@
+# 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}"
+}
diff --git a/net-analyzer/bmon/bmon-3.7.ebuild b/net-analyzer/bmon/bmon-3.7.ebuild
new file mode 100644
index 000000000000..c2de5558484b
--- /dev/null
+++ b/net-analyzer/bmon/bmon-3.7.ebuild
@@ -0,0 +1,49 @@
+# 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}"
+}
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/files/bmon-3.6-net_if.h.patch b/net-analyzer/bmon/files/bmon-3.6-net_if.h.patch
new file mode 100644
index 000000000000..74a174b2f381
--- /dev/null
+++ b/net-analyzer/bmon/files/bmon-3.6-net_if.h.patch
@@ -0,0 +1,11 @@
+--- 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>
diff --git a/net-analyzer/bmon/metadata.xml b/net-analyzer/bmon/metadata.xml
new file mode 100644
index 000000000000..03aa50bab7e3
--- /dev/null
+++ b/net-analyzer/bmon/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>netmon</herd>
+</pkgmetadata>