sngrep: import from openwrt/packages
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
parent
487a3f4c67
commit
02a6be28b6
1 changed files with 50 additions and 0 deletions
50
net/sngrep/Makefile
Normal file
50
net/sngrep/Makefile
Normal file
|
@ -0,0 +1,50 @@
|
|||
#
|
||||
# Copyright (C) 2016 Daniel Engberg <daniel.engberg.lists@pyret.net>
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sngrep
|
||||
PKG_VERSION=1.4.4-rc2
|
||||
PKG_RELEASE:=1
|
||||
PKG_MAINTAINER:=Daniel Engberg <daniel.engberg.lists@pyret.net>
|
||||
PKG_LICENSE:=GPL-3.0
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/irontec/sngrep
|
||||
PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=cf5e1da49d00bc7ab1afe9d63daa240db2b9b19c
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_MIRROR_HASH:=a6cee2caa108a618134fe87d7c04862e93aa2fdf9647d81dfe4abe91a6c9c19f
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/sngrep
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
DEPENDS:=+libpcap +libpthread +libpcre +libncursesw
|
||||
TITLE:=Display SIP calls message flows
|
||||
URL:=https://github.com/irontec/sngrep
|
||||
endef
|
||||
|
||||
define Package/sngrep/description
|
||||
sngrep is a tool for displaying SIP calls message flows from terminal.
|
||||
It supports live capture to display realtime SIP packets and can also be used as PCAP viewer.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--with-pcre \
|
||||
--enable-unicode \
|
||||
|
||||
define Package/sngrep/install
|
||||
$(INSTALL_DIR) $(1)/usr/sbin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/sngrep $(1)/usr/sbin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,sngrep))
|
Loading…
Reference in a new issue