From owner-svn-ports-head@freebsd.org Wed Apr 6 17:59:35 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 910CCB06907; Wed, 6 Apr 2016 17:59:35 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CBB918B4; Wed, 6 Apr 2016 17:59:35 +0000 (UTC) (envelope-from pi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u36HxYag029841; Wed, 6 Apr 2016 17:59:34 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u36HxY2J029835; Wed, 6 Apr 2016 17:59:34 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201604061759.u36HxY2J029835@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Wed, 6 Apr 2016 17:59:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r412635 - in head/net: . sngrep X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Apr 2016 17:59:35 -0000 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 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 + +.include 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