2016-04-06 17:59:34 +00:00
|
|
|
# Created by: Talal Al Dik (tad@vif.com)
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sngrep
|
2017-10-22 11:16:15 +00:00
|
|
|
PORTVERSION= 1.4.4
|
2016-05-12 13:13:36 +00:00
|
|
|
DISTVERSIONPREFIX= v
|
2016-04-06 17:59:34 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
|
|
|
MAINTAINER= tad@vif.com
|
|
|
|
COMMENT= SIP Packet display and capture
|
|
|
|
|
2016-09-10 13:11:31 +00:00
|
|
|
LICENSE= GPLv3+
|
2016-04-06 17:59:34 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= irontec
|
|
|
|
|
2016-09-10 13:11:31 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USES= autoreconf localbase ncurses
|
|
|
|
|
2016-04-06 17:59:34 +00:00
|
|
|
OPTIONS_DEFINE= OPENSSL PCRE UNICODE IPV6 EEP
|
|
|
|
|
|
|
|
OPENSSL_DESC= Adds OpenSSL support to parse TLS captured messages
|
|
|
|
OPENSSL_CONFIGURE_ON= --with-openssl
|
2016-09-10 13:11:31 +00:00
|
|
|
OPENSSL_USES= ssl
|
2016-04-06 17:59:34 +00:00
|
|
|
|
|
|
|
PCRE_DESC= Adds Perl Compatible regex support
|
|
|
|
PCRE_CONFIGURE_ON= --with-pcre
|
2016-04-06 19:02:43 +00:00
|
|
|
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
2016-04-06 17:59:34 +00:00
|
|
|
|
|
|
|
UNICODE_DESC= Adds Ncurses UTF-8/Unicode support
|
|
|
|
UNICODE_CONFIGURE_ON= --enable-unicode
|
2016-04-06 19:02:43 +00:00
|
|
|
UNICODE_LIB_DEPENDS= libncursesw.so:devel/ncurses
|
2016-04-06 17:59:34 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|ncursesw/ncurses.h|ncurses.h|g' \
|
2016-09-10 13:11:31 +00:00
|
|
|
${WRKSRC}/configure.ac \
|
|
|
|
${WRKSRC}/src/curses/scrollbar.h \
|
|
|
|
${WRKSRC}/src/curses/ui_panel.h
|
2016-04-06 17:59:34 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|