From 77fa40438ba16f9b4a076fa4f509367de652a0a1 Mon Sep 17 00:00:00 2001 From: juhosg Date: Mon, 8 Jul 2013 08:41:42 +0000 Subject: [PATCH] packages: add tstat Tstat is a passive sniffer able to provide several insight on the traffic patterns at both the network and the transport levels. http://tstat.tlc.polito.it Signed-off-by: Tivadar Szemethy Signed-off-by: Gabor Juhos git-svn-id: svn://svn.openwrt.org/openwrt/packages@37196 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/tstat/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 net/tstat/Makefile diff --git a/net/tstat/Makefile b/net/tstat/Makefile new file mode 100644 index 000000000..bcc5d667e --- /dev/null +++ b/net/tstat/Makefile @@ -0,0 +1,41 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=tstat +PKG_REV:=528 +PKG_VERSION:=r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://tstat.polito.it/svn/software/tstat/trunk +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_PROTO:=svn + +PKG_FIXUP:=autoreconf +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=1 + +include $(INCLUDE_DIR)/package.mk + +PKG_BUILD_DEPENDS:=libpcap libpthread + +define Package/tstat + SECTION:=net + CATEGORY:=Network + TITLE:=TCP STatistic and Analysis Tool from POLITO + URL:=http://tstat.tlc.polito.it + DEPENDS:=+libpcap +libpthread +zlib + MAINTAINER:=Tivadar Szemethy +endef + +define Package/tstat/description + Tstat is a passive sniffer able to provide several insight on the traffic + patterns at both the network and the transport levels. +endef + +define Package/tstat/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/tstat/tstat $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,tstat))