aboutsummaryrefslogtreecommitdiff
path: root/net/wireshark
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2006-07-23 17:40:38 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2006-07-23 17:40:38 +0000
commit5b24572dbf0f24bc253d78da3bd6fedc63489f6b (patch)
treebda0447bf193a2c49660d7b65c0da6b1210f4e55 /net/wireshark
parentd834e98538fa62541df9c71c6426f7f7c8b5b60d (diff)
downloadports-5b24572dbf0f24bc253d78da3bd6fedc63489f6b.tar.gz
ports-5b24572dbf0f24bc253d78da3bd6fedc63489f6b.zip
Add a dependency on libgcrypt if it is found. libgcrypt adds the ability
to decrypt IPSec packets. PR: 100645
Notes
Notes: svn path=/head/; revision=168571
Diffstat (limited to 'net/wireshark')
-rw-r--r--net/wireshark/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/wireshark/Makefile b/net/wireshark/Makefile
index 89d3222afbf5..0ce27ca772fa 100644
--- a/net/wireshark/Makefile
+++ b/net/wireshark/Makefile
@@ -113,6 +113,11 @@ LIB_DEPENDS+= gnutls.13:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--with-libgnutls-prefix=${LOCALBASE}
.endif
+.if exists(${LOCALBASE}/lib/libgcrypt.so) || defined(WITH_LIBGCRYPT)
+LIB_DEPENDS+= gcrypt.13:${PORTSDIR}/security/libgcrypt
+CONFIGURE_ARGS+=--with-libgcrypt-prefix=${LOCALBASE}
+.endif
+
MAN1+= dumpcap.1 tshark.1
MAN4+= wireshark-filter.4