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