diff options
Diffstat (limited to 'meta-networking/recipes-support/wireshark')
| -rw-r--r-- | meta-networking/recipes-support/wireshark/README | 4 | ||||
| -rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_3.4.7.bb | 16 |
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 | ||
| 16 | via local.conf | 16 | via local.conf |
| 17 | IMAGE_INSTALL_append = " wireshark" | 17 | IMAGE_INSTALL:append = " wireshark" |
| 18 | 18 | ||
| 19 | Adding the wireshark to your graphical build | 19 | Adding the wireshark to your graphical build |
| 20 | ======================================== | 20 | ======================================== |
| 21 | via local.conf | 21 | via local.conf |
| 22 | IMAGE_INSTALL_append = " wireshark" | 22 | IMAGE_INSTALL:append = " wireshark" |
| 23 | 23 | ||
| 24 | and one of: | 24 | and 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 | ||
| 7 | DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bison-native c-ares" | 7 | DEPENDS = "pcre expat glib-2.0 glib-2.0-native libgcrypt libgpg-error libxml2 bison-native c-ares" |
| 8 | 8 | ||
| 9 | DEPENDS_append_class-target = " wireshark-native chrpath-replacement-native " | 9 | DEPENDS:append:class-target = " wireshark-native chrpath-replacement-native " |
| 10 | 10 | ||
| 11 | SRC_URI = "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-${PV}.tar.xz" | 11 | SRC_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 | ||
| 28 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" | 28 | PACKAGECONFIG ?= "libpcap gnutls libnl libcap sbc" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG_class-native = "libpcap gnutls ssl libssh" | 30 | PACKAGECONFIG:class-native = "libpcap gnutls ssl libssh" |
| 31 | 31 | ||
| 32 | PACKAGECONFIG[libcap] = "-DENABLE_CAP=ON,-DENABLE_CAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON, libcap" | 32 | PACKAGECONFIG[libcap] = "-DENABLE_CAP=ON,-DENABLE_CAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON, libcap" |
| 33 | PACKAGECONFIG[libpcap] = "-DENABLE_PCAP=ON,-DENABLE_PCAP=OFF -DENABLE_PCAP_NG_DEFAULT=ON , libpcap" | 33 | PACKAGECONFIG[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 | " |
| 63 | CFLAGS_append = " -lm" | 63 | CFLAGS:append = " -lm" |
| 64 | 64 | ||
| 65 | do_install_append_class-native() { | 65 | do_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 | ||
| 73 | do_install_append_class-target() { | 73 | do_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 | ||
| 80 | PACKAGE_BEFORE_PN += "tshark" | 80 | PACKAGE_BEFORE_PN += "tshark" |
| 81 | 81 | ||
| 82 | FILES_tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" | 82 | FILES:tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" |
| 83 | 83 | ||
| 84 | FILES_${PN} += "${datadir}*" | 84 | FILES:${PN} += "${datadir}*" |
| 85 | 85 | ||
| 86 | RDEPENDS_tshark = "wireshark" | 86 | RDEPENDS:tshark = "wireshark" |
| 87 | 87 | ||
| 88 | BBCLASSEXTEND = "native" | 88 | BBCLASSEXTEND = "native" |
