[OE-core] [PATCH 3/3] initscripts: disable mountall.sh for busybox init

2017-10-31 Thread wenzong.fan
From: Wenzong Fan Disable 'mountall.sh' to avoid system halt while the init manager is set as 'busybox'. In busybox init, the 'SIGUSR1' was handled as 'halt', calling to the 'mountall.sh' would trigger the signal with: + kill -USR1 1 This works fine for sysvinit but will fail with the busybox

[OE-core] [PATCH 2/3] initscripts: minor fixes to checkroot.sh

2017-10-31 Thread wenzong.fan
From: Wenzong Fan Fix checkroot.sh issue while booting: sh: no: unknown operand Signed-off-by: Wenzong Fan --- meta/recipes-core/initscripts/initscripts-1.0/checkroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-core/initscripts/initscripts-1.0/chec

[OE-core] [PATCH 1/3] initscripts: Check for the existence of /etc/default/rcS

2017-10-31 Thread wenzong.fan
From: Wenzong Fan /etc/default/rcS might be missing if the init manager is not sysvinit, we have to check for the existence of this file before sourcing it. Signed-off-by: Wenzong Fan --- meta/recipes-core/initscripts/initscripts-1.0/bootmisc.sh | 2 +- meta/recipes-core/initscrip

[OE-core] [PATCH 0/3] initscripts: fixes for booting with busybox init

2017-10-31 Thread wenzong.fan
From: Wenzong Fan * check for the existence of /etc/default/rcS * minor fixes to checkroot.sh * disable mountall.sh for busybox init The following changes since commit 5dacc5516718efdf0a470e074a5c05b1ecf8cc15: bitbake: main: Give a user readable error if we can't locate topdir (2017-10-31 09

[OE-core] [PATCH] sqlite3: fix CVE-2017-13685

2017-10-16 Thread wenzong.fan
From: Wenzong Fan The dump_callback function in SQLite 3.20.0 allows remote attackers to cause a denial of service (EXC_BAD_ACCESS and application crash) via a crafted file. Backport patch to fix the issue. Some references: https://sqlite.org/src/info/02f0f4c54f2819b3 http://www.mail-archive.com

[OE-core] [PATCH] tcl: remove host path from tclConfig.sh

2017-10-11 Thread wenzong.fan
From: Wenzong Fan The tclConfig.sh is also used by other packages (such as expect) for cross-compiling, the host path from it can't be removed directly in the do_install step. With PACKAGE_PREPROCESS_FUNCS to remove host path and avoid the crossscripts installed to target. Signed-off-by: Wenzon

[OE-core] [PATCH] kernel.bbclass: build host programs with native sysroots

2017-09-20 Thread wenzong.fan
From: Wenzong Fan Allow to search header files and libs from native sysroots. For example, an expanded BUILD_CFLAGS includes: '-isystem/builddir/to/linux-yocto/recipe-sysroot-native/usr/include' And an expanded BUILD_LDFLAGS includes: '-L/builddir/to/linux-yocto/recipe-sysroot-native/usr/li

[OE-core] [PATCH] subversion: fix CVE-2017-9800

2017-09-07 Thread wenzong.fan
From: Wenzong Fan A maliciously constructed svn+ssh:// URL would cause Subversion clients before 1.8.19, 1.9.x before 1.9.7, and 1.10.0.x through 1.10.0-alpha3 to run an arbitrary shell command. Such a URL could be generated by a malicious server, by a malicious user committing to a honest server

[OE-core] [PATCH] curl: fix CVE-2017-1000099, 1000100, 1000101

2017-09-03 Thread wenzong.fan
From: Wenzong Fan Backport upstream commits to fix: - CVE-2017-199 https://curl.haxx.se/docs/adv_20170809C.html https://curl.haxx.se/CVE-2017-199.patch - CVE-2017-1000100 https://curl.haxx.se/docs/adv_20170809B.html https://curl.haxx.se/CVE-2017-1000100.patch - CVE-2017-1000101

[OE-core] [PATCH 0/1 v2] gdk-pixbuf: fix ptest RDEPENDS for multilib build

2017-08-20 Thread wenzong.fan
From: Wenzong Fan V2 changes: * rebase patch for gdk-pixbuf 2.36.8 * add a short commit message The following changes since commit 04dc76713b57f28457742dd863caa663591d4866: devtool/copy_buildsystem: adds meta-skeleton layer in the eSDK installation. (2017-08-19 22:15:39 +0100) are available

[OE-core] [PATCH 1/1 v2] gdk-pixbuf: fix ptest RDEPENDS for multilib build

2017-08-20 Thread wenzong.fan
From: Wenzong Fan Don't hardcode the package name, it could be gdk-pixbuf or lib32-gdk-pixbuf. Signed-off-by: Wenzong Fan --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.8.b

[OE-core] [PATCH] sqlite3: upgrade to 3.2.0

2017-08-15 Thread wenzong.fan
From: Wenzong Fan * Uprev from 3.19.3 to 3.2.0 for fixing CVE-2017-10989: The getNodeSize function in ext/rtree/rtree.c in SQLite through 3.19.3, as used in GDAL and other products, mishandles undersized RTree blobs in a crafted database, leading to a heap-based buffer over-read or possibly unsp

[OE-core] [PATCH] libtasn1: CVE-2017-10790

