Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Duskett <aduskett@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [V2 1/1] sngrep: new package
Date: Wed, 25 Jan 2017 09:09:04 -0500	[thread overview]
Message-ID: <20170125140904.26849-1-aduskett@codeblue.com> (raw)

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.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
---
v1 - v2:
 - Added select BR2_PACKAGE_NCURSES_WCHAR.
 - Added select BR2_PACKAGE_NCURSES_TARGET_PANEL
 - Added select BR2_PACKAGE_NCURSES_TARGET_FORM
 - Added select BR2_PACKAGE_NCURSES_TARGET_MENU
 - Changed version downloaded to v1.4.2 (I didn't see the release tab!)

 package/Config.in          |  1 +
 package/sngrep/Config.in   | 17 +++++++++++++++++
 package/sngrep/sngrep.hash |  1 +
 package/sngrep/sngrep.mk   | 14 ++++++++++++++
 4 files changed, 33 insertions(+)
 create mode 100644 package/sngrep/Config.in
 create mode 100644 package/sngrep/sngrep.hash
 create mode 100644 package/sngrep/sngrep.mk

diff --git a/package/Config.in b/package/Config.in
index c7b6862..0572110 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1625,6 +1625,7 @@ endif
 	source "package/shairport-sync/Config.in"
 	source "package/shellinabox/Config.in"
 	source "package/smcroute/Config.in"
+	source "package/sngrep/Config.in"
 	source "package/socat/Config.in"
 	source "package/socketcand/Config.in"
 	source "package/softether/Config.in"
diff --git a/package/sngrep/Config.in b/package/sngrep/Config.in
new file mode 100644
index 0000000..a976cea
--- /dev/null
+++ b/package/sngrep/Config.in
@@ -0,0 +1,17 @@
+comment "sngrep needs a toolchain w/ wchar, threads"
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
+
+config BR2_PACKAGE_SNGREP
+	bool "sngrep"
+	select BR2_PACKAGE_NCURSES_WCHAR
+	select BR2_PACKAGE_NCURSES_TARGET_PANEL
+	select BR2_PACKAGE_NCURSES_TARGET_FORM
+	select BR2_PACKAGE_NCURSES_TARGET_MENU
+	depends on BR2_PACKAGE_LIBPCAP
+	depends on BR2_PACKAGE_NCURSES
+	help
+	  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.
+
diff --git a/package/sngrep/sngrep.hash b/package/sngrep/sngrep.hash
new file mode 100644
index 0000000..dd75f89
--- /dev/null
+++ b/package/sngrep/sngrep.hash
@@ -0,0 +1 @@
+sha256 30fbfb4f90ed8805194b39683a8a2ed465776ffd60df4482bd029d63b316b3f1 sngrep-v1.4.2.tar.gz
diff --git a/package/sngrep/sngrep.mk b/package/sngrep/sngrep.mk
new file mode 100644
index 0000000..c3d4ca5
--- /dev/null
+++ b/package/sngrep/sngrep.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# sngrep
+#
+################################################################################
+
+SNGREP_VERSION = v1.4.2
+SNGREP_SITE = $(call github,irontec,sngrep,$(SNGREP_VERSION))
+SNGREP_LICENSE = GPLv3+
+SNGREP_LICENSE_FILES = LICENSE
+SNGREP_AUTORECONF = YES
+SNGREP_DEPENDENCIES = libpcap ncurses
+
+$(eval $(autotools-package))
-- 
2.9.3

             reply	other threads:[~2017-01-25 14:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 14:09 Adam Duskett [this message]
2017-01-25 14:44 ` [Buildroot] [V2 1/1] sngrep: new package Baruch Siach
     [not found]   ` <1485355607.2005.13.camel@codeblue.com>
2017-01-25 14:49     ` Baruch Siach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170125140904.26849-1-aduskett@codeblue.com \
    --to=aduskett@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox