Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Oct 2016 22:36:50 +0000 (UTC)
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424084 - in head/net/wireshark: . files
Message-ID:  <201610162236.u9GMaoKP003312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcus
Date: Sun Oct 16 22:36:50 2016
New Revision: 424084
URL: https://svnweb.freebsd.org/changeset/ports/424084

Log:
  Update to 2.2.1.  Incorporate patches from PR 213356 to fix the build
  with base Kerberos and add more explicit dependencies.
  
  For changes in 2.2.1, see https://www.wireshark.org/docs/relnotes/wireshark-2.2.1.html .
  
  PR:		213356
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Added:
  head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.c   (contents, props changed)
  head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.h   (contents, props changed)
  head/net/wireshark/files/patch-epan_dissectors_asn1_spnego_packet-spnego-template.c   (contents, props changed)
  head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c   (contents, props changed)
  head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.h   (contents, props changed)
  head/net/wireshark/files/patch-epan_dissectors_packet-spnego.c   (contents, props changed)
Modified:
  head/net/wireshark/Makefile
  head/net/wireshark/distinfo
  head/net/wireshark/pkg-plist

Modified: head/net/wireshark/Makefile
==============================================================================
--- head/net/wireshark/Makefile	Sun Oct 16 22:01:22 2016	(r424083)
+++ head/net/wireshark/Makefile	Sun Oct 16 22:36:50 2016	(r424084)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME?=	wireshark
-PORTVERSION=	2.2.0
+PORTVERSION=	2.2.1
 PORTREVISION?=	0
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.wireshark.org/download/src/ \
@@ -27,7 +27,8 @@ DATADIR_NAME=	wireshark
 DATADIR=	${PREFIX}/share/${DATADIR_NAME}
 
 GNU_CONFIGURE=	yes
-USES=		alias cpe gmake libtool pathfix perl5 pkgconfig python:build ssl tar:bzip2
+USES=		alias cpe gettext-runtime gmake libtool pathfix perl5 \
+		pkgconfig python:build ssl tar:bzip2
 USE_PERL5=	build
 USE_GNOME=	glib20
 CONFIGURE_ARGS+=	--program-transform-name="" \
@@ -35,6 +36,8 @@ CONFIGURE_ARGS+=	--program-transform-nam
 INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 
+LIB_DEPENDS+=	libgpg-error.so:security/libgpg-error
+
 CFLAGS+=	-funit-at-a-time
 LIBS+=		-L${LOCALBASE}/lib
 PLIST_SUB+=	PORTVERSION=${PORTVERSION}
@@ -75,9 +78,9 @@ KRB_HEIMDAL_DESC=	Kerberos support via s
 KRB_MIT_DESC=		Kerberos support via security/krb5
 KRB_NONE_DESC=		Disable Kerberos support
 
-GTK2_USE=	GNOME=gtk20
-GTK3_USE=	GNOME=gtk30
-QT5_USE=	QT5=core,gui,widgets,printsupport,buildtools_build
+GTK2_USE=	GNOME=gtk20,cairo
+GTK3_USE=	GNOME=gtk30,cairo
+QT5_USE=	qt5=core,gui,widgets,printsupport,buildtools_build,linguisttools_build
 
 LUA_USES=		lua:5[1-2]
 KRB_BASE_USES=		gssapi
@@ -85,6 +88,7 @@ KRB_HEIMDAL_USES=	gssapi:heimdal
 KRB_MIT_USES=		gssapi:mit
 
 RTP_LIB_DEPENDS=	libportaudio.so:audio/portaudio
+RTP_CPPFLAGS=		-I${LOCALBASE}/include
 SNMP_LIB_DEPENDS=	libsmi.so:net-mgmt/libsmi
 ADNS_LIB_DEPENDS=	libadns.so:dns/adns
 CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
@@ -111,6 +115,7 @@ DECRYPT_CONFIGURE_WITH=	gnutls gcrypt
 
 LUA_CPPFLAGS=		-I${LUA_INCDIR}
 
+QT5_CONFIGURE_ENV=	PATH="${PATH}:${QT_BINDIR}"
 QT5_MAKE_ENV=		PATH="${PATH}:${QT_BINDIR}"
 QT5_VARS=		PKGNAMESUFFIX=-qt5
 QT5_PLIST_SUB=		GUI_GTK="@comment "
@@ -146,6 +151,9 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|llua|llua-${LUA_VER}|g ; \
 		s|-DQT_GUI_LIB|-DQT_GUI_LIB $$CPPFLAGS| ' \
 		${WRKSRC}/configure