2017-08-15 Thread wenzong.fan
From: Yue Tao The _asn1_check_identifier function in GNU Libtasn1 through 4.12 causes a NULL pointer dereference and crash when reading crafted input that triggers assignment of a NULL value within an asn1_node structure. It may lead to a remote denial of service attack. References: https://nvd.

[OE-core] [PATCH] perl-native: process -fstack-protector-strong

2017-01-15 Thread wenzong.fan
From: Wenzong Fan perl-native provides configuration information for building host perl modules. This information (includes CCFLAGS, LDFLAGS ...) is based on the host gcc that used to build perl-native. While using prebuild perl-native to build perl modules and meet: 1. the prebuild perl-native

[OE-core] [PATCH] gdk-pixbuf: fix ptest RDEPENDS for multilib build

2016-11-26 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.36.0.bb index a5ebeca..f69e888

[OE-core] [PATCH] at: fix configure option with/without-selinux

2016-03-20 Thread wenzong.fan
From: Wenzong Fan without-selinux doesn't work since WITH_SELINUX is always be defined no matter which option is given: with-selinux, without-selinux. This causes build errors if '--without-selinux' is used and libselinux is not buildable in project: atd.c:87:29: fatal error: selinux/selinux.

[OE-core] [PATCH] msmtp: add gplv2 version

2015-12-15 Thread wenzong.fan
From: Wenzong Fan * add gplv2 version 1.4.12 * add patch msmtp-fixup-api-and-compiler-issues.patch to deal with issues: sysroots/qemux86-64/usr/include/ inttypes.h:290:8: error: unknown type name 'intmax_t' inttypes.h:310:8: error: unknown type name 'uintmax_t' inttypes.h:324:1:

[OE-core] [PATCH] rpcbind: Security Advisory - rpcbind - CVE-2015-7236

2015-11-16 Thread wenzong.fan
From: Li Zhou rpcbind: Fix memory corruption in PMAP_CALLIT code Use-after-free vulnerability in xprt_set_caller in rpcb_svc_com.c in rpcbind 0.2.1 and earlier allows remote attackers to cause a denial of service (daemon crash) via crafted packets, involving a PMAP_CALLIT code. The patch comes

[OE-core] [PATCH 2/2] subversion: fix CVE-2015-3187

2015-11-16 Thread wenzong.fan
From: Wenzong Fan The svn_repos_trace_node_locations function in Apache Subversion before 1.7.21 and 1.8.x before 1.8.14, when path-based authorization is used, allows remote authenticated users to obtain sensitive path information by reading the history of a node that has been moved from a hidde

[OE-core] [PATCH 0/2] subversion: fix CVE-2015-3184, CVE-2015-3187

