diff options
Diffstat (limited to 'meta-networking/recipes-support/wireshark/wireshark_2.0.4.bb')
-rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_2.0.4.bb | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.0.4.bb b/meta-networking/recipes-support/wireshark/wireshark_2.0.4.bb new file mode 100644 index 000000000..8aec230ed --- /dev/null +++ b/meta-networking/recipes-support/wireshark/wireshark_2.0.4.bb | |||
@@ -0,0 +1,60 @@ | |||
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 | SRC_URI[md5sum] = "622928dc6cb31c227c672ec3ec697f28" | ||
12 | SRC_URI[sha256sum] = "9ea9c82da9942194ebc8fc5c951a02e6d179afa7472cb6d96ca76154510de1a5" | ||
13 | |||
14 | PE = "1" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | ARM_INSTRUCTION_SET = "arm" | ||
19 | |||
20 | # Works with either gtk+ or gtk3. | ||
21 | WHICH_GTK = "gtk+" | ||
22 | |||
23 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap" | ||
24 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "gtk2 graphics", "", d)}" | ||
25 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" | ||
26 | #PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "opengl", "gtk3", "", d)}" | ||
27 | |||
28 | PACKAGECONFIG[libcap] = "--with-libcap=${STAGING_LIBDIR}, --with-libcap=no --enable-pcap-ng-default , libcap" | ||
29 | PACKAGECONFIG[libpcap] = "--with-pcap=${STAGING_LIBDIR} --with-pcap-remote, --with-pcap=no --enable-pcap-ng-default , libpcap" | ||
30 | PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi" | ||
31 | PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl" | ||
32 | PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19" | ||
33 | PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" | ||
34 | PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" | ||
35 | PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," | ||
36 | PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," | ||
37 | PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" | ||
38 | PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" | ||
39 | PACKAGECONFIG[ssl] = "--with-ssl=yes, --with-ssl=no, openssl" | ||
40 | PACKAGECONFIG[krb5] = "--with-krb5=yes, --with-krb5=no, krb5" | ||
41 | PACKAGECONFIG[lua] = "--with-lua=yes, --with-lua=no, lua" | ||
42 | PACKAGECONFIG[zlib] = "--with-zlib=yes, --with-zlib=no, zlib" | ||
43 | PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip" | ||
44 | PACKAGECONFIG[plugins] = "--with-plugins=yes, --with-plugins=no" | ||
45 | |||
46 | # these next two options require addional layers | ||
47 | PACKAGECONFIG[adns] = "--with-adns=yes, --with-adns=no, adns" | ||
48 | PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares" | ||
49 | |||
50 | EXTRA_OECONF += "--with-qt=no --enable-usr-local=no --enable-tshark --enable-rawshark" | ||
51 | |||
52 | do_configure_prepend() { | ||
53 | # force to use fallback | ||
54 | sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags | ||
55 | } | ||
56 | |||
57 | ALLOW_EMPTY_${PN} = "1" | ||
58 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
59 | |||
60 | FILES_${PN} += "${datadir}*" | ||