v2] wireshark: Add recipe 1.12.0-rc2
PATCH 1/1 v2] wireshark: Add recipe 1.12.0-rc2
Inital wireshark support on gtk+
Added gtk3.
Cleaned up PACKAGECONFIG options
README with additional info
--- meta-networking/recipes-support/wireshark/README | 37 +++++++++++++++++++ .../wireshark/wireshark_1.12.0-rc2.bb | 42 ++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 meta-networking/recipes-support/wireshark/README create mode 100644 meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb
meta-networking/recipes-support/wireshark/README new file +37 -0
@@ -0,0 +1,37 @@ +# +Wireshark - Notes + +URL: http://www.wireshark.org/ +User Guide: http://www.wireshark.org/docs/wsug_html_chunked/ +Secruity advisories: http://www.wireshark.org/security/ + +Wireshark is slowly moving away from gtk and towards QT as their graphical stack. +Currently gtk is supported with this release and I plan on integrating QT. + + + +Adding the wireshark to your build +======================================== + +via local.conf +IMAGE_INSTALL_append = " wireshark" + +Adding the wireshark to your graphical build +======================================== +via local.conf +EXTRA_IMAGE_FEATURES += "x11-base" + +or use the "core-image-x11" + + +Maintenance +----------- + +Send patches, comments or questions to [email protected] + +When sending single patches, please using something like: +'git send-email -1 --to [email protected] --cc [email protected] --subject-prefix=meta-security][PATCH' + +Maintainer: Armin Kuster <[email protected]> + +
meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb new file +42 -0
42 lines not on this page · raw message
Signature · 1 line
1.9.1
Quoted 4 lines · Armin Kuster
Inital wireshark support on gtk+
Added gtk3.
Cleaned up PACKAGECONFIG options
README with additional info
RP submitted few fixes for this change, can you please check wireshark in master-next and send just follow-up patch or comment on fixes RP did?
Thanks
Quoted 108 lines
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-support/wireshark/README | 37 +++++++++++++++++++ .../wireshark/wireshark_1.12.0-rc2.bb | 42 ++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 meta-networking/recipes-support/wireshark/README create mode 100644 meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bbmeta-networking/recipes-support/wireshark/README new file +37
-0@@ -0,0 +1,37 @@ +# +Wireshark - Notes + +URL: http://www.wireshark.org/ +User Guide: http://www.wireshark.org/docs/wsug_html_chunked/ +Secruity advisories: http://www.wireshark.org/security/ + +Wireshark is slowly moving away from gtk and towards QT as their graphical stack. +Currently gtk is supported with this release and I plan on integrating QT. + + + +Adding the wireshark to your build +======================================== + +via local.conf +IMAGE_INSTALL_append = " wireshark" + +Adding the wireshark to your graphical build +======================================== +via local.conf +EXTRA_IMAGE_FEATURES += "x11-base" + +or use the "core-image-x11" + + +Maintenance +----------- + +Send patches, comments or questions to [email protected] + +When sending single patches, please using something like: +'git send-email -1 --to [email protected] --cc [email protected] --subject-prefix=meta-security][PATCH' + +Maintainer: Armin Kuster <[email protected]> + +meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb new file +42
-0@@ -0,0 +1,42 @@ +DESCRIPTION = "wireshark - a popular network protocol analyzer" +HOMEPAGE = "http://www.wireshark.org" +SECTION = "network" +LICENSE = "GPL-2.0" + +DEPENDS = "perl-native libpcap pcre expat glib-2.0 libsmi" + +inherit autotools + +ARM_INSTRUCTION_SET = "arm" + +# Works with either gtk+ or gtk3. +WHICH_GTK = "gtk3" + +PACKAGECONFIG ??= "gnutls gcrypt" +PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "${WHICH_GTK} graphics", "", d)}" + +PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" + +PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" +PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" +PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," +PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," +PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" +PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" + +EXTRA_OECONF = "--with-qt=no --enable-usr-local=no -enable-tshark" + +LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" +SRC_URI = "http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.12.0-rc2.tar.bz2 " + +SRC_URI[md5sum] = "dc1149073066a29f91116c168558262e" +SRC_URI[sha256sum]= "31009bb450126e9b12808267419f31016d14e6fde7b5e39c85ad37459908cffb" + +do_configure_prepend() { + # force to use fallback + sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags +} + +ALLOW_EMPTY_${PN} = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 8 lines · Martin Jansa
Quoted 4 lines · Armin Kuster
Inital wireshark support on gtk+
Added gtk3.
Cleaned up PACKAGECONFIG options
README with additional infoRP submitted few fixes for this change, can you please check wireshark in master-next and send just follow-up patch or comment on fixes RP did?
Also world builds are failing with:
| /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c: In function 'expert_add_info': | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:392:2: error: incompatible type for argument 8 of 'expert_set_info_vformat' | expert_set_info_vformat(pinfo, pi, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, NULL); | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:299:1: note: expected 'va_list' but argument is of type 'void *' | expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int severity, int hf_index, gboolean use_vaformat, | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c: In function 'proto_tree_add_expert': | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:420:2: error: incompatible type for argument 8 of 'expert_set_info_vformat' | expert_set_info_vformat(pinfo, ti, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, NULL); | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:299:1: note: expected 'va_list' but argument is of type 'void *' | expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int severity, int hf_index, gboolean use_vaformat, | ^ | make[3]: *** [libwireshark_la-expert.lo] Error 1
was it fixed in v2?
Quoted 110 lines
Quoted 107 lines
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-support/wireshark/README | 37 +++++++++++++++++++ .../wireshark/wireshark_1.12.0-rc2.bb | 42 ++++++++++++++++++++++ 2 files changed, 79 insertions(+) create mode 100644 meta-networking/recipes-support/wireshark/README create mode 100644 meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bbmeta-networking/recipes-support/wireshark/README new file +37
-0@@ -0,0 +1,37 @@ +# +Wireshark - Notes + +URL: http://www.wireshark.org/ +User Guide: http://www.wireshark.org/docs/wsug_html_chunked/ +Secruity advisories: http://www.wireshark.org/security/ + +Wireshark is slowly moving away from gtk and towards QT as their graphical stack. +Currently gtk is supported with this release and I plan on integrating QT. + + + +Adding the wireshark to your build +======================================== + +via local.conf +IMAGE_INSTALL_append = " wireshark" + +Adding the wireshark to your graphical build +======================================== +via local.conf +EXTRA_IMAGE_FEATURES += "x11-base" + +or use the "core-image-x11" + + +Maintenance +----------- + +Send patches, comments or questions to [email protected] + +When sending single patches, please using something like: +'git send-email -1 --to [email protected] --cc [email protected] --subject-prefix=meta-security][PATCH' + +Maintainer: Armin Kuster <[email protected]> + +meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb new file +42
-0@@ -0,0 +1,42 @@ +DESCRIPTION = "wireshark - a popular network protocol analyzer" +HOMEPAGE = "http://www.wireshark.org" +SECTION = "network" +LICENSE = "GPL-2.0" + +DEPENDS = "perl-native libpcap pcre expat glib-2.0 libsmi" + +inherit autotools + +ARM_INSTRUCTION_SET = "arm" + +# Works with either gtk+ or gtk3. +WHICH_GTK = "gtk3" + +PACKAGECONFIG ??= "gnutls gcrypt" +PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "${WHICH_GTK} graphics", "", d)}" + +PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" + +PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" +PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" +PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," +PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," +PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" +PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" + +EXTRA_OECONF = "--with-qt=no --enable-usr-local=no -enable-tshark" + +LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" +SRC_URI = "http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.12.0-rc2.tar.bz2 " + +SRC_URI[md5sum] = "dc1149073066a29f91116c168558262e" +SRC_URI[sha256sum]= "31009bb450126e9b12808267419f31016d14e6fde7b5e39c85ad37459908cffb" + +do_configure_prepend() { + # force to use fallback + sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags +} + +ALLOW_EMPTY_${PN} = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Martin,
There is a bug opened on wireshark #10209 which just got fixed. I will pull in the patch soon.
- Armin
Quoted 145 lines · Martin Jansa
Quoted 8 lines · Martin Jansa
Quoted 4 lines · Armin Kuster
Inital wireshark support on gtk+
Added gtk3.
Cleaned up PACKAGECONFIG options
README with additional infoRP submitted few fixes for this change, can you please check wireshark in master-next and send just follow-up patch or comment on fixes RP did?
Also world builds are failing with:
| /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c: In function 'expert_add_info': | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:392:2: error: incompatible type for argument 8 of 'expert_set_info_vformat' | expert_set_info_vformat(pinfo, pi, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, NULL); | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:299:1: note: expected 'va_list' but argument is of type 'void *' | expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int severity, int hf_index, gboolean use_vaformat, | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c: In function 'proto_tree_add_expert': | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:420:2: error: incompatible type for argument 8 of 'expert_set_info_vformat' | expert_set_info_vformat(pinfo, ti, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, NULL); | ^ | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/wireshark/1.12.0-rc2-r0/wireshark-1.12.0-rc2/epan/expert.c:299:1: note: expected 'va_list' but argument is of type 'void *' | expert_set_info_vformat(packet_info *pinfo, proto_item *pi, int group, int severity, int hf_index, gboolean use_vaformat, | ^ | make[3]: *** [libwireshark_la-expert.lo] Error 1was it fixed in v2?
Quoted 110 lines
Quoted 102 lines
Signed-off-by Armin Kuster <[email protected]>--- meta-networking/recipes-support/wireshark/README | 37 +++++++++++++++++++ .../wireshark/wireshark_1.12.0-rc2.bb | 42 ++++++++++++++++++++++ 2 files changed, 79 insertions(+)create mode 100644 meta-networking/recipes-support/wireshark/README create mode 100644 meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb
meta-networking/recipes-support/wireshark/README new file +37
-0@@ -0,0 +1,37 @@ +# +Wireshark - Notes + +URL: http://www.wireshark.org/ +User Guide: http://www.wireshark.org/docs/wsug_html_chunked/ +Secruity advisories: http://www.wireshark.org/security/ + +Wireshark is slowly moving away from gtk and towards QT as their graphical stack. +Currently gtk is supported with this release and I plan on integrating QT. + + + +Adding the wireshark to your build +======================================== + +via local.conf +IMAGE_INSTALL_append = " wireshark" + +Adding the wireshark to your graphical build +======================================== +via local.conf +EXTRA_IMAGE_FEATURES += "x11-base" + +or use the "core-image-x11" + + +Maintenance +----------- + +Send patches, comments or questions to [email protected] + +When sending single patches, please using something like: +'git send-email -1 --to [email protected] --cc [email protected] --subject-prefix=meta-security][PATCH' + +Maintainer: Armin Kuster <[email protected]> + +meta-networking/recipes-support/wireshark/wireshark_1.12.0-rc2.bb new file +42
-1@@ -0,0 +1,42 @@ +DESCRIPTION = "wireshark - a popular network protocol analyzer" +HOMEPAGE = "http://www.wireshark.org" +SECTION = "network" +LICENSE = "GPL-2.0" + +DEPENDS = "perl-native libpcap pcre expat glib-2.0 libsmi" + +inherit autotools + +ARM_INSTRUCTION_SET = "arm" + +# Works with either gtk+ or gtk3. +WHICH_GTK = "gtk3" + +PACKAGECONFIG ??= "gnutls gcrypt" +PACKAGECONFIG += " ${@bb.utils.contains("IMAGE_FEATURES", "x11-base", "${WHICH_GTK} graphics", "", d)}" + +PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" + +PACKAGECONFIG[gtk2] = "--with-gtk2=yes, --with-gtk2=no, gtk+" +PACKAGECONFIG[gtk3] = "--with-gtk3=yes, --with-gtk3=no, gtk+3" +PACKAGECONFIG[graphics] = "--enable-wireshark, --disable-wireshark," +PACKAGECONFIG[ipv6] = "--enable-ipv6, --disable-ipv6," +PACKAGECONFIG[gnutls] = "--with-gnutls=yes, --with-gnutls=no, gnutls" +PACKAGECONFIG[gcrypt] = "--with-gcrypt=yes, --with-gcrypt=no, libgcrypt" + +EXTRA_OECONF = "--with-qt=no --enable-usr-local=no -enable-tshark" + +LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" +SRC_URI = "http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-1.12.0-rc2.tar.bz2 " + +SRC_URI[md5sum] = "dc1149073066a29f91116c168558262e" +SRC_URI[sha256sum]= "31009bb450126e9b12808267419f31016d14e6fde7b5e39c85ad37459908cffb" + +do_configure_prepend() { + # force to use fallback + sed -i -e '/^glib_prefix/s/=.*$/=""/' ${S}/aclocal-flags +} + +ALLOW_EMPTY_${PN} = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + --1.9.1
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]