wireshark: Break dumpcap into its own package
PATCH 1/1 wireshark: Break dumpcap into its own package
dumpcap is a lightweight capture tool which carries no dependencies on wireshark. Break it into its own package, with an RDEPENDS back to wireshark.
Signed-off-by Alex Kiernan <[email protected]>
--- .../recipes-support/wireshark/wireshark_4.6.9.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
meta-networking/recipes-support/wireshark/wireshark_4.6.9.bb +5 -3
@@ -106,12 +106,14 @@ do_install:append:class-target() { rm -fr ${D}${usrlib}/${BPN}/cmake } -PACKAGE_BEFORE_PN += "tshark" +PACKAGE_BEFORE_PN += "dumpcap tshark" + +FILES:dumpcap = "${bindir}/dumpcap ${mandir}/man1/dumpcap.*" FILES:tshark = "${bindir}/tshark ${mandir}/man1/tshark.*" +RDEPENDS:tshark = "wireshark" FILES:${PN} += "${datadir}*" - -RDEPENDS:tshark = "wireshark" +RDEPENDS:${PN} += "dumpcap" BBCLASSEXTEND = "native"