View | Details | Raw Unified | Return to bug 251120 | Differences between
and this patch

Collapse All | Expand All

(-)b/net/sngrep/Makefile (-24 / +22 lines)
Lines 2-16 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	sngrep
4
PORTNAME=	sngrep
5
DISTVERSION=	1.4.7
5
DISTVERSION=	1.4.8
6
PORTREVISION=	1
7
CATEGORIES=	net
6
CATEGORIES=	net
8
MASTER_SITES=	https://github.com/irontec/sngrep/releases/download/v${DISTVERSION}/
7
MASTER_SITES=	https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
9
10
# Fix LDFLAGS
11
# Ref: https://github.com/irontec/sngrep/commit/1789d262c0ee90b1057181dc2abef681ba2233a6
12
PATCH_SITES=	https://github.com/irontec/sngrep/commit/
13
PATCHFILES=	1789d262c0ee90b1057181dc2abef681ba2233a6.patch:-p1
14
8
15
MAINTAINER=	tad@vif.com
9
MAINTAINER=	tad@vif.com
16
COMMENT=	SIP Packet display and capture
10
COMMENT=	SIP Packet display and capture
Lines 18-47 COMMENT= SIP Packet display and capture Link Here
18
LICENSE=	GPLv3+
12
LICENSE=	GPLv3+
19
LICENSE_FILE=	${WRKSRC}/LICENSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
20
14
21
USES=		autoreconf localbase ncurses
15
USES=		autoreconf localbase ncurses pkgconfig
22
16
23
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
24
18
25
OPTIONS_DEFINE=	OPENSSL PCRE UNICODE IPV6 EEP
19
OPTIONS_DEFINE=		EEP IPV6 PCRE UNICODE
26
OPTIONS_DEFAULT=	IPV6 EEP UNICODE OPENSSL
20
OPTIONS_DEFAULT=	EEP IPV6 UNICODE OPENSSL
21
22
OPTIONS_RADIO=		SSL
23
OPTIONS_RADIO_SSL=	GNUTLS OPENSSL
24
25
EEP_DESC=		Enable EEP packet send/receive support
26
27
EEP_CONFIGURE_ENABLE=	eep
28
IPV6_CONFIGURE_ENABLE=	ipv6
27
29
28
OPENSSL_DESC=	Adds OpenSSL support to parse TLS captured messages
30
GNUTLS_LIB_DEPENDS=	libgnutls.so:security/gnutls \
29
OPENSSL_USES=	ssl
31
			libgcrypt.so:security/libgcrypt \
32
			libgpg-error.so:security/libgpg-error
33
GNUTLS_CONFIGURE_WITH=	gnutls
34
35
OPENSSL_USES=		ssl
30
OPENSSL_CONFIGURE_ENV+=	SSL_CFLAGS="-I${OPENSSLINC}" \
36
OPENSSL_CONFIGURE_ENV+=	SSL_CFLAGS="-I${OPENSSLINC}" \
31
			SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
37
			SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
32
OPENSSL_CONFIGURE_ON=	--with-openssl
38
OPENSSL_CONFIGURE_WITH=	openssl
33
39
34
PCRE_DESC=	Adds Perl Compatible regex support
40
PCRE_CONFIGURE_WITH=	pcre
35
PCRE_CONFIGURE_ON=	--with-pcre
36
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
41
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
37
42
38
UNICODE_DESC=	Adds Ncurses UTF-8/Unicode support
43
UNICODE_CONFIGURE_ENABLE=	unicode
39
UNICODE_CONFIGURE_ON=	--enable-unicode
40
41
IPV6_DESC=	Enable IPv6 packet capture support
42
IPV6_CONFIGURE_ON=	--enable-ipv6
43
44
EEP_DESC=	Enable EEP packet send/receive support
45
EEP_CONFIGURE_ON=	--enable-eep
46
44
47
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)b/net/sngrep/distinfo (-5 / +3 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1598791747
1
TIMESTAMP = 1605310186
2
SHA256 (sngrep-1.4.7.tar.gz) = 3c96aadd8b8c6b7adb5552d6fb4234f2000f15109b0f6c5feb632c81306cc49b
2
SHA256 (sngrep-1.4.8.tar.gz) = f39fded8dc9ef0b7a41319f223dd4afa348bb2418bea578ed281557726829728
3
SIZE (sngrep-1.4.7.tar.gz) = 237978
3
SIZE (sngrep-1.4.8.tar.gz) = 238244
4
SHA256 (1789d262c0ee90b1057181dc2abef681ba2233a6.patch) = b9bf35e68d09e916a229178e36a10cd0e7033d40365f3153355a11fe427f8dc4
5
SIZE (1789d262c0ee90b1057181dc2abef681ba2233a6.patch) = 942

Return to bug 251120