19155791 Upgrade Wireshark to version 1.10.8 s11u2-sru
authorPetr Sumbera <petr.sumbera@oracle.com>
Wed, 23 Jul 2014 01:24:03 -0700
branchs11u2-sru
changeset 3222 e94472bb9273
parent 3221 e863b2da18cb
child 3223 08b56e98755b
19155791 Upgrade Wireshark to version 1.10.8 19014270 problem in UTILITY/WIRESHARK
components/wireshark/Makefile
components/wireshark/tshark.p5m
components/wireshark/wireshark-common.p5m
components/wireshark/wireshark.p5m
--- a/components/wireshark/Makefile	Tue Jul 15 07:20:42 2014 -0700
+++ b/components/wireshark/Makefile	Wed Jul 23 01:24:03 2014 -0700
@@ -23,19 +23,25 @@
 include ../../make-rules/shared-macros.mk
 
 COMPONENT_NAME=		wireshark
-COMPONENT_VERSION=	1.10.7
+COMPONENT_VERSION=	1.10.8
 COMPONENT_PROJECT_URL=	http://www.wireshark.org/
 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
 COMPONENT_ARCHIVE_HASH=	\
-    sha256:d98d263b31dd904a0337ba2db6d1a80bb495b4ac419a304f0f25c551d50cafc6
+    sha256:27d9cf4f0ca1ac436104b7f27caf8ad65f73db09edc8df0742ce9688c7d38763
 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)download/src/all-versions/$(COMPONENT_ARCHIVE)
 COMPONENT_BUGDB=	utility/wireshark
 
+TPNO=			18282
+
 include ../../make-rules/prep.mk
 include ../../make-rules/configure.mk
 include ../../make-rules/ips.mk
 
+# Micro version for easy libraries packaging
+MICRO_VERSION:= $(shell echo $(COMPONENT_VERSION) | awk -F. '{ print $$3 }')
+PKG_MACROS+= MICRO_VERSION=$(MICRO_VERSION)
+
 # Enable ASLR for this component
 ASLR_MODE = $(ASLR_ENABLE)
 
--- a/components/wireshark/tshark.p5m	Tue Jul 15 07:20:42 2014 -0700
+++ b/components/wireshark/tshark.p5m	Wed Jul 23 01:24:03 2014 -0700
@@ -26,7 +26,7 @@
     value=pkg:/diagnostic/wireshark/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Command-line network protocol analyzer"
 set name=com.oracle.info.description value="TShark, the Wireshark command line network protocol analyzer"
-set name=com.oracle.info.tpno value=17414
+set name=com.oracle.info.tpno value=$(TPNO)
 set name=info.classification \
     value=org.opensolaris.category.2008:Applications/Internet
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
--- a/components/wireshark/wireshark-common.p5m	Tue Jul 15 07:20:42 2014 -0700
+++ b/components/wireshark/wireshark-common.p5m	Wed Jul 23 01:24:03 2014 -0700
@@ -26,7 +26,7 @@
     value=pkg:/diagnostic/wireshark/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Libraries and Tools used by Wireshark and TShark Network protocol analyzers"
 set name=com.oracle.info.description value="the Wireshark and TShark common libraries and tools"
-set name=com.oracle.info.tpno value=17414
+set name=com.oracle.info.tpno value=$(TPNO)
 set name=info.classification \
     value=org.opensolaris.category.2008:Applications/Internet
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
@@ -35,8 +35,8 @@
     value=PSARC/2007/334
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 file exec_attr.dumpcap path=etc/security/exec_attr.d/diagnostic:wireshark:wireshark-common
-file path=usr/lib/$(MACH64)/libwireshark.so.3.1.7
-file path=usr/lib/$(MACH64)/libwiretap.so.3.0.7
+file path=usr/lib/$(MACH64)/libwireshark.so.3.1.$(MICRO_VERSION)
+file path=usr/lib/$(MACH64)/libwiretap.so.3.0.$(MICRO_VERSION)
 file path=usr/lib/$(MACH64)/libwsutil.so.3.0.0
 file path=usr/lib/$(MACH64)/wireshark/plugins/$(IPS_COMPONENT_VERSION)/asn1.so
 file path=usr/lib/$(MACH64)/wireshark/plugins/$(IPS_COMPONENT_VERSION)/docsis.so
@@ -285,10 +285,10 @@
 file path=usr/share/wireshark/ws.css
 
 license COPYING license=GPLv2
-link path=usr/lib/$(MACH64)/libwireshark.so target=libwireshark.so.3.1.7
-link path=usr/lib/$(MACH64)/libwireshark.so.3 target=libwireshark.so.3.1.7
-link path=usr/lib/$(MACH64)/libwiretap.so target=libwiretap.so.3.0.7
-link path=usr/lib/$(MACH64)/libwiretap.so.3 target=libwiretap.so.3.0.7
+link path=usr/lib/$(MACH64)/libwireshark.so target=libwireshark.so.3.1.$(MICRO_VERSION)
+link path=usr/lib/$(MACH64)/libwireshark.so.3 target=libwireshark.so.3.1.$(MICRO_VERSION)
+link path=usr/lib/$(MACH64)/libwiretap.so target=libwiretap.so.3.0.$(MICRO_VERSION)
+link path=usr/lib/$(MACH64)/libwiretap.so.3 target=libwiretap.so.3.0.$(MICRO_VERSION)
 link path=usr/lib/$(MACH64)/libwsutil.so target=libwsutil.so.3.0.0
 link path=usr/lib/$(MACH64)/libwsutil.so.3 target=libwsutil.so.3.0.0
 
--- a/components/wireshark/wireshark.p5m	Tue Jul 15 07:20:42 2014 -0700
+++ b/components/wireshark/wireshark.p5m	Wed Jul 23 01:24:03 2014 -0700
@@ -26,7 +26,7 @@
     value=pkg:/diagnostic/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Graphical network protocol analyzer"
 set name=com.oracle.info.description value="the Wireshark graphical network protocol analyzer"
-set name=com.oracle.info.tpno value=17414
+set name=com.oracle.info.tpno value=$(TPNO)
 set name=info.classification \
     value=org.opensolaris.category.2008:Applications/Internet
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)