[oe] [meta-networking][PATCH 2/2] net-snmp: snmplib, UDPIPv6 transport: Add a missing return statement

2016-11-22 Thread Li Zhou
Backport a succeeding commit from net-snmp upstream to fix the issue
introduced by commit
.
The missing return will cause crash when binding to a non-exist IPv6
address.

Signed-off-by: Li Zhou 
---
 ...IPv6-transport-Add-a-missing-return-state.patch | 29 ++
 .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb   |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0001-snmplib-UDPIPv6-transport-Add-a-missing-return-state.patch

diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-snmplib-UDPIPv6-transport-Add-a-missing-return-state.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-snmplib-UDPIPv6-transport-Add-a-missing-return-state.patch
new file mode 100644
index 000..6255f7c
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-snmplib-UDPIPv6-transport-Add-a-missing-return-state.patch
@@ -0,0 +1,29 @@
+From 1ee72102fbe722d232d74abc4660a8b134cec8d6 Mon Sep 17 00:00:00 2001
+From: Bart Van Assche 
+Date: Sat, 23 May 2015 07:32:53 +0200
+Subject: [PATCH] snmplib, UDPIPv6 transport: Add a missing return statement
+
+Detected by Coverity.
+
+Upstream-Status: backport
+
+Signed-off-by: Li Zhou 
+---
+ snmplib/transports/snmpUDPIPv6Domain.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/snmplib/transports/snmpUDPIPv6Domain.c 
b/snmplib/transports/snmpUDPIPv6Domain.c
+index 029b164..11c39bb 100644
+--- a/snmplib/transports/snmpUDPIPv6Domain.c
 b/snmplib/transports/snmpUDPIPv6Domain.c
