aboutsummaryrefslogtreecommitdiff
path: root/net/sngrep/Makefile
blob: f28434c84da56c7cb5aa7c74f9b75032b5cb80d8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Created by: Talal Al Dik (tad@vif.com)
# $FreeBSD$

PORTNAME=	sngrep
PORTVERSION=	1.4.7
DISTVERSIONPREFIX=	v
CATEGORIES=	net

MAINTAINER=	tad@vif.com
COMMENT=	SIP Packet display and capture

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		autoreconf localbase ncurses

USE_GITHUB=	yes
GH_ACCOUNT=	irontec

GNU_CONFIGURE=	yes

OPTIONS_DEFINE=	OPENSSL PCRE UNICODE IPV6 EEP
OPTIONS_DEFAULT=	IPV6 EEP UNICODE OPENSSL

OPENSSL_DESC=	Adds OpenSSL support to parse TLS captured messages
OPENSSL_CONFIGURE_ON=	--with-openssl
OPENSSL_USES=		ssl

PCRE_DESC=	Adds Perl Compatible regex support
PCRE_CONFIGURE_ON=	--with-pcre
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre

UNICODE_DESC=	Adds Ncurses UTF-8/Unicode support
UNICODE_CONFIGURE_ON=	--enable-unicode

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

.include <bsd.port.mk>