+	# XXX: Should be optional as to whether or not this flag works at runtime
+	@${REINPLACE_CMD} -e 's|-msse4.2||g' \
+	    	${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|/usr/share/applications|${DESKTOPDIR}|g ; \
 		s|/usr/share|${LOCALBASE}/share|g ; \
 		s|{mime/packages,applications}|mime/packages| ; \

Modified: head/net/wireshark/distinfo
==============================================================================
--- head/net/wireshark/distinfo	Sun Oct 16 22:01:22 2016	(r424083)
+++ head/net/wireshark/distinfo	Sun Oct 16 22:36:50 2016	(r424084)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1473707149
-SHA256 (wireshark-2.2.0.tar.bz2) = a6847e741efcba6cb9d92d464d4219917bee3ad0b8f5b0f80d4388ad2f3f1104
-SIZE (wireshark-2.2.0.tar.bz2) = 32141141
+TIMESTAMP = 1476653554
+SHA256 (wireshark-2.2.1.tar.bz2) = 900e22af04c8b35e0d02a25a360ab1fb7cfe5ac18fc48a9afd75a7103e569149
+SIZE (wireshark-2.2.1.tar.bz2) = 32154087

Added: head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.c	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,141 @@
+--- epan/dissectors/asn1/kerberos/packet-kerberos-template.c.orig	2016-10-04 18:27:46 UTC
++++ epan/dissectors/asn1/kerberos/packet-kerberos-template.c
+@@ -809,66 +809,7 @@ decrypt_krb5_data(proto_tree *tree, pack
+ #define KRB5_MSG_ENC_KRB_CRED_PART	29	/* EncKrbCredPart */
+ #define KRB5_MSG_ERROR			30	/* KRB-ERROR type */
+ 
+-/* encryption type constants */
+-#define KRB5_ENCTYPE_NULL		0
+-#define KRB5_ENCTYPE_DES_CBC_CRC	1
+-#define KRB5_ENCTYPE_DES_CBC_MD4	2
+-#define KRB5_ENCTYPE_DES_CBC_MD5	3
+-#define KRB5_ENCTYPE_DES_CBC_RAW	4
+-#define KRB5_ENCTYPE_DES3_CBC_SHA	5
+-#define KRB5_ENCTYPE_DES3_CBC_RAW	6
+-#define KRB5_ENCTYPE_DES_HMAC_SHA1	8
+-#define KRB5_ENCTYPE_DSA_SHA1_CMS	9
+-#define KRB5_ENCTYPE_RSA_MD5_CMS	10
+-#define KRB5_ENCTYPE_RSA_SHA1_CMS	11
+-#define KRB5_ENCTYPE_RC2_CBC_ENV	12
+-#define KRB5_ENCTYPE_RSA_ENV		13
+-#define KRB5_ENCTYPE_RSA_ES_OEAP_ENV	14
+-#define KRB5_ENCTYPE_DES_EDE3_CBC_ENV	15
+-#define KRB5_ENCTYPE_DES3_CBC_SHA1	16
+-#define KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96 17
+-#define KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96 18
+-#define KRB5_ENCTYPE_DES_CBC_MD5_NT	20
+-#define KERB_ENCTYPE_RC4_HMAC		23
+-#define KERB_ENCTYPE_RC4_HMAC_EXP	24
+-#define KRB5_ENCTYPE_UNKNOWN		0x1ff
+-#define KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1	0x7007
+-#define KRB5_ENCTYPE_RC4_PLAIN_EXP	0xffffff73
+-#define KRB5_ENCTYPE_RC4_PLAIN		0xffffff74
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP	0xffffff78
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD_EXP	0xffffff79
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD	0xffffff7a
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD	0xffffff7b
+-#define KRB5_ENCTYPE_DES_PLAIN		0xffffff7c
+-#define KRB5_ENCTYPE_RC4_SHA		0xffffff7d
+-#define KRB5_ENCTYPE_RC4_LM		0xffffff7e
+-#define KRB5_ENCTYPE_RC4_PLAIN2		0xffffff7f
+-#define KRB5_ENCTYPE_RC4_MD4		0xffffff80
+-
+-/* checksum types */
+-#define KRB5_CHKSUM_NONE		0
+-#define KRB5_CHKSUM_CRC32		1
+-#define KRB5_CHKSUM_MD4			2
+-#define KRB5_CHKSUM_KRB_DES_MAC		4
+-#define KRB5_CHKSUM_KRB_DES_MAC_K	5
+-#define KRB5_CHKSUM_MD5			7
+-#define KRB5_CHKSUM_MD5_DES		8
+-/* the following four come from packetcable */
+-#define KRB5_CHKSUM_MD5_DES3		9
+-#define KRB5_CHKSUM_HMAC_SHA1_DES3_KD	12
+-#define KRB5_CHKSUM_HMAC_SHA1_DES3	13
+-#define KRB5_CHKSUM_SHA1_UNKEYED	14
+-#define KRB5_CHKSUM_HMAC_MD5		0xffffff76
+-#define KRB5_CHKSUM_MD5_HMAC		0xffffff77
+-#define KRB5_CHKSUM_RC4_MD5		0xffffff78
+-#define KRB5_CHKSUM_MD25		0xffffff79
+-#define KRB5_CHKSUM_DES_MAC_MD5		0xffffff7a
+-#define KRB5_CHKSUM_DES_MAC		0xffffff7b
+-#define KRB5_CHKSUM_REAL_CRC32		0xffffff7c
+-#define KRB5_CHKSUM_SHA1		0xffffff7d
+-#define KRB5_CHKSUM_LM			0xffffff7e
+ #define KRB5_CHKSUM_GSSAPI		0x8003
+-
+ /*
+  * For KERB_ENCTYPE_RC4_HMAC and KERB_ENCTYPE_RC4_HMAC_EXP, see
+  *
+@@ -1164,71 +1105,6 @@ static const value_string krb5_preauthen
+ 	{ 0                            , NULL },
+ };
+ 
+-#if 0
+-static const value_string krb5_encryption_types[] = {
+-	{ KRB5_ENCTYPE_NULL           , "NULL" },
+-	{ KRB5_ENCTYPE_DES_CBC_CRC    , "des-cbc-crc" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD4    , "des-cbc-md4" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD5    , "des-cbc-md5" },
+-	{ KRB5_ENCTYPE_DES_CBC_RAW    , "des-cbc-raw" },
+-	{ KRB5_ENCTYPE_DES3_CBC_SHA   , "des3-cbc-sha" },
+-	{ KRB5_ENCTYPE_DES3_CBC_RAW   , "des3-cbc-raw" },
+-	{ KRB5_ENCTYPE_DES_HMAC_SHA1  , "des-hmac-sha1" },
+-	{ KRB5_ENCTYPE_DSA_SHA1_CMS   , "dsa-sha1-cms" },
+-	{ KRB5_ENCTYPE_RSA_MD5_CMS    , "rsa-md5-cms" },
+-	{ KRB5_ENCTYPE_RSA_SHA1_CMS   , "rsa-sha1-cms" },
+-	{ KRB5_ENCTYPE_RC2_CBC_ENV    , "rc2-cbc-env" },
+-	{ KRB5_ENCTYPE_RSA_ENV        , "rsa-env" },
+-	{ KRB5_ENCTYPE_RSA_ES_OEAP_ENV, "rsa-es-oeap-env" },
+-	{ KRB5_ENCTYPE_DES_EDE3_CBC_ENV, "des-ede3-cbc-env" },
+-	{ KRB5_ENCTYPE_DES3_CBC_SHA1  , "des3-cbc-sha1" },
+-	{ KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96  , "aes128-cts-hmac-sha1-96" },
+-	{ KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96  , "aes256-cts-hmac-sha1-96" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD5_NT  , "des-cbc-md5-nt" },
+-	{ KERB_ENCTYPE_RC4_HMAC       , "rc4-hmac" },
+-	{ KERB_ENCTYPE_RC4_HMAC_EXP   , "rc4-hmac-exp" },
+-	{ KRB5_ENCTYPE_UNKNOWN        , "unknown" },
+-	{ KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1    , "local-des3-hmac-sha1" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_EXP  , "rc4-plain-exp" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN      , "rc4-plain" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP, "rc4-plain-old-exp" },
+-	{ KRB5_ENCTYPE_RC4_HMAC_OLD_EXP, "rc4-hmac-old-exp" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_OLD  , "rc4-plain-old" },
+-	{ KRB5_ENCTYPE_RC4_HMAC_OLD   , "rc4-hmac-old" },
+-	{ KRB5_ENCTYPE_DES_PLAIN      , "des-plain" },
+-	{ KRB5_ENCTYPE_RC4_SHA        , "rc4-sha" },
+-	{ KRB5_ENCTYPE_RC4_LM         , "rc4-lm" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN2     , "rc4-plain2" },
+-	{ KRB5_ENCTYPE_RC4_MD4        , "rc4-md4" },
+-	{ 0                           , NULL },
+-};
+-
+-static const value_string krb5_checksum_types[] = {
+-	{ KRB5_CHKSUM_NONE            , "none" },
+-	{ KRB5_CHKSUM_CRC32           , "crc32" },
+-	{ KRB5_CHKSUM_MD4             , "md4" },
+-	{ KRB5_CHKSUM_KRB_DES_MAC     , "krb-des-mac" },
+-	{ KRB5_CHKSUM_KRB_DES_MAC_K   , "krb-des-mac-k" },
+-	{ KRB5_CHKSUM_MD5             , "md5" },
+-	{ KRB5_CHKSUM_MD5_DES         , "md5-des" },
+-	{ KRB5_CHKSUM_MD5_DES3        , "md5-des3" },
+-	{ KRB5_CHKSUM_HMAC_SHA1_DES3_KD, "hmac-sha1-des3-kd" },
+-	{ KRB5_CHKSUM_HMAC_SHA1_DES3  , "hmac-sha1-des3" },
+-	{ KRB5_CHKSUM_SHA1_UNKEYED    , "sha1 (unkeyed)" },
+-	{ KRB5_CHKSUM_HMAC_MD5        , "hmac-md5" },
+-	{ KRB5_CHKSUM_MD5_HMAC        , "md5-hmac" },
+-	{ KRB5_CHKSUM_RC4_MD5         , "rc5-md5" },
+-	{ KRB5_CHKSUM_MD25            , "md25" },
+-	{ KRB5_CHKSUM_DES_MAC_MD5     , "des-mac-md5" },
+-	{ KRB5_CHKSUM_DES_MAC         , "des-mac" },
+-	{ KRB5_CHKSUM_REAL_CRC32      , "real-crc32" },
+-	{ KRB5_CHKSUM_SHA1            , "sha1" },
+-	{ KRB5_CHKSUM_LM              , "lm" },
+-	{ KRB5_CHKSUM_GSSAPI	  , "gssapi-8003" },
+-	{ 0                           , NULL },
+-};
+-#endif
+-
+ #define KRB5_AD_IF_RELEVANT			1
+ #define KRB5_AD_INTENDED_FOR_SERVER		2
+ #define KRB5_AD_INTENDED_FOR_APPLICATION_CLASS	3

Added: head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_asn1_kerberos_packet-kerberos-template.h	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,45 @@
+--- epan/dissectors/asn1/kerberos/packet-kerberos-template.h.orig	2016-10-04 18:27:46 UTC
++++ epan/dissectors/asn1/kerberos/packet-kerberos-template.h
+@@ -100,42 +100,6 @@ void read_keytab_file_from_preferences(v
+ 
+ #endif /* HAVE_KERBEROS */
+ 
+-/* encryption type constants */
+-#define KRB5_ENCTYPE_NULL		0
+-#define KRB5_ENCTYPE_DES_CBC_CRC	1
+-#define KRB5_ENCTYPE_DES_CBC_MD4	2
+-#define KRB5_ENCTYPE_DES_CBC_MD5	3
+-#define KRB5_ENCTYPE_DES_CBC_RAW	4
+-#define KRB5_ENCTYPE_DES3_CBC_SHA	5
+-#define KRB5_ENCTYPE_DES3_CBC_RAW	6
+-#define KRB5_ENCTYPE_DES_HMAC_SHA1	8
+-#define KRB5_ENCTYPE_DSA_SHA1_CMS	9
+-#define KRB5_ENCTYPE_RSA_MD5_CMS	10
+-#define KRB5_ENCTYPE_RSA_SHA1_CMS	11
+-#define KRB5_ENCTYPE_RC2_CBC_ENV	12
+-#define KRB5_ENCTYPE_RSA_ENV		13
+-#define KRB5_ENCTYPE_RSA_ES_OEAP_ENV	14
+-#define KRB5_ENCTYPE_DES_EDE3_CBC_ENV	15
+-#define KRB5_ENCTYPE_DES3_CBC_SHA1	16
+-#define KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96 17
+-#define KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96 18
+-#define KRB5_ENCTYPE_DES_CBC_MD5_NT	20
+-#define KERB_ENCTYPE_RC4_HMAC		23
+-#define KERB_ENCTYPE_RC4_HMAC_EXP	24
+-#define KRB5_ENCTYPE_UNKNOWN		0x1ff
+-#define KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1	0x7007
+-#define KRB5_ENCTYPE_RC4_PLAIN_EXP	0xffffff73
+-#define KRB5_ENCTYPE_RC4_PLAIN		0xffffff74
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP	0xffffff78
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD_EXP	0xffffff79
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD	0xffffff7a
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD	0xffffff7b
+-#define KRB5_ENCTYPE_DES_PLAIN		0xffffff7c
+-#define KRB5_ENCTYPE_RC4_SHA		0xffffff7d
+-#define KRB5_ENCTYPE_RC4_LM		0xffffff7e
+-#define KRB5_ENCTYPE_RC4_PLAIN2		0xffffff7f
+-#define KRB5_ENCTYPE_RC4_MD4		0xffffff80
+-
+ #include "packet-kerberos-exp.h"
+ 
+ #ifdef __cplusplus

Added: head/net/wireshark/files/patch-epan_dissectors_asn1_spnego_packet-spnego-template.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_asn1_spnego_packet-spnego-template.c	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,21 @@
+--- epan/dissectors/asn1/spnego/packet-spnego-template.c.orig	2016-10-04 18:27:47 UTC
++++ epan/dissectors/asn1/spnego/packet-spnego-template.c
+@@ -323,6 +323,9 @@ dissect_spnego_krb5(tvbuff_t *tvb, packe
+ #ifndef KEYTYPE_ARCFOUR_56
+ # define KEYTYPE_ARCFOUR_56 24
+ #endif
++#ifndef KEYTYPE_ARCFOUR_HMAC
++# define KEYTYPE_ARCFOUR_HMAC 23
++#endif
+ /* XXX - We should probably do a configure-time check for this instead */
+ #ifndef KRB5_KU_USAGE_SEAL
+ # define KRB5_KU_USAGE_SEAL 22
+@@ -847,7 +850,7 @@ dissect_spnego_krb5_wrap_base(tvbuff_t *
+ 			decrypt_gssapi_krb_arcfour_wrap(tree,
+ 				pinfo,
+ 				tvb,
+-				KERB_ENCTYPE_RC4_HMAC,
++				KEYTYPE_ARCFOUR_HMAC,
+ 				gssapi_encrypt);
+ #endif /* HAVE_HEIMDAL_KERBEROS || HAVE_MIT_KERBEROS */
+ 		}

Added: head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.c	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,168 @@
+--- epan/dissectors/packet-kerberos.c.orig	2016-10-04 18:27:49 UTC
++++ epan/dissectors/packet-kerberos.c
+@@ -1068,66 +1068,7 @@ decrypt_krb5_data(proto_tree *tree, pack
+ #define KRB5_MSG_ENC_KRB_CRED_PART	29	/* EncKrbCredPart */
+ #define KRB5_MSG_ERROR			30	/* KRB-ERROR type */
+ 
+-/* encryption type constants */
+-#define KRB5_ENCTYPE_NULL		0
+-#define KRB5_ENCTYPE_DES_CBC_CRC	1
+-#define KRB5_ENCTYPE_DES_CBC_MD4	2
+-#define KRB5_ENCTYPE_DES_CBC_MD5	3
+-#define KRB5_ENCTYPE_DES_CBC_RAW	4
+-#define KRB5_ENCTYPE_DES3_CBC_SHA	5
+-#define KRB5_ENCTYPE_DES3_CBC_RAW	6
+-#define KRB5_ENCTYPE_DES_HMAC_SHA1	8
+-#define KRB5_ENCTYPE_DSA_SHA1_CMS	9
+-#define KRB5_ENCTYPE_RSA_MD5_CMS	10
+-#define KRB5_ENCTYPE_RSA_SHA1_CMS	11
+-#define KRB5_ENCTYPE_RC2_CBC_ENV	12
+-#define KRB5_ENCTYPE_RSA_ENV		13
+-#define KRB5_ENCTYPE_RSA_ES_OEAP_ENV	14
+-#define KRB5_ENCTYPE_DES_EDE3_CBC_ENV	15
+-#define KRB5_ENCTYPE_DES3_CBC_SHA1	16
+-#define KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96 17
+-#define KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96 18
+-#define KRB5_ENCTYPE_DES_CBC_MD5_NT	20
+-#define KERB_ENCTYPE_RC4_HMAC		23
+-#define KERB_ENCTYPE_RC4_HMAC_EXP	24
+-#define KRB5_ENCTYPE_UNKNOWN		0x1ff
+-#define KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1	0x7007
+-#define KRB5_ENCTYPE_RC4_PLAIN_EXP	0xffffff73
+-#define KRB5_ENCTYPE_RC4_PLAIN		0xffffff74
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP	0xffffff78
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD_EXP	0xffffff79
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD	0xffffff7a
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD	0xffffff7b
+-#define KRB5_ENCTYPE_DES_PLAIN		0xffffff7c
+-#define KRB5_ENCTYPE_RC4_SHA		0xffffff7d
+-#define KRB5_ENCTYPE_RC4_LM		0xffffff7e
+-#define KRB5_ENCTYPE_RC4_PLAIN2		0xffffff7f
+-#define KRB5_ENCTYPE_RC4_MD4		0xffffff80
+-
+-/* checksum types */
+-#define KRB5_CHKSUM_NONE		0
+-#define KRB5_CHKSUM_CRC32		1
+-#define KRB5_CHKSUM_MD4			2
+-#define KRB5_CHKSUM_KRB_DES_MAC		4
+-#define KRB5_CHKSUM_KRB_DES_MAC_K	5
+-#define KRB5_CHKSUM_MD5			7
+-#define KRB5_CHKSUM_MD5_DES		8
+-/* the following four come from packetcable */
+-#define KRB5_CHKSUM_MD5_DES3		9
+-#define KRB5_CHKSUM_HMAC_SHA1_DES3_KD	12
+-#define KRB5_CHKSUM_HMAC_SHA1_DES3	13
+-#define KRB5_CHKSUM_SHA1_UNKEYED	14
+-#define KRB5_CHKSUM_HMAC_MD5		0xffffff76
+-#define KRB5_CHKSUM_MD5_HMAC		0xffffff77
+-#define KRB5_CHKSUM_RC4_MD5		0xffffff78
+-#define KRB5_CHKSUM_MD25		0xffffff79
+-#define KRB5_CHKSUM_DES_MAC_MD5		0xffffff7a
+-#define KRB5_CHKSUM_DES_MAC		0xffffff7b
+-#define KRB5_CHKSUM_REAL_CRC32		0xffffff7c
+-#define KRB5_CHKSUM_SHA1		0xffffff7d
+-#define KRB5_CHKSUM_LM			0xffffff7e
+ #define KRB5_CHKSUM_GSSAPI		0x8003
+-
+ /*
+  * For KERB_ENCTYPE_RC4_HMAC and KERB_ENCTYPE_RC4_HMAC_EXP, see
+  *
+@@ -1423,71 +1364,6 @@ static const value_string krb5_preauthen
+ 	{ 0                            , NULL },
+ };
+ 
+-#if 0
+-static const value_string krb5_encryption_types[] = {
+-	{ KRB5_ENCTYPE_NULL           , "NULL" },
+-	{ KRB5_ENCTYPE_DES_CBC_CRC    , "des-cbc-crc" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD4    , "des-cbc-md4" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD5    , "des-cbc-md5" },
+-	{ KRB5_ENCTYPE_DES_CBC_RAW    , "des-cbc-raw" },
+-	{ KRB5_ENCTYPE_DES3_CBC_SHA   , "des3-cbc-sha" },
+-	{ KRB5_ENCTYPE_DES3_CBC_RAW   , "des3-cbc-raw" },
+-	{ KRB5_ENCTYPE_DES_HMAC_SHA1  , "des-hmac-sha1" },
+-	{ KRB5_ENCTYPE_DSA_SHA1_CMS   , "dsa-sha1-cms" },
+-	{ KRB5_ENCTYPE_RSA_MD5_CMS    , "rsa-md5-cms" },
+-	{ KRB5_ENCTYPE_RSA_SHA1_CMS   , "rsa-sha1-cms" },
+-	{ KRB5_ENCTYPE_RC2_CBC_ENV    , "rc2-cbc-env" },
+-	{ KRB5_ENCTYPE_RSA_ENV        , "rsa-env" },
+-	{ KRB5_ENCTYPE_RSA_ES_OEAP_ENV, "rsa-es-oeap-env" },
+-	{ KRB5_ENCTYPE_DES_EDE3_CBC_ENV, "des-ede3-cbc-env" },
+-	{ KRB5_ENCTYPE_DES3_CBC_SHA1  , "des3-cbc-sha1" },
+-	{ KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96  , "aes128-cts-hmac-sha1-96" },
+-	{ KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96  , "aes256-cts-hmac-sha1-96" },
+-	{ KRB5_ENCTYPE_DES_CBC_MD5_NT  , "des-cbc-md5-nt" },
+-	{ KERB_ENCTYPE_RC4_HMAC       , "rc4-hmac" },
+-	{ KERB_ENCTYPE_RC4_HMAC_EXP   , "rc4-hmac-exp" },
+-	{ KRB5_ENCTYPE_UNKNOWN        , "unknown" },
+-	{ KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1    , "local-des3-hmac-sha1" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_EXP  , "rc4-plain-exp" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN      , "rc4-plain" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP, "rc4-plain-old-exp" },
+-	{ KRB5_ENCTYPE_RC4_HMAC_OLD_EXP, "rc4-hmac-old-exp" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN_OLD  , "rc4-plain-old" },
+-	{ KRB5_ENCTYPE_RC4_HMAC_OLD   , "rc4-hmac-old" },
+-	{ KRB5_ENCTYPE_DES_PLAIN      , "des-plain" },
+-	{ KRB5_ENCTYPE_RC4_SHA        , "rc4-sha" },
+-	{ KRB5_ENCTYPE_RC4_LM         , "rc4-lm" },
+-	{ KRB5_ENCTYPE_RC4_PLAIN2     , "rc4-plain2" },
+-	{ KRB5_ENCTYPE_RC4_MD4        , "rc4-md4" },
+-	{ 0                           , NULL },
+-};
+-
+-static const value_string krb5_checksum_types[] = {
+-	{ KRB5_CHKSUM_NONE            , "none" },
+-	{ KRB5_CHKSUM_CRC32           , "crc32" },
+-	{ KRB5_CHKSUM_MD4             , "md4" },
+-	{ KRB5_CHKSUM_KRB_DES_MAC     , "krb-des-mac" },
+-	{ KRB5_CHKSUM_KRB_DES_MAC_K   , "krb-des-mac-k" },
+-	{ KRB5_CHKSUM_MD5             , "md5" },
+-	{ KRB5_CHKSUM_MD5_DES         , "md5-des" },
+-	{ KRB5_CHKSUM_MD5_DES3        , "md5-des3" },
+-	{ KRB5_CHKSUM_HMAC_SHA1_DES3_KD, "hmac-sha1-des3-kd" },
+-	{ KRB5_CHKSUM_HMAC_SHA1_DES3  , "hmac-sha1-des3" },
+-	{ KRB5_CHKSUM_SHA1_UNKEYED    , "sha1 (unkeyed)" },
+-	{ KRB5_CHKSUM_HMAC_MD5        , "hmac-md5" },
+-	{ KRB5_CHKSUM_MD5_HMAC        , "md5-hmac" },
+-	{ KRB5_CHKSUM_RC4_MD5         , "rc5-md5" },
+-	{ KRB5_CHKSUM_MD25            , "md25" },
+-	{ KRB5_CHKSUM_DES_MAC_MD5     , "des-mac-md5" },
+-	{ KRB5_CHKSUM_DES_MAC         , "des-mac" },
+-	{ KRB5_CHKSUM_REAL_CRC32      , "real-crc32" },
+-	{ KRB5_CHKSUM_SHA1            , "sha1" },
+-	{ KRB5_CHKSUM_LM              , "lm" },
+-	{ KRB5_CHKSUM_GSSAPI	  , "gssapi-8003" },
+-	{ 0                           , NULL },
+-};
+-#endif
+-
+ #define KRB5_AD_IF_RELEVANT			1
+ #define KRB5_AD_INTENDED_FOR_SERVER		2
+ #define KRB5_AD_INTENDED_FOR_APPLICATION_CLASS	3
+@@ -4341,7 +4217,7 @@ dissect_kerberos_ChangePasswdData(gboole
+ 
+ 
+ /*--- End of included file: packet-kerberos-fn.c ---*/
+-#line 1985 "./asn1/kerberos/packet-kerberos-template.c"
++#line 1861 "./asn1/kerberos/packet-kerberos-template.c"
+ 
+ /* Make wrappers around exported functions for now */
+ int
+@@ -5395,7 +5271,7 @@ void proto_register_kerberos(void) {
+         NULL, HFILL }},
+ 
+ /*--- End of included file: packet-kerberos-hfarr.c ---*/
+-#line 2366 "./asn1/kerberos/packet-kerberos-template.c"
++#line 2242 "./asn1/kerberos/packet-kerberos-template.c"
+ 	};
+ 
+ 	/* List of subtrees */
+@@ -5473,7 +5349,7 @@ void proto_register_kerberos(void) {
+     &ett_kerberos_ChangePasswdData,
+ 
+ /*--- End of included file: packet-kerberos-ettarr.c ---*/
+-#line 2382 "./asn1/kerberos/packet-kerberos-template.c"
++#line 2258 "./asn1/kerberos/packet-kerberos-template.c"
+ 	};
+ 
+ 	static ei_register_info ei[] = {

Added: head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_packet-kerberos.h	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,54 @@
+--- epan/dissectors/packet-kerberos.h.orig	2016-10-04 18:27:49 UTC
++++ epan/dissectors/packet-kerberos.h
+@@ -108,42 +108,6 @@ void read_keytab_file_from_preferences(v
+ 
+ #endif /* HAVE_KERBEROS */
+ 
+-/* encryption type constants */
+-#define KRB5_ENCTYPE_NULL		0
+-#define KRB5_ENCTYPE_DES_CBC_CRC	1
+-#define KRB5_ENCTYPE_DES_CBC_MD4	2
+-#define KRB5_ENCTYPE_DES_CBC_MD5	3
+-#define KRB5_ENCTYPE_DES_CBC_RAW	4
+-#define KRB5_ENCTYPE_DES3_CBC_SHA	5
+-#define KRB5_ENCTYPE_DES3_CBC_RAW	6
+-#define KRB5_ENCTYPE_DES_HMAC_SHA1	8
+-#define KRB5_ENCTYPE_DSA_SHA1_CMS	9
+-#define KRB5_ENCTYPE_RSA_MD5_CMS	10
+-#define KRB5_ENCTYPE_RSA_SHA1_CMS	11
+-#define KRB5_ENCTYPE_RC2_CBC_ENV	12
+-#define KRB5_ENCTYPE_RSA_ENV		13
+-#define KRB5_ENCTYPE_RSA_ES_OEAP_ENV	14
+-#define KRB5_ENCTYPE_DES_EDE3_CBC_ENV	15
+-#define KRB5_ENCTYPE_DES3_CBC_SHA1	16
+-#define KRB5_ENCTYPE_AES128_CTS_HMAC_SHA1_96 17
+-#define KRB5_ENCTYPE_AES256_CTS_HMAC_SHA1_96 18
+-#define KRB5_ENCTYPE_DES_CBC_MD5_NT	20
+-#define KERB_ENCTYPE_RC4_HMAC		23
+-#define KERB_ENCTYPE_RC4_HMAC_EXP	24
+-#define KRB5_ENCTYPE_UNKNOWN		0x1ff
+-#define KRB5_ENCTYPE_LOCAL_DES3_HMAC_SHA1	0x7007
+-#define KRB5_ENCTYPE_RC4_PLAIN_EXP	0xffffff73
+-#define KRB5_ENCTYPE_RC4_PLAIN		0xffffff74
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD_EXP	0xffffff78
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD_EXP	0xffffff79
+-#define KRB5_ENCTYPE_RC4_PLAIN_OLD	0xffffff7a
+-#define KRB5_ENCTYPE_RC4_HMAC_OLD	0xffffff7b
+-#define KRB5_ENCTYPE_DES_PLAIN		0xffffff7c
+-#define KRB5_ENCTYPE_RC4_SHA		0xffffff7d
+-#define KRB5_ENCTYPE_RC4_LM		0xffffff7e
+-#define KRB5_ENCTYPE_RC4_PLAIN2		0xffffff7f
+-#define KRB5_ENCTYPE_RC4_MD4		0xffffff80
+-
+ 
+ /*--- Included file: packet-kerberos-exp.h ---*/
+ #line 1 "./asn1/kerberos/packet-kerberos-exp.h"
+@@ -170,7 +134,7 @@ void read_keytab_file_from_preferences(v
+ int dissect_kerberos_ChangePasswdData(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_);
+ 
+ /*--- End of included file: packet-kerberos-exp.h ---*/
+-#line 140 "./asn1/kerberos/packet-kerberos-template.h"
++#line 104 "./asn1/kerberos/packet-kerberos-template.h"
+ 
+ #ifdef __cplusplus
+ }

Added: head/net/wireshark/files/patch-epan_dissectors_packet-spnego.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/wireshark/files/patch-epan_dissectors_packet-spnego.c	Sun Oct 16 22:36:50 2016	(r424084)
@@ -0,0 +1,39 @@
+--- epan/dissectors/packet-spnego.c.orig	2016-10-04 18:27:52 UTC
++++ epan/dissectors/packet-spnego.c
+@@ -775,6 +775,9 @@ dissect_spnego_krb5(tvbuff_t *tvb, packe
+ #ifndef KEYTYPE_ARCFOUR_56
+ # define KEYTYPE_ARCFOUR_56 24
+ #endif
++#ifndef KEYTYPE_ARCFOUR_HMAC
++# define KEYTYPE_ARCFOUR_HMAC 23
++#endif
+ /* XXX - We should probably do a configure-time check for this instead */
+ #ifndef KRB5_KU_USAGE_SEAL
+ # define KRB5_KU_USAGE_SEAL 22
+@@ -1299,7 +1302,7 @@ dissect_spnego_krb5_wrap_base(tvbuff_t *
+ 			decrypt_gssapi_krb_arcfour_wrap(tree,
+ 				pinfo,
+ 				tvb,
+-				KERB_ENCTYPE_RC4_HMAC,
++				KEYTYPE_ARCFOUR_HMAC,
+ 				gssapi_encrypt);
+ #endif /* HAVE_HEIMDAL_KERBEROS || HAVE_MIT_KERBEROS */
+ 		}
+@@ -1966,7 +1969,7 @@ void proto_register_spnego(void) {
+         NULL, HFILL }},
+ 
+ /*--- End of included file: packet-spnego-hfarr.c ---*/
+-#line 1421 "./asn1/spnego/packet-spnego-template.c"
++#line 1424 "./asn1/spnego/packet-spnego-template.c"
+ 	};
+ 
+ 	/* List of subtrees */
+@@ -1989,7 +1992,7 @@ void proto_register_spnego(void) {
+     &ett_spnego_InitialContextToken_U,
+ 
+ /*--- End of included file: packet-spnego-ettarr.c ---*/
+-#line 1431 "./asn1/spnego/packet-spnego-template.c"
++#line 1434 "./asn1/spnego/packet-spnego-template.c"
+ 	};
+ 
+ 	static ei_register_info ei[] = {

Modified: head/net/wireshark/pkg-plist
==============================================================================
--- head/net/wireshark/pkg-plist	Sun Oct 16 22:01:22 2016	(r424083)
+++ head/net/wireshark/pkg-plist	Sun Oct 16 22:36:50 2016	(r424084)
@@ -17,10 +17,10 @@ bin/tshark
 %%TEXT2PCAP%%
 lib/libwireshark.so
 lib/libwireshark.so.8
-lib/libwireshark.so.8.0.0
+lib/libwireshark.so.8.0.1
 lib/libwiretap.so
 lib/libwiretap.so.6
-lib/libwiretap.so.6.0.0
+lib/libwiretap.so.6.0.1
 lib/libwscodecs.so
 lib/libwscodecs.so.1
 lib/libwscodecs.so.1.0.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610162236.u9GMaoKP003312>