Date: Wed, 6 Apr 2016 17:59:34 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412635 - in head/net: . sngrep Message-ID: <201604061759.u36HxY2J029835@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Wed Apr 6 17:59:34 2016 New Revision: 412635 URL: https://svnweb.freebsd.org/changeset/ports/412635 Log: New port: net/sngrep sngrep - SIP Messages flow viewer sngrep is a terminal tool that groups SIP (Session Initiation Protocol) Messages by Call-Id, and displays them in arrow flows similar to the used in SIP RFCs. The aim of this tool is to make easier the process of learnig or debugging SIP. It recognizes UDP, TCP and partially TLS SIP packets and understands bpf filter logic in the same way ngrep and tcpdump does. WWW: https://github.com/irontec/sngrep PR: 208572 Submitted by: Talal Al Dik <tad@vif.com> Added: head/net/sngrep/ head/net/sngrep/Makefile (contents, props changed) head/net/sngrep/distinfo (contents, props changed) head/net/sngrep/pkg-descr (contents, props changed) head/net/sngrep/pkg-plist (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Wed Apr 6 17:09:34 2016 (r412634) +++ head/net/Makefile Wed Apr 6 17:59:34 2016 (r412635) @@ -1211,6 +1211,7 @@ SUBDIR += smbldap-tools SUBDIR += smcroute SUBDIR += smm++ + SUBDIR += sngrep SUBDIR += sniffit SUBDIR += sntop SUBDIR += sobby Added: head/net/sngrep/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sngrep/Makefile Wed Apr 6 17:59:34 2016 (r412635) @@ -0,0 +1,57 @@ +# Created by: Talal Al Dik (tad@vif.com) +# $FreeBSD$ + +PORTNAME= sngrep +PORTVERSION= 1.3.0 +CATEGORIES= net + +MAINTAINER= tad@vif.com +COMMENT= SIP Packet display and capture + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libncurses.so:${PORTSDIR}/devel/ncurses \ + libpcap.so:${PORTSDIR}/net/libpcap + +#CPPFLAGS+= -I${LOCALBASE}/include +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" + +USE_GITHUB= yes +GH_ACCOUNT= irontec +GH_TAGNAME= v${PORTVERSION} + +OPTIONS_DEFINE= OPENSSL PCRE UNICODE IPV6 EEP + +OPENSSL_DESC= Adds OpenSSL support to parse TLS captured messages +OPENSSL_CONFIGURE_ON= --with-openssl +OPENSSL_USE= OPENSSL=yes + +PCRE_DESC= Adds Perl Compatible regex support +PCRE_CONFIGURE_ON= --with-pcre +PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre + +UNICODE_DESC= Adds Ncurses UTF-8/Unicode support +UNICODE_CONFIGURE_ON= --enable-unicode +UNICODE_LIB_DEPENDS= libncursesw.so:${PORTSDIR}/devel/ncurses + +IPV6_DESC= Enable IPv6 packet capture support +IPV6_CONFIGURE_ON= --enable-ipv6 + +EEP_DESC= Enable EEP packet send/receive support +EEP_CONFIGURE_ON= --enable-eep + +GNU_CONFIGURE= yes +USES=autoreconf + +post-patch: + @${REINPLACE_CMD} -e 's|ncursesw/ncurses.h|ncurses.h|g' \ + ${WRKSRC}/configure.ac \ + ${WRKSRC}/src/curses/scrollbar.h \ + ${WRKSRC}/src/curses/ui_panel.h + +.include <bsd.port.options.mk> + +.include <bsd.port.mk> Added: head/net/sngrep/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sngrep/distinfo Wed Apr 6 17:59:34 2016 (r412635) @@ -0,0 +1,2 @@ +SHA256 (irontec-sngrep-1.3.0-v1.3.0_GH0.tar.gz) = bf77ae470ee4282130aea3f689db82d0335c673a50e55d82308616bd07e42b77 +SIZE (irontec-sngrep-1.3.0-v1.3.0_GH0.tar.gz) = 213228 Added: head/net/sngrep/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sngrep/pkg-descr Wed Apr 6 17:59:34 2016 (r412635) @@ -0,0 +1,9 @@ +sngrep - SIP Messages flow viewer + +sngrep is a terminal tool that groups SIP (Session Initiation Protocol) +Messages by Call-Id, and displays them in arrow flows similar to the used in +SIP RFCs. The aim of this tool is to make easier the process of learnig or +debugging SIP. It recognizes UDP, TCP and partially TLS SIP packets and +understands bpf filter logic in the same way ngrep and tcpdump does. + +WWW: https://github.com/irontec/sngrep Added: head/net/sngrep/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/sngrep/pkg-plist Wed Apr 6 17:59:34 2016 (r412635) @@ -0,0 +1,3 @@ +bin/sngrep +@sample %%ETCDIR%%rc %%ETCDIR%%rc.sample +man/man8/sngrep.8.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604061759.u36HxY2J029835>