Skip to contentSkip to conversation

libvirt: add 'wireshark' packageconfig

PATCH In review Mark Asselstine 2 participants 2 messages Nov 16, 2016 – Nov 17, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: add 'wireshark' packageconfig

libvirt by default has '--with-wireshark-dissector' set to 'check'. Therefor if wireshark is built before vs after libvirt this will result in a potentially unexpected difference in how libvirt is configured. Additionally the build of libvirt with wireshark capabilities enabled is currently broken and thus if attempted will result in the error:

fatal error: ws_symbol_export.h: No such file or directory

To prevent the random configuration of libvirt with respect to wireshark we add a new packageconfig for wireshark.

NOTE that the wireshark recipe is currently incomplete so this new packageconfig will result in a build failure if used, until wireshark is updated to build libwsutil.

---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/libvirt/libvirt_1.3.5.bb +1 -0
index fad5632..c848c99 100644
@@ -208,6 +208,7 @@ PACKAGECONFIG[numactl] = "--with-numactl,--without-numactl,numactl,"
 PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse,"
 PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit,"
 PACKAGECONFIG[libcap-ng] = "--with-capng,--without-capng,libcap-ng,"
+PACKAGECONFIG[wireshark] = "--with-wireshark-dissector,--without-wireshark-dissector,wireshark libwsutil,"
 
 # Enable the Python tool support
 require libvirt-python.inc
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 40 lines · Mark Asselstine

libvirt by default has '--with-wireshark-dissector' set to 'check'. Therefor if wireshark is built before vs after libvirt this will result in a potentially unexpected difference in how libvirt is configured. Additionally the build of libvirt with wireshark capabilities enabled is currently broken and thus if attempted will result in the error:

fatal error: ws_symbol_export.h: No such file or directory

To prevent the random configuration of libvirt with respect to wireshark we add a new packageconfig for wireshark.

NOTE that the wireshark recipe is currently incomplete so this new packageconfig will result in a build failure if used, until wireshark is updated to build libwsutil.

---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/libvirt/libvirt_1.3.5.bb +0 -0
index fad5632..c848c99 100644
@@ -208,6 +208,7 @@ PACKAGECONFIG[numactl] = "--with-numactl,--without-

numactl,numactl,"
PACKAGECONFIG[fuse] = "--with-fuse,--without-fuse,fuse," PACKAGECONFIG[audit] = "--with-audit,--without-audit,audit," PACKAGECONFIG[libcap-ng] = "--with-capng,--without-capng,libcap-ng,"
+PACKAGECONFIG[wireshark] = "--with-wireshark-dissector,-- without-wireshark-dissector,wireshark libwsutil,"

# Enable the Python tool support
require libvirt-python.inc
--
2.7.4

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"