summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-02-07 07:29:40 +0530
committerJoe MacDonald <joe_macdonald@mentor.com>2018-04-06 08:12:19 -0400
commit95370f4af5f318d73eab0655664ea452f5f9cb31 (patch)
tree7d548a8b3e4113fdbf8ba023ccf96efbcc2f912b /meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb
parentcc58fcb4c1cf7194aaba503493b18d2a171d9ef2 (diff)
downloadmeta-openembedded-95370f4af5f318d73eab0655664ea452f5f9cb31.tar.gz
wireshark: update to new 2.4.5 series
[v2] Fix epan/.libs/libwireshark.so: error: undefined reference to 'gpg_strerror' and update to 2.4.5. includes: wnpa-sec-2018-05 The IEEE 802.11 dissector could crash. Bug 14442, CVE-2018-7335 wnpa-sec-2018-06 Multiple dissectors could go into large infinite loops. All ASN.1 BER dissectors (Bug 14444), along with the DICOM (Bug 14411), DMP (Bug 14408), LLTD (Bug 14419), OpenFlow (Bug 14420), RELOAD (Bug 14445), RPCoRDMA (Bug 14449), RPKI-Router (Bug 14414), S7COMM (Bug 14423), SCCP (Bug 14413), Thread (Bug 14428), Thrift (Bug 14379), USB (Bug 14421), and WCCP (Bug 14412) dissectors were susceptible. wnpa-sec-2018-07 The UMTS MAC dissector could crash. Bug 14339, CVE-2018-7334 wnpa-sec-2018-08 The DOCSIS dissector could crash. Bug 14446, CVE-2018-7337 wnpa-sec-2018-09 The FCP dissector could crash. Bug 14374, CVE-2018-7336 wnpa-sec-2018-10 The SIGCOMP dissector could crash. Bug 14398, CVE-2018-7320 wnpa-sec-2018-11 The pcapng file parser could crash. Bug 14403, CVE-2018-7420 wnpa-sec-2018-12 The IPMI dissector could crash. Bug 14409, CVE-2018-7417 wnpa-sec-2018-13 The SIGCOMP dissector could crash. Bug 14410, CVE-2018-7418 wnpa-sec-2018-14 The NBAP disssector could crash. Bug 14443, CVE-2018-7419 Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb')
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb71
1 files changed, 71 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb b/meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb
new file mode 100644
index 0000000000..e330b99d7f
--- /dev/null
+++ b/meta-networking/recipes-support/wireshark/wireshark_2.4.5.bb
@@ -0,0 +1,71 @@
1DESCRIPTION = "wireshark - a popular network protocol analyzer"
2HOMEPAGE = "http://www.wireshark.org"
3SECTION = "net"
4LICENSE = "GPL-2.0"
5LIC_FILES_CHKSUM = "file://COPYING;md5=6e271234ba1a13c6e512e76b94ac2f77"
6
7DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error"
8
9SRC_URI = "https://1.as.dl.wireshark.org/src/${BP}.tar.xz"
10SRC_URI += "file://libgcrypt.patch"
11
12SRC_URI[md5sum] = "2b6f1f37c72fa15a0a1863016a0abcc0"
13SRC_URI[sha256sum] = "b3b2ec29fba0f4a3a590438abe4054e56f19108d440fc2d61492db9d8ff16fd7"
14
15PE = "1"
16
17inherit autotools pkgconfig perlnative
18
19ARM_INSTRUCTION_SET = "arm"
20
21PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
22PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk2 graphics", "", d)}"
23
24PACKAGECONFIG[libcap] = "--with-libcap=${STAGING_DIR_HOST}/usr, --with-libcap=no --enable-pcap-ng-default , libcap"
25PACKAGECONFIG[libpcap] = "--with-pcap=${STAGING_DIR_HOST}/usr --with-pcap-remote, --with-pcap=no --enable-pcap-ng-default , libpcap"
26PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi"
27PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl"
28PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19"
29PACKAGECONFIG[gtk2] = "--with-gtk=2, , gtk+"
30PACKAGECONFIG[gtk3] = "--with-gtk=3, , gtk+3"
31PACKAGECONFIG[graphics] = "--enable-wireshark, --with-gtk=no --disable-wireshark,"
32PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls"
33PACKAGECONFIG[ssl] = "--with-ssl=yes, --with-ssl=no, openssl"
34PACKAGECONFIG[krb5] = "--with-krb5=yes, --with-krb5=no, krb5"
35PACKAGECONFIG[lua] = "--with-lua=yes, --with-lua=no, lua"
36PACKAGECONFIG[zlib] = "--with-zlib=yes, --with-zlib=no, zlib"
37PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip"
38PACKAGECONFIG[plugins] = "--with-plugins=yes, --with-plugins=no"
39PACKAGECONFIG[sbc] = "--with-sbc=yes, --with-sbc=no, sbc"
40PACKAGECONFIG[libssh] = "--with-libssh=${STAGING_DIR_HOST}/usr, --with-libssh=no, libssh2"
41PACKAGECONFIG[lz4] = "--with-lz4=${STAGING_DIR_HOST}/usr, --with-lz4=no, lz4"
42
43# these next two options require addional layers
44PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares"
45
46EXTRA_OECONF += "--with-libgcrypt-prefix=${PKG_CONFIG_DIR} --with-qt=no --enable-tshark --enable-rawshark"
47
48LDFLAGS_append = " -lgpg-error"
49
50# Currently wireshark does not install header files
51do_install_append () {
52
53 install -d ${D}/${includedir}/${BPN}
54 install -d ${D}/${includedir}/${BPN}/epan
55 install -d ${D}/${includedir}/${BPN}/epan/crypt
56 install -d ${D}/${includedir}/${BPN}/epan/dfilter
57 install -d ${D}/${includedir}/${BPN}/epan/dissectors
58 install -d ${D}/${includedir}/${BPN}/epan/ftypes
59 install -d ${D}/${includedir}/${BPN}/epan/wmem
60
61 install config.h ${D}/${includedir}/${BPN}
62 install ${S}/register.h ${D}/${includedir}/${BPN}
63 install -D ${S}/epan/*.h ${D}/${includedir}/${BPN}/epan
64 install -D ${S}/epan/crypt/*.h ${D}/${includedir}/${BPN}/epan/crypt
65 install -D ${S}/epan/dfilter/*.h ${D}/${includedir}/${BPN}/epan/dfilter
66 install -D ${S}/epan/dissectors/*.h ${D}/${includedir}/${BPN}/epan/dissectors
67 install -D ${S}/epan/ftypes/*.h ${D}/${includedir}/${BPN}/epan/ftypes
68 install -D ${S}/epan/wmem/*.h ${D}/${includedir}/${BPN}/epan/wmem
69}
70
71FILES_${PN} += "${datadir}*"