+@@ -285,6 +285,7 @@ netsnmp_udp6_transport(struct sockaddr_in6 *addr, int 
local)
+  errno, strerror(errno)));
+ netsnmp_socketbase_close(t);
+ netsnmp_transport_free(t);
++return NULL;
+ }
+ }
+ /*
+-- 
+2.9.3
+
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 1400287..79e7766 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -25,6 +25,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \
file://net-snmp-agentx-crash.patch \
file://0001-get_pid_from_inode-Include-limit.h.patch \

file://0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch \
+   
file://0001-snmplib-UDPIPv6-transport-Add-a-missing-return-state.patch \
"
 SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
 SRC_URI[sha256sum] = 
"e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e"
-- 
2.9.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-networking][PATCH 1/2] net-snmp: fix snmptrap to use clientaddr from snmp.conf.

2016-11-22 Thread Li Zhou
Under IPv6 IP-multihomed environment, the socket does not bind to the
clientaddr indicated in snmp.conf when sending snmptrap and it might
choose a random one.
Backport the patch from net-snmp upstream to fix it.

Signed-off-by: Li Zhou 
---
 ...ix-snmptrap-to-use-clientaddr-from-snmp.c.patch | 48 ++
 .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb   |  1 +
 2 files changed, 49 insertions(+)
 create mode 100644 
meta-networking/recipes-protocols/net-snmp/net-snmp/0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch

diff --git 
a/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch
 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch
new file mode 100644
index 000..b05eea5
--- /dev/null
+++ 
b/meta-networking/recipes-protocols/net-snmp/net-snmp/0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch
@@ -0,0 +1,48 @@
+From a92628a163ebf1ea62220684736300461c003875 Mon Sep 17 00:00:00 2001
+From: Niels Baggesen 
+Date: Mon, 26 Jan 2015 20:26:06 +0100
+Subject: [PATCH] BUG#a2584: Fix snmptrap to use clientaddr from snmp.conf.
+ Thanks to rizwan
+
+Upstream-Status: backport
+
+Signed-off-by: Li Zhou 
+---
+ snmplib/transports/snmpUDPIPv6Domain.c | 21 +
+ 1 file changed, 21 insertions(+)
+
+diff --git a/snmplib/transports/snmpUDPIPv6Domain.c 
b/snmplib/transports/snmpUDPIPv6Domain.c
+index 55e3610..aca69ae 100644
+--- a/snmplib/transports/snmpUDPIPv6Domain.c
 b/snmplib/transports/snmpUDPIPv6Domain.c
+@@ -256,6 +256,27 @@ netsnmp_udp6_transport(struct sockaddr_in6 *addr, int 
local)
+ t->data = NULL;
+ t->data_length = 0;
+ } else {
++char   *client_socket = NULL;
++/*
++ * This is a client session.  If we've been given a
++ * client address to send from, then bind to that.
++ * Otherwise the send will use "something sensible".
++ */
++
++client_socket = netsnmp_ds_get_string(NETSNMP_DS_LIBRARY_ID,
++NETSNMP_DS_LIB_CLIENT_ADDR);
++if (client_socket) {
++struct sockaddr_in6 client_addr;
++netsnmp_sockaddr_in6_2(&client_addr, client_socket, NULL);
++rc = bind(t->sock, (struct sockaddr *)&client_addr,
++  sizeof(struct sockaddr_in6));
++if ( rc != 0 ) {
++DEBUGMSGTL(("netsnmp_udp6", "failed to bind for clientaddr: 
%d %s\n",
++ errno, strerror(errno)));
++netsnmp_socketbase_close(t);
++netsnmp_transport_free(t);
++}
++}
+ /*
+  * This is a client session.  Save the address in the
+  * transport-specific data pointer for later use by netsnmp_udp6_send.
+-- 
+2.9.3
+
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index 1997d5c..1400287 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -24,6 +24,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/net-snmp/net-snmp-${PV}.zip \

file://0001-snmplib-keytools.c-Don-t-check-for-return-from-EVP_M.patch \
file://net-snmp-agentx-crash.patch \
file://0001-get_pid_from_inode-Include-limit.h.patch \
+   
file://0001-BUG-a2584-Fix-snmptrap-to-use-clientaddr-from-snmp.c.patch \
"
 SRC_URI[md5sum] = "9f682bd70c717efdd9f15b686d07baee"
 SRC_URI[sha256sum] = 
"e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafed07a3e"
-- 
2.9.3

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCHv2] python-pycparser: update to version 2.17

2016-11-22 Thread Derek Straka
Signed-off-by: Derek Straka 
---
 meta-python/recipes-devtools/python/python-pycparser.inc   | 10 +++---
 .../{python-pycparser_2.14.bb => python-pycparser_2.17.bb} |  0
 meta-python/recipes-devtools/python/python3-pycparser_2.14.bb  |  2 --
 meta-python/recipes-devtools/python/python3-pycparser_2.17.bb  |  6 ++
 4 files changed, 13 insertions(+), 5 deletions(-)
 rename meta-python/recipes-devtools/python/{python-pycparser_2.14.bb => 
python-pycparser_2.17.bb} (100%)
 delete mode 100644 
meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
 create mode 100644 
meta-python/recipes-devtools/python/python3-pycparser_2.17.bb

diff --git a/meta-python/recipes-devtools/python/python-pycparser.inc 
b/meta-python/recipes-devtools/python/python-pycparser.inc
index bf3b757..fe8c34d 100644
--- a/meta-python/recipes-devtools/python/python-pycparser.inc
+++ b/meta-python/recipes-devtools/python/python-pycparser.inc
@@ -1,8 +1,12 @@
 SUMMARY = "Parser of the C language, written in pure Python"
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d0cfca7bbc0610f849707d9e4fd82eac"
 
-SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
-SRC_URI[sha256sum] = 
"7959b4a74abdc27b312fed1c21e6caf9309ce0b29ea86b591fd2e99ecdf27f73"
+SRC_URI[md5sum] = "ca98dcb50bc1276f230118f6af5a40c7"
+SRC_URI[sha256sum] = 
"0aac31e917c24cb3357f5a4d5566f2cc91a19ca41862f6c3c22dc60a629673b6"
 
 BBCLASSEXTEND = "native nativesdk"
+
+RDEPENDS_${PN}_class-target += "\
+${PYTHON_PN}-subprocess \
+"
diff --git a/meta-python/recipes-devtools/python/python-pycparser_2.14.bb 
b/meta-python/recipes-devtools/python/python-pycparser_2.17.bb
similarity index 100%
rename from meta-python/recipes-devtools/python/python-pycparser_2.14.bb
rename to meta-python/recipes-devtools/python/python-pycparser_2.17.bb
diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb 
b/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
deleted file mode 100644
index b30db54..000
--- a/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
+++ /dev/null
@@ -1,2 +0,0 @@
-inherit pypi setuptools3
-require python-pycparser.inc
diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb 
b/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb
new file mode 100644
index 000..7cc024e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb
@@ -0,0 +1,6 @@
+inherit pypi setuptools3
+require python-pycparser.inc
+
+RDEPENDS_${PN}_class-target += "\
+${PYTHON_PN}-netclient \
+" 
-- 
2.7.4

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-python][PATCH] python-pycparser: update to version 2.17

2016-11-22 Thread Martin Jansa
Causes:

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'python-subprocess-native' (but virtual:native:
meta-oe/meta-python/recipes-devtools/python/python-pycparser_2.17.bb

RDEPENDS
on or otherwise requires it)
NOTE: Runtime target 'python-subprocess-native' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python-subprocess-native']
ERROR: Required build target 'meta-world-pkgdata' has no buildable
providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'python-cryptography', 'python-cffi-native', 'python-pycparser-native',
'python-subprocess-native']

On Fri, Nov 18, 2016 at 3:32 AM, Derek Straka  wrote:

> Signed-off-by: Derek Straka 
> ---
>  meta-python/recipes-devtools/python/python-pycparser.inc   | 10
> +++---
>  .../{python-pycparser_2.14.bb => python-pycparser_2.17.bb} |  0
>  meta-python/recipes-devtools/python/python3-pycparser_2.14.bb  |  2 --
>  meta-python/recipes-devtools/python/python3-pycparser_2.17.bb  |  6
> ++
>  4 files changed, 13 insertions(+), 5 deletions(-)
>  rename meta-python/recipes-devtools/python/{python-pycparser_2.14.bb =>
> python-pycparser_2.17.bb} (100%)
>  delete mode 100644 meta-python/recipes-devtools/python/
> python3-pycparser_2.14.bb
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pycparser_2.17.bb
>
> diff --git a/meta-python/recipes-devtools/python/python-pycparser.inc
> b/meta-python/recipes-devtools/python/python-pycparser.inc
> index bf3b757..88646f0 100644
> --- a/meta-python/recipes-devtools/python/python-pycparser.inc
> +++ b/meta-python/recipes-devtools/python/python-pycparser.inc
> @@ -1,8 +1,12 @@
>  SUMMARY = "Parser of the C language, written in pure Python"
>  LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=8fb364772b1441821d391591f340c35a"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=d0cfca7bbc0610f849707d9e4fd82eac"
>
> -SRC_URI[md5sum] = "a2bc8d28c923b4fe2b2c3b4b51a4f935"
> -SRC_URI[sha256sum] = "7959b4a74abdc27b312fed1c21e6ca
> f9309ce0b29ea86b591fd2e99ecdf27f73"
> +SRC_URI[md5sum] = "ca98dcb50bc1276f230118f6af5a40c7"
> +SRC_URI[sha256sum] = "0aac31e917c24cb3357f5a4d5566f2
> cc91a19ca41862f6c3c22dc60a629673b6"
>
>  BBCLASSEXTEND = "native nativesdk"
> +
> +RDEPENDS_${PN} += "\
> +${PYTHON_PN}-subprocess \
> +"
> diff --git a/meta-python/recipes-devtools/python/python-pycparser_2.14.bb
> b/meta-python/recipes-devtools/python/python-pycparser_2.17.bb
> similarity index 100%
> rename from meta-python/recipes-devtools/python/python-pycparser_2.14.bb
> rename to meta-python/recipes-devtools/python/python-pycparser_2.17.bb
> diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
> b/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
> deleted file mode 100644
> index b30db54..000
> --- a/meta-python/recipes-devtools/python/python3-pycparser_2.14.bb
> +++ /dev/null
> @@ -1,2 +0,0 @@
> -inherit pypi setuptools3
> -require python-pycparser.inc
> diff --git a/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb
> b/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb
> new file mode 100644
> index 000..0bd1c8f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pycparser_2.17.bb
> @@ -0,0 +1,6 @@
> +inherit pypi setuptools3
> +require python-pycparser.inc
> +
> +RDEPENDS_${PN} += "\
> +${PYTHON_PN}-netclient \
> +"
> --
> 2.7.4
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH V2] openobex: upgrade to 1.7.2

2016-11-22 Thread Khem Raj
I am sending patches which should fix these too

On Nov 22, 2016 9:01 AM, "Martin Jansa"  wrote:

> On Thu, Nov 17, 2016 at 10:34:09AM +0800, Chen Qi wrote:
> > Add a patch to resolve segment fault in obex-check-device.
> > Disable generation of documentation.
>
> This is probably causing obexftp and obex-data-server issues:
> http://errors.yoctoproject.org/Errors/Details/104698/
> http://errors.yoctoproject.org/Errors/Details/104700/
>
> reported in
> http://lists.openembedded.org/pipermail/openembedded-devel/
> 2016-November/109897.html
> >
> > Signed-off-by: Chen Qi 
> > ---
> >  .../obex/openobex-1.5/disable-cable-test.patch | 16 --
> >  .../openobex-1.5/libusb_crosscompile_check.patch   | 11 ---
> >  .../obex/openobex-1.5/separate_builddir.patch  | 16 --
> >  ...001-obex-check-device-avoid-segment-fault.patch | 29
> ++
> >  meta-oe/recipes-connectivity/obex/openobex_1.5.bb  | 35
> --
> >  .../recipes-connectivity/obex/openobex_1.7.2.bb| 33
> 
> >  6 files changed, 62 insertions(+), 78 deletions(-)
> >  delete mode 100644 meta-oe/recipes-connectivity/
> obex/openobex-1.5/disable-cable-test.patch
> >  delete mode 100644 meta-oe/recipes-connectivity/
> obex/openobex-1.5/libusb_crosscompile_check.patch
> >  delete mode 100644 meta-oe/recipes-connectivity/
> obex/openobex-1.5/separate_builddir.patch
> >  create mode 100644 meta-oe/recipes-connectivity/
> obex/openobex/0001-obex-check-device-avoid-segment-fault.patch
> >  delete mode 100644 meta-oe/recipes-connectivity/obex/openobex_1.5.bb
> >  create mode 100644 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
> >
> > diff --git 
> > a/meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch
> b/meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch
> > deleted file mode 100644
> > index 95b636d..000
> > --- a/meta-oe/recipes-connectivity/obex/openobex-1.
> 5/disable-cable-test.patch
> > +++ /dev/null
> > @@ -1,16 +0,0 @@
> > -
> > -#
> > -# Patch managed by http://www.holgerschurig.de/patcher.html
> > -#
> > -
> >  openobex-1.2/apps/Makefile.am~disable-cable-test
> > -+++ openobex-1.2/apps/Makefile.am
> > -@@ -6,7 +6,7 @@
> > - obex_io.c obex_io.h \
> > - obex_put_common.c obex_put_common.h
> > -
> > --bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
> > -+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
> > -
> > - obex_test_SOURCES = \
> > - obex_test.c obex_test.h \
> > diff --git a/meta-oe/recipes-connectivity/obex/openobex-1.
> 5/libusb_crosscompile_check.patch b/meta-oe/recipes-
> connectivity/obex/openobex-1.5/libusb_crosscompile_check.patch
> > deleted file mode 100644
> > index 1177dfe..000
> > --- a/meta-oe/recipes-connectivity/obex/openobex-1.
> 5/libusb_crosscompile_check.patch
> > +++ /dev/null
> > @@ -1,11 +0,0 @@
> >  /tmp/acinclude.m42009-04-12 10:32:15.0 +0200
> > -+++ openobex-1.5/acinclude.m42009-04-12 10:32:38.0 +0200
> > -@@ -158,7 +158,7 @@
> > - ;;
> > - *)
> > - PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes,
> AC_MSG_RESULT(no))
> > --AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc,
> REQUIRES="libusb")
> > -+REQUIRES="libusb"
> > - ;;
> > - esac
> > - AC_SUBST(USB_CFLAGS)
> > diff --git 
> > a/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
> b/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
> > deleted file mode 100644
> > index 8abf8ae..000
> > --- a/meta-oe/recipes-connectivity/obex/openobex-1.
> 5/separate_builddir.patch
> > +++ /dev/null
> > @@ -1,16 +0,0 @@
> > -Fix detection of IrDA failing with B!=S
> > -
> > -Upstream-Status: Pending
> > -
> > -Signed-off-by: Paul Eggleton 
> > -
> >  a/acinclude.m4   2014-05-24 14:05:41.757796816 +0100
> > -+++ b/acinclude.m4   2014-05-24 14:03:06.556795536 +0100
> > -@@ -54,6 +54,7 @@
> > - ])
> > -
> > - AC_DEFUN([AC_PATH_IRDA_LINUX], [
> > -+CPPFLAGS="${CPPFLAGS} -I${srcdir}"
> > - AC_CACHE_CHECK([for IrDA support], irda_found, [
> > - AC_TRY_COMPILE([
> > - #include 
> > diff --git a/meta-oe/recipes-connectivity/obex/openobex/
> 0001-obex-check-device-avoid-segment-fault.patch b/meta-oe/recipes-
> connectivity/obex/openobex/0001-obex-check-device-avoid-
> segment-fault.patch
> > new file mode 100644
> > index 000..d7c2681
> > --- /dev/null
> > +++ b/meta-oe/recipes-connectivity/obex/openobex/
> 0001-obex-check-device-avoid-segment-fault.patch
> > @@ -0,0 +1,29 @@
> > +Subject: obex-check-device: avoid segment fault
> > +
> > +The argument number needs to be no less than 3 instead of 2. Otherwise,
> > +when we use `obex-check-device xxx' on target, there would be segment
> > +fault error.
> > +
> > +Upstream-Status: Pending
> > +
> > +Signed-off-by: Chen Qi 
> > +---
> > + udev/obex-check-device.c | 2 +-
> > + 1 file changed, 1

Re: [oe] [meta-networking][PATCH] wireshark: update to 2.2.1

2016-11-22 Thread Martin Jansa
Thanks for another quick fix!

On Tue, Nov 22, 2016 at 7:06 PM, Fabio Berton  wrote:

> Hi Martin,
>
> I fixed this issue in libpcap recipe and I'll send a patch to oe-core.
>
>
> On Tue, Nov 22, 2016 at 2:52 PM, Martin Jansa 
> wrote:
>
> > On Wed, Oct 05, 2016 at 05:33:37PM -0700, Armin Kuster wrote:
> > > Restore PE
> > >
> > > includes 2 security fixes:
> > > wnpa-sec-2016-57. NCP dissector crash. Fixed in 2.2.1.
> > > wnpa-sec-2016-56. Bluetooth L2CAP dissector crash. Fixed in 2.2.1.
> > >
> > > see https://www.wireshark.org/docs/relnotes/wireshark-2.2.1.html
> >
> > It didn't last building for very long, now it seems to be broken by
> > libpcap upgrade in oe-core:
> >
> > http://errors.yoctoproject.org/Errors/Details/104702/
> >
> > >
> > > Signed-off-by: Armin Kuster 
> > > ---
> > >  .../wireshark/{wireshark_2.2.0.bb => wireshark_2.2.1.bb}
>  |
> > 5 +++--
> > >  1 file changed, 3 insertions(+), 2 deletions(-)
> > >  rename meta-networking/recipes-support/wireshark/{wireshark_2.2.0.bb
> > => wireshark_2.2.1.bb} (93%)
> > >
> > > diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.
> > 2.0.bb b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > > similarity index 93%
> > > rename from meta-networking/recipes-support/wireshark/wireshark_2.
> 2.0.bb
> > > rename to meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > > index dca3be6..a5fb7f6 100644
> > > --- a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> > > +++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > > @@ -8,8 +8,9 @@ DEPENDS = "pcre expat glib-2.0 sbc"
> > >
> > >  SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.
> tar.bz2
> > "
> > >
> > > -SRC_URI[md5sum] = "c7de0997f74934f25b456846cf75cb81"
> > > -SRC_URI[sha256sum] = "a6847e741efcba6cb9d92d464d4219
> > 917bee3ad0b8f5b0f80d4388ad2f3f1104"
> > > +PE = "1"
> > > +SRC_URI[md5sum] = "49a1023a69ac108ca089d750eee50e37"
> > > +SRC_URI[sha256sum] = "900e22af04c8b35e0d02a25a360ab1
> > fb7cfe5ac18fc48a9afd75a7103e569149"
> > >
> > >  inherit autotools pkgconfig perlnative
> > >
> > > --
> > > 2.7.4
> > >
> > > --
> > > ___
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> > --
> > Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >
> >
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH] wireshark: update to 2.2.1

2016-11-22 Thread Fabio Berton
Hi Martin,

I fixed this issue in libpcap recipe and I'll send a patch to oe-core.


On Tue, Nov 22, 2016 at 2:52 PM, Martin Jansa 
wrote:

> On Wed, Oct 05, 2016 at 05:33:37PM -0700, Armin Kuster wrote:
> > Restore PE
> >
> > includes 2 security fixes:
> > wnpa-sec-2016-57. NCP dissector crash. Fixed in 2.2.1.
> > wnpa-sec-2016-56. Bluetooth L2CAP dissector crash. Fixed in 2.2.1.
> >
> > see https://www.wireshark.org/docs/relnotes/wireshark-2.2.1.html
>
> It didn't last building for very long, now it seems to be broken by
> libpcap upgrade in oe-core:
>
> http://errors.yoctoproject.org/Errors/Details/104702/
>
> >
> > Signed-off-by: Armin Kuster 
> > ---
> >  .../wireshark/{wireshark_2.2.0.bb => wireshark_2.2.1.bb} |
> 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >  rename meta-networking/recipes-support/wireshark/{wireshark_2.2.0.bb
> => wireshark_2.2.1.bb} (93%)
> >
> > diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.
> 2.0.bb b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > similarity index 93%
> > rename from meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> > rename to meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > index dca3be6..a5fb7f6 100644
> > --- a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> > +++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> > @@ -8,8 +8,9 @@ DEPENDS = "pcre expat glib-2.0 sbc"
> >
> >  SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2
> "
> >
> > -SRC_URI[md5sum] = "c7de0997f74934f25b456846cf75cb81"
> > -SRC_URI[sha256sum] = "a6847e741efcba6cb9d92d464d4219
> 917bee3ad0b8f5b0f80d4388ad2f3f1104"
> > +PE = "1"
> > +SRC_URI[md5sum] = "49a1023a69ac108ca089d750eee50e37"
> > +SRC_URI[sha256sum] = "900e22af04c8b35e0d02a25a360ab1
> fb7cfe5ac18fc48a9afd75a7103e569149"
> >
> >  inherit autotools pkgconfig perlnative
> >
> > --
> > 2.7.4
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH V2] openobex: upgrade to 1.7.2

2016-11-22 Thread Martin Jansa
On Thu, Nov 17, 2016 at 10:34:09AM +0800, Chen Qi wrote:
> Add a patch to resolve segment fault in obex-check-device.
> Disable generation of documentation.

This is probably causing obexftp and obex-data-server issues:
http://errors.yoctoproject.org/Errors/Details/104698/
http://errors.yoctoproject.org/Errors/Details/104700/

reported in
http://lists.openembedded.org/pipermail/openembedded-devel/2016-November/109897.html
> 
> Signed-off-by: Chen Qi 
> ---
>  .../obex/openobex-1.5/disable-cable-test.patch | 16 --
>  .../openobex-1.5/libusb_crosscompile_check.patch   | 11 ---
>  .../obex/openobex-1.5/separate_builddir.patch  | 16 --
>  ...001-obex-check-device-avoid-segment-fault.patch | 29 ++
>  meta-oe/recipes-connectivity/obex/openobex_1.5.bb  | 35 
> --
>  .../recipes-connectivity/obex/openobex_1.7.2.bb| 33 
>  6 files changed, 62 insertions(+), 78 deletions(-)
>  delete mode 100644 
> meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch
>  delete mode 100644 
> meta-oe/recipes-connectivity/obex/openobex-1.5/libusb_crosscompile_check.patch
>  delete mode 100644 
> meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
>  create mode 100644 
> meta-oe/recipes-connectivity/obex/openobex/0001-obex-check-device-avoid-segment-fault.patch
>  delete mode 100644 meta-oe/recipes-connectivity/obex/openobex_1.5.bb
>  create mode 100644 meta-oe/recipes-connectivity/obex/openobex_1.7.2.bb
> 
> diff --git 
> a/meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch 
> b/meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch
> deleted file mode 100644
> index 95b636d..000
> --- a/meta-oe/recipes-connectivity/obex/openobex-1.5/disable-cable-test.patch
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -
> -#
> -# Patch managed by http://www.holgerschurig.de/patcher.html
> -#
> -
>  openobex-1.2/apps/Makefile.am~disable-cable-test
> -+++ openobex-1.2/apps/Makefile.am
> -@@ -6,7 +6,7 @@
> - obex_io.c obex_io.h \
> - obex_put_common.c obex_put_common.h
> - 
> --bin_PROGRAMS = irxfer obex_tcp irobex_palm3 obex_test
> -+bin_PROGRAMS = irxfer obex_tcp irobex_palm3
> - 
> - obex_test_SOURCES = \
> - obex_test.c obex_test.h \
> diff --git 
> a/meta-oe/recipes-connectivity/obex/openobex-1.5/libusb_crosscompile_check.patch
>  
> b/meta-oe/recipes-connectivity/obex/openobex-1.5/libusb_crosscompile_check.patch
> deleted file mode 100644
> index 1177dfe..000
> --- 
> a/meta-oe/recipes-connectivity/obex/openobex-1.5/libusb_crosscompile_check.patch
> +++ /dev/null
> @@ -1,11 +0,0 @@
>  /tmp/acinclude.m42009-04-12 10:32:15.0 +0200
> -+++ openobex-1.5/acinclude.m42009-04-12 10:32:38.0 +0200
> -@@ -158,7 +158,7 @@
> - ;;
> - *)
> - PKG_CHECK_MODULES(USB, libusb, usb_lib_found=yes, 
> AC_MSG_RESULT(no))
> --AC_CHECK_FILE(${prefix}/lib/pkgconfig/libusb.pc, 
> REQUIRES="libusb")
> -+REQUIRES="libusb"
> - ;;
> - esac
> - AC_SUBST(USB_CFLAGS)
> diff --git 
> a/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch 
> b/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
> deleted file mode 100644
> index 8abf8ae..000
> --- a/meta-oe/recipes-connectivity/obex/openobex-1.5/separate_builddir.patch
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -Fix detection of IrDA failing with B!=S
> -
> -Upstream-Status: Pending
> -
> -Signed-off-by: Paul Eggleton 
> -
>  a/acinclude.m4   2014-05-24 14:05:41.757796816 +0100
> -+++ b/acinclude.m4   2014-05-24 14:03:06.556795536 +0100
> -@@ -54,6 +54,7 @@
> - ])
> - 
> - AC_DEFUN([AC_PATH_IRDA_LINUX], [
> -+CPPFLAGS="${CPPFLAGS} -I${srcdir}"
> - AC_CACHE_CHECK([for IrDA support], irda_found, [
> - AC_TRY_COMPILE([
> - #include 
> diff --git 
> a/meta-oe/recipes-connectivity/obex/openobex/0001-obex-check-device-avoid-segment-fault.patch
>  
> b/meta-oe/recipes-connectivity/obex/openobex/0001-obex-check-device-avoid-segment-fault.patch
> new file mode 100644
> index 000..d7c2681
> --- /dev/null
> +++ 
> b/meta-oe/recipes-connectivity/obex/openobex/0001-obex-check-device-avoid-segment-fault.patch
> @@ -0,0 +1,29 @@
> +Subject: obex-check-device: avoid segment fault
> +
> +The argument number needs to be no less than 3 instead of 2. Otherwise,
> +when we use `obex-check-device xxx' on target, there would be segment
> +fault error.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Chen Qi 
> +---
> + udev/obex-check-device.c | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/udev/obex-check-device.c b/udev/obex-check-device.c
> +index 9eb4769..df9fc73 100644
> +--- a/udev/obex-check-device.c
>  b/udev/obex-check-device.c
> +@@ -62,7 +62,7 @@ int main (int argc, char **argv)
> + unsigned long vendor;
> + unsigned long prod

Re: [oe] [meta-networking][PATCH] wireshark: update to 2.2.1

2016-11-22 Thread Martin Jansa
On Wed, Oct 05, 2016 at 05:33:37PM -0700, Armin Kuster wrote:
> Restore PE
> 
> includes 2 security fixes:
> wnpa-sec-2016-57. NCP dissector crash. Fixed in 2.2.1.
> wnpa-sec-2016-56. Bluetooth L2CAP dissector crash. Fixed in 2.2.1.
> 
> see https://www.wireshark.org/docs/relnotes/wireshark-2.2.1.html

It didn't last building for very long, now it seems to be broken by
libpcap upgrade in oe-core:

http://errors.yoctoproject.org/Errors/Details/104702/

> 
> Signed-off-by: Armin Kuster 
> ---
>  .../wireshark/{wireshark_2.2.0.bb => wireshark_2.2.1.bb} | 5 
> +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>  rename meta-networking/recipes-support/wireshark/{wireshark_2.2.0.bb => 
> wireshark_2.2.1.bb} (93%)
> 
> diff --git a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb 
> b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> similarity index 93%
> rename from meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> rename to meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> index dca3be6..a5fb7f6 100644
> --- a/meta-networking/recipes-support/wireshark/wireshark_2.2.0.bb
> +++ b/meta-networking/recipes-support/wireshark/wireshark_2.2.1.bb
> @@ -8,8 +8,9 @@ DEPENDS = "pcre expat glib-2.0 sbc"
>  
>  SRC_URI = "https://2.na.dl.wireshark.org/src/all-versions/${BP}.tar.bz2";
>  
> -SRC_URI[md5sum] = "c7de0997f74934f25b456846cf75cb81"
> -SRC_URI[sha256sum] = 
> "a6847e741efcba6cb9d92d464d4219917bee3ad0b8f5b0f80d4388ad2f3f1104"
> +PE = "1"
> +SRC_URI[md5sum] = "49a1023a69ac108ca089d750eee50e37"
> +SRC_URI[sha256sum] = 
> "900e22af04c8b35e0d02a25a360ab1fb7cfe5ac18fc48a9afd75a7103e569149"
>  
>  inherit autotools pkgconfig perlnative
>  
> -- 
> 2.7.4
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] breakpad: Upgrade to latest

2016-11-22 Thread Martin Jansa
On Tue, Nov 08, 2016 at 06:09:26PM -0800, Khem Raj wrote:
> Switch to using git
> Gets aarch64 support
> 
> Signed-off-by: Khem Raj 
> ---
>  .../breakpad/{breakpad_svn.bb => breakpad_git.bb}  | 18 
> +++---
>  1 file changed, 15 insertions(+), 3 deletions(-)
>  rename meta-oe/recipes-devtools/breakpad/{breakpad_svn.bb => 
> breakpad_git.bb} (87%)
> 
> diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb 
> b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> similarity index 87%
> rename from meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
> rename to meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> index b573ea5..6dc6500 100644
> --- a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
> +++ b/meta-oe/recipes-devtools/breakpad/breakpad_git.bb
> @@ -13,9 +13,21 @@ inherit autotools
>  
>  BBCLASSEXTEND = "native"
>  
> -SRCREV = "r1435"
> -SRC_URI = 
> "svn://google-breakpad.googlecode.com/svn;module=trunk;protocol=http"
> -S = "${WORKDIR}/trunk"

Please define some sane PV, now it goes backwards:
breakpad-git: Package version for package breakpad-dbg went backwards
which would break package feeds from (0:svn-r0.36 to 0:git-r0.0)
[version-going-backwards]

> +SRCREV_breakpad = "2f6cb866d615d6240a18c7535c994c6bb93b1ba5"
> +SRCREV_glog = "d8cb47f77d1c31779f3ff890e1a5748483778d6a"
> +SRCREV_gmock = "f7d03d2734759ee12b57d2dbcb695607d89e8e05"
> +SRCREV_gtest = "ec44c6c1675c25b9827aacd08c02433cccde7780"
> +SRCREV_protobuf = "cb6dd4ef5f82e41e06179dcd57d3b1d9246ad6ac"
> +SRCREV_lss = "1549d20f6d3e7d66bb4e687c0ab9da42c2bff2ac"
> +
> +SRC_URI = "git://github.com/google/breakpad;name=breakpad \
> +   
> git://github.com/google/glog.git;destsuffix=git/src/third_party/glog;name=glog
>  \
> +   
> git://github.com/google/googlemock.git;destsuffix=git/src/testing;name=gmock \
> +   
> git://github.com/google/googletest.git;destsuffix=git/src/testing/gtest;name=gtest
>  \
> +   
> git://github.com/google/protobuf.git;destsuffix=git/src/third_party/protobuf/protobuf;name=protobuf
>  \
> +   
> git://chromium.googlesource.com/linux-syscall-support;protocol=https;destsuffix=git/src/third_party/lss;name=lss
>  \
> +"
> +S = "${WORKDIR}/git"
>  
>  COMPATIBLE_MACHINE_powerpc = "(!.*ppc).*"
>  
> -- 
> 2.10.2
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] libvdpau: Add recipe

2016-11-22 Thread Martin Jansa
On Thu, Nov 03, 2016 at 03:16:50AM -0700, Khem Raj wrote:
> From: Koen Kooi 
> 
> Needed for x86 machines
> 
> Signed-off-by: Koen Kooi 
> Signed-off-by: Khem Raj 

This seems to break vlc:

http://errors.yoctoproject.org/Errors/Details/104697/

> ---
>  meta-oe/recipes-graphics/vdpau/libvdpau_git.bb | 23 +++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
> 
> diff --git a/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb 
> b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
> new file mode 100644
> index 000..31f4df4
> --- /dev/null
> +++ b/meta-oe/recipes-graphics/vdpau/libvdpau_git.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "Video Decode and Presentation API for UNIX"
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"
> +
> +DEPENDS = "virtual/libx11 libxext dri2proto"
> +
> +PV = "1.1.1+git${SRCPV}"
> +
> +SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc"
> +SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit autotools pkgconfig
> +
> +do_install_append() {
> +rm -f ${D}${libdir}/*/*.la
> +}
> +
> +FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
> +FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"
> +FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}"
> -- 
> 2.10.2
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel