diff options
Diffstat (limited to 'meta-networking/recipes-support/wireshark/wireshark_1.12.13.bb')
-rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_1.12.13.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_1.12.13.bb b/meta-networking/recipes-support/wireshark/wireshark_1.12.13.bb new file mode 100644 index 000000000..708899b2e --- /dev/null +++ b/meta-networking/recipes-support/wireshark/wireshark_1.12.13.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | DESCRIPTION = "wireshark - a popular network protocol analyzer" | ||
2 | HOMEPAGE = "http://www.wireshark.org" | ||
3 | SECTION = "net" | ||
4 | LICENSE = "GPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" | ||
6 | |||
7 | DEPENDS = "perl-native pcre expat glib-2.0 sbc" | ||
8 | |||
9 | SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2" | ||
10 | |||
11 | PE = "1" | ||
12 | |||
13 | SRC_URI[md5sum] = "15af85adc8ba83e6e996e13a55df4fb0" | ||
14 | SRC_URI[sha256sum] = "7836cdaabd056ab4c9dd19cf0c791f11d980d0f6037542476034f2b7bdcf5d5b" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | ARM_INSTRUCTION_SET = "arm" | ||
19 | |||
20 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap" | ||
21 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk2 graphics", "", d)}" | ||
22 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "gtk3 graphics", "", d)}" | ||
23 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" | ||
24 | |||
25 | PACKAGECONFIG[libcap] = "--with-libcap=${STAGING_LIBDIR}, --with-libcap=no --enable-pcap-ng-default , libcap" | ||
26 | PACKAGECONFIG[libpcap] = "--with-pcap=${STAGING_LIBDIR} --with-pcap-remote, --with-pcap=no --enable-pcap-ng-default , libpcap" | ||
27 | PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi" | ||
28 | PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl" | ||
29 | PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19" | ||
30 | PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" | ||
31 | PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" | ||
32 | PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," | ||
33 | PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," | ||
34 | PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" | ||
35 | PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" | ||
36 | PACKAGECONFIG[ssl] = "--with-ssl=yes, --with-ssl=no, openssl" | ||
37 | PACKAGECONFIG[krb5] = "--with-krb5=yes, --with-krb5=no, krb5" | ||
38 | PACKAGECONFIG[lua] = "--with-lua=yes, --with-lua=no, lua" | ||
39 | PACKAGECONFIG[zlib] = "--with-zlib=yes, --with-zlib=no, zlib" | ||
40 | PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip" | ||
41 | PACKAGECONFIG[plugins] = "--with-plugins=yes, --with-plugins=no" | ||
42 | |||
43 | # these next two options require addional layers | ||
44 | PACKAGECONFIG[adns] = "--with-adns=yes, --with-adns=no, adns" | ||
45 | PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares" | ||
46 | |||
47 | EXTRA_OECONF += "--with-qt=no --enable-usr-local=no --enable-tshark --enable-rawshark" | ||
48 | |||
49 | do_configure_prepend() { | ||
50 | # force to use fallback | ||
51 | sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags | ||
52 | } | ||
53 | |||
54 | ALLOW_EMPTY_${PN} = "1" | ||
55 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||