parent
cce1bfbfb8
commit
843d8c449d
1 changed files with 44 additions and 0 deletions
44
net/ifstat/Makefile
Normal file
44
net/ifstat/Makefile
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2016 Nikil Mehta <nikil.mehta@gmail.com>
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=ifstat
|
||||||
|
PKG_VERSION:=1.1
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
|
PKG_SOURCE_URL:=http://gael.roualland.free.fr/ifstat/
|
||||||
|
PKG_MD5SUM:=8599063b7c398f9cfef7a9ec699659b25b1c14d2bc0f535aed05ce32b7d9f507
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=Nikil Mehta <nikil.mehta@gmail.com>
|
||||||
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/ifstat
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
TITLE:=InterFace STATistics Monitoring
|
||||||
|
URL:=http://gael.roualland.free.fr/ifstat/
|
||||||
|
DEPENDS:=+libnetsnmp
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ifstat/description
|
||||||
|
ifstat is a tool to report network interfaces bandwidth just like
|
||||||
|
vmstat/iostat do for other system counters. It can monitor local
|
||||||
|
interfaces by polling the kernel counters, or remote hosts
|
||||||
|
interfaces using SNMP.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/ifstat/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/ifstat $(1)/usr/bin/
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,ifstat))
|
Loading…
Reference in a new issue