summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/wireshark
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/wireshark')
-rw-r--r--meta-networking/recipes-support/wireshark/README4
-rw-r--r--meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb16
2 files changed, 10 insertions, 10 deletions
diff --git a/meta-networking/recipes-support/wireshark/README b/meta-networking/recipes-support/wireshark/README
index 63b5b72631..f5e4d04777 100644
--- a/meta-networking/recipes-support/wireshark/README
+++ b/meta-networking/recipes-support/wireshark/README
@@ -14,12 +14,12 @@ Adding the wireshark to your build
14======================================== 14========================================
15 15
16via local.conf 16via local.conf
17IMAGE_INSTALL_append = " wireshark" 17IMAGE_INSTALL:append = " wireshark"
18 18
19Adding the wireshark to your graphical build 19Adding the wireshark to your graphical build
20======================================== 20========================================
21via local.conf 21via local.conf
22IMAGE_INSTALL_append = " wireshark" 22IMAGE_INSTALL:append = " wireshark"
23 23
24and one of: 24and one of:
25 25
diff --git a/meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb b/meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb
index 7bc5a8150c..fc360f6691 100644
--- a/meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb
+++ b/meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6e271234ba1a13c6e512e76b94ac2f77"
6 6
7DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bison-native c-ares" 7DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bison-native c-ares"
8 8
9DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native " 9DEPENDS:append:class-target = " wireshark-native chrpath-replacement-native "
10 10
11SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz" 11SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz"
12 12
@@ -27,7 +27,7 @@ inherit cmake pkgconfig python3native perlnative upstream-version-is-even mime m
27 27
28PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" 28PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc"
29 29
30PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh" 30PACKAGECONFIG:class-native = "libpcap gnutls ssl libssh"
31 31
32PACKAGECONFIG[libcap] = "-DENABLE_CAP=ON,-DENABLE_CAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON, libcap" 32PACKAGECONFIG[libcap] = "-DENABLE_CAP=ON,-DENABLE_CAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON, libcap"
33PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON , libpcap" 33PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON , libpcap"
@@ -60,9 +60,9 @@ EXTRA_OECMAKE += "-DENABLE_NETLINK=ON \
60 -DM_INCLUDE_DIR=${includedir} \ 60 -DM_INCLUDE_DIR=${includedir} \
61 -DM_LIBRARY=${libdir} \ 61 -DM_LIBRARY=${libdir} \
62 " 62 "
63CFLAGS_append = " -lm" 63CFLAGS:append = " -lm"
64 64
65do_install_append_class-native() { 65do_install:append:class-native() {
66 install -d ${D}${bindir} 66 install -d ${D}${bindir}
67 for f in lemon 67 for f in lemon
68 do 68 do
@@ -70,7 +70,7 @@ do_install_append_class-native() {
70 done 70 done
71} 71}
72 72
73do_install_append_class-target() { 73do_install:append:class-target() {
74 for f in `find ${D}${libdir} ${D}${bindir} -type f -executable` 74 for f in `find ${D}${libdir} ${D}${bindir} -type f -executable`
75 do 75 do
76 chrpath --delete $f 76 chrpath --delete $f
@@ -79,10 +79,10 @@ do_install_append_class-target() {
79 79
80PACKAGE_BEFORE_PN += "tshark" 80PACKAGE_BEFORE_PN += "tshark"
81 81
82FILES_tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" 82FILES:tshark = "${bindir}/tshark ${mandir}/man1/tshark.*"
83 83
84FILES_${PN} += "${datadir}*" 84FILES:${PN} += "${datadir}*"
85 85
86RDEPENDS_tshark = "wireshark" 86RDEPENDS:tshark = "wireshark"
87 87
88BBCLASSEXTEND = "native" 88BBCLASSEXTEND = "native"