566e715c74
From ChangeLog: https://github.com/irontec/sngrep/releases/tag/v1.4.8 * capture: add support for IPv6 SDP connection address * capture: fixed a crash while parsing INVITES without R-URI * capture: fixed a crash while parsing malformed Req/Resp lines * call flow: improved IPv6 RTP columns address display * core: code cleanup removing unused variables * core: fixed multiple snprintf memory overflows * core: avoid crash when linking against ncurses without tinfo PR: 251120 Submitted by: daniel.engberg.lists@pyret.net Approved by: tad@vif.com (maintainer)
46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# Created by: Talal Al Dik (tad@vif.com)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sngrep
|
|
DISTVERSION= 1.4.8
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
|
|
|
|
MAINTAINER= tad@vif.com
|
|
COMMENT= SIP Packet display and capture
|
|
|
|
LICENSE= GPLv3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USES= autoreconf localbase ncurses pkgconfig
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
OPTIONS_DEFINE= EEP IPV6 PCRE UNICODE
|
|
OPTIONS_DEFAULT= EEP IPV6 UNICODE OPENSSL
|
|
|
|
OPTIONS_RADIO= SSL
|
|
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
|
|
|
|
EEP_DESC= Enable EEP packet send/receive support
|
|
|
|
EEP_CONFIGURE_ENABLE= eep
|
|
IPV6_CONFIGURE_ENABLE= ipv6
|
|
|
|
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \
|
|
libgcrypt.so:security/libgcrypt \
|
|
libgpg-error.so:security/libgpg-error
|
|
GNUTLS_CONFIGURE_WITH= gnutls
|
|
|
|
OPENSSL_USES= ssl
|
|
OPENSSL_CONFIGURE_ENV+= SSL_CFLAGS="-I${OPENSSLINC}" \
|
|
SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
|
|
OPENSSL_CONFIGURE_WITH= openssl
|
|
|
|
PCRE_CONFIGURE_WITH= pcre
|
|
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
|
|
|
|
UNICODE_CONFIGURE_ENABLE= unicode
|
|
|
|
.include <bsd.port.mk>
|