From b9845ede6d36bec6e612e75a90117a380bf5d50d Mon Sep 17 00:00:00 2001 From: Patrick Areny Date: Fri, 20 Aug 2021 15:59:25 +0200 Subject: [PATCH 1/2] bmon: adds the bmon network bandwidth monitor recipe bmon is a monitoring and debugging tool to capture networking related statistics and prepare them visually in a human friendly way Signed-off-by: Patrick Areny --- meta-networking/recipes-support/bmon/bmon_2.1.0.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-networking/recipes-support/bmon/bmon_2.1.0.bb diff --git a/meta-networking/recipes-support/bmon/bmon_2.1.0.bb b/meta-networking/recipes-support/bmon/bmon_2.1.0.bb new file mode 100644 index 00000000000..8c7b3844b00 --- /dev/null +++ b/meta-networking/recipes-support/bmon/bmon_2.1.0.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Portable Bandwidth Monitor and rate estimator" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +# only works with libnl-0.5.0 +DEPENDS = "libnl libconfuse ncurses" + +SRCREV = "1b3f11bde315e221474f7d066ce4efb4ff4d39e3" +SRC_URI = "git://github.com/tgraf/bmon.git;branch=master" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" From f5ac82162ea5e35d1798c6820c87322534d44a99 Mon Sep 17 00:00:00 2001 From: Patrick Areny Date: Fri, 20 Aug 2021 16:01:11 +0200 Subject: [PATCH 2/2] libConfuse: recipe for libconfuse, a configuration file parser library written in C Used by bmon network monitor. Signed-off-by: Patrick Areny --- .../libconfuse/libconfuse_3.3.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-networking/recipes-support/libconfuse/libconfuse_3.3.bb diff --git a/meta-networking/recipes-support/libconfuse/libconfuse_3.3.bb b/meta-networking/recipes-support/libconfuse/libconfuse_3.3.bb new file mode 100644 index 00000000000..43a74ef27ba --- /dev/null +++ b/meta-networking/recipes-support/libconfuse/libconfuse_3.3.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "libConfuse is a configuration file parser library" +LICENSE = "CUSTOM" +LIC_FILES_CHKSUM = "file://LICENSE;md5=42fa47330d4051cd219f7d99d023de3a" + +DEPENDS = "gettext-native" + +SRCREV = "a42aebf13db33afd575da6e63f55163d371f776d" +SRC_URI = "git://github.com/libconfuse/libconfuse.git;branch=master" + +inherit autotools pkgconfig + +S = "${WORKDIR}/git" +B = "${S}" + +do_configure_prepend(){ + cd ${S} + ${S}/autogen.sh +}