2015-11-16 Thread wenzong.fan
From: Wenzong Fan The following changes since commit d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57: gcc: Drop 4.8 (2015-11-16 14:59:18 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib wenzong/svn http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/

[OE-core] [PATCH 1/2] subversion: fix CVE-2015-3184

2015-11-16 Thread wenzong.fan
From: Wenzong Fan mod_authz_svn in Apache Subversion 1.7.x before 1.7.21 and 1.8.x before 1.8.14, when using Apache httpd 2.4.x, does not properly restrict anonymous access, which allows remote anonymous users to read hidden files via the path name. Patch is from: http://subversion.apache.org/se

[OE-core] [PATCH 2/2 v2] qemu: fix CVE-2015-7295

2015-11-16 Thread wenzong.fan
From: Wenzong Fan hw/virtio/virtio.c in the Virtual Network Device (virtio-net) support in QEMU, when big or mergeable receive buffers are not supported, allows remote attackers to cause a denial of service (guest network consumption) via a flood of jumbo frames on the (1) tuntap or (2) macvtap i

[OE-core] [PATCH 1/2 v2] qemu: fix CVE-2015-6855

2015-11-16 Thread wenzong.fan
From: Wenzong Fan hw/ide/core.c in QEMU does not properly restrict the commands accepted by an ATAPI device, which allows guest users to cause a denial of service or possibly have unspecified other impact via certain IDE commands, as demonstrated by a WIN_READ_NATIVE_MAX command to an empty drive

[OE-core] [PATCH 0/2 v2] qemu: fix CVE-2015-6855, CVE-2015-7295

2015-11-16 Thread wenzong.fan
From: Wenzong Fan V2 changes: * rebase to qemu 2.4.0.1 The following changes since commit d9aabf9639510fdb3e2ccc21ba5ae4aa9f6e4a57: gcc: Drop 4.8 (2015-11-16 14:59:18 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib wenzong/qemu-cve-new http://git.pok

[OE-core] [PATCH 2/3] qemu: fix CVE-2015-6855

2015-11-15 Thread wenzong.fan
From: Wenzong Fan hw/ide/core.c in QEMU does not properly restrict the commands accepted by an ATAPI device, which allows guest users to cause a denial of service or possibly have unspecified other impact via certain IDE commands, as demonstrated by a WIN_READ_NATIVE_MAX command to an empty drive

[OE-core] [PATCH 3/3] qemu: fix CVE-2015-7295

2015-11-15 Thread wenzong.fan
From: Wenzong Fan hw/virtio/virtio.c in the Virtual Network Device (virtio-net) support in QEMU, when big or mergeable receive buffers are not supported, allows remote attackers to cause a denial of service (guest network consumption) via a flood of jumbo frames on the (1) tuntap or (2) macvtap i

[OE-core] [PATCH 0/3] qemu: fix CVE-2015-5225, CVE-2015-6855, CVE-2015-7295

2015-11-15 Thread wenzong.fan
From: Wenzong Fan The following changes since commit fc45deac89ef63ca1c44e763c38ced7dfd72cbe1: build-appliance-image: Update to jethro head revision (2015-11-03 14:03:03 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib wenzong/qemu-cve http://git.pokyl

[OE-core] [PATCH 1/3] qemu: fix CVE-2015-5225

2015-11-15 Thread wenzong.fan
From: Wenzong Fan Buffer overflow in the vnc_refresh_server_surface function in the VNC display driver in QEMU before 2.4.0.1 allows guest users to cause a denial of service (heap memory corruption and process crash) or possibly execute arbitrary code on the host via unspecified vectors, related

[OE-core] [PATCH] gstreamer1.0-plugins-bad: disable uvch264 for systemd

2015-11-13 Thread wenzong.fan
From: Wenzong Fan Disable uvch264 to remove the dependency to libgudev which has been removed from systemd project. Signed-off-by: Wenzong Fan --- meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/recipes-m

[OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issues

2015-11-08 Thread wenzong.fan
From: Wenzong Fan * Pass global CFLAGS to build: The CFLAGS does not pass to build at all since it was redefined by mdadm Makefile: CFLAGS = $(CWFLAGS) $(CXFLAGS) ... This could be done by setting 'CXFLAGS="${CFLAGS}"'. * Also fix ptest build errors caused by global CFLAGS: raid6check.c:

[OE-core] [PATCH 0/1 v2] mdadm: fix CFLAGS and ptest issues

2015-11-08 Thread wenzong.fan
From: Wenzong Fan V2 change: * also fix another ptest error while building poky-lsb: raid6check.c:352:2: error: ignoring return value of posix_memalign, \ declared with attribute warn_unused_result [-Werror=unused-result] The following changes since commit fc45deac89ef63ca1c44e763c38ced7df

[OE-core] [PATCH 1/1 v4] rpcbind: don't use '-w' for starting rpcbind

2015-11-06 Thread wenzong.fan
From: Li Wang While runing: $ systemctl restart rpcbind $ systemctl status rpcbind There are errors like below: rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \ errno 2 (No such file or directory) rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \ err

[OE-core] [PATCH 0/1 v4] rpcbind: don't use '-w' for starting rpcbind

2015-11-06 Thread wenzong.fan
From: Wenzong Fan V4 changes: * update commit logs The following changes since commit fc45deac89ef63ca1c44e763c38ced7dfd72cbe1: build-appliance-image: Update to jethro head revision (2015-11-03 14:03:03 +) are available in the git repository at: git://git.pokylinux.org/poky-contrib

[OE-core] [PATCH] openssl: fix mips64 configure support

2015-11-04 Thread wenzong.fan
From: Wenzong Fan Match target name linux-mips64 as well, all mips64 targets will have mips(32) userspace. Signed-off-by: Wenzong Fan --- meta/recipes-connectivity/openssl/openssl.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-connectivity/openssl/openssl.

[OE-core] [PATCH 1/1 v2] gnupg: fix find-version for beta checking

2015-10-27 Thread wenzong.fan
From: Wenzong Fan find-version always assumes that gnupg is beta if autogen.sh is run out of git-repo. This doesn't work for users whom just take release tarball and re-run autoconf in their local build dir. This fixes runtime issue: $gpg --list-sigs gpg: NOTE: THIS IS A DEVELOPMENT VERSION

[OE-core] [PATCH 0/1 v2] gnupg: fix find-version for beta checking

2015-10-27 Thread wenzong.fan
From: Wenzong Fan V2 changes: Fix find-version beta checking logic from autogen.sh instead of set development_version to 'no' in configure.ac. The following changes since commit 8a0d8eee432924433c3e70198aaeab3161476c5f: toaster manual: Updated the set up and use chapter (2015-10-27 07:28:22

[OE-core] [PATCH] openssh: Restore TCP wrappers support

2015-10-23 Thread wenzong.fan
From: Wenzong Fan The /etc/hosts.deny doesn't work for sshd without tcp-wrappers support, apply below patch from Debian to fix it: From 1850a2c93f3dcfa3d682eaa85d1593c01d170429 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Tue, 7 Oct 2014 13:22:41 +0100 Subject: Restore TCP wrappers

[OE-core] [PATCH] gnupg: set development_version as no

2015-10-22 Thread wenzong.fan
From: Wenzong Fan The development_version used to mark if gnupg is a beta version. The checking logic in autogen.sh always assume that gnupg is beta if below command is not run in gnupg's git-repo: './autogen.sh --find-version 2 1 7' This does not work for integration. Set development_version

[OE-core] [PATCH] recipes: add distro_features_check for some packages

2015-10-21 Thread wenzong.fan
From: Wenzong Fan * The packages that depends on gtk+3 require any of distro features from ${GTK3DISTROFEATURES} * The packages that depends on virtual/egl, virtual/libgl ... require distro feature 'opengl' Signed-off-by: Wenzong Fan --- meta/recipes-gnome/gcr/gcr_3.16.0.bb

[OE-core] [PATCH 1/1 v2] mdadm: fix CFLAGS and ptest issue

2015-10-15 Thread wenzong.fan
From: Wenzong Fan * Pass global CFLAGS to build: The CFLAGS does not pass to build at all since it was redefined by mdadm Makefile: CFLAGS = $(CWFLAGS) $(CXFLAGS) ... This could be done by setting 'CXFLAGS="${CFLAGS}"'. * Also fix ptest build error caused by global CFLAGS: raid6check.c:

[OE-core] [PATCH 0/1 v2] mdadm: fix CFLAGS and ptest issue

2015-10-15 Thread wenzong.fan
From: Wenzong Fan V2 changes: * update commit subject: mdadm: fix CFLAGS invalid issue -> mdadm: fix CFLAGS and ptest issue * rebase changes against latest master branch. The following changes since commit 556c0ea92eb32ddb9c9a5e30a74b2ca24ac69c68: lib/oe/image.py: Fix dependency handling

[OE-core] [PATCH 1/1 v2] bzip2: fix bunzip2 -qt returns 0 for corrupt archives

2015-10-13 Thread wenzong.fan
From: Wenzong Fan "bzip2 -t FILE" returns 2 if FILE exists, but is not a valid bzip2 file. "bzip2 -qt FILE" returns 0 when this happens, although it does print out an error message as is does so. This has been fix by Debian, just port changes from Debian patch file "20-legacy.patch". Debian def

[OE-core] [PATCH 0/1 v2] bzip2: fix bunzip2 -qt returns 0 for corrupt archives

2015-10-13 Thread wenzong.fan
From: Wenzong Fan V2 changes: * update Upstream-Status: "Backport [Debian] -> Pending" * add Debian defect/changelog links to commit log The following changes since commit d302c98822efe2cb78a63b620aed1b94b4ed4a68: bitbake: toaster: Fix missing tooltips from layers on project configuration p

[OE-core] [PATCH] bzip2: fix bunzip2 -qt returns 0 for corrupt archives

2015-10-12 Thread wenzong.fan
From: Wenzong Fan "bzip2 -t FILE" returns 2 if FILE exists, but is not a valid bzip2 file. "bzip2 -qt FILE" returns 0 when this happens, although it does print out an error message as is does so. This has been fix by Debian, just port changes from Debian patch file "20-legacy.patch": * Fixed "b

[OE-core] [PATCH 2/3 v2] curl: cleanup buildpaths from curl-config

2015-09-30 Thread wenzong.fan
From: Wenzong Fan curl-config will be installed to target, cleanup buildpaths in it: * remove ${STAGING_DIR_HOST} from CC, CFLAGS ... Signed-off-by: Wenzong Fan --- meta/recipes-support/curl/curl_7.44.0.bb | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/curl/curl

[OE-core] [PATCH 3/3 v2] gnutls: cleanup buildpaths from gnutls.pc

2015-09-30 Thread wenzong.fan
From: Wenzong Fan For multilib build, PKG_CONFIG_SYSROOT_DIR will be injected in values that are returned by 'pkg-config --libs xxx', such as for zlib: dev-shell# pkg-config --libs zlib -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -lz The values used by configure to generate various files f

[OE-core] [PATCH 1/3 v2] glib-2.0: cleanup buildpaths from pkgconfig files

2015-09-30 Thread wenzong.fan
From: Wenzong Fan For multilib build, PKG_CONFIG_SYSROOT_DIR will be injected in values that are returned by 'pkg-config --libs xxx', such as for zlib: dev-shell# pkg-config --libs zlib -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -lz The values used by configure to generate various files f

[OE-core] [PATCH 0/3 v2] cleanup buildpaths for gnutls, curl, glib-2.0

2015-09-30 Thread wenzong.fan
From: Wenzong Fan V2 changes: * limit sed logics to do_install_append_class-target() * update commit logs for all three patches The following changes since commit 4bc3f0994e68b3302a0523a3156dd0dca0cac7a0: bitbake: toaster: move clones into subdirectory (2015-09-29 14:11:39 +0100) are avail

[OE-core] [PATCH] gnome-doc-utils: xslt - don't install Makefiles

2015-09-30 Thread wenzong.fan
From: Wenzong Fan All the xml files under xslt will be installed by default, the buildtime stuffs that Makefile, Makefile.in, Makefile.am are not needed for target. Signed-off-by: Wenzong Fan --- meta/recipes-gnome/gnome/gnome-doc-utils.inc | 3 --- 1 file changed, 3 deletions(-) diff --git a

[OE-core] [PATCH] apr: cleanup buildpaths from target stuffs

2015-09-30 Thread wenzong.fan
From: Wenzong Fan * cleanup buildpaths from apr_rules.mk and apr-1-config: - remove ${STAGING_DIR_HOST} from CC, CPP ... - set APR_SOURCE_DIR, APR_BUILD_DIR as empty * install ${HOST_SYS}-libtool to sysroot only, it's required for building apache2 but not suitable for target. Signed-off-b

[OE-core] [PATCH] apr-utils: cleanup buildpaths for target stuffs

2015-09-30 Thread wenzong.fan
From: Wenzong Fan * cleanup buildpaths from apu-1-config: - remove ${STAGING_DIR_HOST} from CC, CPP ... - set APU_SOURCE_DIR, APU_BUILD_DIR as empty Signed-off-by: Wenzong Fan --- meta/recipes-support/apr/apr-util_1.5.4.bb | 6 ++ 1 file changed, 6 insertions(+) diff --git a/meta/reci

[OE-core] [PATCH] glib-2.0: cleanup buildpaths from pkgconfig files

2015-09-24 Thread wenzong.fan
From: Wenzong Fan * gio-2.0.pc: -L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64 * gobject-2.0.pc: -L/path/to/tmp/sysroots/qemux86-64/usr/lib64/../lib64 -> -L/usr/lib64/../lib64 Signed-off-by: Wenzong Fan --- meta/recipes-core/glib-2.0/glib.inc | 6 ++ 1 file changed, 6 insert

[OE-core] [PATCH] gnutls: cleanup buildpaths from gnutls.pc

2015-09-24 Thread wenzong.fan
From: Wenzong Fan * gnutls.pc: -L/path/to/tmp/sysroots/qemux86-64/lib64 -> -L/lib64 Signed-off-by: Wenzong Fan --- meta/recipes-support/gnutls/gnutls.inc | 5 + 1 file changed, 5 insertions(+) diff --git a/meta/recipes-support/gnutls/gnutls.inc b/meta/recipes-support/gnutls/gnutls.inc

[OE-core] [PATCH] curl: cleanup buildpaths from curl-config

2015-09-24 Thread wenzong.fan
From: Wenzong Fan * curl-config: -L/path/to/tmp/sysroots/qemux86-64/usr/lib64 -> -L/usr/lib64 --sysroot=/path/to/tmp/sysroots/qemux86-64' -> --sysroot= Signed-off-by: Wenzong Fan --- meta/recipes-support/curl/curl_7.44.0.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recip

[OE-core] [PATCH] mdadm: fix CFLAGS invalid issue

2015-09-10 Thread wenzong.fan
From: Wenzong Fan * Pass global CFLAGS to build: The CFLAGS does not pass to build at all since it was redefined by mdadm Makefile: CFLAGS = $(CWFLAGS) $(CXFLAGS) ... This could be done by setting 'CXFLAGS="${CFLAGS}"'. * Also fix ptest build error caused by global CFLAGS: raid6check.c:

[OE-core] [PATCH] gnu-efi: Make setjmp.S portable to ARM

2015-09-06 Thread wenzong.fan
From: Wenzong Fan This patch fixes the following error: .../lib/arm/setjmp.S:18: Error: unrecognized symbol type "" .../lib/arm/setjmp.S:26: Error: unrecognized symbol type "" The problem is the assembly syntax that is used is not portable to ARM, where the '@' symbol is a comment: > Not

[OE-core] [PATCH 2/2 v2] libcap-ng: add package 0.7.7

2015-08-20 Thread wenzong.fan
From: Wenzong Fan Pull package from meta-oe to oe-core: meta-oe commit: bce4dba5546480c8e43c6442959ac7d0a4ef32f6 The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library. It's not a replacement to libcap, it provides different

[OE-core] [PATCH 1/2 v2] swig: add package 3.0.6

2015-08-20 Thread wenzong.fan
From: Wenzong Fan Ackage from meta-oe to oe-core: meta-oe commit: 9cc54e10efa5ca70d9980f833a8e5a310e5ad21d It's required for libcap-ng to build python bindings. With adding it to oe-core, the copies from following layers could be removed: * meta-oe, meta-selinux, meta-intel-iot-middleware ...

[OE-core] [PATCH 0/2 v2] libcap-ng, swig: add packages

2015-08-20 Thread wenzong.fan
From: Wenzong Fan V2 changes: * add swig 3.0.6 which the latest version from meta-oe The following changes since commit a01a33b17861c227c1c16fbc2d819d86fb9bf893: linux-yocto-3.14: Update to branch HEADs (2015-08-20 15:17:01 +0100) are available in the git repository at: git://git.pokylin

[OE-core] [PATCH 2/2] libcap-ng: add package 0.7.7

2015-08-19 Thread wenzong.fan
From: Wenzong Fan Pull package from meta-oe to oe-core: meta-oe commit: bce4dba5546480c8e43c6442959ac7d0a4ef32f6 The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap library. It's not a replacement to libcap, it provides different

[OE-core] [PATCH 0/2] libcap-ng, swig: add packages

2015-08-19 Thread wenzong.fan
From: Wenzong Fan Add packages libcap-ng and swig. They are from meta-oe and with adding them to oe-core, the copies from multiple layers could be removed: meta-oe, meta-selinux ... * The swig is depended by libcap-ng to build python bindings * The libcap-ng library is intended to make program

[OE-core] [PATCH 1/2] swig: add package 3.0.2

2015-08-19 Thread wenzong.fan
From: Wenzong Fan Pull package from meta-oe to oe-core: meta-oe commit: 8b7d90d8e4c3338f94c588fc7e4a88319bd9a9e8 It's required for libcap-ng to build python bindings. With adding it to oe-core, the copies from following layers could be removed: * meta-oe, meta-selinux, meta-intel-iot-middlewar

[OE-core] [PATCH v2] bjam-native: build and install bjam.debug

2015-08-03 Thread wenzong.fan
From: Wenzong Fan bjam is stripped by default, this causes QA warning while stripping it from do_populate_sysroot(): WARNING: File '.../tmp/sysroots/x86_64-linux/usr/bin/bjam' \ from bjam-native was already stripped, \ this will prevent future debugging! The JAM scripts allow to build

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

2015-08-03 Thread wenzong.fan
From: Wenzong Fan * follow symbolic links while copying sources from test/* * install required target files to remove Make errors: make[2]: *** No rule to make target 'xxx', needed by 'yyy'. * fix hardcode pathes: /usr/lib -> ${libdir}, /usr/bin -> ${bindir} Signed-off-by: Wenzong Fan ---

[OE-core] [PATCH] bjam-native: inhibit sysroot strip

2015-07-29 Thread wenzong.fan
From: Wenzong Fan The bjam is already stripped by default. Fix warning: WARNING: File '.../tmp/sysroots/x86_64-linux/usr/bin/bjam' from \ bjam-native was already stripped, this will prevent future debugging! Signed-off-by: Wenzong Fan --- meta/recipes-support/boost/bjam-native_1.58.0.bb |

[OE-core] [PATCH 2/2] kexec-tools: change powerpc memory size limit

2015-07-16 Thread wenzong.fan
From: Quanyang Wang When run "kexec" in powerpc board, the kexec has a limit that the kernel text and bss size must be less than 24M. But now some kernel size exceed the limit. So we need to change the limit, else will get the error log as below: my_load:669: do Could not find a free area of mem

[OE-core] [PATCH 1/2] kexec-tools: disable the GCC's stack protection for purgatory code

2015-07-16 Thread wenzong.fan
From: Kevin Hao If the GCC's stack protection is enabled by default, the purgatory will also be built with this option. But it makes no sense to enable this for the purgatory code, and would cause error when we are trying to relocate the purgatory codes because symbol like __stack_chk_fail is unr

[OE-core] [PATCH v3] rpcbind: handle rpcbind options

2015-07-14 Thread wenzong.fan
From: Li Wang While runing: $ systemctl restart rpcbind $ systemctl status rpcbind There are errors like below: rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \ errno 2 (No such file or directory) rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \ err

[OE-core] [PATCH 1/1 v2] netbase: add rpcbind as an alias to sunrpc

2015-07-12 Thread wenzong.fan
From: Li Wang rpcbind starts successfully, but shows the following errors in dmesg: Jul 24 20:34:42 quake rpcbind: cannot get local address for udp: \ Servname not supported for ai_socktype Jul 24 20:34:42 quake rpcbind: cannot get local address for tcp: \ Servname not supported for

[OE-core] [PATCH 1/1 v2] rpcbind: handle rpcbind options

2015-07-12 Thread wenzong.fan
From: Li Wang While runing: $ systemctl restart rpcbind $ systemctl status rpcbind There are errors like below: rpcbind[1722]: Cannot open '/tmp/rpcbind.xdr' file for reading, \ errno 2 (No such file or directory) rpcbind[1722]: Cannot open '/tmp/portmap.xdr' file for reading, \ err

[OE-core] [PATCH][meta-perl] libxml-libxml-perl: update from 2.0116 to 2.0121

2015-07-10 Thread wenzong.fan
From: Wenzong Fan Signed-off-by: Wenzong Fan --- .../libxml/libxml-libxml-perl_2.0116.bb| 47 -- .../libxml/libxml-libxml-perl_2.0121.bb| 47 ++ 2 files changed, 47 insertions(+), 47 deletions(-) delete mode 100644 meta-perl/recip

[OE-core] [PATCH 1/1] netbase: add rpcbind as an alias to sunrpc

2015-07-09 Thread wenzong.fan
From: Li Wang the patch comes from: https://bugs.archlinux.org/task/20273 Signed-off-by: Li Wang --- ...netbase-add-rpcbind-as-an-alias-to-sunrpc.patch | 44 ++ meta/recipes-core/netbase/netbase_5.3.bb | 1 + 2 files changed, 45 insertions(+) create mode 100644

[OE-core] [PATCH 1/1] rpcbind: handle rpcbind options

2015-07-09 Thread wenzong.fan
From: Li Wang the patch refers to: https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833 Run test: $ systemctl restart rpcbind $ systemctl status rpcbind Signed-off-by: Li Wang --- meta/recipes-extended/rpcbind/rpcbind/rpcbind.service | 4 ++-- 1 file changed, 2 insertions(+), 2 delet

[OE-core] [PATCH] ltp: Add inhibit of split

2015-07-08 Thread wenzong.fan
From: Yue Tao With the recent change to allow strip and split of packages to be controlled seperately, ltp will sometimes fail to build properly. So in addition to the existing inhibit strip, we also want to inhibit split. Signed-off-by: Yue Tao --- meta/recipes-extended/ltp/ltp_20150420.bb |

[OE-core] [PATCH v2] apr: Fix packet discards HTTP redirect

2015-07-08 Thread wenzong.fan
From: Li Wang Disconnect the connection by poll() timeout. If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then apr_socket_recv() returns EAGAIN. Signed-off-by: Noriaki Yoshitane Signed-off-by: Li Wang --- .../apr/Fix-packet-discards-HTTP-redirect.patch| 32 ++

[OE-core] [PATCH] Fix packet discards HTTP redirect.

2015-07-08 Thread wenzong.fan
From: Li Wang Disconnect the connection by poll() timeout. If timeout=0 and apr_wait_for_io_or_timeout()=APR_TIMEUP then apr_socket_recv() returns EAGAIN. Signed-off-by: Noriaki Yoshitane Signed-off-by: Li Wang --- .../apr/Fix-packet-discards-HTTP-redirect.patch| 32 ++

[OE-core] [PATCH] gdb: Fix detection of 64-bit PPC inferior in gdbserver

2015-07-07 Thread wenzong.fan
From: Yuanjie Huang Fix 64-bit detection according to PowerISA Boot III-S. https://sourceware.org/ml/gdb-patches/2014-12/msg00239.html Written by: Yao Qi Signed-off-by: Yuanjie Huang --- meta/recipes-devtools/gdb/gdb.inc | 1 + ...ction-of-64-bit-PPC-inferior-in-gdbserver.p

[OE-core] [PATCH] grub: Add support for net_default_mac and net_default_ip variables

2015-07-07 Thread wenzong.fan
From: Lijun Guo Using "-c" parameter, grub-mkimage can embed a configuration file into the grub image. However grub 2.0 doesn't support net_default_mac and net_default_ip variables in the configuration file. Backport upstream commit to fix the issue: * commit id: 2aa072d76a9c7df837a6a81bf8095809

[OE-core] [PATCH] bash: define NON_INTERACTIVE_LOGIN_SHELLS

2015-07-06 Thread wenzong.fan
From: Li Wang Allow login shells to read the startup files, even if they are not interactive. The patch comes from: * bash-3.2-30.fc10.src.rpm - bash-2.03-profile.patch Signed-off-by: Li Wang --- .../bash/bash/bash-2.03-profile.patch | 24 ++ meta/recipes-exte

[OE-core] [PATCH v2] man: replace ',' with '#'

2015-07-03 Thread wenzong.fan
From: Yue Tao Sometimes, the parameters of CC/BUILD_CC contains the ',', which cause the sed command failed, so replace the ',' with '#' Signed-off-by: Yue Tao Signed-off-by: Wenzong Fan --- meta/recipes-extended/man/man/configure_sed.patch | 32 +++ meta/recipes-extended/

[OE-core] [PATCH] gettext-minimal-native: use MKIDR_P in Makefile.in.in

2015-07-03 Thread wenzong.fan
From: Wenzong Fan The Makefile.in.in provided by gettext-minimal-native will be copied to many packages that need gettext to produce multi-lingual messages. Replace mkdir_p with MKDIR_P to fix below errors from those packages' install logs: /bin/sh: 6: @mkdir_p@: not found /usr/bin/install:

[OE-core] [PATCH] man: replace ',' with '#'

2015-07-01 Thread wenzong.fan
From: Yue Tao Sometimes, the parameters of CC contains the ',', which cause the sed command failed, so replace the ',' with '#' Signed-off-by: Yue Tao --- meta/recipes-extended/man/man/configure_sed.patch | 22 ++ meta/recipes-extended/man/man_1.6g.bb | 1 + 2

[OE-core] [PATCH] rpm: check if the argument(rootpath) exists or be writable

2015-07-01 Thread wenzong.fan
From: Zhixiong Chi When user execute the command "rpm -qai --root=$dir",if $dir doesn't exist or is unwritable as result of making a typo in rootpath,then it will create dirent $dir and subdirectory. So we should add the check function to fix it before creating relational subdirectory,and warn th

[OE-core] [PATCH v2] ltp: vma03 fix the alginment of page size

2015-06-30 Thread wenzong.fan
From: Chuang Dong the offset the param of mmap2() doesn't align the page size, but, this param allow must be a multiple of the page size as returned by sysconf(_SC_PAGE_SIZE).meanwhile offset * 4096 must be a multiple of the system page size, so modify the input param of offset pgoff = (ULONG_MAX

[OE-core] [PATCH] nfs-utils: debianize start-statd

2015-06-28 Thread wenzong.fan
From: Li Wang make start-statd command to use nfscommon configure, too. Signed-off-by: Henrik Riomar Signed-off-by: Li Wang Signed-off-by: Roy Li Signed-off-by: Wenzong Fan --- .../files/nfs-utils-debianize-start-statd.patch| 41 ++ .../nfs-utils/nfs-utils_1.3.1.bb

[OE-core] [PATCH v2] libxml2: Security Advisory - libxml2 - CVE-2015-1819

2015-06-14 Thread wenzong.fan
From: Yue Tao for CVE-2015-1819 Enforce the reader to run in constant memory Signed-off-by: Yue Tao Signed-off-by: Wenzong Fan --- meta/recipes-core/libxml/libxml2.inc | 1 + ...19-Enforce-the-reader-to-run-in-constant-.patch | 181 + 2 files changed, 182 i

[OE-core] [PATCH] libxml2: Security Advisory - libxml2 - CVE-2015-1819

2015-06-05 Thread wenzong.fan
From: Yue Tao for CVE-2015-1819 Enforce the reader to run in constant memory Signed-off-by: Yue Tao --- meta/recipes-core/libxml/libxml2.inc | 1 + ...19-Enforce-the-reader-to-run-in-constant-.patch | 178 + 2 files changed, 179 insertions(+) create mode 10

[OE-core] [PATCH] libsndfile: Security Advisory - libsndfile - CVE-2014-9496

2015-06-05 Thread wenzong.fan
From: Yue Tao Backport two commits from libsndfile upstream to fix a segfault and two potential buffer overflows. Signed-off-by: Yue Tao --- ...src-sd2.c-Fix-segfault-in-SD2-RSRC-parser.patch | 211 + ...c-Fix-two-potential-buffer-read-overflows.patch | 49 + .../libsn

[OE-core] [PATCH] perl: module overload rdpends on overloading

2015-04-07 Thread wenzong.fan
From: Wenzong Fan Fix perl runtime issue: * Can't locate overloading.pm in @INC (you may need to install the overloading module ...) at /usr/lib64/perl/5.20.0/overload.pm line 83. Signed-off-by: Wenzong Fan --- meta/recipes-devtools/perl/perl-rdepends_5.20.0.inc | 1 + 1 file changed, 1 inser

[OE-core] [PATCH 1/1] perl / PathTools: don't filter out blib from @INC

2015-02-11 Thread wenzong.fan
From: Wenzong Fan If $TOPDIR includes the string "blib", filter it out from @INC may empty the @INC and cause build errors like: Can't locate ExtUtils/MakeMaker.pm in @INC \ (you may need to install the ExtUtils::MakeMaker module) \ (@INC contains: .) at Makefile.PL Signed-off-by: Wenzong

[OE-core] [PATCH 0/1] perl / PathTools: don't filter out blib from @INC

2015-02-11 Thread wenzong.fan
From: Wenzong Fan If $TOPDIR includes the string "blib", filter it out from @INC may empty the @INC and cause build errors like: Can't locate ExtUtils/MakeMaker.pm in @INC \ (you may need to install the ExtUtils::MakeMaker module) \ (@INC contains: .) at Makefile.PL The following changes

[OE-core] [PATCH 0/1] coreutils-native: don't install groups

2014-11-28 Thread wenzong.fan
From: Wenzong Fan This binary is provided by shadow-native nowadays. Fixes: ERROR: The recipe coreutils-native is trying to install files \ into a shared area when those files already exist. \ Those files and their manifest location are: \ .../tmp/sysroots/x86_64-linux/usr/bin/gr

[OE-core] [PATCH 1/1] coreutils-native: don't install groups

2014-11-28 Thread wenzong.fan
From: Wenzong Fan This binary is provided by shadow-native nowadays. Fixes: ERROR: The recipe coreutils-native is trying to install files \ into a shared area when those files already exist. \ Those files and their manifest location are: \ .../tmp/sysroots/x86_64-linux/usr/bin/gr

[OE-core] [PATCH 0/1][Dizzy] serf: uprev to 1.3.7 for fixing CVE-2014-3504

2014-11-20 Thread wenzong.fan
From: Wenzong Fan The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_- ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7 does not properly handle a NUL byte in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-

[OE-core] [PATCH 1/1][Dizzy] serf: uprev to 1.3.7 for fixing CVE-2014-3504

2014-11-20 Thread wenzong.fan
From: Wenzong Fan The (1) serf_ssl_cert_issuer, (2) serf_ssl_cert_subject, and (3) serf_- ssl_cert_certificate functions in Serf 0.2.0 through 1.3.x before 1.3.7 does not properly handle a NUL byte in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-

[OE-core] [PATCH 1/1] serf: 1.3.6 -> 1.3.8

2014-11-17 Thread wenzong.fan
From: Wenzong Fan Release changes: Serf 1.3.8 [2014-10-20, from /tags/1.3.8, r] Fix issue #152: CRC calculation error for gzipped http reponses > 4GB. Fix issue #153: SSPI CredHandle not freed when APR pool is destroyed. Fix issue #154: Disable SSLv2 and SSLv3 as both or broken. Serf

[OE-core] [PATCH 0/1] uprev serf: 1.3.6 -> 1.3.8

2014-11-17 Thread wenzong.fan
From: Wenzong Fan Release changes: Serf 1.3.8 [2014-10-20, from /tags/1.3.8, r] Fix issue #152: CRC calculation error for gzipped http reponses > 4GB. Fix issue #153: SSPI CredHandle not freed when APR pool is destroyed. Fix issue #154: Disable SSLv2 and SSLv3 as both or broken. Serf

[OE-core] [PATCH v2 0/1] shadow: fix pam configs for chpasswd, newusers

2014-11-14 Thread wenzong.fan
From: Wenzong Fan v2 changes: * correct signature info The following changes since commit edaeb8940813b620090a0797ad3b6a076897512d: bitbake: cooker.py: fix loginfo op being set to an invalid value (2014-11-12 17:04:50 +) are available in the git repository at: git://git.pokylinux.org

[OE-core] [PATCH v2 1/1] shadow: fix pam configs for chpasswd, newusers

2014-11-14 Thread wenzong.fan
From: Hu Fix below errors while pam is enabled on target: root@qemux86:~# newusers newusers: PAM: Authentication failure root@qemux86:~# chpasswd chpasswd: PAM: Authentication failure The configs copied from "chgpasswd" which command works with pam. Signed-off-by: Hu Signed-off-by: We

[OE-core] [PATCH v2 1/4] bash: clean host path in bashbug

2014-11-14 Thread wenzong.fan
From: Shiqun Lin * /usr/bin/bashbug Signed-off-by: Shiqun Lin Signed-off-by: Wenzong Fan --- meta/recipes-extended/bash/bash.inc |4 1 file changed, 4 insertions(+) diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc index 2fe0c6b..d35d25c 100644

  1   2   3   >