summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/wireshark
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-07-29 09:41:05 -0700
committerKhem Raj <raj.khem@gmail.com>2018-08-02 02:12:15 -0700
commit371796ac31e405fb34e909ad4e3b236e9565c31e (patch)
tree1b5be1bc35e7330f92141190efb4eacf394cc032 /meta-networking/recipes-support/wireshark
parenta001e465293b36c03d4ca4500857fe0a67d13e20 (diff)
downloadmeta-openembedded-371796ac31e405fb34e909ad4e3b236e9565c31e.tar.gz
wireshark: update to 2.6.2
[v3] Get wireshark-gtk building again split tshark, wireshark-gtk into their own pkgs [v2] Fix native build, lemon is the only one needed natively [v1] includes security fixes: wnpa-sec-2018-34 BGP dissector large loop. Bug 13741. CVE-2018-14342. wnpa-sec-2018-35 ISMP dissector crash. Bug 14672. CVE-2018-14344. wnpa-sec-2018-36 Multiple dissectors could crash. Bug 14675. CVE-2018-14340. wnpa-sec-2018-37 ASN.1 BER dissector crash. Bug 14682. CVE-2018-14343. wnpa-sec-2018-38 MMSE dissector infinite loop. Bug 14738. CVE-2018-14339. wnpa-sec-2018-39 DICOM dissector crash. Bug 14742. CVE-2018-14341. wnpa-sec-2018-40 Bazaar dissector infinite loop. Bug 14841. CVE-2018-14368. wnpa-sec-2018-41 HTTP2 dissector crash. Bug 14869. CVE-2018-14369. wnpa-sec-2018-42 CoAP dissector crash. Bug 14966. CVE-2018-14367. Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/wireshark')
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb (renamed from meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb)34
1 files changed, 24 insertions, 10 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
index 91c5e96bb..1735ae7fe 100644
--- a/meta-networking/recipes-support/wireshark/wireshark_2.6.1.bb
+++ b/meta-networking/recipes-support/wireshark/wireshark_2.6.2.bb
@@ -14,8 +14,8 @@ SRC_URI = "https://1.as.dl.wireshark.org/src/${BP}.tar.xz \
14 14
15UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" 15UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src"
16 16
17SRC_URI[md5sum] = "b0e9e5fe22e96d9fdfad18f750fa8f55" 17SRC_URI[md5sum] = "086d235509717190d06554b2ab870209"
18SRC_URI[sha256sum] = "ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88" 18SRC_URI[sha256sum] = "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094"
19 19
20PE = "1" 20PE = "1"
21 21
@@ -23,8 +23,11 @@ inherit cmake pkgconfig pythonnative perlnative upstream-version-is-even
23 23
24ARM_INSTRUCTION_SET = "arm" 24ARM_INSTRUCTION_SET = "arm"
25 25
26# Options: gtk+, gtk+3 and qt5
27GTK = "gtk+3"
28
26PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" 29PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
27PACKAGECONFIG_append_class-target = " ${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk3 graphics ", "", d)}" 30PACKAGECONFIG_append_class-target = " ${@bb.utils.contains("DISTRO_FEATURES", "x11", " ${GTK}", "", d)}"
28 31
29PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh" 32PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh"
30 33
@@ -33,10 +36,8 @@ PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DE
33PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi" 36PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi"
34PACKAGECONFIG[libnl] = ",,libnl" 37PACKAGECONFIG[libnl] = ",,libnl"
35PACKAGECONFIG[portaudio] = "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19" 38PACKAGECONFIG[portaudio] = "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19"
36PACKAGECONFIG[gtk2] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF, gtk+" 39PACKAGECONFIG[gtk+] = "-DENABLE_GTK=ON -DBUILD_wireshark_gtk=ON, -DENABLE_GTK=OFF, gtk+"
37PACKAGECONFIG[gtk3] = "-DENABLE_GTK3=ON,-DENABLE_GTK3=OFF, gtk+3" 40PACKAGECONFIG[gtk+3] = "-DENABLE_GTK3=ON -DBUILD_wireshark_gtk=ON, -DENABLE_GTK3=OFF, gtk+3"
38PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase"
39PACKAGECONFIG[graphics] = ",-DENABLE_GTK=OFF,"
40PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls" 41PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls"
41PACKAGECONFIG[ssl] = ",,openssl" 42PACKAGECONFIG[ssl] = ",,openssl"
42PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5" 43PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5"
@@ -50,9 +51,9 @@ PACKAGECONFIG[lz4] = "-DENABLE_LZ4=ON,-DENABLE_LZ4=OFF, lz4"
50 51
51# these next two options require addional layers 52# these next two options require addional layers
52PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF, c-ares" 53PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF, c-ares"
54PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON -DBUILD_wireshark=ON, -DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase"
53 55
54EXTRA_OECMAKE += "-DBUILD_wireshark=ON \ 56EXTRA_OECMAKE += "-DENABLE_NETLINK=ON \
55 -DENABLE_NETLINK=ON \
56 -DBUILD_mmdbresolve=OFF \ 57 -DBUILD_mmdbresolve=OFF \
57 -DBUILD_randpktdump=OFF \ 58 -DBUILD_randpktdump=OFF \
58 -DBUILD_androiddump=OFF \ 59 -DBUILD_androiddump=OFF \
@@ -60,9 +61,11 @@ EXTRA_OECMAKE += "-DBUILD_wireshark=ON \
60 -DM_INCLUDE_DIR=${includedir} \ 61 -DM_INCLUDE_DIR=${includedir} \
61 -DM_LIBRARY=${libdir} \ 62 -DM_LIBRARY=${libdir} \
62 " 63 "
64CFLAGS_append = " -lm"
65
63do_install_append_class-native() { 66do_install_append_class-native() {
64 install -d ${D}${bindir} 67 install -d ${D}${bindir}
65 for f in make-dissectors lemon make-taps 68 for f in lemon
66 do 69 do
67 install -m 0755 ${B}/run/$f ${D}${bindir} 70 install -m 0755 ${B}/run/$f ${D}${bindir}
68 done 71 done
@@ -75,6 +78,17 @@ do_install_append_class-target() {
75 done 78 done
76} 79}
77 80
81PACKAGE_BEFORE_PN += "tshark"
82PACKAGE_BEFORE_PN += "${PN}-gtk"
83
84FILES_tshark = "${bindir}/tshark ${mandir}/man1/tshark.*"
85FILES_${PN}-gtk = "${bindir}/wireshark-gtk ${datadir}/icons ${datadir}/appdata \
86 ${datadir}/applications ${datadir}/wireshark ${datadir}/mime \
87 ${mandir}/man1/wireshark.* "
88
78FILES_${PN} += "${datadir}*" 89FILES_${PN} += "${datadir}*"
79 90
91RDEPENDS_tshark = "wireshark"
92RDEPENDS_${PN}-gtk = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "${GTK}", "", d)} wireshark"
93
80BBCLASSEXTEND = "native" 94BBCLASSEXTEND = "native"