[OE-core] [PATCH v2] iproute2: enable previously unselected utilities

2015-12-01 Thread Maxin B. John
Include below listed utilities that are not yet enabled/packaged
in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc 
b/meta/recipes-connectivity/iproute2/iproute2.inc
index 29f9062..ca7ea92 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} 
DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' 
LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} 
DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' 
SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_configure_append () {
 sh configure ${STAGING_INCDIR}
@@ -32,9 +32,15 @@ do_install () {
 # The .so files in iproute2-tc are modules, not traditional libraries
 INSANE_SKIP_${PN}-tc = "dev-so"
 
-PACKAGES =+ "${PN}-tc"
+PACKAGES =+ "${PN}-tc ${PN}-lnstat ${PN}-ifstat ${PN}-genl ${PN}-rtacct 
${PN}-nstat ${PN}-ss"
 FILES_${PN}-tc = "${base_sbindir}/tc* \
   ${libdir}/tc/*.so"
+FILES_${PN}-lnstat = "${base_sbindir}/lnstat ${base_sbindir}/ctstat 
${base_sbindir}/rtstat"
+FILES_${PN}-ifstat = "${base_sbindir}/ifstat"
+FILES_${PN}-genl = "${base_sbindir}/genl"
+FILES_${PN}-rtacct = "${base_sbindir}/rtacct"
+FILES_${PN}-nstat = "${base_sbindir}/nstat"
+FILES_${PN}-ss = "${base_sbindir}/ss"
 
 FILES_${PN}-dbg += "${libdir}/tc/.debug"
 
-- 
2.4.0

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


[OE-core] [PATCH] xvideo-tests: move to the latest release

2015-12-01 Thread Maxin B. John
Updating SRCREV to pick up the latest changes.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb 
b/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
index 9b3c9e0..51839dd 100644
--- a/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
+++ b/meta/recipes-graphics/xvideo-tests/xvideo-tests_git.bb
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
 
file://src/test-xvideo.c;beginline=1;endline=20;md5=6ae3b4c3c2ff9e51dbbc35bb237afa00"
 DEPENDS = "libxv"
 
-SRCREV = "f8f320d0254c09ce483fc1d8ee99ecf5bc940965"
+SRCREV = "7d38b881e99eb74169d292b40f7164e461a65092"
 PV = "0.1+git${SRCPV}"
 
 SRC_URI = "git://git.yoctoproject.org/test-xvideo"
-- 
2.4.0

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


Re: [OE-core] [PATCH] libjpeg: Replace libjpeg with libjpeg-turbo

2015-12-01 Thread Maxin B. John
Hi Ross,

On Tue, Dec 01, 2015 at 03:36:06PM +, Burton, Ross wrote:
On 30 November 2015 at 09:28, Maxin B. John <maxin.j...@intel.com> wrote:
>> +PACKAGES =+ "jpeg-tools libturbojpeg"
>> +FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
>> +INSANE_SKIP_libturbojpeg = "dev-so"
>
>I don't understand why there's a libturbojpeg package solely for a development 
>symlink that should be in $PN-dev.

We can move that to $PN-dev.

>Also, Martin pointed out that meta-oe's master-next has a 1.4.2 recipe, can 
>you use that?

Oh, I didn't notice that. Will send a v3 with these changes.

>Ross

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] iproute2: enable previously unselected utilities

2015-11-30 Thread Maxin B. John
Include below listed utilities that are not yet enabled/packaged
in the iproute2 recipe:

lnstat
ifstat
genl
rtacct
nstat
ss

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-connectivity/iproute2/iproute2.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc 
b/meta/recipes-connectivity/iproute2/iproute2.inc
index 29f9062..abaff3f 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -13,7 +13,7 @@ DEPENDS = "flex-native bison-native iptables elfutils"
 
 inherit update-alternatives
 
-EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} 
DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip' SBINDIR='${base_sbindir}' 
LIBDIR='${libdir}'"
+EXTRA_OEMAKE = "CC='${CC}' KERNEL_INCLUDE=${STAGING_INCDIR} 
DOCDIR=${docdir}/iproute2 SUBDIRS='lib tc ip misc genl' 
SBINDIR='${base_sbindir}' LIBDIR='${libdir}'"
 
 do_configure_append () {
 sh configure ${STAGING_INCDIR}
-- 
2.4.0

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


[OE-core] [PATCH] kexec: update supported architecture list

2015-11-30 Thread Maxin B. John
Now, kexec is supported in mips, aarch64 and most of the machines within
powerpc family. So, remove those architecture specific restrictions.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb 
b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
index 95b3988..acbae11 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb
@@ -11,13 +11,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
-# kexec-tools doesn't work on Mips
+# kexec-tools doesn't work on e5500-64b yet
 KEXECTOOLS ?= "kexec"
-KEXECTOOLS_mips ?= ""
-KEXECTOOLS_mipsel ?= ""
-KEXECTOOLS_powerpc ?= ""
 KEXECTOOLS_e5500-64b ?= ""
-KEXECTOOLS_aarch64 ?= ""
 
 X11GLTOOLS = "\
 mesa-demos \
-- 
2.4.0

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


[OE-core] [PATCH 2/2] libjpeg-turbo: import the recipe from meta-oe

2015-11-30 Thread Maxin B. John
Moving the package from meta-oe as a replacement for libjpeg
package. libjpeg-turbo has same API/ABI as libjpeg. It is relatively
faster in JPEG compression/decompression than libjpeg.

[YOCTO #8628]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 
 1 file changed, 40 insertions(+)
 create mode 100644 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb

diff --git a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
new file mode 100644
index 000..e79f800
--- /dev/null
+++ b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
decompression"
+HOMEPAGE = "http://libjpeg-turbo.org/;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
+
file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
+
file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
+"
+
+DEPENDS = "nasm-native"
+
+BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
+SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
+SRC_URI[sha256sum] = 
"4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
+
+S = "${WORKDIR}/${BPN}-${BASEPV}"
+
+# Drop-in replacement for jpeg
+PROVIDES = "jpeg"
+RPROVIDES_${PN} += "jpeg"
+RREPLACES_${PN} += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-jpeg8 "
+
+PACKAGES =+ "jpeg-tools libturbojpeg"
+
+DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to 
access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files and benchmarking of the 
libjpeg library."
+FILES_jpeg-tools = "${bindir}/*"
+
+FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
+INSANE_SKIP_libturbojpeg = "dev-so"
+
+BBCLASSEXTEND = "native"
+
+LEAD_SONAME = "libjpeg.so.8"
-- 
2.4.0

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


Re: [OE-core] [PATCH 2/2] libjpeg-turbo: import the recipe from meta-oe

2015-11-30 Thread Maxin B. John
Hi Martin,

On Mon, Nov 30, 2015 at 03:09:22PM +0100, Martin Jansa wrote:
> On Mon, Nov 30, 2015 at 11:01:21AM +0200, Maxin B. John wrote:
> > Moving the package from meta-oe as a replacement for libjpeg
> > package. libjpeg-turbo has same API/ABI as libjpeg. It is relatively
> > faster in JPEG compression/decompression than libjpeg.
> 
> Please squash them or apply in opposite order, otherwise you break
> bisect-ability without good reason.

Thanks for the comment. I will squash them and send the updated patch soon.

> > [YOCTO #8628]
> > 
> > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
 
> -- 
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

Best Regards,
Maxin

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


[OE-core] [PATCH] libjpeg: Replace libjpeg with libjpeg-turbo

2015-11-30 Thread Maxin B. John
Moving libjpeg-turbo from meta-oe as a replacement for libjpeg
package. libjpeg-turbo has same API/ABI as libjpeg. It is relatively
faster in JPEG compression/decompression than libjpeg.

[YOCTO #8628]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/jpeg/jpeg_9a.bb| 29 -
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 
 2 files changed, 40 insertions(+), 29 deletions(-)
 delete mode 100644 meta/recipes-core/jpeg/jpeg_9a.bb
 create mode 100644 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb

diff --git a/meta/recipes-core/jpeg/jpeg_9a.bb 
b/meta/recipes-core/jpeg/jpeg_9a.bb
deleted file mode 100644
index ea2e65d..000
--- a/meta/recipes-core/jpeg/jpeg_9a.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "libjpeg is a library for handling the JPEG (JFIF) image format"
-DESCRIPTION = "libjpeg contains a library for handling the JPEG (JFIF) image 
format, as well as related programs for accessing the libjpeg functions."
-HOMEPAGE = "http://www.ijg.org/;
-
-LICENSE ="BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README;md5=ea93a8a2fed10106b63bc21679edacb9"
-
-SECTION = "libs"
-
-SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
- "
-
-SRC_URI[md5sum] = "3353992aecaee1805ef4109aadd433e7"
-SRC_URI[sha256sum] = 
"3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7"
-
-inherit autotools
-
-PACKAGES =+"jpeg-tools "
-DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs 
for access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files."
-FILES_jpeg-tools = "${bindir}/*"
-
-BBCLASSEXTEND = "native"
-
-pkg_postinst_${PN}_linuxstdbase () {
-if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
-JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
-ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62
-fi
-}
diff --git a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
new file mode 100644
index 000..e79f800
--- /dev/null
+++ b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
decompression"
+HOMEPAGE = "http://libjpeg-turbo.org/;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
+
file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
+
file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
+"
+
+DEPENDS = "nasm-native"
+
+BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
+SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
+SRC_URI[sha256sum] = 
"4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
+
+S = "${WORKDIR}/${BPN}-${BASEPV}"
+
+# Drop-in replacement for jpeg
+PROVIDES = "jpeg"
+RPROVIDES_${PN} += "jpeg"
+RREPLACES_${PN} += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-jpeg8 "
+
+PACKAGES =+ "jpeg-tools libturbojpeg"
+
+DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to 
access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files and benchmarking of the 
libjpeg library."
+FILES_jpeg-tools = "${bindir}/*"
+
+FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
+INSANE_SKIP_libturbojpeg = "dev-so"
+
+BBCLASSEXTEND = "native"
+
+LEAD_SONAME = "libjpeg.so.8"
-- 
2.4.0

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


[OE-core] [PATCH 2/2] libjpeg-turbo: import the recipe from meta-oe

2015-11-27 Thread Maxin B. John
libjpeg-turbo has same API/ABI as libjpeg. It is relatively
faster in JPEG compression/decompression than libjpeg.

[YOCTO #8628]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 
 1 file changed, 40 insertions(+)
 create mode 100644 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb

diff --git a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
new file mode 100644
index 000..e79f800
--- /dev/null
+++ b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
@@ -0,0 +1,40 @@
+DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
decompression"
+HOMEPAGE = "http://libjpeg-turbo.org/;
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = 
"file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
+
file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
+
file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
+"
+
+DEPENDS = "nasm-native"
+
+BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
+SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
+SRC_URI[sha256sum] = 
"4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
+
+S = "${WORKDIR}/${BPN}-${BASEPV}"
+
+# Drop-in replacement for jpeg
+PROVIDES = "jpeg"
+RPROVIDES_${PN} += "jpeg"
+RREPLACES_${PN} += "jpeg"
+RCONFLICTS_${PN} += "jpeg"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--with-jpeg8 "
+
+PACKAGES =+ "jpeg-tools libturbojpeg"
+
+DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs to 
access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files and benchmarking of the 
libjpeg library."
+FILES_jpeg-tools = "${bindir}/*"
+
+FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
+INSANE_SKIP_libturbojpeg = "dev-so"
+
+BBCLASSEXTEND = "native"
+
+LEAD_SONAME = "libjpeg.so.8"
-- 
2.4.0

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


Re: [OE-core] [PATCH 2/2] libjpeg-turbo: import the recipe from meta-oe

2015-11-27 Thread Maxin B. John
Hi Martin,

On Fri, Nov 27, 2015 at 12:14:52PM +0100, Martin Jansa wrote:
> On Fri, Nov 27, 2015 at 01:04:19PM +0200, Maxin B. John wrote:
> > libjpeg-turbo has same API/ABI as libjpeg. It is relatively
> > faster in JPEG compression/decompression than libjpeg.
> 
> Is this imported as-is from meta-oe? If so then at least mention it in
> commit message and sent libjpeg-turbo removal for meta-oe.
> 

Sure, Will do that. This patch set was sent in order to get the opinion from
everyone. Will send the libjpeg-turbo removal patch to meta-oe once it is 
accepted
in oe-core.

> > 
> > [YOCTO #8628]
> > 
> > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > ---
> >  meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 
> > 
> >  1 file changed, 40 insertions(+)
> >  create mode 100644 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> > 
> > diff --git a/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb 
> > b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> > new file mode 100644
> > index 000..e79f800
> > --- /dev/null
> > +++ b/meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb
> > @@ -0,0 +1,40 @@
> > +DESCRIPTION = "libjpeg-turbo is a derivative of libjpeg that uses SIMD 
> > instructions (MMX, SSE2, NEON) to accelerate baseline JPEG compression and 
> > decompression"
> > +HOMEPAGE = "http://libjpeg-turbo.org/;
> > +
> > +LICENSE = "BSD-3-Clause"
> > +LIC_FILES_CHKSUM = 
> > "file://cdjpeg.h;endline=12;md5=cad955d15145c3fdceec6855e078e953 \
> > +
> > file://jpeglib.h;endline=14;md5=dfc803dc51ae21178d1376ec73c4454d \
> > +
> > file://djpeg.c;endline=9;md5=e93a8f2061e8a0ac71c7a485c10489e2 \
> > +"
> > +
> > +DEPENDS = "nasm-native"
> > +
> > +BASEPV = "${@d.getVar('PV',True).split('+')[1]}"
> > +
> > +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${BASEPV}.tar.gz"
> > +SRC_URI[md5sum] = "b1f6b84859a16b8ebdcda951fa07c3f2"
> > +SRC_URI[sha256sum] = 
> > "4bf5bad4ce85625bffbbd9912211e06790e00fb982b77724af7211034efafb08"
> > +
> > +S = "${WORKDIR}/${BPN}-${BASEPV}"
> > +
> > +# Drop-in replacement for jpeg
> > +PROVIDES = "jpeg"
> > +RPROVIDES_${PN} += "jpeg"
> > +RREPLACES_${PN} += "jpeg"
> > +RCONFLICTS_${PN} += "jpeg"
> > +
> > +inherit autotools pkgconfig
> > +
> > +EXTRA_OECONF = "--with-jpeg8 "
> > +
> > +PACKAGES =+ "jpeg-tools libturbojpeg"
> > +
> > +DESCRIPTION_jpeg-tools = "The jpeg-tools package includes client programs 
> > to access libjpeg functionality.  These tools allow for the compression, 
> > decompression, transformation and display of JPEG files and benchmarking of 
> > the libjpeg library."
> > +FILES_jpeg-tools = "${bindir}/*"
> > +
> > +FILES_libturbojpeg = "${libdir}/libturbojpeg.so"
> > +INSANE_SKIP_libturbojpeg = "dev-so"
> > +
> > +BBCLASSEXTEND = "native"
> > +
> > +LEAD_SONAME = "libjpeg.so.8"
> > -- 
> > 2.4.0
> > 
> > -- 
> > ___
> > Openembedded-core mailing list
> > Openembedded-core@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 
> -- 
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

Best Regards,
Maxin

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


[OE-core] [RFC] Use libjpeg-turbo in place of libjpeg

2015-11-27 Thread Maxin B. John
This patch set provides libjpeg-turbo as a drop-in replacement for libjpeg.

libjpeg-turbo is a fork of the original libjpeg project.Most of the major Linux
distros (Fedora, Debian, OpenSUSE) moved from libjpeg to libjpeg-turbo recently.
lbjpeg-turbo provides better JPEG compression/decompression(at least 25% faster)
while maintaining same API/ABI as libjpeg.

Once we reach an agreement on this, based on the decision, we can move the
libjpeg package to meta-oe for applications which may depend on API version 9.

[YOCTO #8628]

Maxin B. John (2):
  libjpeg: Replace libjpeg with libjpeg-turbo
  libjpeg-turbo: import the recipe from meta-oe

 meta/recipes-core/jpeg/jpeg_9a.bb| 29 -
 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb | 40 
 2 files changed, 40 insertions(+), 29 deletions(-)
 delete mode 100644 meta/recipes-core/jpeg/jpeg_9a.bb
 create mode 100644 meta/recipes-core/jpeg/libjpeg-turbo_8d+1.4.1.bb

-- 
2.4.0

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


[OE-core] [PATCH 1/2] libjpeg: Replace libjpeg with libjpeg-turbo

2015-11-27 Thread Maxin B. John
Removing libjpeg from oe-core to replace it with libjpeg-turbo.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/jpeg/jpeg_9a.bb | 29 -
 1 file changed, 29 deletions(-)
 delete mode 100644 meta/recipes-core/jpeg/jpeg_9a.bb

diff --git a/meta/recipes-core/jpeg/jpeg_9a.bb 
b/meta/recipes-core/jpeg/jpeg_9a.bb
deleted file mode 100644
index ea2e65d..000
--- a/meta/recipes-core/jpeg/jpeg_9a.bb
+++ /dev/null
@@ -1,29 +0,0 @@
-SUMMARY = "libjpeg is a library for handling the JPEG (JFIF) image format"
-DESCRIPTION = "libjpeg contains a library for handling the JPEG (JFIF) image 
format, as well as related programs for accessing the libjpeg functions."
-HOMEPAGE = "http://www.ijg.org/;
-
-LICENSE ="BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://README;md5=ea93a8a2fed10106b63bc21679edacb9"
-
-SECTION = "libs"
-
-SRC_URI = "http://www.ijg.org/files/jpegsrc.v${PV}.tar.gz \
- "
-
-SRC_URI[md5sum] = "3353992aecaee1805ef4109aadd433e7"
-SRC_URI[sha256sum] = 
"3a753ea48d917945dd54a2d97de388aa06ca2eb1066cbfdc6652036349fe05a7"
-
-inherit autotools
-
-PACKAGES =+"jpeg-tools "
-DESCRIPTION_jpeg-tools = "The jpeg-tools package includes the client programs 
for access libjpeg functionality.  These tools allow for the compression, 
decompression, transformation and display of JPEG files."
-FILES_jpeg-tools = "${bindir}/*"
-
-BBCLASSEXTEND = "native"
-
-pkg_postinst_${PN}_linuxstdbase () {
-if [ ! -e $D${libdir}/libjpeg.so.62 ]; then
-JPEG=`find $D${libdir} -type f -name libjpeg.so.\*.\*.\*`
-ln -sf `basename $JPEG` $D${libdir}/libjpeg.so.62
-fi
-}
-- 
2.4.0

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


Re: [OE-core] [RFC] Use libjpeg-turbo in place of libjpeg

2015-11-27 Thread Maxin B. John
Hi,

On Fri, Nov 27, 2015 at 12:19:32PM +0100, Martin Jansa wrote:
> On Fri, Nov 27, 2015 at 09:13:22AM -0200, Otavio Salvador wrote:
> > On Fri, Nov 27, 2015 at 9:04 AM, Maxin B. John <maxin.j...@intel.com> wrote:
> > > This patch set provides libjpeg-turbo as a drop-in replacement for 
> > > libjpeg.
> > >
> > > libjpeg-turbo is a fork of the original libjpeg project.Most of the major 
> > > Linux
> > > distros (Fedora, Debian, OpenSUSE) moved from libjpeg to libjpeg-turbo 
> > > recently.
> > > lbjpeg-turbo provides better JPEG compression/decompression(at least 25% 
> > > faster)
> > > while maintaining same API/ABI as libjpeg.
> > >
> > > Once we reach an agreement on this, based on the decision, we can move the
> > > libjpeg package to meta-oe for applications which may depend on API 
> > > version 9.
> > 
> > I support this change, due:
> > 
> >  - agreement with major Linux distros
> >  - performance improvement
> > 
> > I also think moving libjpeg (API version 9) for meta-oe is fine as
> > well. I am not aware of any application which requires it, though.
> 
> I'm not aware of any as well, so I would prefer to drop libjpeg
> completely.
> 
> + less junk in meta-oe
> + people were confused about multiple jpeg providers before, now they
> would be again, but without good reason (as nobody knows about apps
> depending on libjpeg9).
>

Agree. In this case, I will send a patch to remove libjpeg-turbo from meta-oe.

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

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] ncurses: update SRC_URI

2015-11-25 Thread Maxin B. John
ncurses source tarball from "current" directory in
ftp://invisible-island.net gets updated/deleted during the release cycle.

We can't depend on that FTP server to fetch source as the maintainer
doesn't guarantee the presence of all patched versions in the server.
ftp://invisible-island.net/ncurses/5.9/README

Fetch sources from debian git server as it is comparatively reliable.

[YOCTO #8713]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/ncurses/ncurses.inc| 2 +-
 meta/recipes-core/ncurses/ncurses_5.9.bb | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/ncurses/ncurses.inc 
b/meta/recipes-core/ncurses/ncurses.inc
index ffd80ee..8bfe133 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -13,7 +13,7 @@ BINCONFIG = "${bindir}/ncurses-config"
 inherit autotools binconfig-disabled multilib_header pkgconfig
 
 # Upstream has useful patches at times at ftp://invisible-island.net/ncurses/
-SRC_URI = "ftp://invisible-island.net/${BPN}/current/${BP}-${REVISION}.tgz;
+SRC_URI = "git://anonscm.debian.org/collab-maint/ncurses.git"
 
 EXTRA_AUTORECONF = "-I m4"
 CONFIG_SITE =+ "${WORKDIR}/config.cache"
diff --git a/meta/recipes-core/ncurses/ncurses_5.9.bb 
b/meta/recipes-core/ncurses/ncurses_5.9.bb
index 54d27a9..22c6230 100644
--- a/meta/recipes-core/ncurses/ncurses_5.9.bb
+++ b/meta/recipes-core/ncurses/ncurses_5.9.bb
@@ -7,6 +7,6 @@ PR = "${INC_PR}.1"
 SRC_URI += "file://tic-hang.patch \
 file://config.cache \
 "
-S = "${WORKDIR}/${BP}-${REVISION}"
-SRC_URI[md5sum] = "cee991d09e69e60ebedef424804c52d4"
-SRC_URI[sha256sum] = 
"5b64f40e4dce73e3aa83d15bd9257c6eff8790ec41150f0938bd87c0eb75828f"
+# commit id corresponds to the above listed REVISION
+SRCREV = "6286e14dac28811dbfd325b8d4c23f0d4e37eaf0"
+S = "${WORKDIR}/git"
-- 
2.4.0

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


[OE-core] [PATCH 2/2] pkgconfig: upgrade to version 0.29

2015-11-23 Thread Maxin B. John
0.28 -> 0.29

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-devtools/pkgconfig/pkgconfig.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig.inc 
b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
index 55ab5c4..c2a1523 100644
--- a/meta/recipes-devtools/pkgconfig/pkgconfig.inc
+++ b/meta/recipes-devtools/pkgconfig/pkgconfig.inc
@@ -12,8 +12,8 @@ DEPENDS = "glib-2.0"
 DEPENDS_class-native = ""
 DEPENDS_class-nativesdk = ""
 
-SRCREV = "40342dd0ead05d457a2a4e692cf865f50033a709"
-PV = "0.28+git${SRCPV}"
+SRCREV = "5914edfe9604abfedd220103cbac382fc4d268bb"
+PV = "0.29+git${SRCPV}"
 SRC_URI = "git://anongit.freedesktop.org/pkg-config"
 
 S = "${WORKDIR}/git"
-- 
2.4.0

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


[OE-core] [PATCH 1/2] ofono: upgrade to version 1.17

2015-11-23 Thread Maxin B. John
Removed the patch 0001-backtrace-Disable-for-non-glibc-C-libraries.patch,
as it is included in the new sources.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 ...cktrace-Disable-for-non-glibc-C-libraries.patch | 40 --
 meta/recipes-connectivity/ofono/ofono_1.16.bb  | 12 ---
 meta/recipes-connectivity/ofono/ofono_1.17.bb  | 11 ++
 3 files changed, 11 insertions(+), 52 deletions(-)
 delete mode 100644 
meta/recipes-connectivity/ofono/ofono/0001-backtrace-Disable-for-non-glibc-C-libraries.patch
 delete mode 100644 meta/recipes-connectivity/ofono/ofono_1.16.bb
 create mode 100644 meta/recipes-connectivity/ofono/ofono_1.17.bb

diff --git 
a/meta/recipes-connectivity/ofono/ofono/0001-backtrace-Disable-for-non-glibc-C-libraries.patch
 
b/meta/recipes-connectivity/ofono/ofono/0001-backtrace-Disable-for-non-glibc-C-libraries.patch
deleted file mode 100644
index 306b6da..000
--- 
a/meta/recipes-connectivity/ofono/ofono/0001-backtrace-Disable-for-non-glibc-C-libraries.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From 2d729af0897d7d72b83d111876febf9e0eec1a68 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.k...@gmail.com>
-Date: Fri, 3 Apr 2015 20:50:56 -0700
-Subject: [PATCH] backtrace: Disable for non-glibc C libraries
-
-Signed-off-by: Khem Raj <raj.k...@gmail.com>
-Upstream-Status: Pending
-

- src/log.c | 5 -
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/log.c b/src/log.c
-index febc874..9db4ae7 100644
 a/src/log.c
-+++ b/src/log.c
-@@ -30,7 +30,9 @@
- #include 
- #include 
- #include 
-+#ifdef __GLIBC__
- #include 
-+#endif
- #include 
- 
- #include "ofono.h"
-@@ -219,8 +221,9 @@ static void signal_handler(int signo)
- {
-   ofono_error("Aborting (signal %d) [%s]", signo, program_exec);
- 
-+#ifdef __GLIBC__
-   print_backtrace(2);
--
-+#endif
-   exit(EXIT_FAILURE);
- }
- 
--- 
-2.1.4
-
diff --git a/meta/recipes-connectivity/ofono/ofono_1.16.bb 
b/meta/recipes-connectivity/ofono/ofono_1.16.bb
deleted file mode 100644
index fbf13e5..000
--- a/meta/recipes-connectivity/ofono/ofono_1.16.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require ofono.inc
-
-SRC_URI  = "\
-  ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
-  file://ofono \
-  file://Revert-test-Convert-to-Python-3.patch \
-  file://0001-backtrace-Disable-for-non-glibc-C-libraries.patch \
-"
-SRC_URI[md5sum] = "c31b5b55a1d68354bff771d3edf02829"
-SRC_URI[sha256sum] = 
"403b98dadece8bc804c0bd16b96d3db5a3bb0f84af64b3d67924da2d1a754b07"
-
-CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
diff --git a/meta/recipes-connectivity/ofono/ofono_1.17.bb 
b/meta/recipes-connectivity/ofono/ofono_1.17.bb
new file mode 100644
index 000..947f9d7
--- /dev/null
+++ b/meta/recipes-connectivity/ofono/ofono_1.17.bb
@@ -0,0 +1,11 @@
+require ofono.inc
+
+SRC_URI  = "\
+  ${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
+  file://ofono \
+  file://Revert-test-Convert-to-Python-3.patch \
+"
+SRC_URI[md5sum] = "d280b1d267ba5bf391d2a898fea7c748"
+SRC_URI[sha256sum] = 
"cbf20f07fd15253c682b23c1786d517f505c3688f7c4ea93da777e1523b89635"
+
+CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
-- 
2.4.0

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


[OE-core] [PATCH] iw: upgrade to version 4.3

2015-11-20 Thread Maxin B. John
Refreshed the following patches to work with this release:
 1) 0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
 2) separate-objdir.patch

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 sh-don-t-use-git-describe-for-versioning.patch | 20 
 .../iw/iw/separate-objdir.patch| 36 +-
 .../iw/{iw_4.1.bb => iw_4.3.bb}|  4 +--
 3 files changed, 15 insertions(+), 45 deletions(-)
 rename meta/recipes-connectivity/iw/{iw_4.1.bb => iw_4.3.bb} (86%)

diff --git 
a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
 
b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
index a0a77b2..2e52c80 100644
--- 
a/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
+++ 
b/meta/recipes-connectivity/iw/iw/0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch
@@ -1,6 +1,3 @@
-From 5310abba864cfe3a8b65af130729447604190b29 Mon Sep 17 00:00:00 2001
-From: Koen Kooi <k...@dominion.thruhere.net>
-Date: Tue, 29 Nov 2011 17:03:27 +0100
 Subject: [PATCH] iw: version.sh: don't use git describe for versioning
 
 It will detect top-level git repositories like the Angstrom setup-scripts and 
break.
@@ -8,21 +5,18 @@ It will detect top-level git repositories like the Angstrom 
setup-scripts and br
 Upstream-Status: Pending
 
 Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
 ---
- version.sh | 16 +---
- 1 file changed, 1 insertion(+), 15 deletions(-)
-
-diff --git a/version.sh b/version.sh
-index 11d124b..5d423c4 100755
 a/version.sh
-+++ b/version.sh
+diff -Naur iw-4.3-origin/version.sh iw-4.3/version.sh
+--- iw-4.3-origin/version.sh   2015-11-20 16:37:58.762077162 +0200
 iw-4.3/version.sh  2015-11-20 16:52:05.526491150 +0200
 @@ -3,21 +3,7 @@
- VERSION="3.15"
+ VERSION="4.3"
  OUT="$1"
  
 -if [ -d .git ] && head=`git rev-parse --verify HEAD 2>/dev/null`; then
 -  git update-index --refresh --unmerged > /dev/null
--  descr=$(git describe)
+-  descr=$(git describe --match=v*)
 -
 -  # on git builds check that the version number above
 -  # is correct...
@@ -39,5 +33,3 @@ index 11d124b..5d423c4 100755
  
  echo '#include "iw.h"' > "$OUT"
  echo "const char iw_version[] = \"$v\";" >> "$OUT"
--- 
-1.7.7.3
diff --git a/meta/recipes-connectivity/iw/iw/separate-objdir.patch 
b/meta/recipes-connectivity/iw/iw/separate-objdir.patch
index 883f8b2..0ea6a52 100644
--- a/meta/recipes-connectivity/iw/iw/separate-objdir.patch
+++ b/meta/recipes-connectivity/iw/iw/separate-objdir.patch
@@ -1,6 +1,3 @@
-From 9e27fc2e1b3dc8c36ef6a502edffc3a3d84d9dd9 Mon Sep 17 00:00:00 2001
-From: Christopher Larson <chris_lar...@mentor.com>
-Date: Wed, 26 Aug 2015 17:23:48 -0700
 Subject: [PATCH] Support separation of SRCDIR and OBJDIR
 
 Typical use of VPATH to locate the sources.
@@ -8,26 +5,21 @@ Typical use of VPATH to locate the sources.
 Upstream-Status: Pending
 
 Signed-off-by: Christopher Larson <chris_lar...@mentor.com>
-
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
 ---
- Makefile   | 7 +--
- version.sh | 2 +-
- 2 files changed, 6 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 548591a..da8d33a 100644
 a/Makefile
-+++ b/Makefile
-@@ -1,5 +1,8 @@
+diff -Naur iw-4.3-origin/Makefile iw-4.3/Makefile
+--- iw-4.3-origin/Makefile 2015-11-20 16:37:58.752077287 +0200
 iw-4.3/Makefile2015-11-20 16:57:15.510615815 +0200
+@@ -1,5 +1,7 @@
  MAKEFLAGS += --no-print-directory
- 
+-
 +SRCDIR ?= $(dir $(lastword $(MAKEFILE_LIST)))
 +OBJDIR ?= $(PWD)
 +VPATH = $(SRCDIR)
  PREFIX ?= /usr
  SBINDIR ?= $(PREFIX)/sbin
  MANDIR ?= $(PREFIX)/share/man
-@@ -95,11 +98,11 @@ VERSION_OBJS := $(filter-out version.o, $(OBJS))
+@@ -95,11 +97,11 @@
  version.c: version.sh $(patsubst %.o,%.c,$(VERSION_OBJS)) nl80211.h iw.h 
Makefile \
$(wildcard .git/index .git/refs/tags)
@$(NQ) ' GEN ' $@
@@ -41,17 +33,3 @@ index 548591a..da8d33a 100644
  
  ifeq ($(IW_ANDROID_BUILD),)
  iw:   $(OBJS)
-diff --git a/version.sh b/version.sh
-index 5354383..fa954cf 100755
 a/version.sh
-+++ b/version.sh
-@@ -5,5 +5,5 @@ OUT="$1"
- 
- v="$VERSION"
- 
--echo '#include "iw.h"' > "$OUT"
-+echo '#include ' > "$OUT"
- echo "const char iw_version[] = \"$v\";" >> "$OUT"
--- 
-2.2.1
-
diff --git a/meta/recipes-connectivity/iw/iw_4.1.bb 
b/meta/recipes-connectivity/iw/iw_4.3.bb
similarity index 86%
rename from meta/recipes-connectivity/iw/iw_4.1.bb
rename to meta/recipes-connectivity/iw/iw_4.3.bb
index fafb0e3..6865e7a 100644
--- a/meta/recipes-connectivity/iw/iw_4.1.bb
+++

Re: [OE-core] [PATCH 1/6] iproute2: update to 4.3.0

2015-11-19 Thread Maxin B. John
Hi,

On Wed, Nov 18, 2015 at 11:53:40PM -0500, Randy MacLeod wrote:
> On 2015-11-18 04:34 AM, Maxin B. John wrote:
> >4.1.1 -> 4.3.0
> >
> >Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> >---
> >  .../iproute2/{iproute2_4.1.1.bb => iproute2_4.3.0.bb} | 4 
> > ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >  rename meta/recipes-connectivity/iproute2/{iproute2_4.1.1.bb => 
> > iproute2_4.3.0.bb} (68%)
> >
> >diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb 
> >b/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
> >similarity index 68%
> >rename from meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb
> >rename to meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
> >index 10db0ba..0b3d896 100644
> >--- a/meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb
> >+++ b/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
> >@@ -4,8 +4,8 @@ SRC_URI = 
> >"${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
> > file://configure-cross.patch \
> > file://0001-iproute2-de-bash-scripts.patch \
> >"
> >-SRC_URI[md5sum] = "39290cb3a55d38dd8d10e19a3094109f"
> >-SRC_URI[sha256sum] = 
> >"73077a989efb934450bd655cbd9aaddaa747cb696c64d0c9a3323768a6a8e66f"
> >+SRC_URI[md5sum] = "1a2bbb80cfc7ab3f3e987e18b3207c2f"
> >+SRC_URI[sha256sum] = 
> >"f03b1188dd6c039512424de82ff7a8f3b446680bd4e908ff42a7b9b137422995"
> >
> >  # CFLAGS are computed in Makefile and reference CCOPTS
> >  #
> >
> 
> 
> There are other iproute utilities that are not yet packaged:
>misc netem genl tipc
> and perhaps more from the make install rule:
>   for i in lib ip tc bridge misc netem genl tipc man; \
> Note that misc contains these executables:
> 
> misc/lnstat
> misc/ifstat
> misc/arpd
> misc/rtacct
> misc/nstat
> misc/ss
>

Good catch. Yes, we haven't packaged the above mentioned binaries, cbq 
and shared libraries (q_netem.so) here.

> Do we want individual iproute2-FOO packages or a catchall
> iproute2-extras ?
> I think additional packages for each of: misc netem genl tipc
> should be fine but I haven't played with these tools recently
> so input is welcome.

IMHO, we shouldn't add more complexity in recipe or new recipess for this. 
We should use the iproute2 recipe to install all these binaries.

> 
> These were not packaged in jethro AFAIK so we should pull the
> patch back once there is consensus.

Yes. These binaries were not packaged in jethro as well. I am not sure about 
the 
historical reason behind it. Since jethro can't accept "new binaries" at
this stage, I guess, we should update the iproute2 recipe present in the master 
branch.

> -- 
> # Randy MacLeod. SMTS, Linux, Wind River
> Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, Canada,
> K2K 2W5

Best Regards,
Maxin

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


[OE-core] [PATCH 1/2] libtasn1: upgrade to 4.7

2015-11-19 Thread Maxin B. John
4.5 -> 4.7

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-support/gnutls/{libtasn1_4.5.bb => libtasn1_4.7.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/gnutls/{libtasn1_4.5.bb => libtasn1_4.7.bb} (81%)

diff --git a/meta/recipes-support/gnutls/libtasn1_4.5.bb 
b/meta/recipes-support/gnutls/libtasn1_4.7.bb
similarity index 81%
rename from meta/recipes-support/gnutls/libtasn1_4.5.bb
rename to meta/recipes-support/gnutls/libtasn1_4.7.bb
index f874574..7f08569 100644
--- a/meta/recipes-support/gnutls/libtasn1_4.5.bb
+++ b/meta/recipes-support/gnutls/libtasn1_4.7.bb
@@ -12,8 +12,8 @@ SRC_URI = "${GNU_MIRROR}/libtasn1/libtasn1-${PV}.tar.gz \
file://dont-depend-on-help2man.patch \
"
 
-SRC_URI[md5sum] = "81d272697545e82d39f6bd14854b68f0"
-SRC_URI[sha256sum] = 
"89b3b5dce119273431544ecb305081f3530911001bb12e5d76588907edb71bda"
+SRC_URI[md5sum] = "12d10ca4ae0a3b95f7aa06a076da39ec"
+SRC_URI[sha256sum] = 
"a40780dc93fc6d819170240e8ece25352058a85fd1d2347ce0f143667d8f11c9"
 
 inherit autotools texinfo binconfig lib_package
 
-- 
2.4.0

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


[OE-core] [PATCH 2/2] libunistring: upgrade to version 0.9.6

2015-11-19 Thread Maxin B. John
0.9.5 -> 0.9.6

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../libunistring/{libunistring_0.9.5.bb => libunistring_0.9.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/libunistring/{libunistring_0.9.5.bb => 
libunistring_0.9.6.bb} (90%)

diff --git a/meta/recipes-support/libunistring/libunistring_0.9.5.bb 
b/meta/recipes-support/libunistring/libunistring_0.9.6.bb
similarity index 90%
rename from meta/recipes-support/libunistring/libunistring_0.9.5.bb
rename to meta/recipes-support/libunistring/libunistring_0.9.6.bb
index 45cf633..bb70122 100644
--- a/meta/recipes-support/libunistring/libunistring_0.9.5.bb
+++ b/meta/recipes-support/libunistring/libunistring_0.9.6.bb
@@ -21,8 +21,8 @@ SRC_URI = 
"${GNU_MIRROR}/libunistring/libunistring-${PV}.tar.gz \
file://iconv-m4-remove-the-test-to-convert-euc-jp.patch \
file://0001-Unset-need_charset_alias-when-building-for-musl.patch \
 "
-SRC_URI[md5sum] = "1a705bcdcb83799d544137617b377cfd"
-SRC_URI[sha256sum] = 
"1a8c0772467850bef7197318a95f44abbb678ea83cbf119a3500cc7848276a17"
+SRC_URI[md5sum] = "dfae4ff5583649ed24d8f368f1d0543b"
+SRC_URI[sha256sum] = 
"9625eec2507f4789ebb6fc48ebda98be0e0168979a2f68aa8b680bf8eeabbd47"
 
 inherit autotools texinfo
 BBCLASSEXTEND = "native nativesdk"
-- 
2.4.0

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


[OE-core] [PATCH 1/6] iproute2: update to 4.3.0

2015-11-18 Thread Maxin B. John
4.1.1 -> 4.3.0

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../iproute2/{iproute2_4.1.1.bb => iproute2_4.3.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/iproute2/{iproute2_4.1.1.bb => 
iproute2_4.3.0.bb} (68%)

diff --git a/meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb 
b/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
similarity index 68%
rename from meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb
rename to meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
index 10db0ba..0b3d896 100644
--- a/meta/recipes-connectivity/iproute2/iproute2_4.1.1.bb
+++ b/meta/recipes-connectivity/iproute2/iproute2_4.3.0.bb
@@ -4,8 +4,8 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/net/${BPN}/${BP}.tar.xz \
file://configure-cross.patch \
file://0001-iproute2-de-bash-scripts.patch \
   "
-SRC_URI[md5sum] = "39290cb3a55d38dd8d10e19a3094109f"
-SRC_URI[sha256sum] = 
"73077a989efb934450bd655cbd9aaddaa747cb696c64d0c9a3323768a6a8e66f"
+SRC_URI[md5sum] = "1a2bbb80cfc7ab3f3e987e18b3207c2f"
+SRC_URI[sha256sum] = 
"f03b1188dd6c039512424de82ff7a8f3b446680bd4e908ff42a7b9b137422995"
 
 # CFLAGS are computed in Makefile and reference CCOPTS
 #
-- 
2.4.0

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


[OE-core] [PATCH 3/6] libpcap: update to 1.7.4

2015-11-18 Thread Maxin B. John
Update libpcap from version 1.6.2 to 1.7.4

LICENSE checksum has changed because of the removal of additional
spaces in the file.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-connectivity/libpcap/libpcap.inc | 2 +-
 .../libpcap/{libpcap_1.6.2.bb => libpcap_1.7.4.bb}| 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-connectivity/libpcap/{libpcap_1.6.2.bb => 
libpcap_1.7.4.bb} (82%)

diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc 
b/meta/recipes-connectivity/libpcap/libpcap.inc
index 0873c24..b7601b0 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -6,7 +6,7 @@ HOMEPAGE = "http://www.tcpdump.org/;
 BUGTRACKER = "http://sourceforge.net/tracker/?group_id=53067=469577;
 SECTION = "libs/network"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5eb289217c160e2920d2e35bddc36453 \
 
file://pcap.h;beginline=1;endline=32;md5=39af3510e011f34b8872f120b1dc31d2"
 DEPENDS = "flex-native bison-native"
 
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb 
b/meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb
similarity index 82%
rename from meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb
rename to meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb
index 611543e..8d12b25 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.6.2.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.7.4.bb
@@ -3,8 +3,8 @@ require libpcap.inc
 SRC_URI += "file://aclocal.patch \
 file://libpcap-pkgconfig-support.patch \
"
-SRC_URI[md5sum] = "5f14191c1a684a75532c739c2c4059fa"
-SRC_URI[sha256sum] = 
"5db3e2998f1eeba2c76da55da5d474248fe19c44f49e15cac8a796a2c7e19690"
+SRC_URI[md5sum] = "b2e13142bbaba857ab1c6894aedaf547"
+SRC_URI[sha256sum] = 
"7ad3112187e88328b85e46dce7a9b949632af18ee74d97ffc3f2b41fe7f448b0"
 
 #
 # make install doesn't cover the shared lib
-- 
2.4.0

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


[OE-core] [PATCH 5/6] libpng: update to 1.6.19

2015-11-18 Thread Maxin B. John
1.6.17 -> 1.6.19

No changes in License.The license checksums changed because of update
in Copyright dates and other restructuring in png.h

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../libpng/{libpng_1.6.17.bb => libpng_1.6.19.bb}  | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)
 rename meta/recipes-multimedia/libpng/{libpng_1.6.17.bb => libpng_1.6.19.bb} 
(62%)

diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.17.bb 
b/meta/recipes-multimedia/libpng/libpng_1.6.19.bb
similarity index 62%
rename from meta/recipes-multimedia/libpng/libpng_1.6.17.bb
rename to meta/recipes-multimedia/libpng/libpng_1.6.19.bb
index 00e5808..214f9d3 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.17.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.19.bb
@@ -2,16 +2,16 @@ SUMMARY = "PNG image format decoding library"
 HOMEPAGE = "http://www.libpng.org/;
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=b9b75399b72e4a8656cf3a6ddfc86d9a \
-
file://png.h;endline=16;md5=cc9c2d1eafda17e1277a6f99a9fc29c4 \
-
file://png.h;beginline=242;endline=356;md5=599316819d525dde2bfdf28fe3f323af"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=586a8dac4d039e74af7b68ff2bc5fc41 \
+
file://png.h;endline=17;md5=a38a64f8b5cf0ea4e2d4c2cb47150151 \
+
file://png.h;beginline=19;endline=111;md5=d3e773acb87d7a35863203538167a776"
 DEPENDS = "zlib"
 LIBV = "16"
 
 SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \
   "
-SRC_URI[md5sum] = "430a9b76b78533235cd4b9b26ce75c7e"
-SRC_URI[sha256sum] = 
"98507b55fbe5cd43c51981f2924e4671fd81fe35d52dc53357e20f2c77fa5dfd"
+SRC_URI[md5sum] = "1e6a458429e850fc93c1f3b6dc00a48f"
+SRC_URI[sha256sum] = 
"311c5657f53516986c67713c946f616483e3cdb52b8b2ee26711be74e8ac35e8"
 
 BINCONFIG = "${bindir}/libpng-config ${bindir}/libpng16-config"
 
-- 
2.4.0

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


[OE-core] [PATCH 6/6] libpng12: update to 1.2.54

2015-11-18 Thread Maxin B. John
1.2.53 -> 1.2.54

No updates in License.The license checksums changed
because of update in Copyright date and update of png.h

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../libpng/{libpng12_1.2.53.bb => libpng12_1.2.54.bb} | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-lsb4/libpng/{libpng12_1.2.53.bb => libpng12_1.2.54.bb} 
(70%)

diff --git a/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb 
b/meta/recipes-lsb4/libpng/libpng12_1.2.54.bb
similarity index 70%
rename from meta/recipes-lsb4/libpng/libpng12_1.2.53.bb
rename to meta/recipes-lsb4/libpng/libpng12_1.2.54.bb
index bf861a7..5f826ad 100644
--- a/meta/recipes-lsb4/libpng/libpng12_1.2.53.bb
+++ b/meta/recipes-lsb4/libpng/libpng12_1.2.54.bb
@@ -2,8 +2,8 @@ SUMMARY = "PNG image format decoding library"
 HOMEPAGE = "http://www.libpng.org/;
 SECTION = "libs"
 LICENSE = "Libpng"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=bd2a7a13355fcca92ad83bdf7e296011 \
-
file://png.h;beginline=322;endline=436;md5=caf9ee541234c663aeecdcfef2f79ae1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=74b5ed0e4da965adc6f2c00d8ec2bc81 \
+
file://png.h;beginline=19;endline=109;md5=b59f5432223381017280e327e605bb9a"
 DEPENDS = "zlib"
 
 PN = "libpng12"
@@ -11,8 +11,8 @@ S = "${WORKDIR}/libpng-${PV}"
 
 SRC_URI = 
"${SOURCEFORGE_MIRROR}/project/libpng/libpng12/${PV}/libpng-${PV}.tar.xz"
 
-SRC_URI[md5sum] = "7d18a74e6fd2029aee76ccd00e00a9e6"
-SRC_URI[sha256sum] = 
"b45e49f689e7451bd576569e6a344f7e0d11c02ecbb797f4da0e431526765c0a"
+SRC_URI[md5sum] = "bbb7a7264f1c7d9c444fd16bf6f89832"
+SRC_URI[sha256sum] = 
"cf85516482780f2bc2c5b5073902f12b1519019d47bf473326c2018bdff1d272"
 
 BINCONFIG_GLOB = "${PN}-config"
 
-- 
2.4.0

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


[OE-core] [PATCH 4/6] orc: update to 0.4.24

2015-11-18 Thread Maxin B. John
0.4.23 -> 0.4.24

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-devtools/orc/{orc_0.4.23.bb => orc_0.4.24.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/orc/{orc_0.4.23.bb => orc_0.4.24.bb} (83%)

diff --git a/meta/recipes-devtools/orc/orc_0.4.23.bb 
b/meta/recipes-devtools/orc/orc_0.4.24.bb
similarity index 83%
rename from meta/recipes-devtools/orc/orc_0.4.23.bb
rename to meta/recipes-devtools/orc/orc_0.4.24.bb
index d4257c3..4fa311f 100644
--- a/meta/recipes-devtools/orc/orc_0.4.23.bb
+++ b/meta/recipes-devtools/orc/orc_0.4.24.bb
@@ -4,8 +4,8 @@ LICENSE = "BSD-2-Clause & BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
 
 SRC_URI = "http://gstreamer.freedesktop.org/src/orc/orc-${PV}.tar.xz;name=orc;
-SRC_URI[orc.md5sum] = "72e0612ace54d77aa2f7a006348ee81a"
-SRC_URI[orc.sha256sum] = 
"767eaebce2941737b43368225ec54598b3055ca78b4dc50c4092f5fcdc0bdfe7"
+SRC_URI[orc.md5sum] = "9e793ec34c0e20339659dd4bbbf62135"
+SRC_URI[orc.sha256sum] = 
"338cd493b5247300149821c6312bdf7422a3593ae98691fc75d7e4fe727bd39b"
 
 inherit autotools pkgconfig
 
-- 
2.4.0

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


[OE-core] [PATCH 2/6] apr-util: add missing RDEPENDS for ptest

2015-11-18 Thread Maxin B. John
testxlate test case fails due to dependency on some character-sets.
Install them.

[YOCTO #8171]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-support/apr/apr-util_1.5.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/apr/apr-util_1.5.4.bb 
b/meta/recipes-support/apr/apr-util_1.5.4.bb
index a36f13d..37b4c83 100644
--- a/meta/recipes-support/apr/apr-util_1.5.4.bb
+++ b/meta/recipes-support/apr/apr-util_1.5.4.bb
@@ -73,6 +73,8 @@ FILES_${PN}-staticdev += "${libdir}/apr-util-1/apr_dbm_gdbm.a"
 
 inherit ptest
 
+RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-iso8859-1 
glibc-gconv-iso8859-2 glibc-gconv-utf-7"
+
 do_compile_ptest() {
cd ${B}/test
oe_runmake
-- 
2.4.0

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


[OE-core] [PATCH] mc: upgrade to 4.8.15

2015-11-16 Thread Maxin B. John
4.8.14 -> 4.8.15

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-extended/mc/{mc_4.8.14.bb => mc_4.8.15.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/mc/{mc_4.8.14.bb => mc_4.8.15.bb} (93%)

diff --git a/meta/recipes-extended/mc/mc_4.8.14.bb 
b/meta/recipes-extended/mc/mc_4.8.15.bb
similarity index 93%
rename from meta/recipes-extended/mc/mc_4.8.14.bb
rename to meta/recipes-extended/mc/mc_4.8.15.bb
index 3b6c2ff..ed53760 100644
--- a/meta/recipes-extended/mc/mc_4.8.14.bb
+++ b/meta/recipes-extended/mc/mc_4.8.15.bb
@@ -8,9 +8,8 @@ RDEPENDS_${PN} = "ncurses-terminfo"
 
 SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
"
-
-SRC_URI[md5sum] = "fe1cb75643c2bd4df64bbcf2dab76905"
-SRC_URI[sha256sum] = 
"61fd0fd2280c3d09d7e0aec8ab001fc89dad8e4fd9941f386414667b55152ec5"
+SRC_URI[md5sum] = "db48ce26ba425a61edc51930e94227fd"
+SRC_URI[sha256sum] = 
"f74e3da70410975cdeb27ee9a66d1dd812250b6d3ede364bca728dd5a48e5471"
 
 inherit autotools gettext pkgconfig
 
-- 
2.4.0

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


Re: [OE-core] [PATCH] wpa-supplicant: upgrade to 2.5

2015-11-12 Thread Maxin B. John
Hi,

On Fri, Nov 06, 2015 at 04:27:04PM +0900, Fan Xin wrote:
> wpa-supplicant: upgrade to 2.5
> 
> 1. upgrade to 2.5
> 2. remove eight patches since they have been modified in 2.5
> 
> Signed-off-by: Fan Xin 
> ---
>  ...integer-underflow-in-WMM-Action-frame-par.patch | 45 -

In addition to what Ross mentioned, http://hostap.epitest.fi redirects
to http://w1.fi

So, it will be nice to update the SRC_URI, HOMEPAGE and BUGTRACKER to use
w1.fi instead.

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 2/2] harfbuzz: update to 1.0.6

2015-11-12 Thread Maxin B. John
1.0.2 -> 1.0.6

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../harfbuzz/{harfbuzz_1.0.2.bb => harfbuzz_1.0.6.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-graphics/harfbuzz/{harfbuzz_1.0.2.bb => harfbuzz_1.0.6.bb} 
(88%)

diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.2.bb 
b/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.6.bb
similarity index 88%
rename from meta/recipes-graphics/harfbuzz/harfbuzz_1.0.2.bb
rename to meta/recipes-graphics/harfbuzz/harfbuzz_1.0.6.bb
index 670bd98..58541aa 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.2.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_1.0.6.bb
@@ -11,8 +11,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=e021dd6dda6ff1e6b1044002fc662b9b \
 SECTION = "libs"
 
 SRC_URI = "http://www.freedesktop.org/software/harfbuzz/release/${BP}.tar.bz2;
-SRC_URI[md5sum] = "e74f644045fe42c38a2641fc1e82a800"
-SRC_URI[sha256sum] = 
"beb3caf8654010fcdca61c810a3a7532237fc567ee4271deb674b5efbbe3b466"
+SRC_URI[md5sum] = "2256fd144c936936db9c92e77510a011"
+SRC_URI[sha256sum] = 
"f616a7fbdc78a627043f9029000bf08c0c71df59cde4143fc92a014f6a993b26"
 
 inherit autotools pkgconfig lib_package
 
-- 
2.4.0

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


[OE-core] [PATCH 1/2] ethtool: bump version to 4.2

2015-11-12 Thread Maxin B. John
4.0 -> 4.2

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-extended/ethtool/{ethtool_4.0.bb => ethtool_4.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/ethtool/{ethtool_4.0.bb => ethtool_4.2.bb} (88%)

diff --git a/meta/recipes-extended/ethtool/ethtool_4.0.bb 
b/meta/recipes-extended/ethtool/ethtool_4.2.bb
similarity index 88%
rename from meta/recipes-extended/ethtool/ethtool_4.0.bb
rename to meta/recipes-extended/ethtool/ethtool_4.2.bb
index 13f2b1c..95df784 100644
--- a/meta/recipes-extended/ethtool/ethtool_4.0.bb
+++ b/meta/recipes-extended/ethtool/ethtool_4.2.bb
@@ -11,8 +11,8 @@ SRC_URI = 
"${KERNELORG_MIRROR}/software/network/ethtool/ethtool-${PV}.tar.gz \
file://avoid_parallel_tests.patch \
"
 
-SRC_URI[md5sum] = "0a1c78787c7dcf077016ed86372a472f"
-SRC_URI[sha256sum] = 
"e200516727cc9583e8b63fd6e72f667f9ed41bb4f0577ff4803b60c64cfd1dbc"
+SRC_URI[md5sum] = "5b55f7cd76e901dfc2738ac22cab96ca"
+SRC_URI[sha256sum] = 
"f84226db8dd18afaf91d8d00f5cb8f87ec3d7f787d2a3605de08d6dfa95ab8ef"
 
 inherit autotools ptest
 RDEPENDS_${PN}-ptest += "make"
-- 
2.4.0

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


[OE-core] [PATCH] wireless-tools: remove unused files

2015-11-12 Thread Maxin B. John
Remove wireless-tools.if-pre-up and zzz-wireless.if-pre-up.
As per the comment, these files were not in use from 20/8/08.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../wireless-tools/wireless-tools.if-pre-up| 122 -
 .../wireless-tools/zzz-wireless.if-pre-up  |  34 --
 .../wireless-tools/wireless-tools_30.pre9.bb   |   6 -
 3 files changed, 162 deletions(-)
 delete mode 100755 
meta/recipes-connectivity/wireless-tools/wireless-tools/wireless-tools.if-pre-up
 delete mode 100644 
meta/recipes-connectivity/wireless-tools/wireless-tools/zzz-wireless.if-pre-up

diff --git 
a/meta/recipes-connectivity/wireless-tools/wireless-tools/wireless-tools.if-pre-up
 
b/meta/recipes-connectivity/wireless-tools/wireless-tools/wireless-tools.if-pre-up
deleted file mode 100755
index 2518a5c..000
--- 
a/meta/recipes-connectivity/wireless-tools/wireless-tools/wireless-tools.if-pre-up
+++ /dev/null
@@ -1,122 +0,0 @@
-#!/bin/sh
-
-case "$METHOD" in loopback) exit 0 ;; esac
-
-IWCONFIG=/sbin/iwconfig
-IWPRIV=/sbin/iwpriv
-
-if [ ! -x $IWCONFIG ]; then
-  exit 0
-fi
-
-# Detect and do nothing for linux-wlan-ng interfaces;
-# which are configured by thier own if-pre-up script.
-if [ -n "$IF_WIRELESS_TYPE" -a "$IF_WIRELESS_TYPE" = "wlan-ng" ]; then
-  exit 0
-fi
-
-if [ -n "$IF_NEEDS_RESET" ]; then
-  $IWPRIV "$IFACE" reset 1
-  sleep 1
-fi
-
-if [ -n "$IF_NEEDS_FIRMWARE" ]; then
-  $IF_NEEDS_FIRMWARE "$IFACE"
-fi
-
-if [ -n "$IF_WIRELESS_SENS" ]; then
-  $IWCONFIG "$IFACE" sens $IF_WIRELESS_SENS
-fi
-
-if [ -n "$IF_WIRELESS_RATE" ]; then
-  $IWCONFIG "$IFACE" rate $IF_WIRELESS_RATE
-fi
-
-if [ -n "$IF_WIRELESS_RTS" ]; then
-  $IWCONFIG "$IFACE" rts $IF_WIRELESS_RTS
-fi
-
-if [ -n "$IF_WIRELESS_FRAG" ]; then
-  $IWCONFIG "$IFACE" frag $IF_WIRELESS_FRAG
-fi
-
-if [ -n "$IF_WIRELESS_POWER" ]; then
-  $IWCONFIG "$IFACE" power $IF_WIRELESS_POWER
-fi
-
-if [ -n "$IF_WIRELESS_POWERPERIOD" ]; then
-  $IWCONFIG "$IFACE" power period $IF_WIRELESS_POWERPERIOD
-fi
-
-if [ -n "$IF_WIRELESS_POWERTIMEOUT" ]; then
-  $IWCONFIG "$IFACE" power timeout $IF_WIRELESS_POWERTIMEOUT
-fi
-
-if [ -n "$IF_WIRELESS_TXPOWER" ]; then
-  $IWCONFIG "$IFACE" txpower $IF_WIRELESS_TXPOWER
-fi
-
-if [ -n "$IF_WIRELESS_RETRY" ]; then
-  $IWCONFIG "$IFACE" retry $IF_WIRELESS_RETRY
-fi
-
-if [ -n "$IF_WIRELESS_NICK" ]; then
-  $IWCONFIG "$IFACE" nick "$IF_WIRELESS_NICK"
-fi
-
-if [ -n "$IF_WIRELESS_NWID" ]; then
-  $IWCONFIG "$IFACE" nwid "$IF_WIRELESS_NWID"
-fi
-
-if [ -n "$IF_WIRELESS_ENC" ]; then
-  eval $IWCONFIG "$IFACE" enc $IF_WIRELESS_ENC
-fi
-
-if [ -n "$IF_WIRELESS_KEY" ]; then
-  eval $IWCONFIG "$IFACE" key $IF_WIRELESS_KEY
-fi
-
-if [ -n "$IF_WIRELESS_KEY1" ]; then
-  $IWCONFIG "$IFACE" key [1] "$IF_WIRELESS_KEY1"
-fi
-
-if [ -n "$IF_WIRELESS_KEY2" ]; then
-  $IWCONFIG "$IFACE" key [2] "$IF_WIRELESS_KEY2"
-fi
-
-if [ -n "$IF_WIRELESS_KEY3" ]; then
-  $IWCONFIG "$IFACE" key [3] "$IF_WIRELESS_KEY3"
-fi
-
-if [ -n "$IF_WIRELESS_KEY4" ]; then
-  $IWCONFIG "$IFACE" key [4] "$IF_WIRELESS_KEY4"
-fi
-
-if [ -n "$IF_WIRELESS_DEFAULTKEY" ]; then
-  $IWCONFIG "$IFACE" key ["$IF_WIRELESS_DEFAULTKEY"]
-fi
-
-if [ -n "$IF_WIRELESS_KEYMODE" ]; then
-  $IWCONFIG "$IFACE" key "$IF_WIRELESS_KEYMODE"
-fi
-
-if [ -n "$IF_WIRELESS_MODE" ]; then
-  $IWCONFIG "$IFACE" mode $IF_WIRELESS_MODE
-fi
-
-if [ -n "$IF_WIRELESS_FREQ" ]; then
-  $IWCONFIG "$IFACE" freq $IF_WIRELESS_FREQ
-fi
-
-if [ -n "$IF_WIRELESS_CHANNEL" ]; then
-  $IWCONFIG "$IFACE" channel $IF_WIRELESS_CHANNEL
-fi
-
-if [ -n "$IF_WIRELESS_ESSID" ]; then
-  $IWCONFIG "$IFACE" essid "$IF_WIRELESS_ESSID"
-fi
-
-if [ -n "$IF_WIRELESS_COMMIT" ]; then
-  $IWCONFIG "$IFACE" commit
-fi
-
diff --git 
a/meta/recipes-connectivity/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
 
b/meta/recipes-connectivity/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
deleted file mode 100644
index 4c8e95b..000
--- 
a/meta/recipes-connectivity/wireless-tools/wireless-tools/zzz-wireless.if-pre-up
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# /etc/network/if-pre-up.d/zzz-wireless
-# by Stefan Tomanek (ste...@pico.ruhr.de)
-
-
-IWCONFIG=/sbin/iwconfig
-IFCONFIG=/sbin/ifconfig
-GREP=/bin/grep
-LOGGER=/usr/bin/logger
-SLEEP=/bin/sleep
-
-# How long do we wait for association?
-RETRIES=15
-SLEEPTIME=1
-
-# Only sleep if we use 

[OE-core] [PATCH] acpid: upgrade to version 2.0.25

2015-11-09 Thread Maxin B. John
upgrade from version 2.0.23 -> 2.0.25

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-bsp/acpid/{acpid_2.0.23.bb => acpid_2.0.25.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-bsp/acpid/{acpid_2.0.23.bb => acpid_2.0.25.bb} (55%)

diff --git a/meta/recipes-bsp/acpid/acpid_2.0.23.bb 
b/meta/recipes-bsp/acpid/acpid_2.0.25.bb
similarity index 55%
rename from meta/recipes-bsp/acpid/acpid_2.0.23.bb
rename to meta/recipes-bsp/acpid/acpid_2.0.25.bb
index a5317a4..f00d25a 100644
--- a/meta/recipes-bsp/acpid/acpid_2.0.23.bb
+++ b/meta/recipes-bsp/acpid/acpid_2.0.25.bb
@@ -3,5 +3,5 @@ require acpid.inc
 LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b \
 
file://acpid.h;endline=24;md5=324a9cf225ae69ddaad1bf9d942115b5"
 
-SRC_URI[md5sum] = "d7bcdcdefcd53b03730e50ba842554ea"
-SRC_URI[sha256sum] = 
"4396aaec13510c3a1faa941a15a4b5335b6ae4fbec8438b9249b88c3b66187ee"
+SRC_URI[md5sum] = "69bb0cc4a0a89eb2dfecc4851087f568"
+SRC_URI[sha256sum] = 
"0b700a8072bec162c512f72cbe419195601ab3e0ffd2138f9bd95ed3097a5c68"
-- 
2.4.0

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


Re: [OE-core] [PATCH 2/5] bbclass: fix spelling mistakes

2015-11-06 Thread Maxin B. John
Hi Sona,

On Fri, Nov 06, 2015 at 09:33:06AM +, Sona Sarmadi wrote:
> Hi Maxin,
> 
> I think the warning below " bb.warn" is incorrect, it should be " dirname" 
> instead of " patch",  see below:
> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/spdx.bbclass 
> (master)
> 
> def get_ver_code(dirname):
> chksums = []
> for f_dir, f in list_files(dirname):
> hash = hash_file(os.path.join(dirname, f_dir, f))
> if not hash is None:
> chksums.append(hash)
> else:
> bb.warn("SPDX: Could not hash file: " + patch) <<< dirname
> 
> Could you please have a look at this as well?

Sure, Thanks for spotting it :)

> Regrads
> //Sona

> > -Original Message-
> > From: openembedded-core-boun...@lists.openembedded.org
> >  # We need special processing for vardeps because it can not work on -#
> > modified flag values.  So we agregate the flags into a new variable
> > +# modified flag values.  So we aggregate the flags into a new variable
> >  # and include that vairable in the set.
> >  UPDALTVARS  = "ALTERNATIVE ALTERNATIVE_LINK_NAME
> > ALTERNATIVE_TARGET ALTERNATIVE_PRIORITY"
> >


Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH 5/5] libsndfile: fix CVE-2014-9756

2015-11-05 Thread Maxin B. John
Fix divide by zero bug (CVE-2014-9756)

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../files/libsndfile-fix-CVE-2014-9756.patch   | 24 ++
 .../libsndfile/libsndfile1_1.0.25.bb   |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 
meta/recipes-multimedia/libsndfile/files/libsndfile-fix-CVE-2014-9756.patch

diff --git 
a/meta/recipes-multimedia/libsndfile/files/libsndfile-fix-CVE-2014-9756.patch 
b/meta/recipes-multimedia/libsndfile/files/libsndfile-fix-CVE-2014-9756.patch
new file mode 100644
index 000..b54b3ba
--- /dev/null
+++ 
b/meta/recipes-multimedia/libsndfile/files/libsndfile-fix-CVE-2014-9756.patch
@@ -0,0 +1,24 @@
+src/file_io.c : Prevent potential divide-by-zero.
+
+Closes: https://github.com/erikd/libsndfile/issues/92
+
+Upstream-Status: Backport
+
+Fixes CVE-2014-9756
+
+Signed-off-by: Erik de Castro Lopo <er...@mega-nerd.com>
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+---
+diff -Naur libsndfile-1.0.25-orig/src/file_io.c libsndfile-1.0.25/src/file_io.c
+--- libsndfile-1.0.25-orig/src/file_io.c   2011-01-19 12:12:28.0 
+0200
 libsndfile-1.0.25/src/file_io.c2015-11-04 15:02:04.337395618 +0200
+@@ -358,6 +358,9 @@
+ { sf_count_t total = 0 ;
+   ssize_t count ;
+ 
++if (bytes == 0 || items == 0)
++return 0 ;
++
+   if (psf->virtual_io)
+   return psf->vio.write (ptr, bytes*items, psf->vio_user_data) / 
bytes ;
+ 
diff --git a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb 
b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb
index 3e02f4e..be875c2 100644
--- a/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb
+++ b/meta/recipes-multimedia/libsndfile/libsndfile1_1.0.25.bb
@@ -9,6 +9,7 @@ PR = "r2"
 SRC_URI = "http://www.mega-nerd.com/libsndfile/files/libsndfile-${PV}.tar.gz \
file://0001-src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch \
file://0001-src-sd2.c-Fix-two-potential-buffer-read-overflows.patch 
\
+   file://libsndfile-fix-CVE-2014-9756.patch \
 "
 
 SRC_URI[md5sum] = "e2b7bb637e01022c7d20f95f9c3990a2"
-- 
2.4.0

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


[OE-core] [PATCH 3/5] python-pycurl: update version to 7.19.5.2

2015-11-05 Thread Maxin B. John
No change in License. Updated no-static-link.patch

README.rst: license checksum changed to reflect the Copyright update
COPYING-MIT: checksum changed to reflect the Copyright update

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../python/python-pycurl/no-static-link.patch| 12 ++--
 .../{python-pycurl_7.19.5.1.bb => python-pycurl_7.19.5.2.bb} |  8 
 2 files changed, 10 insertions(+), 10 deletions(-)
 rename meta/recipes-devtools/python/{python-pycurl_7.19.5.1.bb => 
python-pycurl_7.19.5.2.bb} (72%)

diff --git a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch 
b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
index c5349ee..212779c 100644
--- a/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
+++ b/meta/recipes-devtools/python/python-pycurl/no-static-link.patch
@@ -1,12 +1,12 @@
 Upstream-Status: Pending
 
 Signed-off-by: Laurentiu Palcu <laurentiu.pa...@intel.com>
-
-Index: pycurl-7.19.3.1/setup.py
-===
 pycurl-7.19.3.1.orig/setup.py  2014-07-16 12:57:24.065346887 +
-+++ pycurl-7.19.3.1/setup.py   2014-07-16 12:57:53.057347678 +
-@@ -147,7 +147,7 @@
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+---
+diff -Naur pycurl-7.19.5.2-orig/setup.py pycurl-7.19.5.2/setup.py
+--- pycurl-7.19.5.2-orig/setup.py  2015-11-02 15:42:24.0 +0200
 pycurl-7.19.5.2/setup.py   2015-11-02 17:59:36.121527273 +0200
+@@ -154,7 +154,7 @@
  optbuf = ''
  sslhintbuf = ''
  errtext = ''
diff --git a/meta/recipes-devtools/python/python-pycurl_7.19.5.1.bb 
b/meta/recipes-devtools/python/python-pycurl_7.19.5.2.bb
similarity index 72%
rename from meta/recipes-devtools/python/python-pycurl_7.19.5.1.bb
rename to meta/recipes-devtools/python/python-pycurl_7.19.5.2.bb
index 0d0effe..094105c 100644
--- a/meta/recipes-devtools/python/python-pycurl_7.19.5.1.bb
+++ b/meta/recipes-devtools/python/python-pycurl_7.19.5.2.bb
@@ -2,9 +2,9 @@ SUMMARY = "Python bindings for libcurl"
 HOMEPAGE = "http://pycurl.sourceforge.net/;
 SECTION = "devel/python"
 LICENSE = "LGPLv2.1+ | MIT"
-LIC_FILES_CHKSUM = 
"file://README.rst;beginline=166;endline=181;md5=57e5ab0c0f964533fc59d93dec5695bb
 \
+LIC_FILES_CHKSUM = 
"file://README.rst;beginline=166;endline=182;md5=e5c36c3ca7e9f0bf6e144267dd760861
 \
 file://COPYING-LGPL;md5=3579a9fd0221d49a237aaa33492f988c \
-file://COPYING-MIT;md5=e8200955c773b2a0fd6cea36ea5e87be"
+file://COPYING-MIT;md5=0c3eb58d2e99f3102e2ce2db4eb172f1"
 
 DEPENDS = "curl python"
 RDEPENDS_${PN} = "python-core curl"
@@ -15,8 +15,8 @@ SRC_URI = "\
   file://no-static-link.patch \
 "
 
-SRC_URI[archive.md5sum] = "f44cd54256d7a643ab7b16e3f409b26b"
-SRC_URI[archive.sha256sum] = 
"6e9770f80459757f73bd71af82fbb29cd398b38388cdf1beab31ea91a331bc6c"
+SRC_URI[archive.md5sum] = "59cea96cc3027a1a7ed5020e69d4009a"
+SRC_URI[archive.sha256sum] = 
"98cc821555d152977fac99b6e5cb0f759275aabdf14e4928890c6fcc944ab736"
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
 inherit distutils
-- 
2.4.0

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


[OE-core] [PATCH 2/5] bbclass: fix spelling mistakes

2015-11-05 Thread Maxin B. John
Fix some spelling mistakes in bbclass files

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/classes/allarch.bbclass | 2 +-
 meta/classes/archiver.bbclass| 2 +-
 meta/classes/buildhistory.bbclass| 2 +-
 meta/classes/chrpath.bbclass | 4 ++--
 meta/classes/crosssdk.bbclass| 2 +-
 meta/classes/module-base.bbclass | 2 +-
 meta/classes/package.bbclass | 4 ++--
 meta/classes/package_deb.bbclass | 2 +-
 meta/classes/siteinfo.bbclass| 2 +-
 meta/classes/spdx.bbclass| 2 +-
 meta/classes/tinderclient.bbclass| 2 +-
 meta/classes/update-alternatives.bbclass | 2 +-
 12 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/meta/classes/allarch.bbclass b/meta/classes/allarch.bbclass
index 2fea7c0..3826643 100644
--- a/meta/classes/allarch.bbclass
+++ b/meta/classes/allarch.bbclass
@@ -1,5 +1,5 @@
 #
-# This class is used for architecture independent recipes/data files (usally 
scripts)
+# This class is used for architecture independent recipes/data files (usually 
scripts)
 #
 
 # Expand STAGING_DIR_HOST since for cross-canadian/native/nativesdk, this will
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 41a552c..f4a34df 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -254,7 +254,7 @@ python do_unpack_and_patch() {
 ar_outdir = d.getVar('ARCHIVER_OUTDIR', True)
 d.setVar('WORKDIR', ar_outdir)
 
-# The changed 'WORKDIR' also casued 'B' changed, create dir 'B' for the
+# The changed 'WORKDIR' also caused 'B' changed, create dir 'B' for the
 # possibly requiring of the following tasks (such as some recipes's
 # do_patch required 'B' existed).
 bb.utils.mkdirhier(d.getVar('B', True))
diff --git a/meta/classes/buildhistory.bbclass 
b/meta/classes/buildhistory.bbclass
index 4db0441..c3da773 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -24,7 +24,7 @@ sstate_install[vardepsexclude] += 
"buildhistory_emit_pkghistory"
 SSTATEPOSTINSTFUNCS[vardepvalueexclude] .= "| buildhistory_emit_pkghistory"
 
 #
-# Write out metadata about this package for comparision when writing future 
packages
+# Write out metadata about this package for comparison when writing future 
packages
 #
 python buildhistory_emit_pkghistory() {
 if not d.getVar('BB_CURRENTTASK', True) in ['packagedata', 
'packagedata_setscene']:
diff --git a/meta/classes/chrpath.bbclass b/meta/classes/chrpath.bbclass
index e9160af..9c68855 100644
--- a/meta/classes/chrpath.bbclass
+++ b/meta/classes/chrpath.bbclass
@@ -6,7 +6,7 @@ def process_file_linux(cmd, fpath, rootdir, baseprefix, tmpdir, 
d):
 
 p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE)
 err, out = p.communicate()
-# If returned succesfully, process stderr for results
+# If returned successfully, process stderr for results
 if p.returncode != 0:
 return
 
@@ -45,7 +45,7 @@ def process_file_darwin(cmd, fpath, rootdir, baseprefix, 
tmpdir, d):
 
 p = sub.Popen([d.expand("${HOST_PREFIX}otool"), '-L', 
fpath],stdout=sub.PIPE,stderr=sub.PIPE)
 err, out = p.communicate()
-# If returned succesfully, process stderr for results
+# If returned successfully, process stderr for results
 if p.returncode != 0:
 return
 for l in err.split("\n"):
diff --git a/meta/classes/crosssdk.bbclass b/meta/classes/crosssdk.bbclass
index 87d5cf5..7315c38 100644
--- a/meta/classes/crosssdk.bbclass
+++ b/meta/classes/crosssdk.bbclass
@@ -30,7 +30,7 @@ baselib = "lib"
 do_populate_sysroot[stamp-extra-info] = ""
 do_packagedata[stamp-extra-info] = ""
 
-# Need to force this to ensure consitency accross architectures
+# Need to force this to ensure consitency across architectures
 EXTRA_OECONF_GCC_FLOAT = ""
 
 USE_NLS = "no"
diff --git a/meta/classes/module-base.bbclass b/meta/classes/module-base.bbclass
index 8be26c4..cdff0a5 100644
--- a/meta/classes/module-base.bbclass
+++ b/meta/classes/module-base.bbclass
@@ -19,7 +19,7 @@ KERNEL_OBJECT_SUFFIX = ".ko"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 # Function to ensure the kernel scripts are created. Expected to
-# be called before do_compile. See module.bbclass for an exmaple.
+# be called before do_compile. See module.bbclass for an example.
 do_make_scripts() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS 
make CC="${KERNEL_CC}" LD="${KERNEL_LD}" AR="${KERNEL_AR}" \
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index a86b680..2bae341 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1513,7 +1513,7 @@ python package_do_shlibs() {
 rpath = []
 p = sub.Popen([d.expand("${HOST_PREFIX}otool"

[OE-core] [PATCH 1/5] rt-tests: upgrade to version 0.96

2015-11-05 Thread Maxin B. John
bump version to 0.96

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../rt-tests/{hwlatdetect_0.94.bb => hwlatdetect_0.96.bb}   | 2 +-
 meta/recipes-rt/rt-tests/rt-tests.inc   | 6 +++---
 meta/recipes-rt/rt-tests/{rt-tests_0.94.bb => rt-tests_0.96.bb} | 0
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-rt/rt-tests/{hwlatdetect_0.94.bb => hwlatdetect_0.96.bb} 
(90%)
 rename meta/recipes-rt/rt-tests/{rt-tests_0.94.bb => rt-tests_0.96.bb} (100%)

diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_0.94.bb 
b/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb
similarity index 90%
rename from meta/recipes-rt/rt-tests/hwlatdetect_0.94.bb
rename to meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb
index 8319eb9..962069e 100644
--- a/meta/recipes-rt/rt-tests/hwlatdetect_0.94.bb
+++ b/meta/recipes-rt/rt-tests/hwlatdetect_0.96.bb
@@ -1,6 +1,6 @@
 SUMMARY = "Hardware latency detector"
 DESCRIPTION = "Python utility for controlling the kernel hardware latency 
detection module (hwlat_detector.ko)."
-HOMEPAGE = "http://git.kernel.org/?p=linux/kernel/git/clrkwllms/rt-tests.git;
+HOMEPAGE = "https://rt.wiki.kernel.org/index.php/Cyclictest;
 SECTION = "tests"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc 
b/meta/recipes-rt/rt-tests/rt-tests.inc
index 4e099df..76f9b3a 100644
--- a/meta/recipes-rt/rt-tests/rt-tests.inc
+++ b/meta/recipes-rt/rt-tests/rt-tests.inc
@@ -1,6 +1,6 @@
-# Version v0.94
-PV = "0.94"
-SRCREV = "a8fd81efa718ec449d90cba8f41123ed521bd12b"
+# Version v0.96
+PV = "0.96"
+SRCREV = "24f8c0175e04bab78e7555698e34d7002b01c87f"
 
 SRC_URI = "git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git"
 
diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.94.bb 
b/meta/recipes-rt/rt-tests/rt-tests_0.96.bb
similarity index 100%
rename from meta/recipes-rt/rt-tests/rt-tests_0.94.bb
rename to meta/recipes-rt/rt-tests/rt-tests_0.96.bb
-- 
2.4.0

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


[OE-core] [PATCH] gnome-desktop-testing: fix ptest output format

2015-11-02 Thread Maxin B. John
Fix ptest output format for glib-2.0 and other packages
which depends on gnome-desktop-testing framework.

[YOCTO #6601]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../update-output-syntax.patch | 27 ++
 .../gnome-desktop-testing_2014.1.bb|  1 +
 2 files changed, 28 insertions(+)
 create mode 100644 
meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch

diff --git 
a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch
 
b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch
new file mode 100644
index 000..5a178e2
--- /dev/null
+++ 
b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch
@@ -0,0 +1,27 @@
+
+The terms `FAIL` instead of `FAILED` and `SKIP` instead of `SKIPPED`
+match what Automake does
+
+Upstream-Status: Accepted
+[ 
https://git.gnome.org/browse/gnome-desktop-testing/commit/?id=048850731a640532ef55a61df7357fcc6d2ad501
 ]
+
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+---
+diff -Naur 
gnome-desktop-testing-2014.1-orig/src/gnome-desktop-testing-runner.c 
gnome-desktop-testing-2014.1/src/gnome-desktop-testing-runner.c
+--- gnome-desktop-testing-2014.1-orig/src/gnome-desktop-testing-runner.c   
2014-01-16 12:58:26.0 +0200
 gnome-desktop-testing-2014.1/src/gnome-desktop-testing-runner.c
2015-11-02 11:27:34.010594126 +0200
+@@ -280,12 +280,12 @@
+   else if (test->state == TEST_STATE_COMPLETE_FAILED)
+ {
+   msgid_value = ONE_TEST_FAILED_MSGID;
+-  msg = g_strconcat ("FAILED: ", test->name, " (", reason, ")", NULL);
++  msg = g_strconcat ("FAIL: ", test->name, " (", reason, ")", NULL);
+ }
+   else if (test->state == TEST_STATE_COMPLETE_SKIPPED)
+ {
+   msgid_value = ONE_TEST_SKIPPED_MSGID;
+-  msg = g_strconcat ("SKIPPED: ", test->name, NULL);
++  msg = g_strconcat ("SKIP: ", test->name, NULL);
+ }
+   else
+ g_assert_not_reached ();
diff --git 
a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb 
b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb
index 482de99..ccb3d3b 100644
--- a/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb
+++ b/meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing_2014.1.bb
@@ -4,6 +4,7 @@ LICENSE = "LGPLv2+"
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz \

file://0001-gsystem-subprocess.c-Enable-GNU-extensions-in-system.patch \
+   file://update-output-syntax.patch \
   "
 SRC_URI[md5sum] = "a608ad72a77e23a1aecdfd8d07a94baf"
 SRC_URI[sha256sum] = 
"1a3eed73678dd22d09d6a7ec4f899557df3e8b4a802affa76d0f163b31286539"
-- 
2.4.0

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


Re: [OE-core] [PATCH] glib-2.0: fix ptest output format

2015-11-02 Thread Maxin B. John
Hi Ross,

On Mon, Nov 02, 2015 at 12:12:52PM +, Burton, Ross wrote:
>>On 30 October 2015 at 09:39, Maxin B. John <maxin.j...@intel.com> wrote:
>> +gnome-desktop-testing-runner glib | sed 's/FAILED/FAIL/g'

>Don't all upstreams using the GLib test framework emit FAILED, or is this 
>really specific to glib?

You are right. Please ignore this patch. This is caused by the 
gnome-desktop-testing package which
is part of the test framework. Currently, I am testing a fix for that package.

> Ross

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] glib-2.0: fix ptest output format

2015-10-30 Thread Maxin B. John
use "FAIL" keyword instead of "FAILED" in glib-2.0 test output

[YOCTO #6601]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/glib-2.0/glib-2.0/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest 
b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
index 130ae09..0367f65 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
+++ b/meta/recipes-core/glib-2.0/glib-2.0/run-ptest
@@ -1,3 +1,3 @@
 #! /bin/sh
 
-gnome-desktop-testing-runner glib
+gnome-desktop-testing-runner glib | sed 's/FAILED/FAIL/g'
-- 
2.4.0

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


[OE-core] [PATCH v2] runqemu-export-rootfs: update location of unfsd binary

2015-10-27 Thread Maxin B. John
oe-core commit: 24b80d211f3808a0ffebee426932f11b8d4d46e0 sets
sbindir = "${bindir}"

So, update the location of unfsd binary from "/usr/sbin" to "/usr/bin" in
runqemu-export-rootfs. Also update unfs3-native to install unfsd under
"bin" directory.

[YOCTO #8315]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-devtools/unfs3/unfs3_0.9.22.r490.bb | 1 +
 scripts/runqemu-export-rootfs| 8 
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r490.bb 
b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r490.bb
index 45cf545..5130895 100644
--- a/meta/recipes-devtools/unfs3/unfs3_0.9.22.r490.bb
+++ b/meta/recipes-devtools/unfs3/unfs3_0.9.22.r490.bb
@@ -29,6 +29,7 @@ SRC_URI = 
"svn://svn.code.sf.net/p/unfs3/code;module=trunk;rev=${MOD_PV} \
 BBCLASSEXTEND = "native nativesdk"
 
 inherit autotools
+EXTRA_OECONF_append_class-native = " --sbindir=${bindir}"
 
 # Turn off these header detects else the inode search
 # will walk entire file systems and this is a real problem
diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs
index 40ab201..3dee131 100755
--- a/scripts/runqemu-export-rootfs
+++ b/scripts/runqemu-export-rootfs
@@ -46,8 +46,8 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
 fi
 . $SYSROOT_SETUP_SCRIPT
 
-if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/unfsd" ]; then
-   echo "Error: Unable to find unfsd binary in 
$OECORE_NATIVE_SYSROOT/usr/sbin/"
+if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/unfsd" ]; then
+   echo "Error: Unable to find unfsd binary in 
$OECORE_NATIVE_SYSROOT/usr/bin/"
 
if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then
echo "Have you run 'bitbake meta-ide-support'?"
@@ -115,8 +115,8 @@ case "$1" in
fi
 
echo "Starting User Mode nfsd"
-   echo "  $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd 
$UNFSD_OPTS"
-   $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd $UNFSD_OPTS
+   echo "  $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd 
$UNFSD_OPTS"
+   $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd $UNFSD_OPTS
if [ ! $? = 0 ]; then
echo "Error starting nfsd"
exit 1
-- 
2.4.0

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


[OE-core] [PATCH] toolchain-shar-extract.sh: provide proper path for env_setup_script

2015-10-15 Thread Maxin B. John
The toolchain install script suggest the user to source env_setup_script
from wrong path now. eg:

" Each time you wish to use the SDK in a new shell session, you need to
source the environment setup script e.g.
$ . /opt/poky/2.0//opt/poky/2.0/environment-setup-armv5e-poky-linux-gnueabi
"

fix it.

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/files/toolchain-shar-extract.sh 
b/meta/files/toolchain-shar-extract.sh
index 2ffc2d1..2eeb290 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -183,7 +183,7 @@ fi
 echo "SDK has been successfully set up and is ready to be used."
 echo "Each time you wish to use the SDK in a new shell session, you need to 
source the environment setup script e.g."
 for env_setup_script in `ls $target_sdk_dir/environment-setup-*`; do
-   echo " \$ . $target_sdk_dir/$env_setup_script"
+   echo " \$ . $env_setup_script"
 done
 
 exit 0
-- 
2.4.0

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


[OE-core] [PATCH] kbd: provide a workaround for build failures

2015-10-07 Thread Maxin B. John
An easy workaround for kbd build failure is to disable
parallel make install for now.

[YOCTO #7436]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-core/kbd/kbd_2.0.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/kbd/kbd_2.0.2.bb 
b/meta/recipes-core/kbd/kbd_2.0.2.bb
index 136dc7a..49bb6c9 100644
--- a/meta/recipes-core/kbd/kbd_2.0.2.bb
+++ b/meta/recipes-core/kbd/kbd_2.0.2.bb
@@ -34,3 +34,4 @@ ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt"
 ALTERNATIVE_PRIORITY = "100"
 
 BBCLASSEXTEND = "native"
+PARALLEL_MAKEINST = ""
-- 
2.4.0

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


[OE-core] [PATCH] screen: fix CVE-2015-6806

2015-10-07 Thread Maxin B. John
Backport a patch to fix CVE-2015-6806

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 ...-stack-overflow-due-to-too-deep-recursion.patch | 57 ++
 meta/recipes-extended/screen/screen_4.3.1.bb   |  1 +
 2 files changed, 58 insertions(+)
 create mode 100644 
meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch

diff --git 
a/meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch
 
b/meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch
new file mode 100644
index 000..2bc9a59
--- /dev/null
+++ 
b/meta/recipes-extended/screen/screen/0001-Fix-stack-overflow-due-to-too-deep-recursion.patch
@@ -0,0 +1,57 @@
+Bug: 45713
+
+How to reproduce:
+Run this command inside screen
+$ printf '\x1b[1000T'
+
+screen will recursively call MScrollV to depth n/256.
+This is time consuming and will overflow stack if n is huge.
+
+Fixes CVE-2015-6806
+
+Upstream-Status: Backport
+
+Signed-off-by: Kuang-che Wu <k...@csie.org>
+Signed-off-by: Amadeusz Sławiński <am...@asmblr.net>
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+---
+diff -Naur screen-4.3.1-orig/ansi.c screen-4.3.1/ansi.c
+--- screen-4.3.1-orig/ansi.c   2015-06-29 00:22:55.0 +0300
 screen-4.3.1/ansi.c2015-10-06 13:13:58.297648039 +0300
+@@ -2502,13 +2502,13 @@
+ return;
+   if (n > 0)
+ {
++  if (ye - ys + 1 < n)
++n = ye - ys + 1;
+   if (n > 256)
+   {
+ MScrollV(p, n - 256, ys, ye, bce);
+ n = 256;
+   }
+-  if (ye - ys + 1 < n)
+-  n = ye - ys + 1;
+ #ifdef COPY_PASTE
+   if (compacthist)
+   {
+@@ -2562,15 +2562,15 @@
+ }
+   else
+ {
+-  if (n < -256)
+-  {
+-MScrollV(p, n + 256, ys, ye, bce);
+-n = -256;
+-  }
+   n = -n;
+   if (ye - ys + 1 < n)
+   n = ye - ys + 1;
+ 
++  if (n > 256)
++  {
++MScrollV(p, - (n - 256), ys, ye, bce);
++n = 256;
++  }
+   ml = p->w_mlines + ye;
+   /* Clear lines */
+   for (i = ye; i > ye - n; i--, ml--)
diff --git a/meta/recipes-extended/screen/screen_4.3.1.bb 
b/meta/recipes-extended/screen/screen_4.3.1.bb
index 92457af..00d878b 100644
--- a/meta/recipes-extended/screen/screen_4.3.1.bb
+++ b/meta/recipes-extended/screen/screen_4.3.1.bb
@@ -24,6 +24,7 @@ SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \
file://Avoid-mis-identifying-systems-as-SVR4.patch \
file://0001-fix-for-multijob-build.patch \
file://0002-comm.h-now-depends-on-term.h.patch \
+   file://0001-Fix-stack-overflow-due-to-too-deep-recursion.patch \
   "
 
 SRC_URI[md5sum] = "5bb3b0ff2674e29378c31ad3411170ad"
-- 
2.4.0

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


[OE-core] [PATCH] cronie: clean up bugtracker info

2015-10-07 Thread Maxin B. John
Update bugtracker web address

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-extended/cronie/cronie_1.5.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-extended/cronie/cronie_1.5.0.bb 
b/meta/recipes-extended/cronie/cronie_1.5.0.bb
index 38bd593..697501a 100644
--- a/meta/recipes-extended/cronie/cronie_1.5.0.bb
+++ b/meta/recipes-extended/cronie/cronie_1.5.0.bb
@@ -4,7 +4,7 @@ specified programs at scheduled times and related tools. It is 
based on the \
 original cron and has security and configuration enhancements like the \
 ability to use pam and SELinux."
 HOMEPAGE = "https://fedorahosted.org/cronie/;
-BUGTRACKER = "mmasl...@redhat.com"
+BUGTRACKER = "https://bugzilla.redhat.com;
 
 # Internet Systems Consortium License
 LICENSE = "ISC & BSD-3-Clause & BSD-2-Clause & GPLv2+"
-- 
2.4.0

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


[OE-core] [PATCH] irda-utils: clean up bugtracker info

2015-10-07 Thread Maxin B. John
Update bugtracker web address

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb 
b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
index 8ac3b18..bd2f815 100644
--- a/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
+++ b/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Provides common files needed to use IrDA. \
 IrDA allows communication over Infrared with other devices \
 such as phones and laptops."
 HOMEPAGE = "http://irda.sourceforge.net/;
-BUGTRACKER = "irda-us...@lists.sourceforge.net"
+BUGTRACKER = "http://sourceforge.net/p/irda/bugs/;
 SECTION = "base"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = 
"file://irdadump/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
-- 
2.4.0

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


[OE-core] [PATCH] ref-manual: document the strace dependency for Swabber

2015-10-05 Thread Maxin B. John
image-swab class depends on "strace" package to be present in the Build
Host. Document that dependency.

[YOCTO #8439]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 documentation/ref-manual/ref-classes.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/documentation/ref-manual/ref-classes.xml 
b/documentation/ref-manual/ref-classes.xml
index d87c9ff..fdee92a 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -1363,7 +1363,8 @@
 tool in order to detect and log accesses to the host system during
 the OpenEmbedded build process.
 
-This class is currently unmaintained.
+We need to install strace package in the build host as a
+dependency for this tool.This class is currently unmaintained.
 
 
 
-- 
2.4.0

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


[OE-core] [PATCH] insane.bbclass: remove misleading path in warning

2015-10-05 Thread Maxin B. John
cross-compilation warning from insane.bbclass is slightly misleading.
So, remove the misleading path from warning.

[YOCTO #7540]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 05e31a7..f7be61b 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -1146,7 +1146,7 @@ python do_qa_configure() {
 if "config.log" in files:
 if subprocess.call(statement, shell=True) == 0:
 bb.fatal("""This autoconf log indicates errors, it looked at 
host include and/or library paths while determining system capabilities.
-Rerun configure task after fixing this. The path was '%s'""" % root)
+Rerun configure task after fixing this.""")
 
 if "configure.ac" in files:
 configs.append(os.path.join(root,"configure.ac"))
-- 
2.4.0

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


Re: [OE-core] [PATCH] ref-manual: document the strace dependency for Swabber

2015-10-05 Thread Maxin B. John
Hi,

On Mon, Oct 05, 2015 at 11:03:21AM +0300, Maxin B. John wrote:
> image-swab class depends on "strace" package to be present in the Build
> Host. Document that dependency.
> 
> [YOCTO #8439]
> 
> Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> ---
>  documentation/ref-manual/ref-classes.xml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/documentation/ref-manual/ref-classes.xml 
> b/documentation/ref-manual/ref-classes.xml
> index d87c9ff..fdee92a 100644
> --- a/documentation/ref-manual/ref-classes.xml
> +++ b/documentation/ref-manual/ref-classes.xml
> @@ -1363,7 +1363,8 @@
>  tool in order to detect and log accesses to the host system during
>  the OpenEmbedded build process.
>  
> -This class is currently unmaintained.
> +We need to install strace package in the build host as a
> +dependency for this tool.This class is currently unmaintained.
>  
>  
>  
> -- 
> 2.4.0

Sorry, sent to wrong list. Will resend to yo...@yoctoproject.org.

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] openssl: fix ptest failures

2015-09-29 Thread Maxin B. John
Remove dependencies for test targets. Otherwise, during ptest
execution, "make" tries to rebuild those executables and fails
there.

[YOCTO #8059]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 .../openssl/openssl/ptest_makefile_deps.patch  | 248 +
 .../recipes-connectivity/openssl/openssl_1.0.2d.bb |   1 +
 2 files changed, 249 insertions(+)
 create mode 100644 
meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch

diff --git 
a/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch 
b/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch
new file mode 100644
index 000..4202e61
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch
@@ -0,0 +1,248 @@
+Additional Makefile dependencies removal for test targets
+
+Removing the dependency check for test targets as these tests are
+causing a number of failures and "noise" during ptest execution.
+
+Upstream-Status: Inappropriate [config]
+
+Signed-off-by: Maxin B. John <maxin.j...@intel.com>
+
+diff -Naur openssl-1.0.2d-orig/test/Makefile openssl-1.0.2d/test/Makefile
+--- openssl-1.0.2d-orig/test/Makefile  2015-09-28 12:50:41.530022979 +0300
 openssl-1.0.2d/test/Makefile   2015-09-28 12:57:45.930717240 +0300
+@@ -155,67 +155,67 @@
+   ( $(MAKE) $$i && echo "PASS: $$i" ) || echo "FAIL: $$i"; \
+   done)
+ 
+-test_evp: $(EVPTEST)$(EXE_EXT) evptests.txt
++test_evp:
+   ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
+ 
+-test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
++test_evp_extra:
+   ../util/shlib_wrap.sh ./$(EVPEXTRATEST)
+ 
+-test_des: $(DESTEST)$(EXE_EXT)
++test_des:
+   ../util/shlib_wrap.sh ./$(DESTEST)
+ 
+-test_idea: $(IDEATEST)$(EXE_EXT)
++test_idea:
+   ../util/shlib_wrap.sh ./$(IDEATEST)
+ 
+-test_sha: $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) 
$(SHA512TEST)$(EXE_EXT)
++test_sha:
+   ../util/shlib_wrap.sh ./$(SHATEST)
+   ../util/shlib_wrap.sh ./$(SHA1TEST)
+   ../util/shlib_wrap.sh ./$(SHA256TEST)
+   ../util/shlib_wrap.sh ./$(SHA512TEST)
+ 
+-test_mdc2: $(MDC2TEST)$(EXE_EXT)
++test_mdc2:
+   ../util/shlib_wrap.sh ./$(MDC2TEST)
+ 
+-test_md5: $(MD5TEST)$(EXE_EXT)
++test_md5:
+   ../util/shlib_wrap.sh ./$(MD5TEST)
+ 
+-test_md4: $(MD4TEST)$(EXE_EXT)
++test_md4:
+   ../util/shlib_wrap.sh ./$(MD4TEST)
+ 
+-test_hmac: $(HMACTEST)$(EXE_EXT)
++test_hmac:
+   ../util/shlib_wrap.sh ./$(HMACTEST)
+ 
+-test_wp: $(WPTEST)$(EXE_EXT)
++test_wp:
+   ../util/shlib_wrap.sh ./$(WPTEST)
+ 
+-test_md2: $(MD2TEST)$(EXE_EXT)
++test_md2:
+   ../util/shlib_wrap.sh ./$(MD2TEST)
+ 
+-test_rmd: $(RMDTEST)$(EXE_EXT)
++test_rmd:
+   ../util/shlib_wrap.sh ./$(RMDTEST)
+ 
+-test_bf: $(BFTEST)$(EXE_EXT)
++test_bf:
+   ../util/shlib_wrap.sh ./$(BFTEST)
+ 
+-test_cast: $(CASTTEST)$(EXE_EXT)
++test_cast:
+   ../util/shlib_wrap.sh ./$(CASTTEST)
+ 
+-test_rc2: $(RC2TEST)$(EXE_EXT)
++test_rc2:
+   ../util/shlib_wrap.sh ./$(RC2TEST)
+ 
+-test_rc4: $(RC4TEST)$(EXE_EXT)
++test_rc4:
+   ../util/shlib_wrap.sh ./$(RC4TEST)
+ 
+-test_rc5: $(RC5TEST)$(EXE_EXT)
++test_rc5:
+   ../util/shlib_wrap.sh ./$(RC5TEST)
+ 
+-test_rand: $(RANDTEST)$(EXE_EXT)
++test_rand:
+   ../util/shlib_wrap.sh ./$(RANDTEST)
+ 
+-test_enc: ../apps/openssl$(EXE_EXT) testenc
++test_enc:
+   @sh ./testenc
+ 
+-test_x509: ../apps/openssl$(EXE_EXT) tx509 testx509.pem v3-cert1.pem 
v3-cert2.pem
++test_x509:
+   echo test normal x509v1 certificate
+   sh ./tx509 2>/dev/null
+   echo test first x509v3 certificate
+@@ -223,25 +223,25 @@
+   echo test second x509v3 certificate
+   sh ./tx509 v3-cert2.pem 2>/dev/null
+ 
+-test_rsa: ../apps/openssl$(EXE_EXT) trsa testrsa.pem
++test_rsa:
+   @sh ./trsa 2>/dev/null
+   ../util/shlib_wrap.sh ./$(RSATEST)
+ 
+-test_crl: ../apps/openssl$(EXE_EXT) tcrl testcrl.pem
++test_crl:
+   @sh ./tcrl 2>/dev/null
+ 
+-test_sid: ../apps/openssl$(EXE_EXT) tsid testsid.pem
++test_sid:
+   @sh ./tsid 2>/dev/null
+ 
+-test_req: ../apps/openssl$(EXE_EXT) treq testreq.pem testreq2.pem
++test_req:
+   @sh ./treq 2>/dev/null
+   @sh ./treq testreq2.pem 2>/dev/null
+ 
+-test_pkcs7: ../apps/openssl$(EXE_EXT) tpkcs7 tpkcs7d testp7.pem pkcs7-1.pem
++test_pkcs7:
+   @sh ./tpkcs7 2>/dev/null
+   @sh ./tpkcs7d 2>/dev/null
+ 
+-test_bn: $(BNTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) bctest
++test_bn:
+   @echo starting big number library test, could take a while...
+   @../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
+   @echo quit >>tmp.bntest
+@@ -250,33 +250,33 @@
+   @echo 'test a^b%c implementations'
+   ../util/shlib_wrap.sh ./$(EXPTEST)
+ 
+-test_ec: $(ECTEST)$(EXE_EXT)
++test_ec:
+   @echo 'test elliptic curves'
+   ../util/shlib_wrap.sh ./$(ECTEST)
+ 
+-test_ecdsa: $(ECDSATEST)$(EXE_EXT)
++test_ecdsa:
+ 

Re: [OE-core] [PATCH] openssl: fix ptest failures

2015-09-29 Thread Maxin B. John
Hi RP,

On Tue, Sep 29, 2015 at 11:54:38AM +0100, Richard Purdie wrote:
> On Tue, 2015-09-29 at 05:54 +0300, Maxin B. John wrote:
> > Remove dependencies for test targets. Otherwise, during ptest
> > execution, "make" tries to rebuild those executables and fails
> > there.
> > 
> > [YOCTO #8059]
> > 
> > Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > ---
> >  .../openssl/openssl/ptest_makefile_deps.patch  | 248 
> > +
> >  .../recipes-connectivity/openssl/openssl_1.0.2d.bb |   1 +
> >  2 files changed, 249 insertions(+)
> >  create mode 100644 
> > meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch
> 
> I get the feeling this patch is going to be a bit of a maintenance
> burden :(. The dependencies there are valid from a build system
> perspective but obviously problematic given the way we run the tests.
>

Yes, It can be bit more work to maintain this patch while upgrading openssl
to a newer version.

> Perhaps a sed expression executed against the Makefile at installation
> time in ptest might be a more maintainable way to do this? The pattern
> we need to remove dependencies from does look pretty clear, at least
> just looking at this patch?

Updating the Makefile during ptest installation will be an excellent way 
to fix this. Thanks for suggesting it!

> I'm torn to be honest, the patch is explicit, the sed could be more
> prone to breakage. How do we handle this in other ptest situations?

In the past, we handled a similar situation in openssl with an identical patch:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=23d8d2b62892fb523e942c7ca4dbdcae414b6998

This Makefile patch survived at least 3 version upgrades.So, the test 
Makefile wasn't modified that much during those releases. There is no guarantee 
that there will be no big changes in future, though.

> Cheers, 
> Richard

Best Regards,
Maxin

> 
> > diff --git 
> > a/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch 
> > b/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch
> > new file mode 100644
> > index 000..4202e61
> > --- /dev/null
> > +++ b/meta/recipes-connectivity/openssl/openssl/ptest_makefile_deps.patch
> > @@ -0,0 +1,248 @@
> > +Additional Makefile dependencies removal for test targets
> > +
> > +Removing the dependency check for test targets as these tests are
> > +causing a number of failures and "noise" during ptest execution.
> > +
> > +Upstream-Status: Inappropriate [config]
> > +
> > +Signed-off-by: Maxin B. John <maxin.j...@intel.com>
> > +
> > +diff -Naur openssl-1.0.2d-orig/test/Makefile openssl-1.0.2d/test/Makefile
> > +--- openssl-1.0.2d-orig/test/Makefile  2015-09-28 12:50:41.530022979 
> > +0300
> >  openssl-1.0.2d/test/Makefile   2015-09-28 12:57:45.930717240 +0300
> > +@@ -155,67 +155,67 @@
> > +   ( $(MAKE) $$i && echo "PASS: $$i" ) || echo "FAIL: $$i"; \
> > +   done)
> > + 
> > +-test_evp: $(EVPTEST)$(EXE_EXT) evptests.txt
> > ++test_evp:
> > +   ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
> > + 
> > +-test_evp_extra: $(EVPEXTRATEST)$(EXE_EXT)
> > ++test_evp_extra:
> > +   ../util/shlib_wrap.sh ./$(EVPEXTRATEST)
> > + 
> > +-test_des: $(DESTEST)$(EXE_EXT)
> > ++test_des:
> > +   ../util/shlib_wrap.sh ./$(DESTEST)
> > + 
> > +-test_idea: $(IDEATEST)$(EXE_EXT)
> > ++test_idea:
> > +   ../util/shlib_wrap.sh ./$(IDEATEST)
> > + 
> > +-test_sha: $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) 
> > $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT)
> > ++test_sha:
> > +   ../util/shlib_wrap.sh ./$(SHATEST)
> > +   ../util/shlib_wrap.sh ./$(SHA1TEST)
> > +   ../util/shlib_wrap.sh ./$(SHA256TEST)
> > +   ../util/shlib_wrap.sh ./$(SHA512TEST)
> > + 
> > +-test_mdc2: $(MDC2TEST)$(EXE_EXT)
> > ++test_mdc2:
> > +   ../util/shlib_wrap.sh ./$(MDC2TEST)
> > + 
> > +-test_md5: $(MD5TEST)$(EXE_EXT)
> > ++test_md5:
> > +   ../util/shlib_wrap.sh ./$(MD5TEST)
> > + 
> > +-test_md4: $(MD4TEST)$(EXE_EXT)
> > ++test_md4:
> > +   ../util/shlib_wrap.sh ./$(MD4TEST)
> > + 
> > +-test_hmac: $(HMACTEST)$(EXE_EXT)
> > ++test_hmac:
> > +   ../util/shlib_wrap.sh ./$(HMACTEST)
> > + 
> > +-test_wp: $(WPTEST)$(EXE_EXT)
> > ++test_wp:
> > +   ../util/shlib_wrap.sh ./$(WPTEST)
> > + 
> > +-test_md2: $(MD2TEST)$(EXE_EXT)
> > ++test_md2:
> > +   ../util/shlib_wrap.sh ./$(MD2TEST)
> > + 
> > +-test_rmd: $(RMDTEST)$(EXE_EXT)
&g

Re: [OE-core] [PATCH] runqemu-internal: Make sure two serial ports always exist

2015-09-29 Thread Maxin B. John

On Mon, Sep 28, 2015 at 03:38:23PM -0700, Randy Witt wrote:
> Since inittab for qemu images now always tries to start getty on a
> second serial device, make sure that device exists.
> 
> Otherwise the following message will be spammed:
> INIT: Id "S1" respawning too fast: disabled for 5 minutes
> 
> [YOCTO #8374]
> 
> Signed-off-by: Randy Witt <randy.e.w...@linux.intel.com>
> ---
>  scripts/runqemu-internal | 32 
>  1 file changed, 32 insertions(+)
> 
> diff --git a/scripts/runqemu-internal b/scripts/runqemu-internal
> index d6b1102..078545e 100755
> --- a/scripts/runqemu-internal
> +++ b/scripts/runqemu-internal
> @@ -700,6 +700,38 @@ if [ "x$SERIALSTDIO" = "x1" ]; then
>  stty intr ^]
>  fi
>  
> +
> +# Preserve the multiplexing behavior for the monitor that would be there 
> based
> +# on whether nographic is used.
> +if echo "$QEMUOPTIONS $SERIALOPTS $SCRIPT_QEMU_OPT $SCRIPT_QEMU_EXTRA_OPT" | 
> grep -- "-nographic"; then
> +FIRST_SERIAL_OPT="-serial mon:stdio"
> +else
> +FIRST_SERIAL_OPT="-serial mon:vc"
> +fi
> +
> +# qemuarm64 uses virtio for any additional serial ports so the normal 
> mechanism
> +# of using -serial will not work
> +if [ "$MACHINE" = "qemuarm64" ]; then
> +SECOND_SERIAL_OPT="$SCRIPT_QEMU_EXTRA_OPT -device virtio-serial-device 
> -chardev null,id=virtcon -device virtconsole,chardev=virtcon"
> +else
> +SECOND_SERIAL_OPT="-serial null"
> +fi
> +
> +# We always want a ttyS1. Since qemu by default adds a serial port when
> +# nodefaults is not specified, it seems that all that would be needed is to
> +# make sure a "-serial" is there. However, it appears that when "-serial" is
> +# specified, it ignores the default serial port that is normally added.
> +# So here we make sure to add two -serial if there are none. And only one
> +# if there is one -serial already.
> +NUM_SERIAL_OPTS=`echo $QEMUOPTIONS $SERIALOPTS $SCRIPT_QEMU_OPT 
> $SCRIPT_QEMU_EXTRA_OPT | sed -e 's/ /\n/g' | grep --count -- -serial`
> +
> +if [ "$NUM_SERIAL_OPTS" = "0" ]; then
> +SCRIPT_QEMU_EXTRA_OPT="$SCRIPT_QEMU_EXTRA_OPT $FIRST_SERIAL_OPT 
> $SECOND_SERIAL_OPT"
> +elif [ "$NUM_SERIAL_OPTS" = "1" ]; then
> +SCRIPT_QEMU_EXTRA_OPT="$SCRIPT_QEMU_EXTRA_OPT $SECOND_SERIAL_OPT"
> +fi
> +
> +
>  echo "Running $QEMU..."
>  # -no-reboot is a mandatory option - see bug #100
>  if [ "$FSTYPE" = "vmdk" -o "$FSTYPE" = "hddimg" -o "$FSTYPE" = "hdddirect" 
> ]; then
> -- 
> 2.4.3
>

Verified on qemux86 and qemuppc.

Reviewed-by: Maxin B. John <maxin.j...@intel.com>

Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] runqemu-export-rootfs: update location of unfsd binary

2015-09-24 Thread Maxin B. John
Update the location of unfsd binary from "/usr/sbin" to "/usr/bin" in
runqemu-export-rootfs

[YOCTO #8315]

Signed-off-by: Maxin B. John <maxin.j...@intel.com>
---
 scripts/runqemu-export-rootfs | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/runqemu-export-rootfs b/scripts/runqemu-export-rootfs
index 40ab201..3dee131 100755
--- a/scripts/runqemu-export-rootfs
+++ b/scripts/runqemu-export-rootfs
@@ -46,8 +46,8 @@ if [ -z "$SYSROOT_SETUP_SCRIPT" ]; then
 fi
 . $SYSROOT_SETUP_SCRIPT
 
-if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/sbin/unfsd" ]; then
-   echo "Error: Unable to find unfsd binary in 
$OECORE_NATIVE_SYSROOT/usr/sbin/"
+if [ ! -e "$OECORE_NATIVE_SYSROOT/usr/bin/unfsd" ]; then
+   echo "Error: Unable to find unfsd binary in 
$OECORE_NATIVE_SYSROOT/usr/bin/"
 
if [ "x$OECORE_DISTRO_VERSION" = "x" ]; then
echo "Have you run 'bitbake meta-ide-support'?"
@@ -115,8 +115,8 @@ case "$1" in
fi
 
echo "Starting User Mode nfsd"
-   echo "  $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd 
$UNFSD_OPTS"
-   $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/sbin/unfsd $UNFSD_OPTS
+   echo "  $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd 
$UNFSD_OPTS"
+   $PSEUDO $PSEUDO_OPTS $OECORE_NATIVE_SYSROOT/usr/bin/unfsd $UNFSD_OPTS
if [ ! $? = 0 ]; then
echo "Error starting nfsd"
exit 1
-- 
2.4.0

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


[OE-core] [PATCH] man-pages: update to 4.02

2015-08-20 Thread Maxin B. John
4.01 - 4.02

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../man-pages/{man-pages_4.01.bb = man-pages_4.02.bb}| 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-extended/man-pages/{man-pages_4.01.bb = 
man-pages_4.02.bb} (86%)

diff --git a/meta/recipes-extended/man-pages/man-pages_4.01.bb 
b/meta/recipes-extended/man-pages/man-pages_4.02.bb
similarity index 86%
rename from meta/recipes-extended/man-pages/man-pages_4.01.bb
rename to meta/recipes-extended/man-pages/man-pages_4.02.bb
index f6a5c49..1b90a44 100644
--- a/meta/recipes-extended/man-pages/man-pages_4.01.bb
+++ b/meta/recipes-extended/man-pages/man-pages_4.02.bb
@@ -7,8 +7,8 @@ LICENSE = GPLv2+
 LIC_FILES_CHKSUM = file://README;md5=8f2a3d43057d458e5066714980567a60
 SRC_URI = ${KERNELORG_MIRROR}/linux/docs/${BPN}/Archive/${BP}.tar.gz
 
-SRC_URI[md5sum] = 575f4e8920166b1433c329bb621819d1
-SRC_URI[sha256sum] = 
ba89f3453982fae6c699a877368d51ee27883b4de709e753eee3783b447a8381
+SRC_URI[md5sum] = 93df3279798a3345bb2c709584c83639
+SRC_URI[sha256sum] = 
42324f9ed47c89a43cb37b6bb0d5fbcad44838eee45cd394e181c98d038c49ff
 
 RDEPENDS_${PN} = man
 
-- 
1.9.1

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


[OE-core] [PATCH] quilt: fix the deps for ptest

2015-08-13 Thread Maxin B. John
quilt ptest requires getopt and perl-module-overloading.

[YCOTO #8062]

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-devtools/quilt/quilt.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/quilt/quilt.inc 
b/meta/recipes-devtools/quilt/quilt.inc
index ac7ef93..837b36b 100644
--- a/meta/recipes-devtools/quilt/quilt.inc
+++ b/meta/recipes-devtools/quilt/quilt.inc
@@ -57,5 +57,6 @@ do_install_ptest() {
 RDEPENDS_${PN}-ptest = make file sed gawk diffutils findutils ed perl \
 perl-module-filehandle perl-module-getopt-std \
 perl-module-posix perl-module-file-temp \
-perl-module-text-parsewords bash \
-
+perl-module-text-parsewords perl-module-overloading \
+bash util-linux-getopt \
+   
-- 
1.9.1

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


[OE-core] [PATCH] curl: upgrade to 7.44

2015-08-13 Thread Maxin B. John
Bump to version 7.44

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/{curl_7.43.0.bb = curl_7.44.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.43.0.bb = curl_7.44.0.bb} (93%)

diff --git a/meta/recipes-support/curl/curl_7.43.0.bb 
b/meta/recipes-support/curl/curl_7.44.0.bb
similarity index 93%
rename from meta/recipes-support/curl/curl_7.43.0.bb
rename to meta/recipes-support/curl/curl_7.44.0.bb
index 15713e1..b293303 100644
--- a/meta/recipes-support/curl/curl_7.43.0.bb
+++ b/meta/recipes-support/curl/curl_7.44.0.bb
@@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI +=  file://configure_ac.patch
 
-SRC_URI[md5sum] = 11bddbb452a8b766b932f859aaeeed39
-SRC_URI[sha256sum] = 
baa654a1122530483ccc1c58cc112fec3724a82c11c6a389f1e6a37dc8858df9
+SRC_URI[md5sum] = 6b952ca00e5473b16a11f05f06aa8dae
+SRC_URI[sha256sum] = 
1e2541bae6582bb697c0fbae49e1d3e6fad5d05d5aa80dbd6f072e0a44341814
 
 inherit autotools pkgconfig binconfig multilib_header
 
-- 
1.9.1

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


[OE-core] [PATCH] rt-tests: bump version to v0.92

2015-06-16 Thread Maxin B. John
Version upgrade to v0.92
Rebased below listed patch to newer source code:
added-missing-dependencies.patch

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../files/added-missing-dependencies.patch | 36 +-
 .../{hwlatdetect_0.91.bb = hwlatdetect_0.92.bb}   |  0
 meta/recipes-rt/rt-tests/rt-tests.inc  |  6 ++--
 .../{rt-tests_0.91.bb = rt-tests_0.92.bb} |  0
 4 files changed, 17 insertions(+), 25 deletions(-)
 rename meta/recipes-rt/rt-tests/{hwlatdetect_0.91.bb = hwlatdetect_0.92.bb} 
(100%)
 rename meta/recipes-rt/rt-tests/{rt-tests_0.91.bb = rt-tests_0.92.bb} (100%)

diff --git a/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch 
b/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
index e420282..0bf768e 100644
--- a/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
+++ b/meta/recipes-rt/rt-tests/files/added-missing-dependencies.patch
@@ -1,50 +1,42 @@
-From 82d28701486ba5a699544a168448bf93b1ccd7b1 Mon Sep 17 00:00:00 2001
-From: Jackie Huang jackie.hu...@windriver.com
-Date: Thu, 6 Dec 2012 11:26:14 +0800
+From 3f948f22d9106a2b957d1d430b16a7c51ccfc067 Mon Sep 17 00:00:00 2001
+From: Maxin B. John maxin.j...@enea.com
+Date: Tue, 16 Jun 2015 22:53:23 +0200
 Subject: [PATCH] Added missing dependencies
 
 Upstream-Status: Submitted [linux-rt-users]
 
 The following targets missed dependency on librttest.a:
-pi_stress
 rt-migrate-test
 hackbench
 
 Signed-off-by: Jackie Huang jackie.hu...@windriver.com
+Signed-off-by: Maxin B. John maxin.j...@enea.com
 ---
- Makefile |6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
+ Makefile | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/Makefile b/Makefile
-index fd3cdb3..60707a7 100644
+index a48e759..7a3f192 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -68,14 +68,14 @@ cyclictest: cyclictest.o librttest.a
- signaltest: signaltest.o librttest.a
-   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
- 
--pi_stress: pi_stress.o
-+pi_stress: pi_stress.o librttest.a
-   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
- 
- hwlatdetect:  src/hwlatdetect/hwlatdetect.py
+@@ -85,7 +85,7 @@ hwlatdetect:  src/hwlatdetect/hwlatdetect.py
chmod +x src/hwlatdetect/hwlatdetect.py
ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect
  
 -rt-migrate-test: rt-migrate-test.o
 +rt-migrate-test: rt-migrate-test.o librttest.a
-   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $ $(LIBS)
  
  ptsematest: ptsematest.o librttest.a
-@@ -96,7 +96,7 @@ sendme: sendme.o librttest.a
+@@ -106,7 +106,7 @@ sendme: sendme.o librttest.a
  pip_stress: pip_stress.o librttest.a
-   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $ $(LIBS) $(RTTESTLIB)
  
 -hackbench: hackbench.o
 +hackbench: hackbench.o librttest.a
-   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+   $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $ $(LIBS)
  
- librttest.a: rt-utils.o error.o rt-get_cpu.o
+ librttest.a: rt-utils.o error.o rt-get_cpu.o rt-sched.o
 -- 
-1.7.9.5
+1.9.1
 
diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_0.91.bb 
b/meta/recipes-rt/rt-tests/hwlatdetect_0.92.bb
similarity index 100%
rename from meta/recipes-rt/rt-tests/hwlatdetect_0.91.bb
rename to meta/recipes-rt/rt-tests/hwlatdetect_0.92.bb
diff --git a/meta/recipes-rt/rt-tests/rt-tests.inc 
b/meta/recipes-rt/rt-tests/rt-tests.inc
index 68a972a..e63182a 100644
--- a/meta/recipes-rt/rt-tests/rt-tests.inc
+++ b/meta/recipes-rt/rt-tests/rt-tests.inc
@@ -1,6 +1,6 @@
-# Version v0.91
-PV = 0.91
-SRCREV = 3fed00ff8d2c0cdbc5ba078cbd60ce3cfcee615f
+# Version v0.92
+PV = 0.92
+SRCREV = 5f9f1e3fe327440a9d405f4af8feb16ff7a909eb
 
 SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git \
file://0001-rt-tests-Allow-for-user-specified-PYLIB.patch \
diff --git a/meta/recipes-rt/rt-tests/rt-tests_0.91.bb 
b/meta/recipes-rt/rt-tests/rt-tests_0.92.bb
similarity index 100%
rename from meta/recipes-rt/rt-tests/rt-tests_0.91.bb
rename to meta/recipes-rt/rt-tests/rt-tests_0.92.bb
-- 
1.9.1

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


[OE-core] [PATCH] serf: update SRC_URI to use debian mirrors instead of googlecode

2015-05-05 Thread Maxin B. John
Update SRC_URI to use debian mirrors as googlecode will be closed
in near future. Also added a summary to the recipe.

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/serf/serf_1.3.8.bb | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-support/serf/serf_1.3.8.bb 
b/meta/recipes-support/serf/serf_1.3.8.bb
index aa7918b..b5059d5 100644
--- a/meta/recipes-support/serf/serf_1.3.8.bb
+++ b/meta/recipes-support/serf/serf_1.3.8.bb
@@ -1,10 +1,10 @@
-
-SRC_URI = http://serf.googlecode.com/svn/src_releases/serf-${PV}.tar.bz2 \
+SUMMARY = High-Performance Asynchronous HTTP Client Library
+SRC_URI = ${DEBIAN_MIRROR}/main/s/${BPN}/${BPN}_${PV}.orig.tar.gz \
file://norpath.patch \
file://env.patch
 
-SRC_URI[md5sum] = 2e4efe57ff28cb3202a112e90f0c2889
-SRC_URI[sha256sum] = 
e0500be065dbbce490449837bb2ab624e46d64fc0b090474d9acaa87c82b2590
+SRC_URI[md5sum] = 713beaf05d7f3329de121e218e2fcb93
+SRC_URI[sha256sum] = 
77134cd5010664ca023585bce50978bd4005906ed280ff889f591f86df7c59e4
 
 LICENSE = Apache-2.0
 LIC_FILES_CHKSUM = file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327
-- 
1.9.1

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


[OE-core] [daisy 3/5] coreutils: parse-datetime: CVE-2014-9471

2015-04-29 Thread Maxin B. John
From: Sona Sarmadi sona.sarm...@enea.com

Memory corruption flaw in parse_datetime()

Reference
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9471

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../parse-datetime-CVE-2014-9471.patch | 43 ++
 meta/recipes-core/coreutils/coreutils_8.22.bb  |  1 +
 2 files changed, 44 insertions(+)
 create mode 100644 
meta/recipes-core/coreutils/coreutils-8.22/parse-datetime-CVE-2014-9471.patch

diff --git 
a/meta/recipes-core/coreutils/coreutils-8.22/parse-datetime-CVE-2014-9471.patch 
b/meta/recipes-core/coreutils/coreutils-8.22/parse-datetime-CVE-2014-9471.patch
new file mode 100644
index 000..a094b8b
--- /dev/null
+++ 
b/meta/recipes-core/coreutils/coreutils-8.22/parse-datetime-CVE-2014-9471.patch
@@ -0,0 +1,43 @@
+Upstream-Status: Backport
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+---
+diff -ruN a/ChangeLog b/ChangeLog
+--- a/ChangeLog2013-12-13 16:20:00.0 +0100
 b/ChangeLog2015-02-26 09:24:10.640577829 +0100
+@@ -1,3 +1,11 @@
++2014-02-25  Sona Sarmadi sona.sarm...@enea.com
++
++   parse-datetime: fix crash or infloop in TZ= parsing
++   * lib/parse-datetime.y (parse_datetime): Break out of the
++   TZ= parsing loop once the second significant  is found.
++   Also skip over any subsequent whitespace to be consistent
++   with the non TZ= case (CVE-2014-9471)
++
+ 2013-12-13  Pádraig Brady  p...@draigbrady.com
+ 
+   version 8.22
+diff -ruN a/lib/parse-datetime.y b/lib/parse-datetime.y
+--- a/lib/parse-datetime.y 2013-12-04 15:53:33.0 +0100
 b/lib/parse-datetime.y 2015-02-26 09:20:15.238528670 +0100
+@@ -1303,8 +1303,6 @@
+ char tz1buf[TZBUFSIZE];
+ bool large_tz = TZBUFSIZE  tzsize;
+ bool setenv_ok;
+-/* Free tz0, in case this is the 2nd or subsequent time through. 
*/
+-free (tz0);
+ tz0 = get_tz (tz0buf);
+ z = tz1 = large_tz ? xmalloc (tzsize) : tz1buf;
+ for (s = tzbase; *s != ''; s++)
+@@ -1316,7 +1314,12 @@
+ if (!setenv_ok)
+   goto fail;
+ tz_was_altered = true;
++
+ p = s + 1;
++while (c = *p, c_isspace (c))
++  p++;
++
++break;
+   }
+ }
+ 
diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb 
b/meta/recipes-core/coreutils/coreutils_8.22.bb
index ba3a0a0..9746683 100644
--- a/meta/recipes-core/coreutils/coreutils_8.22.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.22.bb
@@ -16,6 +16,7 @@ SRC_URI = ${GNU_MIRROR}/coreutils/${BP}.tar.xz \
file://remove-usr-local-lib-from-m4.patch \
file://dummy_help2man.patch \
file://fix-for-dummy-man-usage.patch \
+   file://parse-datetime-CVE-2014-9471.patch \
   
 
 SRC_URI[md5sum] = 8fb0ae2267aa6e728958adc38f8163a2
-- 
1.9.1

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


[OE-core] [daisy 2/5] libpng16: CVE-2015-0973

2015-04-29 Thread Maxin B. John
From: Sona Sarmadi sona.sarm...@enea.com

Fixes CVE-2015-0973 (duplicate of CVE-2014-9495), a heap-based overflow
vulnerability in the png_combine_row() function of the libpng library,
when very large interlaced images were used.

Upstream patch:
http://sourceforge.net/p/libpng/code/ci/dc294204b641373bc6eb603075a8b98f51a75dd8/

External Reference:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0973
http://seclists.org/oss-sec/2014/q4/1133

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../libpng/libpng/libpng16-CVE-2015-0973.patch | 47 ++
 meta/recipes-multimedia/libpng/libpng_1.6.8.bb |  1 +
 2 files changed, 48 insertions(+)
 create mode 100644 
meta/recipes-multimedia/libpng/libpng/libpng16-CVE-2015-0973.patch

diff --git a/meta/recipes-multimedia/libpng/libpng/libpng16-CVE-2015-0973.patch 
b/meta/recipes-multimedia/libpng/libpng/libpng16-CVE-2015-0973.patch
new file mode 100644
index 000..d66ac0c
--- /dev/null
+++ b/meta/recipes-multimedia/libpng/libpng/libpng16-CVE-2015-0973.patch
@@ -0,0 +1,47 @@
+libpng16: Fixed an overflow in png_combine_row with very wide interlaced
+
+Fixes CVE-2015-0973 (duplicate of CVE-2014-9495), a heap-based overflow 
+vulnerability in the png_combine_row() function of the libpng library, 
+when very large interlaced images were used. 
+
+Upstream patch:
+http://sourceforge.net/p/libpng/code/ci/dc294204b641373bc6eb603075a8b98f51a75dd8/
+
+Upstream-Status: Backport
+
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+---
+diff --git a/pngrutil.c b/pngrutil.c
+index e9fdd62..4c26be4 100644
+--- a/pngrutil.c
 b/pngrutil.c
+@@ -3003,7 +3003,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep 
dp, int display)
+ {
+unsigned int pixel_depth = png_ptr-transformed_pixel_depth;
+png_const_bytep sp = png_ptr-row_buf + 1;
+-   png_uint_32 row_width = png_ptr-width;
++   png_alloc_size_t row_width = png_ptr-width;
+unsigned int pass = png_ptr-pass;
+png_bytep end_ptr = 0;
+png_byte end_byte = 0;
+@@ -3278,7 +3278,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep 
dp, int display)
+ 
+ /* But don't allow this number to exceed the actual row width. */
+ if (bytes_to_copy  row_width)
+-   bytes_to_copy = row_width;
++   bytes_to_copy = (unsigned int)/*SAFE*/row_width;
+  }
+ 
+  else /* normal row; Adam7 only ever gives us one pixel to copy. */
+@@ -3458,7 +3458,7 @@ png_combine_row(png_const_structrp png_ptr, png_bytep 
dp, int display)
+   dp += bytes_to_jump;
+   row_width -= bytes_to_jump;
+   if (bytes_to_copy  row_width)
+- bytes_to_copy = row_width;
++ bytes_to_copy = (unsigned int)/*SAFE*/row_width;
+}
+  }
+ 
+-- 
+1.9.1
+
diff --git a/meta/recipes-multimedia/libpng/libpng_1.6.8.bb 
b/meta/recipes-multimedia/libpng/libpng_1.6.8.bb
index d063495..bb7745b 100644
--- a/meta/recipes-multimedia/libpng/libpng_1.6.8.bb
+++ b/meta/recipes-multimedia/libpng/libpng_1.6.8.bb
@@ -10,6 +10,7 @@ LIBV = 16
 
 SRC_URI = 
${SOURCEFORGE_MIRROR}/project/libpng/libpng${LIBV}/${PV}/libpng-${PV}.tar.xz \
file://0001-configure-lower-automake-requirement.patch \
+   file://libpng16-CVE-2015-0973.patch \
   
 
 SRC_URI[md5sum] = 51ce71a1642cdde1f4485a7ff82193c0
-- 
1.9.1

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


[OE-core] [daisy 5/5] e2fsprogs: CVE-2015-0247

2015-04-29 Thread Maxin B. John
From: Sona Sarmadi sona.sarm...@enea.com

Fixes input sanitization errors.

References
http://git.kernel.org/cgit/fs/ext2/e2fsprogs.git/commit/?id=f66e6ce4
http://www.ocert.org/advisories/ocert-2015-002.html

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../e2fsprogs/e2fsprogs/CVE-2015-0247.patch| 58 ++
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb |  1 +
 2 files changed, 59 insertions(+)
 create mode 100644 
meta/recipes-devtools/e2fsprogs/e2fsprogs/CVE-2015-0247.patch

diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs/CVE-2015-0247.patch 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs/CVE-2015-0247.patch
new file mode 100644
index 000..4de67c9
--- /dev/null
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs/CVE-2015-0247.patch
@@ -0,0 +1,58 @@
+From f66e6ce4446738c2c7f43d41988a3eb73347e2f5 Mon Sep 17 00:00:00 2001
+From: Theodore Ts'o ty...@mit.edu
+Date: Sat, 9 Aug 2014 12:24:54 -0400
+Subject: libext2fs: avoid buffer overflow if s_first_meta_bg is too big
+
+If s_first_meta_bg is greater than the of number block group
+descriptor blocks, then reading or writing the block group descriptors
+will end up overruning the memory buffer allocated for the
+descriptors.  Fix this by limiting first_meta_bg to no more than
+fs-desc_blocks.  This doesn't correct the bad s_first_meta_bg value,
+but it avoids causing the e2fsprogs userspace programs from
+potentially crashing.
+
+Fixes CVE-2015-0247
+Upstream-Status: Backport
+
+Signed-off-by: Theodore Ts'o ty...@mit.edu
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+
+diff --git a/lib/ext2fs/closefs.c b/lib/ext2fs/closefs.c
+index 4599eef..1f99113 100644
+--- a/lib/ext2fs/closefs.c
 b/lib/ext2fs/closefs.c
+@@ -344,9 +344,11 @@ errcode_t ext2fs_flush2(ext2_filsys fs, int flags)
+* superblocks and group descriptors.
+*/
+   group_ptr = (char *) group_shadow;
+-  if (fs-super-s_feature_incompat  EXT2_FEATURE_INCOMPAT_META_BG)
++  if (fs-super-s_feature_incompat  EXT2_FEATURE_INCOMPAT_META_BG) {
+   old_desc_blocks = fs-super-s_first_meta_bg;
+-  else
++  if (old_desc_blocks  fs-super-s_first_meta_bg)
++  old_desc_blocks = fs-desc_blocks;
++  } else
+   old_desc_blocks = fs-desc_blocks;
+ 
+   ext2fs_numeric_progress_init(fs, progress, NULL,
+diff --git a/lib/ext2fs/openfs.c b/lib/ext2fs/openfs.c
+index a1a3517..ba501e6 100644
+--- a/lib/ext2fs/openfs.c
 b/lib/ext2fs/openfs.c
+@@ -378,9 +378,11 @@ errcode_t ext2fs_open2(const char *name, const char 
*io_options,
+ #ifdef WORDS_BIGENDIAN
+   groups_per_block = EXT2_DESC_PER_BLOCK(fs-super);
+ #endif
+-  if (fs-super-s_feature_incompat  EXT2_FEATURE_INCOMPAT_META_BG)
++  if (fs-super-s_feature_incompat  EXT2_FEATURE_INCOMPAT_META_BG) {
+   first_meta_bg = fs-super-s_first_meta_bg;
+-  else
++  if (first_meta_bg  fs-desc_blocks)
++  first_meta_bg = fs-desc_blocks;
++  } else
+   first_meta_bg = fs-desc_blocks;
+   if (first_meta_bg) {
+   retval = io_channel_read_blk(fs-io, group_block +
+-- 
+cgit v0.10.2
+
diff --git a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb 
b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
index 2bdd724..a29ce5b 100644
--- a/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
+++ b/meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb
@@ -18,6 +18,7 @@ SRC_URI += file://acinclude.m4 \
 file://0011-mke2fs.8.in-update-the-manual-for-the-d-option.patch \
 file://0001-e2fsprogs-fix-cross-compilation-problem.patch \
 file://misc-mke2fs.c-return-error-when-failed-to-populate-fs.patch 
\
+file://CVE-2015-0247.patch \
 
 
 SRC_URI[md5sum] = 3f8e41e63b432ba114b33f58674563f7
-- 
1.9.1

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


[OE-core] [daisy 1/5] Qemu: CVE-2014-2894

2015-04-29 Thread Maxin B. John
From: Sona Sarmadi sona.sarm...@enea.com

Fixes an out of bounds memory access flaw
in Qemu's IDE device model

Reference
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-2894

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../qemu/files/ide-CVE-2014-2894.patch | 46 ++
 meta/recipes-devtools/qemu/qemu_1.7.0.bb   |  3 +-
 2 files changed, 48 insertions(+), 1 deletion(-)
 create mode 100644 meta/recipes-devtools/qemu/files/ide-CVE-2014-2894.patch

diff --git a/meta/recipes-devtools/qemu/files/ide-CVE-2014-2894.patch 
b/meta/recipes-devtools/qemu/files/ide-CVE-2014-2894.patch
new file mode 100644
index 000..bd3566e
--- /dev/null
+++ b/meta/recipes-devtools/qemu/files/ide-CVE-2014-2894.patch
@@ -0,0 +1,46 @@
+From c5dae2f4c50ef848f224da718154af4438862cdb Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Beno=C3=AEt=20Canet?= benoit.ca...@irqsave.net
+Date: Sat, 12 Apr 2014 22:59:50 +0200
+Subject: [PATCH] ide: Correct improper smart self test counter reset in ide
+ core.
+
+The SMART self test counter was incorrectly being reset to zero,
+not 1. This had the effect that on every 21st SMART EXECUTE OFFLINE:
+ * We would write off the beginning of a dynamically allocated buffer
+ * We forgot the SMART history
+Fix this.
+
+Signed-off-by: Benoit Canet ben...@irqsave.net
+Message-id: 1397336390-24664-1-git-send-email-benoit.ca...@irqsave.net
+Reviewed-by: Markus Armbruster arm...@redhat.com
+Cc: qemu-sta...@nongnu.org
+Acked-by: Kevin Wolf kw...@redhat.com
+[PMM: tweaked commit message as per suggestions from Markus]
+Signed-off-by: Peter Maydell peter.mayd...@linaro.org
+
+Fixes CVE-2014-2894
+Upstream-Status: Backport
+
+(cherry picked from commit 940973ae0b45c9b6817bab8e4cf4df99a9ef83d7)
+Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+---
+ hw/ide/core.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/hw/ide/core.c b/hw/ide/core.c
+index e1f4c33..6007f6f 100644
+--- a/hw/ide/core.c
 b/hw/ide/core.c
+@@ -1601,7 +1601,7 @@ static bool cmd_smart(IDEState *s, uint8_t cmd)
+ case 2: /* extended self test */
+ s-smart_selftest_count++;
+ if (s-smart_selftest_count  21) {
+-s-smart_selftest_count = 0;
++s-smart_selftest_count = 1;
+ }
+ n = 2 + (s-smart_selftest_count - 1) * 24;
+ s-smart_selftest_data[n] = s-sector;
+-- 
+1.9.1
+
diff --git a/meta/recipes-devtools/qemu/qemu_1.7.0.bb 
b/meta/recipes-devtools/qemu/qemu_1.7.0.bb
index b776ccc..a519645 100644
--- a/meta/recipes-devtools/qemu/qemu_1.7.0.bb
+++ b/meta/recipes-devtools/qemu/qemu_1.7.0.bb
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = 
file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
 
 SRC_URI += file://fxrstorssefix.patch \
 file://qemu-enlarge-env-entry-size.patch \
-file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch
+file://Qemu-Arm-versatilepb-Add-memory-size-checking.patch \
+file://ide-CVE-2014-2894.patch
 
 SRC_URI_prepend = http://wiki.qemu.org/download/qemu-${PV}.tar.bz2;
 SRC_URI[md5sum] = 32893941d40d052a5e649efcf06aca06
-- 
1.9.1

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


[OE-core] [daisy 4/5] elfutils: CVE-2014-9447

2015-04-29 Thread Maxin B. John
From: Sona Sarmadi sona.sarm...@enea.com

directory traversal in read_long_names()

Reference
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9447

Upstream commit with the analysis:
https://git.fedorahosted.org/cgit/elfutils.git/commit/?id=147018e729e7c22eeabf15b82d26e4bf68a0d18e

Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../elfutils/elfutils/CVE-2014-9447.patch  | 50 ++
 meta/recipes-devtools/elfutils/elfutils_0.155.bb   |  1 +
 2 files changed, 51 insertions(+)
 create mode 100644 meta/recipes-devtools/elfutils/elfutils/CVE-2014-9447.patch

diff --git a/meta/recipes-devtools/elfutils/elfutils/CVE-2014-9447.patch 
b/meta/recipes-devtools/elfutils/elfutils/CVE-2014-9447.patch
new file mode 100644
index 000..82b05fb
--- /dev/null
+++ b/meta/recipes-devtools/elfutils/elfutils/CVE-2014-9447.patch
@@ -0,0 +1,50 @@
+libelf: Fix dir traversal vuln in ar extraction.
+
+read_long_names terminates names at the first '/' found but then skips one
+character without checking (it's supposed to be '\n'). Hence the next name 
could
+start with any character including '/'. This leads to a directory traversal
+vulnerability at the time the contents of the archive is extracted.
+
+The danger is mitigated by the fact that only one '/' is possible in a 
resulting
+filename
+and only in the leading position. Hence only files in the root directory can be
+written via this vuln and only when ar is executed as root. The fix for the 
vuln
+is to not skip any characters while looking for '/'.
+
+Upstream commit:
+https://git.fedorahosted.org/cgit/elfutils.git/commit/
+?id=147018e729e7c22eeabf15b82d26e4bf68a0d18e
+
+Fixes CVE-2014-9447
+Upstream-Status: Backport
+
+Signed-off-by: Alexander Cherepanov chere...@mccme.ru
+Signed-off-by: Sona Sarmadi sona.sarm...@enea.com
+---
+diff -ruN a/libelf/ChangeLog b/libelf/ChangeLog
+--- a/libelf/ChangeLog 2015-03-03 12:39:39.255277970 +0100
 b/libelf/ChangeLog 2015-03-03 12:43:44.700870042 +0100
+@@ -1,3 +1,8 @@
++2014-12-28  Alexander Cherepanov  chere...@mccme.ru
++
++   * elf_begin.c (read_long_names): Don't miss '/' right after
++   another '/'. Fixes a dir traversal vuln in ar extraction.
++
+ 2012-08-16  Roland McGrath  rol...@hack.frob.com
+ 
+   * elf.h: Update from glibc.
+diff -ruN a/libelf/elf_begin.c b/libelf/elf_begin.c
+--- a/libelf/elf_begin.c   2015-03-03 12:39:39.835253375 +0100
 b/libelf/elf_begin.c   2015-03-03 12:41:30.906543370 +0100
+@@ -744,10 +744,7 @@
+   break;
+ 
+ /* NUL-terminate the string.  */
+-*runp = '\0';
+-
+-/* Skip the NUL byte and the \012.  */
+-runp += 2;
++*runp++ = '\0';
+ 
+ /* A sanity check.  Somebody might have generated invalid
+archive.  */
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.155.bb 
b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
index b1f410c..edb4919 100644
--- a/meta/recipes-devtools/elfutils/elfutils_0.155.bb
+++ b/meta/recipes-devtools/elfutils/elfutils_0.155.bb
@@ -23,6 +23,7 @@ SRC_URI += \
file://nm-Fix-size-passed-to-snprintf-for-invalid-sh_name-case.patch \
file://elfutils-ar-c-fix-num-passed-to-memset.patch \
file://fix-build-gcc-4.8.patch \
+file://CVE-2014-9447.patch \
 
 # Only apply when building uclibc based target recipe
 SRC_URI_append_libc-uclibc =  file://uclibc-support.patch
-- 
1.9.1

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


[OE-core] [daisy 0/5] Fix security related bugs

2015-04-29 Thread Maxin B. John
Fixes a number of security related bugs for daisy branch.

Sona Sarmadi (5):
  Qemu: CVE-2014-2894
  libpng16: CVE-2015-0973
  coreutils: parse-datetime: CVE-2014-9471
  elfutils: CVE-2014-9447
  e2fsprogs: CVE-2015-0247

 .../parse-datetime-CVE-2014-9471.patch | 43 
 meta/recipes-core/coreutils/coreutils_8.22.bb  |  1 +
 .../e2fsprogs/e2fsprogs/CVE-2015-0247.patch| 58 ++
 .../recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb |  1 +
 .../elfutils/elfutils/CVE-2014-9447.patch  | 50 +++
 meta/recipes-devtools/elfutils/elfutils_0.155.bb   |  1 +
 .../qemu/files/ide-CVE-2014-2894.patch | 46 +
 meta/recipes-devtools/qemu/qemu_1.7.0.bb   |  3 +-
 .../libpng/libpng/libpng16-CVE-2015-0973.patch | 47 ++
 meta/recipes-multimedia/libpng/libpng_1.6.8.bb |  1 +
 10 files changed, 250 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-core/coreutils/coreutils-8.22/parse-datetime-CVE-2014-9471.patch
 create mode 100644 
meta/recipes-devtools/e2fsprogs/e2fsprogs/CVE-2015-0247.patch
 create mode 100644 meta/recipes-devtools/elfutils/elfutils/CVE-2014-9447.patch
 create mode 100644 meta/recipes-devtools/qemu/files/ide-CVE-2014-2894.patch
 create mode 100644 
meta/recipes-multimedia/libpng/libpng/libpng16-CVE-2015-0973.patch

-- 
1.9.1

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


[OE-core] [PATCH] curl: upgrade to 7.42.0

2015-04-23 Thread Maxin B. John
Upgrade include these security fixes:
1. CVE-2015-3143
2. CVE-2015-3144
3. CVE-2015-3145
4. CVE-2015-3148

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/{curl_7.41.0.bb = curl_7.42.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.41.0.bb = curl_7.42.0.bb} (92%)

diff --git a/meta/recipes-support/curl/curl_7.41.0.bb 
b/meta/recipes-support/curl/curl_7.42.0.bb
similarity index 92%
rename from meta/recipes-support/curl/curl_7.41.0.bb
rename to meta/recipes-support/curl/curl_7.42.0.bb
index 49ce716..d4445ff 100644
--- a/meta/recipes-support/curl/curl_7.41.0.bb
+++ b/meta/recipes-support/curl/curl_7.42.0.bb
@@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI +=  file://configure_ac.patch
 
-SRC_URI[md5sum] = 87e36f88b7a0f9683fa56f1334562c3a
-SRC_URI[sha256sum] = 
9f8b546bdc5c57d959151acae7ce6610fe929d82b8d0fc5b25a3a2296e5f8bea
+SRC_URI[md5sum] = 0a10174a0ea5105c46e92b51e1b311f8
+SRC_URI[sha256sum] = 
32557d68542f5c6cc8437b5b8a945857b4c5c6b6276da909e35b783d1d66d08f
 
 inherit autotools pkgconfig binconfig multilib_header
 
-- 
1.9.1

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


[OE-core] [fido][PATCH] curl: several security fixes

2015-04-23 Thread Maxin B. John
Fixes below listed bugs:
1. CVE-2015-3143
2. CVE-2015-3144
3. CVE-2015-3145
4. CVE-2015-3148

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/curl/CVE-2015-3143.patch | 38 
 meta/recipes-support/curl/curl/CVE-2015-3144.patch | 45 ++
 meta/recipes-support/curl/curl/CVE-2015-3145.patch | 70 ++
 meta/recipes-support/curl/curl/CVE-2015-3148.patch | 50 
 meta/recipes-support/curl/curl_7.40.0.bb   |  4 ++
 5 files changed, 207 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2015-3143.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2015-3144.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2015-3145.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2015-3148.patch

diff --git a/meta/recipes-support/curl/curl/CVE-2015-3143.patch 
b/meta/recipes-support/curl/curl/CVE-2015-3143.patch
new file mode 100644
index 000..745e945
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2015-3143.patch
@@ -0,0 +1,38 @@
+From d7d1bc8f08eea1a85ab0d794bc1561659462d937 Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg dan...@haxx.se
+Date: Thu, 16 Apr 2015 13:26:46 +0200
+Subject: [PATCH] ConnectionExists: for NTLM re-use, require credentials to
+ match
+
+Upstream-Status: Backport
+
+CVE-2015-3143
+
+Bug: http://curl.haxx.se/docs/adv_20150422A.html
+Reported-by: Paras Sethia
+Signed-off-by: Daniel Stenberg dan...@haxx.se
+Signed-off-by: Maxin B. John maxin.j...@enea.com
+---
+ lib/url.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/url.c b/lib/url.c
+index 018bb88..ee3d176 100644
+--- a/lib/url.c
 b/lib/url.c
+@@ -3207,11 +3207,11 @@ ConnectionExists(struct SessionHandle *data,
+strcmp(check-localdev, needle-localdev))
+   continue;
+   }
+ 
+   if((!(needle-handler-flags  PROTOPT_CREDSPERREQUEST)) ||
+- wantNTLMhttp) {
++ (wantNTLMhttp || check-ntlm.state != NTLMSTATE_NONE)) {
+ /* This protocol requires credentials per connection or is HTTP+NTLM,
+so verify that we're using the same name and password as well */
+ if(!strequal(needle-user, check-user) ||
+!strequal(needle-passwd, check-passwd)) {
+   /* one of them was different */
+-- 
+2.1.4
+
diff --git a/meta/recipes-support/curl/curl/CVE-2015-3144.patch 
b/meta/recipes-support/curl/curl/CVE-2015-3144.patch
new file mode 100644
index 000..ca6d744
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2015-3144.patch
@@ -0,0 +1,45 @@
+From 6218ded6001ea330e589f92b6b2fa1252b5d Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg dan...@haxx.se
+Date: Thu, 16 Apr 2015 23:52:04 +0200
+Subject: [PATCH] fix_hostname: zero length host name caused -1 index offset
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Backport
+
+If a URL is given with a zero-length host name, like in http://:80; or
+just :80, `fix_hostname()` will index the host name pointer with a -1
+offset (as it blindly assumes a non-zero length) and both read and
+assign that address.
+
+CVE-2015-3144
+
+Bug: http://curl.haxx.se/docs/adv_20150422D.html
+Reported-by: Hanno B??ck
+Signed-off-by: Daniel Stenberg dan...@haxx.se
+Signed-off-by: Maxin B. John maxin.j...@enea.com
+---
+ lib/url.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/url.c b/lib/url.c
+index ee3d176..f033dbc 100644
+--- a/lib/url.c
 b/lib/url.c
+@@ -3625,11 +3625,11 @@ static void fix_hostname(struct SessionHandle *data,
+ 
+   /* set the name we use to display the host name */
+   host-dispname = host-name;
+ 
+   len = strlen(host-name);
+-  if(host-name[len-1] == '.')
++  if(len  (host-name[len-1] == '.'))
+ /* strip off a single trailing dot if present, primarily for SNI but
+there's no use for it */
+ host-name[len-1]=0;
+ 
+   if(!is_ASCII_name(host-name)) {
+-- 
+2.1.4
+
diff --git a/meta/recipes-support/curl/curl/CVE-2015-3145.patch 
b/meta/recipes-support/curl/curl/CVE-2015-3145.patch
new file mode 100644
index 000..15a9982
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2015-3145.patch
@@ -0,0 +1,70 @@
+From ea595c516bc936a514753597aa6c59fd6eb0765e Mon Sep 17 00:00:00 2001
+From: Daniel Stenberg dan...@haxx.se
+Date: Thu, 16 Apr 2015 16:37:40 +0200
+Subject: [PATCH] cookie: cookie parser out of boundary memory access
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Backport
+
+The internal libcurl function called sanitize_cookie_path() that cleans
+up the path element as given to it from a remote site or when read from
+a file, did not properly validate the input. If given a path that
+consisted of a single double-quote, libcurl would index a newly
+allocated memory area with index -1 and assign a zero to it, thus
+destroying heap memory it wasn't supposed to.
+
+CVE-2015

[OE-core] [PATCH 3/3] stress: add new package

2015-03-20 Thread Maxin B. John
Deliberately simple workload generator for POSIX systems. It imposes
a configurable amount of CPU, memory, I/O, and disk stress on the system.

Moving the package from meta-linaro as a dependency for rt-tests ptest

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-extended/stress/files/texinfo.patch | 79 
 meta/recipes-extended/stress/stress_1.0.4.bb | 14 +
 2 files changed, 93 insertions(+)
 create mode 100644 meta/recipes-extended/stress/files/texinfo.patch
 create mode 100644 meta/recipes-extended/stress/stress_1.0.4.bb

diff --git a/meta/recipes-extended/stress/files/texinfo.patch 
b/meta/recipes-extended/stress/files/texinfo.patch
new file mode 100644
index 000..5ac5951
--- /dev/null
+++ b/meta/recipes-extended/stress/files/texinfo.patch
@@ -0,0 +1,79 @@
+--- a/doc/stress.texi
 b/doc/stress.texi
+@@ -62,47 +62,47 @@
+ 
+ @table @samp
+ @item -?
+-@itemx --help
++@item --help
+ Show help information.
+ 
+-@itemx --version
++@item --version
+ Show version information.
+ 
+ @item -v
+-@itemx --verbose
++@item --verbose
+ Turn up verbosity.
+ 
+ @item -q
+-@itemx --quiet
++@item --quiet
+ Turn down verbosity.
+ 
+ @item -n
+-@itemx --dry-run
++@item --dry-run
+ Show what would have been done.
+ 
+ @item -t @var{secs}
+-@itemx --timeout @var{secs}
++@item --timeout @var{secs}
+ Time out after @var{secs} seconds.
+ 
+-@itemx --backoff @var{usecs}
++@item --backoff @var{usecs}
+ Wait for factor of @var{usecs} microseconds before starting work.
+ 
+ @item -c @var{forks}
+-@itemx --cpu @var{forks}
++@item --cpu @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sqrt()}.
+ 
+ @item -i @var{forks}
+-@itemx --io @var{forks}
++@item --io @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sync()}.
+ 
+ @item -m @var{forks}
+-@itemx --vm @var{forks}
++@item --vm @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{malloc()}.
+ 
+-@itemx --vm-bytes @var{bytes}
++@item --vm-bytes @var{bytes}
+ Allocate @var{bytes} number of bytes.  The default is 1.
+ 
+-@itemx --vm-hang
++@item --vm-hang
+ Instruct each vm hog process to go to sleep after allocating memory.  This
+ contrasts with their normal behavior, which is to free the memory and
+ reallocate @emph{ad infinitum}.  This is useful for simulating low memory
+@@ -114,13 +114,13 @@
+ @end example
+ 
+ @item -d @var{forks}
+-@itemx --hdd @var{forks}
++@item --hdd @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{write()}.
+ 
+-@itemx --hdd-bytes @var{bytes}
++@item --hdd-bytes @var{bytes}
+ Write @var{bytes} number of bytes.  The default is 1GB.
+ 
+-@itemx --hdd-noclean
++@item --hdd-noclean
+ Do not unlink file(s) to which random ASCII data is written.
+ 
+ @end table
diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb 
b/meta/recipes-extended/stress/stress_1.0.4.bb
new file mode 100644
index 000..44f2fc6
--- /dev/null
+++ b/meta/recipes-extended/stress/stress_1.0.4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = Deliberately simple workload generator for POSIX systems. It \
+imposes a configurable amount of CPU, memory, I/O, and disk stress on the 
system.
+HOMEPAGE = http://people.seas.harvard.edu/~apw/stress/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
+
+SRC_URI = 
http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-${PV}.tar.gz/a607afa695a511765b40993a64c6e2f4/stress-${PV}.tar.gz
 \
+   file://texinfo.patch \
+   
+
+SRC_URI[md5sum] = a607afa695a511765b40993a64c6e2f4
+SRC_URI[sha256sum] = 
369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0
+
+inherit autotools
-- 
1.9.1

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


[OE-core] [PATCH 0/3] rt-tests version upgrade and ptest support

2015-03-20 Thread Maxin B. John
1. Add ptest support to rt-tests package [YOCTO #1569]
2. Add stress package as a dependency for rt-tests ptest
3. Upgrade the rt-tests and hwlatdetect package to version 0.91

Maxin B. John (3):
  rt-tests: bump version and enable ptest support
  hwlatdetect: upgrade to version 0.91
  stress: add new package

 meta/recipes-extended/stress/files/texinfo.patch   |  79 
 meta/recipes-extended/stress/stress_1.0.4.bb   |  14 +
 meta/recipes-rt/rt-tests/files/rt_bmark.py | 412 +
 meta/recipes-rt/rt-tests/files/run-ptest   |   3 +
 .../{hwlatdetect_0.89.bb = hwlatdetect_0.91.bb}   |   0
 meta/recipes-rt/rt-tests/rt-tests.inc  |   6 +-
 .../{rt-tests_0.89.bb = rt-tests_0.91.bb} |  10 +
 7 files changed, 521 insertions(+), 3 deletions(-)
 create mode 100644 meta/recipes-extended/stress/files/texinfo.patch
 create mode 100644 meta/recipes-extended/stress/stress_1.0.4.bb
 create mode 100755 meta/recipes-rt/rt-tests/files/rt_bmark.py
 create mode 100644 meta/recipes-rt/rt-tests/files/run-ptest
 rename meta/recipes-rt/rt-tests/{hwlatdetect_0.89.bb = hwlatdetect_0.91.bb} 
(100%)
 rename meta/recipes-rt/rt-tests/{rt-tests_0.89.bb = rt-tests_0.91.bb} (72%)

-- 
1.9.1

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


[OE-core] [PATCH 2/3] hwlatdetect: upgrade to version 0.91

2015-03-20 Thread Maxin B. John
Upgrade hwlatdetect to version 0.91

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-rt/rt-tests/{hwlatdetect_0.89.bb = hwlatdetect_0.91.bb} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename meta/recipes-rt/rt-tests/{hwlatdetect_0.89.bb = hwlatdetect_0.91.bb} 
(100%)

diff --git a/meta/recipes-rt/rt-tests/hwlatdetect_0.89.bb 
b/meta/recipes-rt/rt-tests/hwlatdetect_0.91.bb
similarity index 100%
rename from meta/recipes-rt/rt-tests/hwlatdetect_0.89.bb
rename to meta/recipes-rt/rt-tests/hwlatdetect_0.91.bb
-- 
1.9.1

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


[OE-core] [PATCH 1/3] rt-tests: bump version and enable ptest support

2015-03-20 Thread Maxin B. John
1. Upgrade version to 0.91
2. Add ptest support

[YOCTO #1569]

Signed-off-by: Thomas Lundström thomas.lundst...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-rt/rt-tests/files/rt_bmark.py | 412 +
 meta/recipes-rt/rt-tests/files/run-ptest   |   3 +
 meta/recipes-rt/rt-tests/rt-tests.inc  |   6 +-
 .../{rt-tests_0.89.bb = rt-tests_0.91.bb} |  10 +
 4 files changed, 428 insertions(+), 3 deletions(-)
 create mode 100755 meta/recipes-rt/rt-tests/files/rt_bmark.py
 create mode 100644 meta/recipes-rt/rt-tests/files/run-ptest
 rename meta/recipes-rt/rt-tests/{rt-tests_0.89.bb = rt-tests_0.91.bb} (72%)

diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py 
b/meta/recipes-rt/rt-tests/files/rt_bmark.py
new file mode 100755
index 000..e2280e4
--- /dev/null
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -0,0 +1,412 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright (C) 2015 Enea Software AB
+# Author: Thomas Lundström thomas.lundst...@enea.com
+
+# The script measures interrupt latency together with different types of
+# system load. This is done using the programs cyclictest and stress.
+#
+# The main output is:
+#
+#   Best case (min) latency
+# This has very limited value, but is presented since it can be done
+# easily
+#
+#   Average latency
+# This value is of interrest for throughput oriented systems. Limited
+# value for a real-time system. Also presented because it is easy to do.
+#
+#   Worst case (max) latency
+# This is the interesting number for a real-time system. The number
+# presented is (of cource) the largest number observed. The challenge
+# is to know how the observed worst case relates to the actual worst case.
+#
+# To get an indication of the confidence, the following method is used:
+# 1) Instead of one long run, the measurement is made as a set of shorter
+#runs. The number of runs must be a power of 2 for reasons that will
+#shorlty be obvious
+#
+# 2) First, a list of the max values are created.
+#
+# 3) The smallest value in that list is recorded.
+#
+# 4) Then a new list is create by taking the max value of each pair of
+#values in the original list. In this list the smallest value is
+#recorded.
+#
+# 5) Step 3 is repeated until there is only one value in the list. See
+#example below:
+#
+#Samples:
+#  |  44 | | | | |
+#  |  77 |  77 | | | |
+#  | 118 | | | | |
+#  | 119 | 119 | 119 | | |
+#  | 138 | | | | |
+#  |  57 | 138 | | | |
+#  | 175 | | | | |
+#  | 130 | 175 | 175 | 175 | |
+#  |  54 | | | | |
+#  | 150 | 150 | | | |
+#  |  47 | | | | |
+#  |  59 |  59 | 150 | | |
+#  | 199 | | | | |
+#  | 115 | 199 | | | |
+#  | 177 | | | | |
+#  | 129 | 177 | 199 | 199 | 199 |
+#
+#Smallest value:
+#  |  44 |  59 | 119 | 175 | 199 |
+#
+# 6) The generated list of smallest values is analyzed. In this case, it
+#can be observed that the values are increasing significantly through
+#the entire list, which leads to the conclusion that the number of
+#samples is too small.
+#If instead the list had been (167, 191, 196, 199, 199), there had
+#been a very small, or no, increase at the end of the list. We might
+#then suspect that the number of samples is probably large enough.
+#There is however no guarantee for that.
+#
+# Steps 1-2 are done in run_cyclictest_suite
+# Steps 3-5 are done in gen_minmax_list.
+# Step 6 needs to be done manually since there is (yet) no well defined
+# FAIL criterion and a theoretically solid PASS criterion may never be
+# available.
+
+import multiprocessing
+import os
+import re
+import signal
+import subprocess
+import time
+import traceback
+
+# See comment on the function set_hung_tmo
+has_hung_task_detection = True
+
+#---
+
+class TestFail(Exception):
+def __init__(self, msg):
+self.msg = msg
+
+def __str__(self):
+return Test failure: ( + self.msg + )
+
+#---
+
+def tc_name(sub_name):
+return rt_bmark.intlat. + sub_name
+
+#---
+# log() does the same job as print except that a '#' is added at the beginning
+# of each line. This causes TEFEL to ignore it
+
+def log(*msg):
+tmp = .join(map(str, msg)) # 'map(str

[OE-core] [PATCH 5/5] trace-cmd: remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-kernel/trace-cmd/trace-cmd.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/trace-cmd/trace-cmd.inc 
b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
index feb56e1..87e4a9c 100644
--- a/meta/recipes-kernel/trace-cmd/trace-cmd.inc
+++ b/meta/recipes-kernel/trace-cmd/trace-cmd.inc
@@ -5,7 +5,7 @@ inherit pkgconfig
 
 FILESEXTRAPATHS =. ${FILE_DIRNAME}/trace-cmd:
 
-SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git;branch=trace-cmd-stable-v2.5
 \
+SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;branch=trace-cmd-stable-v2.5
 \
file://blktrace-api-compatibility.patch \
 
 
-- 
1.9.1

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


[OE-core] [PATCH 4/5] mmc-utils: remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb 
b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index c54e351..bdb4fed 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -8,7 +8,7 @@ SRCREV = f4eb241519f8d500ce6068a70d2389be39ac5189
 
 PV = 0.1
 
-SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;protocol=git;branch=${BRANCH}
 \
+SRC_URI = 
git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branch=${BRANCH}
 \
file://0001-mmc.h-don-t-include-asm-generic-int-ll64.h.patch
 
 S = ${WORKDIR}/git
-- 
1.9.1

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


[OE-core] [PATCH 0/5] remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Update the following recipes by removing unnecessary 'protocol=git'
from SRC_URI

Maxin B. John (5):
  u-boot-fw-utils: remove unnecessary 'protocol=git' from SRC_URI
  u-boot-mkimage: remove unnecessary 'protocol=git' from SRC_URI
  systemd: remove unnecessary 'protocol=git' from SRC_URI
  mmc-utils: remove unnecessary 'protocol=git' from SRC_URI
  trace-cmd: remove unnecessary 'protocol=git' from SRC_URI

 meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb | 2 +-
 meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb  | 2 +-
 meta/recipes-core/systemd/systemd_219.bb   | 2 +-
 meta/recipes-devtools/mmc/mmc-utils_git.bb | 2 +-
 meta/recipes-kernel/trace-cmd/trace-cmd.inc| 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

-- 
1.9.1

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


[OE-core] [PATCH 1/5] u-boot-fw-utils: remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb 
b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb
index 2b0550c..b310b0d 100644
--- a/meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils_2015.01.bb
@@ -11,7 +11,7 @@ SRCREV = 92fa7f53f1f3f03296f8ffb14bdf1baefab83368
 
 PV = v2015.01+git${SRCPV}
 
-SRC_URI = git://git.denx.de/u-boot.git;branch=master;protocol=git \
+SRC_URI = git://git.denx.de/u-boot.git;branch=master \
file://0001-tools-env-fix-build-error.patch
 
 S = ${WORKDIR}/git
-- 
1.9.1

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


[OE-core] [PATCH 3/5] systemd: remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-core/systemd/systemd_219.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_219.bb 
b/meta/recipes-core/systemd/systemd_219.bb
index d5eed08..e9b3c84 100644
--- a/meta/recipes-core/systemd/systemd_219.bb
+++ b/meta/recipes-core/systemd/systemd_219.bb
@@ -29,7 +29,7 @@ SRCREV = a88abde72169ddc2df77df3fa5bed30725022253
 
 PV = 219+git${SRCPV}
 
-SRC_URI = 
git://anongit.freedesktop.org/systemd/systemd;branch=master;protocol=git \
+SRC_URI = git://anongit.freedesktop.org/systemd/systemd;branch=master \
file://0002-shared-missing.h-fall-back-to-insecure-getenv.patch \

file://0003-binfmt-Don-t-install-dependency-links-at-install-tim.patch \

file://0004-configure-Check-for-additional-features-that-uclibc-.patch \
-- 
1.9.1

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


[OE-core] [PATCH 2/5] u-boot-mkimage: remove unnecessary 'protocol=git' from SRC_URI

2015-03-12 Thread Maxin B. John
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb 
b/meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb
index 57989c7..076dff8 100644
--- a/meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage_2015.01.bb
@@ -12,7 +12,7 @@ SRCREV = 92fa7f53f1f3f03296f8ffb14bdf1baefab83368
 
 PV = v2015.01+git${SRCPV}
 
-SRC_URI = git://git.denx.de/u-boot.git;branch=master;protocol=git
+SRC_URI = git://git.denx.de/u-boot.git;branch=master
 
 S = ${WORKDIR}/git
 
-- 
1.9.1

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


[OE-core] [PATCH] ltp: update to 20150119 release

2015-01-26 Thread Maxin B. John
Update LTP to 20150119 release
1. Remove 2 upstreamed patches
2. Add 'expect' to run time dependency and install the tests which
   depend on it.
3. ffsb related configuration problem was fixed in this release.

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 ...sts-Fix-bad-priority-inheritance-conditio.patch | 48 -
 ...ltime-tests-Fix-robust-mutex-conditionals.patch | 62 --
 .../ltp/{ltp_20140828.bb = ltp_20150119.bb}   | 16 +-
 3 files changed, 2 insertions(+), 124 deletions(-)
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch
 delete mode 100644 
meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch
 rename meta/recipes-extended/ltp/{ltp_20140828.bb = ltp_20150119.bb} (84%)

diff --git 
a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch
 
b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch
deleted file mode 100644
index 631f926..000
--- 
a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-bad-priority-inheritance-conditio.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From b601a8d1b39075a5339195fc0a4038f71ec3b49e Mon Sep 17 00:00:00 2001
-From: Gary S. Robertson gary.robert...@linaro.org
-Date: Wed, 27 Aug 2014 16:23:56 -0500
-Subject: [LTP][PATCH] Realtime tests: Fix bad priority inheritance conditionals
-
-testcases/realtime/lib/librttest.c and
-testcases/realtime/stress/pi-tests/testpi-3.c
-both referenced a non-existent autoconf configuration setting variable.
-Replaced the invalid variable name with the variable actually created
-by autoconf.
-
-Upstream-Status: Backported
-
-Signed-off-by: Gary S. Robertson gary.robert...@linaro.org

- testcases/realtime/lib/librttest.c|2 +-
- testcases/realtime/stress/pi-tests/testpi-3.c |2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/testcases/realtime/lib/librttest.c 
b/testcases/realtime/lib/librttest.c
-index c175148..3679058 100644
 a/testcases/realtime/lib/librttest.c
-+++ b/testcases/realtime/lib/librttest.c
-@@ -586,7 +586,7 @@ void *busy_work_us(int us)
- 
- void init_pi_mutex(pthread_mutex_t * m)
- {
--#if HAVE_DECL_PTHREAD_PRIO_INHERIT
-+#if HAS_PRIORITY_INHERIT
-   pthread_mutexattr_t attr;
-   int ret;
-   int protocol;
-diff --git a/testcases/realtime/stress/pi-tests/testpi-3.c 
b/testcases/realtime/stress/pi-tests/testpi-3.c
-index 30f38f6..e483945 100644
 a/testcases/realtime/stress/pi-tests/testpi-3.c
-+++ b/testcases/realtime/stress/pi-tests/testpi-3.c
-@@ -365,7 +365,7 @@ int main(int argc, char *argv[])
- 
-   printf(Start %s\n, argv[0]);
- 
--#if HAVE_DECL_PTHREAD_PRIO_INHERIT
-+#if HAS_PRIORITY_INHERIT
-   if (!nopi) {
-   pthread_mutexattr_t mutexattr;
-   int protocol;
--- 
-1.7.9.5
-
diff --git 
a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch
 
b/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch
deleted file mode 100644
index 1fdd281..000
--- 
a/meta/recipes-extended/ltp/ltp/0001-Realtime-tests-Fix-robust-mutex-conditionals.patch
+++ /dev/null
@@ -1,62 +0,0 @@
-From 663a14423baea0e05ba79d90d2497dde5e4594bd Mon Sep 17 00:00:00 2001
-From: Gary S. Robertson gary.robert...@linaro.org
-Date: Thu, 11 Sep 2014 13:02:47 -0500
-Subject: [LTP][PATCH] Realtime tests: Fix robust mutex conditionals
-
-sbrk_mutex, testpi-5, and testpi-6 realtime tests in subdir
-testcases/realtime/func/pi-tests used compile time config variables
-which were not generated by autoconf in order to configure tests
-for robust mutexes.  Changed these conditionals to use the config
-variables actually generated in the autoconf process.
-
-Upstream-Status: Backported
-
-Signed-off-by: Gary S. Robertson gary.robert...@linaro.org

- testcases/realtime/func/pi-tests/sbrk_mutex.c |2 +-
- testcases/realtime/func/pi-tests/testpi-5.c   |2 +-
- testcases/realtime/func/pi-tests/testpi-6.c   |2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/testcases/realtime/func/pi-tests/sbrk_mutex.c 
b/testcases/realtime/func/pi-tests/sbrk_mutex.c
-index 684021f..5c325b4 100644
 a/testcases/realtime/func/pi-tests/sbrk_mutex.c
-+++ b/testcases/realtime/func/pi-tests/sbrk_mutex.c
-@@ -45,7 +45,7 @@
- #include unistd.h
- #include librttest.h
- 
--#if defined(HAS_PTHREAD_MUTEXTATTR_ROBUST_APIS)  
defined(PTHREAD_MUTEX_ROBUST_NP)
-+#if HAS_PTHREAD_MUTEXTATTR_ROBUST_APIS
- 
- #define NUM_MUTEXES 5000
- #define NUM_THREADS 50
-diff --git a/testcases/realtime/func/pi-tests/testpi-5.c 
b/testcases/realtime/func/pi-tests/testpi-5.c
-index a1d93cc..70f02fd 100644
 a/testcases/realtime/func/pi-tests/testpi-5.c
-+++ b/testcases/realtime/func/pi-tests/testpi-5.c
-@@ -69,7 +69,7 @@ int do_test(int argc, char **argv)
-   pthread_mutexattr_t mutexattr

Re: [OE-core] [dizzy][PATCH] coreutils: Fix CVE-2014-9471

2015-01-20 Thread Maxin B. John
Hi Ross,

On Tue, Jan 20, 2015 at 04:00:02PM +, Burton, Ross wrote:
 
 On 19 January 2015 at 13:57, Maxin B. John maxin.j...@enea.com wrote:
 
 On Wed, Jan 07, 2015 at 01:11:43PM +0100, Maxin B. John wrote:
  Fiedler Roman discovered that coreutils' parse_datetime() function
  has some flaws that may be exploitable if the date(1), touch(1),
  or potentially other programs, accept untrusted input for certain
  parameters. While researching this issue, he discovered that it
  was independently discovered by Bertrand Jacquin and reported at
  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16872
 
 
 
 Was this bug still in 8.23 so it needs to be applied to master, or is it
 dizzy-specific?

This bug is already fixed in 8.23. So, we don't have to apply this on
master.

 Ross 
Best Regards,
Maxin

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


Re: [OE-core] [PATCH v2] curl: upgrade to 7.40

2015-01-19 Thread Maxin B. John
Hi,

On Fri, Jan 16, 2015 at 12:00:16PM -0800, Andre McCurdy wrote:
 On Fri, Jan 16, 2015 at 7:06 AM, Maxin B. John maxin.j...@enea.com wrote:
  Upgraded version include fixes for these CVE bugs:
  1. CVE-2014-8150
  2. CVE-2014-8151
 
  Signed-off-by: Maxin B. John maxin.j...@enea.com
  ---
   meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
   rename meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} (93%)
 
  diff --git a/meta/recipes-support/curl/curl_7.38.0.bb 
  b/meta/recipes-support/curl/curl_7.40.0.bb
  similarity index 93%
  rename from meta/recipes-support/curl/curl_7.38.0.bb
  rename to meta/recipes-support/curl/curl_7.40.0.bb
  index 85bd3be..209ed94 100644
  --- a/meta/recipes-support/curl/curl_7.38.0.bb
  +++ b/meta/recipes-support/curl/curl_7.40.0.bb
  @@ -14,8 +14,8 @@ SRC_URI = 
  http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
   #
   SRC_URI +=  file://configure_ac.patch
 
  -SRC_URI[md5sum] = af6b3c299bd891f43cb5f76c4091b7b4
  -SRC_URI[sha256sum] = 
  035bd41e99aa1a4e64713f4cea5ccdf366ca8199e9be1b53d5a043d5165f9eba
  +SRC_URI[md5sum] = 8d30594212e65657a5c32030f0998fa9
  +SRC_URI[sha256sum] = 
  899109eb3900fa6b8a2f995df7f449964292776a04763e94fae640700f883fba
 
   inherit autotools pkgconfig binconfig multilib_header
 
 
 Perhaps also add a PACKAGECONFIG option for smb?

Thanks for pointing this out. I will send a patch soon.
 
 From the curl 7.40.0 changes:
 
 http_digest: Added support for Windows SSPI based authentication
 version info: Added Kerberos V5 to the supported features
 Makefile: Added VC targets for WinIDN
 config-win32: Introduce build targets for VS2012+
 SSL: Add PEM format support for public key pinning
 smtp: Added support for the conversion of Unix newlines during mail send
 smb: Added initial support for the SMB/CIFS protocol
 Added support for HTTP over unix domain sockets, via
 CURLOPT_UNIX_SOCKET_PATH and --unix-socket
 sasl: Added support for GSS-API based Kerberos V5 authentication

Best Regards,
Maxin 
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] curl: Add PACKAGECONFIG for samba

2015-01-19 Thread Maxin B. John
curl 7.40.0 added support for the SMB/CIFS protocol. So provide
a PACKAGECONFIG option for smb.

Reported-by: Andre McCurdy armccu...@gmail.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/curl_7.40.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/curl/curl_7.40.0.bb 
b/meta/recipes-support/curl/curl_7.40.0.bb
index 209ed94..d4b4ee3 100644
--- a/meta/recipes-support/curl/curl_7.40.0.bb
+++ b/meta/recipes-support/curl/curl_7.40.0.bb
@@ -29,6 +29,7 @@ PACKAGECONFIG[gnutls] = 
--with-gnutls,--without-gnutls,gnutls
 PACKAGECONFIG[zlib] = --with-zlib=${STAGING_LIBDIR}/../,--without-zlib,zlib
 PACKAGECONFIG[rtmpdump] = --with-librtmp,--without-librtmp,rtmpdump
 PACKAGECONFIG[libssh2] = --with-libssh2,--without-libssh2,libssh2
+PACKAGECONFIG[smb] = --enable-smb,--disable-smb,samba
 
 EXTRA_OECONF = --without-libidn \
 --enable-crypto-auth \
-- 
1.9.1

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


Re: [OE-core] [PATCH] curl: upgrade to 7.40

2015-01-16 Thread Maxin B. John
Hi Sona,

On Fri, Jan 16, 2015 at 01:30:53PM +0100, Sona Sarmadi wrote:
 Maxin,
 
 Is this related to (URL request injection CVE-2014-8150) 
 http://curl.haxx.se/mail/archive-2015-01/0019.html?

curl 7.40 contains fix for below listed CVE bugs:
1. CVE-2014-8150
2. CVE-2014-8151

 If yes, wouldn't it be better to mention this (the CVE) in the commit 
 message? 
Ok, good suggestion. I will update the commit message and resent the patch.
 
 //Sona

Best Regards,
Maxin

 -Original Message-
 From: openembedded-core-boun...@lists.openembedded.org 
 [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Maxin 
 B. John
 Sent: den 9 januari 2015 13:07
 To: openembedded-core@lists.openembedded.org
 Cc: Maxin John
 Subject: [OE-core] [PATCH] curl: upgrade to 7.40
 
 Bump to version 7.40
 
 Signed-off-by: Maxin B. John maxin.j...@enea.com
 ---
  meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)  rename 
 meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} (93%)
 
 diff --git a/meta/recipes-support/curl/curl_7.38.0.bb 
 b/meta/recipes-support/curl/curl_7.40.0.bb
 similarity index 93%
 rename from meta/recipes-support/curl/curl_7.38.0.bb
 rename to meta/recipes-support/curl/curl_7.40.0.bb
 index 85bd3be..209ed94 100644
 --- a/meta/recipes-support/curl/curl_7.38.0.bb
 +++ b/meta/recipes-support/curl/curl_7.40.0.bb
 @@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 
 \  #  SRC_URI +=  file://configure_ac.patch
  
 -SRC_URI[md5sum] = af6b3c299bd891f43cb5f76c4091b7b4
 -SRC_URI[sha256sum] = 
 035bd41e99aa1a4e64713f4cea5ccdf366ca8199e9be1b53d5a043d5165f9eba
 +SRC_URI[md5sum] = 8d30594212e65657a5c32030f0998fa9
 +SRC_URI[sha256sum] = 
 899109eb3900fa6b8a2f995df7f449964292776a04763e94fae640700f883fba
  
  inherit autotools pkgconfig binconfig multilib_header
  
 --
 1.9.1
 
 --
 ___
 Openembedded-core mailing list
 Openembedded-core@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] curl: upgrade to 7.40

2015-01-16 Thread Maxin B. John
Upgraded version include fixes for these CVE bugs:
1. CVE-2014-8150
2. CVE-2014-8151

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} (93%)

diff --git a/meta/recipes-support/curl/curl_7.38.0.bb 
b/meta/recipes-support/curl/curl_7.40.0.bb
similarity index 93%
rename from meta/recipes-support/curl/curl_7.38.0.bb
rename to meta/recipes-support/curl/curl_7.40.0.bb
index 85bd3be..209ed94 100644
--- a/meta/recipes-support/curl/curl_7.38.0.bb
+++ b/meta/recipes-support/curl/curl_7.40.0.bb
@@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI +=  file://configure_ac.patch
 
-SRC_URI[md5sum] = af6b3c299bd891f43cb5f76c4091b7b4
-SRC_URI[sha256sum] = 
035bd41e99aa1a4e64713f4cea5ccdf366ca8199e9be1b53d5a043d5165f9eba
+SRC_URI[md5sum] = 8d30594212e65657a5c32030f0998fa9
+SRC_URI[sha256sum] = 
899109eb3900fa6b8a2f995df7f449964292776a04763e94fae640700f883fba
 
 inherit autotools pkgconfig binconfig multilib_header
 
-- 
1.9.1

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


[OE-core] [meta-oe][PATCH] fuse-exfat: upgrade to 1.1.0

2015-01-15 Thread Maxin B. John
Bump to 1.1.0
1. Updated LICENSE from GPLv3 to GPLv2 or later
2. Misc. spelling fix

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../fuse-exfat/{fuse-exfat_1.0.1.bb = fuse-exfat_1.1.0.bb}  | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)
 rename meta-filesystems/recipes-filesystems/fuse-exfat/{fuse-exfat_1.0.1.bb = 
fuse-exfat_1.1.0.bb} (60%)

diff --git 
a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb 
b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
similarity index 60%
rename from meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
rename to meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
index f984c4b..6a83ab2 100644
--- a/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.0.1.bb
+++ b/meta-filesystems/recipes-filesystems/fuse-exfat/fuse-exfat_1.1.0.bb
@@ -1,12 +1,12 @@
 SUMMARY = read and write exFAT driver for FUSE
 DESCRIPTION = fuse-exfat is a read and write driver implementing the \
 extended file allocation table as a filesystem in userspace. A mounthelper \
-is provided unter the name mount.exfat-fuse. \
+is provided under the name mount.exfat-fuse. \
 
 HOMEPAGE = http://code.google.com/p/exfat/;
 SECTION = universe/otherosfs
-LICENSE = GPLv3
-LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
+LICENSE = GPLv2+
+LIC_FILES_CHKSUM = file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
 SRC_URI = ${DEBIAN_MIRROR}/main/f/fuse-exfat/fuse-exfat_${PV}.orig.tar.gz \
 
 DEPENDS = fuse virtual/libc
@@ -14,11 +14,11 @@ RRECOMMENDS_${PN} = util-linux-mount
 
 inherit scons
 
-SRC_URI[md5sum] = 7988a5111841593231f20af22153362d
-SRC_URI[sha256sum] = 
12ac1ba1b7d4343bef64e7898176705a41cfe3b5a7a179e28549d242e2854758
+SRC_URI[md5sum] = b2a23c032661cb1c1da4514e7af33916
+SRC_URI[sha256sum] = 
198c520e417e955dc5c08687c278e63eefa56719da4452aa4a605be0327f953e
 
 EXTRA_OESCONS =  \
-DESTDIR=${D}/${base_sbindir} \
+CCFLAGS='${CCFLAGS} -std=c99' DESTDIR=${D}/${base_sbindir} \
 
 
 do_install_prepend() {
-- 
1.9.1

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


[OE-core] [PATCH] ltp: do not remove scripts which use expect

2015-01-14 Thread Maxin B. John
Since we have expect available in oe-core, install the test scripts
which uses it.

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-extended/ltp/ltp_20140828.bb | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/recipes-extended/ltp/ltp_20140828.bb 
b/meta/recipes-extended/ltp/ltp_20140828.bb
index 0be18a7..3de8b60 100644
--- a/meta/recipes-extended/ltp/ltp_20140828.bb
+++ b/meta/recipes-extended/ltp/ltp_20140828.bb
@@ -67,13 +67,9 @@ do_install(){
 
 # Copy POSIX test suite into ${D}/opt/ltp/testcases by manual
 cp -r testcases/open_posix_testsuite ${D}/opt/ltp/testcases
-
-# We need to remove all scripts which depend on /usr/bin/expect, since 
expect is not supported in oe-core
-# We will add expect for enhancement in future
-find ${D} -type f -print | xargs grep \!.*\/usr\/bin\/expect | awk -F: 
'{print $1}' | xargs rm -f
 }
 
-RDEPENDS_${PN} = perl e2fsprogs-mke2fs python-core libaio bash gawk
+RDEPENDS_${PN} = perl e2fsprogs-mke2fs python-core libaio bash gawk expect
 
 FILES_${PN}-dbg += \
 /opt/ltp/runtest/.debug \
-- 
1.9.1

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


[OE-core] [PATCH] curl: upgrade to 7.40

2015-01-09 Thread Maxin B. John
Bump to version 7.40

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.38.0.bb = curl_7.40.0.bb} (93%)

diff --git a/meta/recipes-support/curl/curl_7.38.0.bb 
b/meta/recipes-support/curl/curl_7.40.0.bb
similarity index 93%
rename from meta/recipes-support/curl/curl_7.38.0.bb
rename to meta/recipes-support/curl/curl_7.40.0.bb
index 85bd3be..209ed94 100644
--- a/meta/recipes-support/curl/curl_7.38.0.bb
+++ b/meta/recipes-support/curl/curl_7.40.0.bb
@@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI +=  file://configure_ac.patch
 
-SRC_URI[md5sum] = af6b3c299bd891f43cb5f76c4091b7b4
-SRC_URI[sha256sum] = 
035bd41e99aa1a4e64713f4cea5ccdf366ca8199e9be1b53d5a043d5165f9eba
+SRC_URI[md5sum] = 8d30594212e65657a5c32030f0998fa9
+SRC_URI[sha256sum] = 
899109eb3900fa6b8a2f995df7f449964292776a04763e94fae640700f883fba
 
 inherit autotools pkgconfig binconfig multilib_header
 
-- 
1.9.1

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


[OE-core] [PATCH] openssl: upgrade to 1.0.1k

2015-01-09 Thread Maxin B. John
Upgrade includes 8 CVE bug fixes

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../openssl/{openssl_1.0.1j.bb = openssl_1.0.1k.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-connectivity/openssl/{openssl_1.0.1j.bb = 
openssl_1.0.1k.bb} (92%)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.1j.bb 
b/meta/recipes-connectivity/openssl/openssl_1.0.1k.bb
similarity index 92%
rename from meta/recipes-connectivity/openssl/openssl_1.0.1j.bb
rename to meta/recipes-connectivity/openssl/openssl_1.0.1k.bb
index 2da18ae..16ffc58 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.0.1j.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.0.1k.bb
@@ -38,8 +38,8 @@ SRC_URI += file://configure-targets.patch \
 file://run-ptest \

 
-SRC_URI[md5sum] = f7175c9cd3c39bb1907ac8bba9df8ed3
-SRC_URI[sha256sum] = 
1b60ca8789ba6f03e8ef20da2293b8dc131c39d83814e775069f02d26354edf3
+SRC_URI[md5sum] = d4f002bd22a56881340105028842ae1f
+SRC_URI[sha256sum] = 
8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c
 
 PACKAGES =+  \
${PN}-engines \
-- 
1.9.1

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


[OE-core] [dizzy][PATCH] coreutils: Fix CVE-2014-9471

2015-01-07 Thread Maxin B. John
Fiedler Roman discovered that coreutils' parse_datetime() function
has some flaws that may be exploitable if the date(1), touch(1),
or potentially other programs, accept untrusted input for certain
parameters. While researching this issue, he discovered that it
was independently discovered by Bertrand Jacquin and reported at
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16872

$ touch '--date=TZ=123345 @1'
*** Error in `touch': free(): invalid pointer: 0x7fffd33e55e0 ***
Aborted

$ date '--date=TZ=123345 @1'
date[394]: segfault at 7fff2400 ip 7f6dd5b73404 sp 7fff27cce8f8
error 4 in libc-2.20.so[7f6dd5af7000+199000]
Segmentation fault

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 .../coreutils/coreutils-8.22/date-tz-crash.patch   | 43 ++
 meta/recipes-core/coreutils/coreutils_8.22.bb  |  1 +
 2 files changed, 44 insertions(+)
 create mode 100644 
meta/recipes-core/coreutils/coreutils-8.22/date-tz-crash.patch

diff --git a/meta/recipes-core/coreutils/coreutils-8.22/date-tz-crash.patch 
b/meta/recipes-core/coreutils/coreutils-8.22/date-tz-crash.patch
new file mode 100644
index 000..570e4fd
--- /dev/null
+++ b/meta/recipes-core/coreutils/coreutils-8.22/date-tz-crash.patch
@@ -0,0 +1,43 @@
+This was reported in http://bugs.gnu.org/16872
+from the coreutils command: date -d 'TZ='
+
+The infinite loop for this case was present since the
+initial TZ= parsing support in commit de95bdc2 29-10-2004.
+This was changed to a crash or heap corruption depending
+on the platform with commit 2e3e4195 18-01-2010.
+
+* lib/parse-datetime.y (parse_datetime): Break out of the
+TZ= parsing loop once the second significant  is found.
+Also skip over any subsequent whitespace to be consistent
+with the non TZ= case.
+
+Fixes: CVE-2014-9471
+
+Upstream-Status: backport
+
+Signed-off-by: Maxin B. John maxin.j...@enea.com
+Signed-off-by: Pádraig Brady p...@draigbrady.com
+---
+diff -Naur coreutils-8.22-origin/lib/parse-datetime.y 
coreutils-8.22/lib/parse-datetime.y
+--- coreutils-8.22-origin/lib/parse-datetime.y 2013-12-04 15:53:33.0 
+0100
 coreutils-8.22/lib/parse-datetime.y2015-01-05 17:11:16.754358184 
+0100
+@@ -1303,8 +1303,6 @@
+ char tz1buf[TZBUFSIZE];
+ bool large_tz = TZBUFSIZE  tzsize;
+ bool setenv_ok;
+-/* Free tz0, in case this is the 2nd or subsequent time through. 
*/
+-free (tz0);
+ tz0 = get_tz (tz0buf);
+ z = tz1 = large_tz ? xmalloc (tzsize) : tz1buf;
+ for (s = tzbase; *s != ''; s++)
+@@ -1317,6 +1315,10 @@
+   goto fail;
+ tz_was_altered = true;
+ p = s + 1;
++while (c = *p, c_isspace (c))
++  p++;
++
++break;
+   }
+ }
+ 
diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb 
b/meta/recipes-core/coreutils/coreutils_8.22.bb
index f85baca..4a1aee6 100644
--- a/meta/recipes-core/coreutils/coreutils_8.22.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.22.bb
@@ -17,6 +17,7 @@ SRC_URI = ${GNU_MIRROR}/coreutils/${BP}.tar.xz \
file://dummy_help2man.patch \
file://fix-for-dummy-man-usage.patch \
file://fix-selinux-flask.patch \
+   file://date-tz-crash.patch \
   
 
 SRC_URI[md5sum] = 8fb0ae2267aa6e728958adc38f8163a2
-- 
1.9.1

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


Re: [OE-core] [PATCH 0/2] Enable ptest support for rt-tests package

2014-12-09 Thread Maxin B. John
ping ..

On Wed, Nov 26, 2014 at 10:54:25AM +0100, Maxin B. John wrote:
 The tests are implemented using rt_bmark.py which uses the stress 
 application
 to check the real-time performance under various conditions. 
 
 We need to add the stress package as a dependency for this ptest. At present,
 this recipe is duplicated in meta-linaro and meta-arago-extras.
 
 [YOCTO #1569]
 
 Maxin B. John (2):
   rt-tests: enable ptest support
   stress: Add new package
 
  meta/recipes-extended/stress/files/texinfo.patch |  79 +
  meta/recipes-extended/stress/stress_1.0.4.bb |  14 +
  meta/recipes-rt/rt-tests/files/rt_bmark.py   | 411 
 +++
  meta/recipes-rt/rt-tests/files/run-ptest |   3 +
  meta/recipes-rt/rt-tests/rt-tests_0.89.bb|  10 +
  5 files changed, 517 insertions(+)
  create mode 100644 meta/recipes-extended/stress/files/texinfo.patch
  create mode 100644 meta/recipes-extended/stress/stress_1.0.4.bb
  create mode 100644 meta/recipes-rt/rt-tests/files/rt_bmark.py
  create mode 100644 meta/recipes-rt/rt-tests/files/run-ptest
 
 -- 
 1.9.1
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH] python: fix ssl import error

2014-12-05 Thread Maxin B. John
Fix this ssl import error:
Python 2.7.3 (default, Dec  5 2014, 16:24:17)
[GCC 4.9.1] on linux2
Type help, copyright, credits or license for more information.
 import ssl
Traceback (most recent call last):
  File stdin, line 1, in module
  File /usr/lib/python2.7/ssl.py, line 92, in module
import base64# for DER-to-PEM translation
ImportError: No module named base64

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-devtools/python/python-2.7-manifest.inc | 2 +-
 scripts/contrib/python/generate-manifest-2.7.py  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-devtools/python/python-2.7-manifest.inc 
b/meta/recipes-devtools/python/python-2.7-manifest.inc
index a8afe13..9a514b1 100644
--- a/meta/recipes-devtools/python/python-2.7-manifest.inc
+++ b/meta/recipes-devtools/python/python-2.7-manifest.inc
@@ -122,7 +122,7 @@ RDEPENDS_${PN}-importlib=${PN}-core
 FILES_${PN}-importlib=${libdir}/python2.7/importlib 
 
 SUMMARY_${PN}-io=Python low-level I/O
-RDEPENDS_${PN}-io=${PN}-core ${PN}-math ${PN}-textutils
+RDEPENDS_${PN}-io=${PN}-core ${PN}-math ${PN}-textutils ${PN}-netclient
 FILES_${PN}-io=${libdir}/python2.7/lib-dynload/_socket.so 
${libdir}/python2.7/lib-dynload/_io.so ${libdir}/python2.7/lib-dynload/_ssl.so 
${libdir}/python2.7/lib-dynload/select.so 
${libdir}/python2.7/lib-dynload/termios.so 
${libdir}/python2.7/lib-dynload/cStringIO.so ${libdir}/python2.7/pipes.* 
${libdir}/python2.7/socket.* ${libdir}/python2.7/ssl.* 
${libdir}/python2.7/tempfile.* ${libdir}/python2.7/StringIO.* 
${libdir}/python2.7/io.* ${libdir}/python2.7/_pyio.* 
 
 SUMMARY_${PN}-json=Python JSON support
diff --git a/scripts/contrib/python/generate-manifest-2.7.py 
b/scripts/contrib/python/generate-manifest-2.7.py
index 65486d8..21b874f 100755
--- a/scripts/contrib/python/generate-manifest-2.7.py
+++ b/scripts/contrib/python/generate-manifest-2.7.py
@@ -275,7 +275,7 @@ if __name__ == __main__:
 m.addPackage( ${PN}-image, Python graphical image handling, 
${PN}-core,
 colorsys.* imghdr.* lib-dynload/imageop.so lib-dynload/rgbimg.so )
 
-m.addPackage( ${PN}-io, Python low-level I/O, ${PN}-core ${PN}-math 
${PN}-textutils,
+m.addPackage( ${PN}-io, Python low-level I/O, ${PN}-core ${PN}-math 
${PN}-textutils ${PN}-netclient,
 lib-dynload/_socket.so lib-dynload/_io.so lib-dynload/_ssl.so 
lib-dynload/select.so lib-dynload/termios.so lib-dynload/cStringIO.so  +
 pipes.* socket.* ssl.* tempfile.* StringIO.* io.* _pyio.* )
 
-- 
1.9.1

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


[OE-core] [PATCH 2/2] stress: Add new package

2014-11-26 Thread Maxin B. John
Deliberately simple workload generator for POSIX systems. It imposes
a configurable amount of CPU, memory, I/O, and disk stress on the system.

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-extended/stress/files/texinfo.patch | 79 
 meta/recipes-extended/stress/stress_1.0.4.bb | 14 +
 2 files changed, 93 insertions(+)
 create mode 100644 meta/recipes-extended/stress/files/texinfo.patch
 create mode 100644 meta/recipes-extended/stress/stress_1.0.4.bb

diff --git a/meta/recipes-extended/stress/files/texinfo.patch 
b/meta/recipes-extended/stress/files/texinfo.patch
new file mode 100644
index 000..5ac5951
--- /dev/null
+++ b/meta/recipes-extended/stress/files/texinfo.patch
@@ -0,0 +1,79 @@
+--- a/doc/stress.texi
 b/doc/stress.texi
+@@ -62,47 +62,47 @@
+ 
+ @table @samp
+ @item -?
+-@itemx --help
++@item --help
+ Show help information.
+ 
+-@itemx --version
++@item --version
+ Show version information.
+ 
+ @item -v
+-@itemx --verbose
++@item --verbose
+ Turn up verbosity.
+ 
+ @item -q
+-@itemx --quiet
++@item --quiet
+ Turn down verbosity.
+ 
+ @item -n
+-@itemx --dry-run
++@item --dry-run
+ Show what would have been done.
+ 
+ @item -t @var{secs}
+-@itemx --timeout @var{secs}
++@item --timeout @var{secs}
+ Time out after @var{secs} seconds.
+ 
+-@itemx --backoff @var{usecs}
++@item --backoff @var{usecs}
+ Wait for factor of @var{usecs} microseconds before starting work.
+ 
+ @item -c @var{forks}
+-@itemx --cpu @var{forks}
++@item --cpu @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sqrt()}.
+ 
+ @item -i @var{forks}
+-@itemx --io @var{forks}
++@item --io @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{sync()}.
+ 
+ @item -m @var{forks}
+-@itemx --vm @var{forks}
++@item --vm @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{malloc()}.
+ 
+-@itemx --vm-bytes @var{bytes}
++@item --vm-bytes @var{bytes}
+ Allocate @var{bytes} number of bytes.  The default is 1.
+ 
+-@itemx --vm-hang
++@item --vm-hang
+ Instruct each vm hog process to go to sleep after allocating memory.  This
+ contrasts with their normal behavior, which is to free the memory and
+ reallocate @emph{ad infinitum}.  This is useful for simulating low memory
+@@ -114,13 +114,13 @@
+ @end example
+ 
+ @item -d @var{forks}
+-@itemx --hdd @var{forks}
++@item --hdd @var{forks}
+ Spawn @var{forks} processes each spinning on @samp{write()}.
+ 
+-@itemx --hdd-bytes @var{bytes}
++@item --hdd-bytes @var{bytes}
+ Write @var{bytes} number of bytes.  The default is 1GB.
+ 
+-@itemx --hdd-noclean
++@item --hdd-noclean
+ Do not unlink file(s) to which random ASCII data is written.
+ 
+ @end table
diff --git a/meta/recipes-extended/stress/stress_1.0.4.bb 
b/meta/recipes-extended/stress/stress_1.0.4.bb
new file mode 100644
index 000..44f2fc6
--- /dev/null
+++ b/meta/recipes-extended/stress/stress_1.0.4.bb
@@ -0,0 +1,14 @@
+DESCRIPTION = Deliberately simple workload generator for POSIX systems. It \
+imposes a configurable amount of CPU, memory, I/O, and disk stress on the 
system.
+HOMEPAGE = http://people.seas.harvard.edu/~apw/stress/;
+LICENSE = GPLv2
+LIC_FILES_CHKSUM = file://COPYING;md5=d32239bcb673463ab874e80d47fae504
+
+SRC_URI = 
http://pkgs.fedoraproject.org/repo/pkgs/stress/stress-${PV}.tar.gz/a607afa695a511765b40993a64c6e2f4/stress-${PV}.tar.gz
 \
+   file://texinfo.patch \
+   
+
+SRC_URI[md5sum] = a607afa695a511765b40993a64c6e2f4
+SRC_URI[sha256sum] = 
369c997f65e8426ae8b318d4fdc8e6f07a311cfa77cc4b25dace465c582163c0
+
+inherit autotools
-- 
1.9.1

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


[OE-core] [PATCH 0/2] Enable ptest support for rt-tests package

2014-11-26 Thread Maxin B. John
The tests are implemented using rt_bmark.py which uses the stress application
to check the real-time performance under various conditions. 

We need to add the stress package as a dependency for this ptest. At present,
this recipe is duplicated in meta-linaro and meta-arago-extras.

[YOCTO #1569]

Maxin B. John (2):
  rt-tests: enable ptest support
  stress: Add new package

 meta/recipes-extended/stress/files/texinfo.patch |  79 +
 meta/recipes-extended/stress/stress_1.0.4.bb |  14 +
 meta/recipes-rt/rt-tests/files/rt_bmark.py   | 411 +++
 meta/recipes-rt/rt-tests/files/run-ptest |   3 +
 meta/recipes-rt/rt-tests/rt-tests_0.89.bb|  10 +
 5 files changed, 517 insertions(+)
 create mode 100644 meta/recipes-extended/stress/files/texinfo.patch
 create mode 100644 meta/recipes-extended/stress/stress_1.0.4.bb
 create mode 100644 meta/recipes-rt/rt-tests/files/rt_bmark.py
 create mode 100644 meta/recipes-rt/rt-tests/files/run-ptest

-- 
1.9.1

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


[OE-core] [PATCH 1/2] rt-tests: enable ptest support

2014-11-26 Thread Maxin B. John
Add ptest support for rt-tests package

[YOCTO #1569]

Signed-off-by: Thomas Lundström thomas.lundst...@enea.com
Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-rt/rt-tests/files/rt_bmark.py | 411 +
 meta/recipes-rt/rt-tests/files/run-ptest   |   3 +
 meta/recipes-rt/rt-tests/rt-tests_0.89.bb  |  10 +
 3 files changed, 424 insertions(+)
 create mode 100644 meta/recipes-rt/rt-tests/files/rt_bmark.py
 create mode 100644 meta/recipes-rt/rt-tests/files/run-ptest

diff --git a/meta/recipes-rt/rt-tests/files/rt_bmark.py 
b/meta/recipes-rt/rt-tests/files/rt_bmark.py
new file mode 100644
index 000..fb3ba44
--- /dev/null
+++ b/meta/recipes-rt/rt-tests/files/rt_bmark.py
@@ -0,0 +1,411 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# Copyright (C) 2014 Enea Software AB
+# Author: Thomas Lundström thomas.lundst...@enea.com
+
+# The script measures interrupt latency together with different types of
+# system load. This is done using the programs cyclictest and stress.
+#
+# The main output is:
+#
+#   Best case (min) latency
+# This has very limited value, but is presented since it can be done
+# easily
+#
+#   Average latency
+# This value is of interrest for throughput oriented systems. Limited
+# value for a real-time system. Also presented because it is easy to do.
+#
+#   Worst case (max) latency
+# This is the interesting number for a real-time system. The number
+# presented is (of cource) the largest number observed. The challenge
+# is to know how the observed worst case relates to the actual worst case.
+#
+# To get an indication of the confidence, the following method is used:
+# 1) Instead of one long run, the measurement is made as a set of shorter
+#runs. The number of runs must be a power of 2 for reasons that will
+#shorlty be obvious
+#
+# 2) First, a list of the max values are created.
+#
+# 3) The smallest value in that list is recorded.
+#
+# 4) Then a new list is create by taking the max value of each pair of
+#values in the original list. In this list the smallest value is
+#recorded.
+#
+# 5) Step 3 is repeated until there is only one value in the list. See
+#example below:
+#
+#Samples:
+#  |  44 | | | | |
+#  |  77 |  77 | | | |
+#  | 118 | | | | |
+#  | 119 | 119 | 119 | | |
+#  | 138 | | | | |
+#  |  57 | 138 | | | |
+#  | 175 | | | | |
+#  | 130 | 175 | 175 | 175 | |
+#  |  54 | | | | |
+#  | 150 | 150 | | | |
+#  |  47 | | | | |
+#  |  59 |  59 | 150 | | |
+#  | 199 | | | | |
+#  | 115 | 199 | | | |
+#  | 177 | | | | |
+#  | 129 | 177 | 199 | 199 | 199 |
+#
+#Smallest value:
+#  |  44 |  59 | 119 | 175 | 199 |
+#
+# 6) The generated list of smallest values is analyzed. In this case, it
+#can be observed that the values are increasing significantly through
+#the entire list, which leads to the conclusion that the number of
+#samples is too small.
+#If instead the list had been (167, 191, 196, 199, 199), there had
+#been a very small, or no, increase at the end of the list. We might
+#then suspect that the number of samples is probably large enough.
+#There is however no guarantee for that.
+#
+# Steps 1-2 are done in run_cyclictest_suite
+# Steps 3-5 are done in gen_minmax_list.
+# Step 6 needs to be done manually since there is (yet) no well defined
+# FAIL criterion and a theoretically solid PASS criterion may never be
+# available.
+
+import multiprocessing
+import os
+import re
+import signal
+import subprocess
+import time
+import traceback
+
+# See comment on the function set_hung_tmo
+has_hung_task_detection = True
+
+#---
+
+class TestFail(Exception):
+def __init__(self, msg):
+self.msg = msg
+
+def __str__(self):
+return Test failure: ( + self.msg + )
+
+#---
+
+def tc_name(sub_name):
+return rt_bmark.intlat. + sub_name
+
+#---
+# log() does the same job as print except that a '#' is added at the beginning
+# of each line. This causes TEFEL to ignore it
+
+def log(*msg):
+tmp = .join(map(str, msg)) # 'map(str, ...' allows numbers
+for line in tmp.split(\n):
+print #, line
+
+#---
+# Like log(), but with a timestamp added
+
+def log_ts

Re: [OE-core] [PATCH v2] curl: Security Advisory - CVE-2014-3613 CVE-2014-3620

2014-10-02 Thread Maxin B. John
Hi Ross,

On Thu, Oct 02, 2014 at 02:54:05PM +0100, Burton, Ross wrote:
 On 1 October 2014 14:29, Maxin B. John maxin.j...@enea.com wrote:
  Details of vulnerabilities are available below:
  CVE-2014-3613: http://curl.haxx.se/docs/adv_20140910A.html
  CVE-2014-3620: http://curl.haxx.se/docs/adv_20140910B.html
 
  Signed-off-by: Maxin B. John maxin.j...@enea.com
  ---
 
 Still fails to apply the patches (different failure to before).
 
 ERROR: Command Error: exit status: 1  Output:
 Applying patch CVE-2014-3620.patch
 patching file lib/cookie.c
 patching file tests/data/test61
 Hunk #1 FAILED at 23.
 1 out of 1 hunk FAILED -- rejects in file tests/data/test61
 Patch CVE-2014-3620.patch does not apply (enforce with -f)
 ERROR: Function failed: patch_do_patch
 ERROR: Logfile of failure stored in:
 /data/poky-master/tmp/work/corei7-64-poky-linux/curl/7.37.1-r0/temp/log.do_patch.18104
 ERROR: Task 6649
 (/home/ross/Yocto/poky/meta/recipes-support/curl/curl_7.37.1.bb,
 do_patch) failed with exit code '1'

Extremely sorry this time. I remember fixing this one and probably
sent a wrong version. Guess, I should take a vacation soon.
 
 Ross
Best Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


[OE-core] [PATCH v2] curl: Security Advisory - CVE-2014-3613 CVE-2014-3620

2014-10-01 Thread Maxin B. John
Details of vulnerabilities are available below:
CVE-2014-3613: http://curl.haxx.se/docs/adv_20140910A.html
CVE-2014-3620: http://curl.haxx.se/docs/adv_20140910B.html

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/curl/CVE-2014-3613.patch | 214 +
 meta/recipes-support/curl/curl/CVE-2014-3620.patch |  54 ++
 meta/recipes-support/curl/curl_7.37.1.bb   |   2 +
 3 files changed, 270 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2014-3613.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2014-3620.patch

diff --git a/meta/recipes-support/curl/curl/CVE-2014-3613.patch 
b/meta/recipes-support/curl/curl/CVE-2014-3613.patch
new file mode 100644
index 000..e335826
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2014-3613.patch
@@ -0,0 +1,214 @@
+From 545e322cc8c383ccdfb4ad85a1634c2b719a1adf Mon Sep 17 00:00:00 2001
+From: Tim Ruehsen tim.rueh...@gmx.de
+Date: Tue, 19 Aug 2014 21:01:28 +0200
+Subject: [PATCH] cookies: only use full host matches for hosts used as IP 
address
+
+By not detecting and rejecting domain names for partial literal IP
+addresses properly when parsing received HTTP cookies, libcurl can be
+fooled to both send cookies to wrong sites and to allow arbitrary sites
+to set cookies for others.
+
+CVE-2014-3613
+
+Upstream-Status: Backport
+
+Bug: http://curl.haxx.se/docs/adv_20140910A.html
+
+Signed-off-by: Tim Ruehsen tim.rueh...@gmx.de
+Signed-off-by: Maxin B. John maxin.j...@enea.com
+---
+diff -Naur curl-7.37.1-orig/lib/cookie.c curl-7.37.1/lib/cookie.c
+--- curl-7.37.1-orig/lib/cookie.c  2014-06-11 19:52:29.0 +0200
 curl-7.37.1/lib/cookie.c   2014-09-30 15:14:50.230809427 +0200
+@@ -95,6 +95,7 @@
+ #include strtoofft.h
+ #include rawstr.h
+ #include curl_memrchr.h
++#include inet_pton.h
+ 
+ /* The last #include file should be: */
+ #include memdebug.h
+@@ -319,6 +320,28 @@
+   }
+ }
+ 
++/*
++ * Return true if the given string is an IP(v4|v6) address.
++ */
++static bool isip(const char *domain)
++{
++  struct in_addr addr;
++#ifdef ENABLE_IPV6
++  struct in6_addr addr6;
++#endif
++
++  if(Curl_inet_pton(AF_INET, domain, addr)
++#ifdef ENABLE_IPV6
++ || Curl_inet_pton(AF_INET6, domain, addr6)
++#endif
++) {
++/* domain name given as IP address */
++return TRUE;
++  }
++
++  return FALSE;
++}
++
+ /
+  *
+  * Curl_cookie_add()
+@@ -439,24 +462,27 @@
+   }
+ }
+ else if(Curl_raw_equal(domain, name)) {
++  bool is_ip;
++
+   /* Now, we make sure that our host is within the given domain,
+  or the given domain is not valid and thus cannot be set. */
+ 
+   if('.' == whatptr[0])
+ whatptr++; /* ignore preceding dot */
+ 
+-  if(!domain || tailmatch(whatptr, domain)) {
+-const char *tailptr=whatptr;
+-if(tailptr[0] == '.')
+-  tailptr++;
+-strstore(co-domain, tailptr); /* don't prefix w/dots
+-   internally */
++  is_ip = isip(domain ? domain : whatptr);
++
++  if(!domain
++ || (is_ip  !strcmp(whatptr, domain))
++ || (!is_ip  tailmatch(whatptr, domain))) {
++strstore(co-domain, whatptr);
+ if(!co-domain) {
+   badcookie = TRUE;
+   break;
+ }
+-co-tailmatch=TRUE; /* we always do that if the domain name was
+-   given */
++if(!is_ip)
++  co-tailmatch=TRUE; /* we always do that if the domain name was
++ given */
+   }
+   else {
+ /* we did not get a tailmatch and then the attempted set domain
+@@ -968,6 +994,7 @@
+   time_t now = time(NULL);
+   struct Cookie *mainco=NULL;
+   size_t matches = 0;
++  bool is_ip;
+ 
+   if(!c || !c-cookies)
+ return NULL; /* no cookie struct or no cookies in the struct */
+@@ -975,6 +1002,9 @@
+   /* at first, remove expired cookies */
+   remove_expired(c);
+ 
++  /* check if host is an IP(v4|v6) address */
++  is_ip = isip(host);
++
+   co = c-cookies;
+ 
+   while(co) {
+@@ -986,8 +1016,8 @@
+ 
+   /* now check if the domain is correct */
+   if(!co-domain ||
+- (co-tailmatch  tailmatch(co-domain, host)) ||
+- (!co-tailmatch  Curl_raw_equal(host, co-domain)) ) {
++ (co-tailmatch  !is_ip  tailmatch(co-domain, host)) ||
++ ((!co-tailmatch || is_ip)  Curl_raw_equal(host, co-domain)) ) {
+ /* the right part of the host matches the domain stuff in the
+cookie data */
+ 
+diff -Naur curl-7.37.1-orig/tests/data/test1105 curl-7.37.1/tests/data/test1105
+--- curl-7.37.1-orig/tests/data/test1105   2014-06-11 19:52:29.0 
+0200
 curl-7.37.1/tests/data/test11052014-09-30 15:14

Re: [OE-core] [PATCH] curl: Security Advisory - CVE-2014-3613 CVE-2014-3620

2014-10-01 Thread Maxin B. John
Hi Ross,

On Thu, Sep 25, 2014 at 10:07:37PM +0100, Burton, Ross wrote:
 On 25 September 2014 18:17, Maxin B. John maxin.j...@enea.com wrote:
  I have tried it with the latest master and it worked for me.
  Could you please confirm if it was applied on the master branch ?
  (Couldn't recreate this failure at my PC)
 
 I applied this patch to origin/master
 (8ac8eca2e3bd8c78e2b31ea974930ed0243258a3) and it still fails to apply
 the patches at build time with rejects in tests/data/test31.

Mea culpa. Sent an updated patch now.

 
 Ross
Thanks and Regards,
Maxin
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH] curl: upgrade to 7.38.0

2014-09-25 Thread Maxin B. John
Hi Ross,

On Wed, Sep 24, 2014 at 11:27:57PM +0100, Burton, Ross wrote:
 On 10 September 2014 15:43, Maxin B. John maxin.j...@enea.com wrote:
  Fixes two HTTP cookie related security bugs:
   1. CVE-2014-3613
   2. CVE-2014-3620
 
 Can these be backported instead to 7.37.1?  Upgrading to a new major
 release with many new features is exceptional now we've frozen.
Sure. I will backport and send it soon.
 
 Ross
Best Regards,
Maxin

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


[OE-core] [PATCH] curl: Security Advisory - CVE-2014-3613 CVE-2014-3620

2014-09-25 Thread Maxin B. John
Details of vulnerabilities are available below:
CVE-2014-3613: http://curl.haxx.se/docs/adv_20140910A.html
CVE-2014-3620: http://curl.haxx.se/docs/adv_20140910B.html

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/curl/CVE-2014-3613.patch | 269 +
 meta/recipes-support/curl/curl/CVE-2014-3620.patch |  73 ++
 meta/recipes-support/curl/curl_7.37.1.bb   |   2 +
 3 files changed, 344 insertions(+)
 create mode 100644 meta/recipes-support/curl/curl/CVE-2014-3613.patch
 create mode 100644 meta/recipes-support/curl/curl/CVE-2014-3620.patch

diff --git a/meta/recipes-support/curl/curl/CVE-2014-3613.patch 
b/meta/recipes-support/curl/curl/CVE-2014-3613.patch
new file mode 100644
index 000..34c3236
--- /dev/null
+++ b/meta/recipes-support/curl/curl/CVE-2014-3613.patch
@@ -0,0 +1,269 @@
+From 545e322cc8c383ccdfb4ad85a1634c2b719a1adf Mon Sep 17 00:00:00 2001
+From: Tim Ruehsen tim.rueh...@gmx.de
+Date: Tue, 19 Aug 2014 21:01:28 +0200
+Subject: [PATCH] cookies: only use full host matches for hosts used as IP 
address
+
+By not detecting and rejecting domain names for partial literal IP
+addresses properly when parsing received HTTP cookies, libcurl can be
+fooled to both send cookies to wrong sites and to allow arbitrary sites
+to set cookies for others.
+
+CVE-2014-3613
+
+Upstream-Status: Backport
+
+Bug: http://curl.haxx.se/docs/adv_20140910A.html
+
+Signed-off-by: Tim Ruehsen tim.rueh...@gmx.de
+Signed-off-by: Maxin B. John maxin.j...@enea.com
+---
+ lib/cookie.c| 50 ++--
+ tests/data/test1105 |  3 +--
+ tests/data/test31   | 55 +++--
+ tests/data/test8|  3 ++-
+ 4 files changed, 71 insertions(+), 40 deletions(-)
+
+diff --git a/lib/cookie.c b/lib/cookie.c
+index 0590643..46904ac 100644
+--- a/lib/cookie.c
 b/lib/cookie.c
+@@ -93,10 +93,11 @@ Example set of cookies:
+ #include curl_memory.h
+ #include share.h
+ #include strtoofft.h
+ #include rawstr.h
+ #include curl_memrchr.h
++#include inet_pton.h
+ 
+ /* The last #include file should be: */
+ #include memdebug.h
+ 
+ static void freecookie(struct Cookie *co)
+@@ -317,10 +318,32 @@ static void remove_expired(struct CookieInfo *cookies)
+ }
+ co = nx;
+   }
+ }
+ 
++/*
++ * Return true if the given string is an IP(v4|v6) address.
++ */
++static bool isip(const char *domain)
++{
++  struct in_addr addr;
++#ifdef ENABLE_IPV6
++  struct in6_addr addr6;
++#endif
++
++  if(Curl_inet_pton(AF_INET, domain, addr)
++#ifdef ENABLE_IPV6
++ || Curl_inet_pton(AF_INET6, domain, addr6)
++#endif
++) {
++/* domain name given as IP address */
++return TRUE;
++  }
++
++  return FALSE;
++}
++
+ /
+  *
+  * Curl_cookie_add()
+  *
+  * Add a single cookie line to the cookie keeping object.
+@@ -437,28 +460,31 @@ Curl_cookie_add(struct SessionHandle *data,
+ badcookie = TRUE; /* out of memory bad */
+ break;
+   }
+ }
+ else if(Curl_raw_equal(domain, name)) {
++  bool is_ip;
++
+   /* Now, we make sure that our host is within the given domain,
+  or the given domain is not valid and thus cannot be set. */
+ 
+   if('.' == whatptr[0])
+ whatptr++; /* ignore preceding dot */
+ 
+-  if(!domain || tailmatch(whatptr, domain)) {
+-const char *tailptr=whatptr;
+-if(tailptr[0] == '.')
+-  tailptr++;
+-strstore(co-domain, tailptr); /* don't prefix w/dots
+-   internally */
++  is_ip = isip(domain ? domain : whatptr);
++
++  if(!domain
++ || (is_ip  !strcmp(whatptr, domain))
++ || (!is_ip  tailmatch(whatptr, domain))) {
++strstore(co-domain, whatptr);
+ if(!co-domain) {
+   badcookie = TRUE;
+   break;
+ }
+-co-tailmatch=TRUE; /* we always do that if the domain name was
+-   given */
++if(!is_ip)
++  co-tailmatch=TRUE; /* we always do that if the domain name was
++ given */
+   }
+   else {
+ /* we did not get a tailmatch and then the attempted set domain
+is not a domain to which the current host belongs. Mark as
+bad. */
+@@ -966,17 +992,21 @@ struct Cookie *Curl_cookie_getlist(struct CookieInfo *c,
+   struct Cookie *newco;
+   struct Cookie *co;
+   time_t now = time(NULL);
+   struct Cookie *mainco=NULL;
+   size_t matches = 0;
++  bool is_ip;
+ 
+   if(!c || !c-cookies)
+ return NULL; /* no cookie struct or no cookies in the struct */
+ 
+   /* at first, remove expired cookies */
+   remove_expired(c);
+ 
++  /* check if host is an IP(v4|v6) address */
++  is_ip

Re: [OE-core] [PATCH] curl: Security Advisory - CVE-2014-3613 CVE-2014-3620

2014-09-25 Thread Maxin B. John
Hi Ross,

On Thu, Sep 25, 2014 at 04:08:23PM +0100, Burton, Ross wrote:
 On 25 September 2014 12:36, Maxin B. John maxin.j...@enea.com wrote:
  Details of vulnerabilities are available below:
  CVE-2014-3613: http://curl.haxx.se/docs/adv_20140910A.html
  CVE-2014-3620: http://curl.haxx.se/docs/adv_20140910B.html
 
  Signed-off-by: Maxin B. John maxin.j...@enea.com
 
 This fails to apply:
 
 ERROR: Command Error: exit status: 1  Output:
 Applying patch CVE-2014-3613.patch
 patching file lib/cookie.c
 patching file tests/data/test1105
 patching file tests/data/test31
 Hunk #1 FAILED at 49.
 1 out of 2 hunks FAILED -- rejects in file tests/data/test31
 patching file tests/data/test8
 Patch CVE-2014-3613.patch does not apply (enforce with -f)
 ERROR: Function failed: patch_do_patch
 ERROR: Logfile of failure stored in:
 /data/poky-master/tmp/work/corei7-64-poky-linux/curl/7.37.1-r0/temp/log.do_patch.13247
 ERROR: Task 1 (/home/ross/Yocto/poky/meta/recipes-support/curl/curl_7.37.1.bb,
 do_patch) failed with exit code '1'

I have tried it with the latest master and it worked for me.
Could you please confirm if it was applied on the master branch ?
(Couldn't recreate this failure at my PC) 

 Ross
Best Regards,
Maxin

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


[OE-core] [PATCH] curl: upgrade to 7.38.0

2014-09-10 Thread Maxin B. John
Fixes two HTTP cookie related security bugs:
 1. CVE-2014-3613
 2. CVE-2014-3620

Changelog:
http://curl.haxx.se/changes.html#7_38_0

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-support/curl/{curl_7.37.1.bb = curl_7.38.0.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta/recipes-support/curl/{curl_7.37.1.bb = curl_7.38.0.bb} (93%)

diff --git a/meta/recipes-support/curl/curl_7.37.1.bb 
b/meta/recipes-support/curl/curl_7.38.0.bb
similarity index 93%
rename from meta/recipes-support/curl/curl_7.37.1.bb
rename to meta/recipes-support/curl/curl_7.38.0.bb
index 8bcd9ba..3077074 100644
--- a/meta/recipes-support/curl/curl_7.37.1.bb
+++ b/meta/recipes-support/curl/curl_7.38.0.bb
@@ -14,8 +14,8 @@ SRC_URI = http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
 #
 SRC_URI +=  file://configure_ac.patch
 
-SRC_URI[md5sum] = 95c627abcf6494f5abe55effe7cd6a57
-SRC_URI[sha256sum] = 
c3ef3cd148f3778ddbefb344117d7829db60656efe1031f9e3065fc0faa25136
+SRC_URI[md5sum] = af6b3c299bd891f43cb5f76c4091b7b4
+SRC_URI[sha256sum] = 
035bd41e99aa1a4e64713f4cea5ccdf366ca8199e9be1b53d5a043d5165f9eba
 
 inherit autotools pkgconfig binconfig multilib_header
 
-- 
1.9.1

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


[OE-core] [PATCH] ltp: upgrade to 20140828

2014-09-05 Thread Maxin B. John
Upgrade to *August 2014* release
Removed automake-foreign.patch as it has been merged

Signed-off-by: Maxin B. John maxin.j...@enea.com
---
 meta/recipes-extended/ltp/ltp/automake-foreign.patch | 20 
 .../ltp/{ltp_20140422.bb = ltp_20140828.bb} |  3 +--
 2 files changed, 1 insertion(+), 22 deletions(-)
 delete mode 100644 meta/recipes-extended/ltp/ltp/automake-foreign.patch
 rename meta/recipes-extended/ltp/{ltp_20140422.bb = ltp_20140828.bb} (97%)

diff --git a/meta/recipes-extended/ltp/ltp/automake-foreign.patch 
b/meta/recipes-extended/ltp/ltp/automake-foreign.patch
deleted file mode 100644
index c3dd891..000
--- a/meta/recipes-extended/ltp/ltp/automake-foreign.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-Use foreign strictness to avoid automake errors.
-
-Upstream-Status: Submitted 
(https://github.com/linux-test-project/ltp/issues/16)
-Signed-off-by: Ross Burton ross.bur...@intel.com
-
-diff --git a/configure.ac b/configure.ac
-index 9f397e7..fc57957 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -4 +4 @@
--AM_INIT_AUTOMAKE
-+AM_INIT_AUTOMAKE([foreign])
 a/utils/ffsb-6.0-rc2/configure.in
-+++ b/utils/ffsb-6.0-rc2/configure.in
-@@ -2,2 +2,3 @@ dnl Process this file with autoconf to produce a configure 
script.
--AC_INIT(main.c)
--AM_INIT_AUTOMAKE(ffsb, 6.0-RC2)
-+AC_INIT([ffsb], [6.0-RC2])
-+AC_CONFIG_SRCDIR([main.c])
-+AM_INIT_AUTOMAKE([foreign])
diff --git a/meta/recipes-extended/ltp/ltp_20140422.bb 
b/meta/recipes-extended/ltp/ltp_20140828.bb
similarity index 97%
rename from meta/recipes-extended/ltp/ltp_20140422.bb
rename to meta/recipes-extended/ltp/ltp_20140828.bb
index c658bc0..de1929d 100644
--- a/meta/recipes-extended/ltp/ltp_20140422.bb
+++ b/meta/recipes-extended/ltp/ltp_20140828.bb
@@ -20,12 +20,11 @@ LIC_FILES_CHKSUM = \
 
 
 DEPENDS = attr libaio libcap acl openssl
-SRCREV = f4c3bfe1eab51eb72caeb0f3336d2790c9a8bd1b
+SRCREV = 2c341ad9177f36d9b953e84dee8cf88498286fe5
 
 SRC_URI = git://github.com/linux-test-project/ltp.git \
 file://0001-Rename-runtests_noltp.sh-script-so-have-unique-name.patch \
 file://ltp-Do-not-link-against-libfl.patch \
-file://automake-foreign.patch \
 
 
 S = ${WORKDIR}/git
-- 
1.9.1

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


<    3   4   5   6   7   8   9   >