diff options
author | Armin Kuster <akuster808@gmail.com> | 2018-07-29 09:41:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 02:12:15 -0700 |
commit | 371796ac31e405fb34e909ad4e3b236e9565c31e (patch) | |
tree | 1b5be1bc35e7330f92141190efb4eacf394cc032 /meta-networking/recipes-support/wireshark | |
parent | a001e465293b36c03d4ca4500857fe0a67d13e20 (diff) | |
download | meta-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 | ||
15 | UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" | 15 | UPSTREAM_CHECK_URI = "https://1.as.dl.wireshark.org/src" |
16 | 16 | ||
17 | SRC_URI[md5sum] = "b0e9e5fe22e96d9fdfad18f750fa8f55" | 17 | SRC_URI[md5sum] = "086d235509717190d06554b2ab870209" |
18 | SRC_URI[sha256sum] = "ab6e5bbc3464c956347b8671ce8397950ad5daff3bf9964c967d495f4ddbcd88" | 18 | SRC_URI[sha256sum] = "49b2895ee3ba17ef9ef0aebfdc4d32a778e0f36ccadde184516557d5f3357094" |
19 | 19 | ||
20 | PE = "1" | 20 | PE = "1" |
21 | 21 | ||
@@ -23,8 +23,11 @@ inherit cmake pkgconfig pythonnative perlnative upstream-version-is-even | |||
23 | 23 | ||
24 | ARM_INSTRUCTION_SET = "arm" | 24 | ARM_INSTRUCTION_SET = "arm" |
25 | 25 | ||
26 | # Options: gtk+, gtk+3 and qt5 | ||
27 | GTK = "gtk+3" | ||
28 | |||
26 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" | 29 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" |
27 | PACKAGECONFIG_append_class-target = " ${@bb.utils.contains("DISTRO_FEATURES", "x11", " gtk3 graphics ", "", d)}" | 30 | PACKAGECONFIG_append_class-target = " ${@bb.utils.contains("DISTRO_FEATURES", "x11", " ${GTK}", "", d)}" |
28 | 31 | ||
29 | PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh" | 32 | PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh" |
30 | 33 | ||
@@ -33,10 +36,8 @@ PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DE | |||
33 | PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi" | 36 | PACKAGECONFIG[libsmi] = "-DENABLE_SMI=ON,-DENABLE_SMI=OFF,libsmi" |
34 | PACKAGECONFIG[libnl] = ",,libnl" | 37 | PACKAGECONFIG[libnl] = ",,libnl" |
35 | PACKAGECONFIG[portaudio] = "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19" | 38 | PACKAGECONFIG[portaudio] = "-DENABLE_PORTAUDIO=ON,-DENABLE_PORTAUDIO=OFF, portaudio-v19" |
36 | PACKAGECONFIG[gtk2] = "-DENABLE_GTK=ON,-DENABLE_GTK=OFF, gtk+" | 39 | PACKAGECONFIG[gtk+] = "-DENABLE_GTK=ON -DBUILD_wireshark_gtk=ON, -DENABLE_GTK=OFF, gtk+" |
37 | PACKAGECONFIG[gtk3] = "-DENABLE_GTK3=ON,-DENABLE_GTK3=OFF, gtk+3" | 40 | PACKAGECONFIG[gtk+3] = "-DENABLE_GTK3=ON -DBUILD_wireshark_gtk=ON, -DENABLE_GTK3=OFF, gtk+3" |
38 | PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON,-DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase" | ||
39 | PACKAGECONFIG[graphics] = ",-DENABLE_GTK=OFF," | ||
40 | PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls" | 41 | PACKAGECONFIG[gnutls] = "-DENABLE_GNUTLS=ON,-DENABLE_GNUTLS=OFF, gnutls" |
41 | PACKAGECONFIG[ssl] = ",,openssl" | 42 | PACKAGECONFIG[ssl] = ",,openssl" |
42 | PACKAGECONFIG[krb5] = "-DENABLE_KRB5=ON,-DENABLE_KRB5=OFF, krb5" | 43 | PACKAGECONFIG[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 |
52 | PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF, c-ares" | 53 | PACKAGECONFIG[c-ares] = "-DENABLE_CARES=ON,-DENABLE_CARES=OFF, c-ares" |
54 | PACKAGECONFIG[qt5] = "-DENABLE_QT5=ON -DBUILD_wireshark=ON, -DENABLE_QT5=OFF -DBUILD_wireshark=OFF, qtbase" | ||
53 | 55 | ||
54 | EXTRA_OECMAKE += "-DBUILD_wireshark=ON \ | 56 | EXTRA_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 | " |
64 | CFLAGS_append = " -lm" | ||
65 | |||
63 | do_install_append_class-native() { | 66 | do_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 | ||
81 | PACKAGE_BEFORE_PN += "tshark" | ||
82 | PACKAGE_BEFORE_PN += "${PN}-gtk" | ||
83 | |||
84 | FILES_tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" | ||
85 | FILES_${PN}-gtk = "${bindir}/wireshark-gtk ${datadir}/icons ${datadir}/appdata \ | ||
86 | ${datadir}/applications ${datadir}/wireshark ${datadir}/mime \ | ||
87 | ${mandir}/man1/wireshark.* " | ||
88 | |||
78 | FILES_${PN} += "${datadir}*" | 89 | FILES_${PN} += "${datadir}*" |
79 | 90 | ||
91 | RDEPENDS_tshark = "wireshark" | ||
92 | RDEPENDS_${PN}-gtk = "${@bb.utils.contains("DISTRO_FEATURES", "x11", "${GTK}", "", d)} wireshark" | ||
93 | |||
80 | BBCLASSEXTEND = "native" | 94 | BBCLASSEXTEND = "native" |