From a8a3a02596786a35de04fdc39857162804034ae9 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Wed, 29 Oct 2014 00:12:43 +0100 Subject: [PATCH 1/2] bmon: Import from oldpackages Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 net/bmon/Makefile diff --git a/net/bmon/Makefile b/net/bmon/Makefile new file mode 100644 index 000000000..bf0b53e62 --- /dev/null +++ b/net/bmon/Makefile @@ -0,0 +1,49 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bmon +PKG_VERSION:=2.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/ +PKG_MD5SUM:=3111a027907016c0902d67350c619df6 + +include $(INCLUDE_DIR)/package.mk + +define Package/bmon + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libncurses + TITLE:=bmon is a portable bandwidth monitor + URL:=http://people.suug.ch/~tgr/bmon/ +endef + +define Package/bmon/description + bmon is a portable bandwidth monitor + and rate estimator running on various + operating systems. It supports various + input methods for different architectures. +endef + +CONFIGURE_ARGS += \ + --disable-cnt-workaround \ + --disable-dbi \ + --disable-rrd \ + --disable-asound \ + +CONFIGURE_VARS += \ + ac_cv_lib_nl_nl_connect=no \ + +define Package/bmon/install + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/bmon $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,bmon)) From 53182a65d11506bed85f7fd96f8cdf913c5bc395 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Wed, 29 Oct 2014 02:43:03 +0100 Subject: [PATCH 2/2] bmon: Bump to 3.5 and add myself as maintainer Signed-off-by: Baptiste Jonglez --- net/bmon/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/net/bmon/Makefile b/net/bmon/Makefile index bf0b53e62..500674f09 100644 --- a/net/bmon/Makefile +++ b/net/bmon/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007 OpenWrt.org +# Copyright (C) 2007-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,21 +8,23 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bmon -PKG_VERSION:=2.1.0 +PKG_VERSION:=3.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=http://people.suug.ch/~tgr/bmon/files/ -PKG_MD5SUM:=3111a027907016c0902d67350c619df6 +PKG_SOURCE_URL:=https://github.com/tgraf/bmon/releases/download/v$(PKG_VERSION)/ +PKG_MD5SUM:=b7d0d055727f2cf1e452f26dfbf6a825 +PKG_MAINTAINER:=Baptiste Jonglez +PKG_LICENSE:=MIT include $(INCLUDE_DIR)/package.mk define Package/bmon SECTION:=net CATEGORY:=Network - DEPENDS:=+libncurses + DEPENDS:=+libncurses +libnl +confuse TITLE:=bmon is a portable bandwidth monitor - URL:=http://people.suug.ch/~tgr/bmon/ + URL:=https://github.com/tgraf/bmon/ endef define Package/bmon/description