From ae18150aef7cb19d660443d746750a90b60e5fbf Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 3 Sep 2015 16:32:54 +0200 Subject: [PATCH 1/3] bmon: Update to 3.8 Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 44da26c09..dfe484314 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bmon -PKG_VERSION:=3.5 +PKG_VERSION:=3.8 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/tgraf/bmon/releases/download/v$(PKG_VERSION)/ -PKG_MD5SUM:=b7d0d055727f2cf1e452f26dfbf6a825 +PKG_MD5SUM:=162ce0d108ff32cbf44b874c5a7e8147 PKG_MAINTAINER:=Baptiste Jonglez PKG_LICENSE:=MIT From b7cec79df1e5c3bd55796465238fba5c54e9b867 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 3 Sep 2015 16:33:13 +0200 Subject: [PATCH 2/3] bmon: Add missing runtime dependency: terminfo Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index dfe484314..01f8f2b02 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk define Package/bmon SECTION:=net CATEGORY:=Network - DEPENDS:=+PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libnl +confuse + DEPENDS:=+PACKAGE_libncursesw:libncursesw +!PACKAGE_libncursesw:libncurses +libnl +confuse +terminfo TITLE:=bmon is a portable bandwidth monitor URL:=https://github.com/tgraf/bmon/ endef From fcaeaf68dee39989042372b86cc2d4042294e792 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Thu, 3 Sep 2015 17:09:58 +0200 Subject: [PATCH 3/3] bmon: Add required compilation flag Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index 01f8f2b02..54e7ff34f 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -40,6 +40,9 @@ CONFIGURE_ARGS += \ CONFIGURE_VARS += \ ac_cv_lib_nl_nl_connect=no \ +# Needed to compile some objects +TARGET_CFLAGS+= -std=gnu99 + define Package/bmon/install $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/