[oe] [meta-networking][PATCH V2] netcf: upgrade to latest 0.2.8

2017-08-22 Thread Hongxu Jia
Fix compile failure while gnulib upgraded to 2017-08-20.18
...
| In file included from ../../../git/gnulib/lib/printf-args.h:41:0,
|  from ../../../git/gnulib/lib/printf-parse.h:29,
|  from ../../../git/gnulib/lib/printf-parse.c:36:
| ./wchar.h:571:6: error: #if with no expression
|  # if
...

Update HOMEPAGE, SRC_URI since the formers are obsolete.

Update SRCREV, although version not change, but the former
was two years ago.

Signed-off-by: Hongxu Jia 
---
 .../recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} | 10 ++
 1 file changed, 6 insertions(+), 4 deletions(-)
 rename meta-networking/recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} 
(88%)

diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb 
b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
similarity index 88%
rename from meta-networking/recipes-support/netcf/netcf_git.bb
rename to meta-networking/recipes-support/netcf/netcf_0.2.8.bb
index a7a5000..0b53add 100644
--- a/meta-networking/recipes-support/netcf/netcf_git.bb
+++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
@@ -1,15 +1,15 @@
 SUMMARY = "netcf"
 DESCRIPTION = "netcf is a cross-platform network configuration library."
-HOMEPAGE = "https://fedorahosted.org/netcf/;
+HOMEPAGE = "https://pagure.io/netcf;
 SECTION = "libs"
 LICENSE = "LGPLv2.1"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 
-SRCREV = "9158278ad35b46ce9a49b2e887483c6d8c287994"
+SRCREV = "2c5d4255857531bc09d91dcd02e86545f29004d4"
 PV = "0.2.8+git${SRCPV}"
 
-SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
+SRC_URI = "git://pagure.io/netcf.git;protocol=https \
 "
 
 DEPENDS += "augeas libnl libxslt libxml2 gnulib"
@@ -23,6 +23,8 @@ EXTRA_OECONF_append_class-target = " --with-driver=redhat"
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
 
+EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
+
 do_configure_prepend() {
 currdir=`pwd`
 cd ${S}
-- 
2.8.1

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


Re: [oe] [meta-networking][PATCH 1/3] netcf: upgrade to latest 0.2.8

2017-08-22 Thread Khem Raj
On Tue, Aug 22, 2017 at 8:01 PM, Hongxu Jia  wrote:
> Fix compile failure while gnulib upgraded to 2017-08-20.18
> ...
> | In file included from ../../../git/gnulib/lib/printf-args.h:41:0,
> |  from ../../../git/gnulib/lib/printf-parse.h:29,
> |  from ../../../git/gnulib/lib/printf-parse.c:36:
> | ./wchar.h:571:6: error: #if with no expression
> |  # if
> ...
>
> Update HOMEPAGE, SRC_URI since the formers are obsolete.
>
> Update SRCREV, although version not change, but the former
> was two years ago.
>
> Signed-off-by: Hongxu Jia 
> ---
>  .../recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb}| 11 
> ++-
>  1 file changed, 6 insertions(+), 5 deletions(-)
>  rename meta-networking/recipes-support/netcf/{netcf_git.bb => 
> netcf_0.2.8.bb} (88%)
>
> diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb 
> b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> similarity index 88%
> rename from meta-networking/recipes-support/netcf/netcf_git.bb
> rename to meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> index a7a5000..902eb15 100644
> --- a/meta-networking/recipes-support/netcf/netcf_git.bb
> +++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
> @@ -1,15 +1,14 @@
>  SUMMARY = "netcf"
>  DESCRIPTION = "netcf is a cross-platform network configuration library."
> -HOMEPAGE = "https://fedorahosted.org/netcf/;
> +HOMEPAGE = "https://pagure.io/netcf;
>  SECTION = "libs"
>  LICENSE = "LGPLv2.1"
>
> -LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
>
> -SRCREV = "9158278ad35b46ce9a49b2e887483c6d8c287994"
> -PV = "0.2.8+git${SRCPV}"

this will make version go backward

> +SRCREV = "2c5d4255857531bc09d91dcd02e86545f29004d4"
>
> -SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
> +SRC_URI = "git://pagure.io/netcf.git;protocol=https \
>  "
>
>  DEPENDS += "augeas libnl libxslt libxml2 gnulib"
> @@ -23,6 +22,8 @@ EXTRA_OECONF_append_class-target = " --with-driver=redhat"
>  PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
>  PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
>
> +EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
> +
>  do_configure_prepend() {
>  currdir=`pwd`
>  cd ${S}
> --
> 2.8.1
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH 0/3] upgrade 3 recipes

2017-08-22 Thread Hongxu Jia
The following changes since commit ac2a6d2b5d69937577effcb8bb2149651bac0176:

  json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)

are available in the git repository at:

  git://git.openembedded.org/openembedded-core-contrib hongxu/upgrade-20180823
  
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=hongxu/upgrade-20180823

Hongxu Jia (3):
  netcf: upgrade to latest 0.2.8
  gnulib: upgrade to 2017-08-20.18
  collectd: 5.7.1 -> 5.7.2

 .../recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb}| 11 ++-
 .../collectd/{collectd_5.7.1.bb => collectd_5.7.2.bb} |  4 ++--
 .../gnulib/{gnulib_git.bb => gnulib_2017-08-20.18.bb} |  5 ++---
 3 files changed, 10 insertions(+), 10 deletions(-)
 rename meta-networking/recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} 
(88%)
 rename meta-oe/recipes-extended/collectd/{collectd_5.7.1.bb => 
collectd_5.7.2.bb} (96%)
 rename meta-oe/recipes-support/gnulib/{gnulib_git.bb => 
gnulib_2017-08-20.18.bb} (86%)

-- 
2.8.1

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


[oe] [meta-oe][PATCH 2/3] gnulib: upgrade to 2017-08-20.18

2017-08-22 Thread Hongxu Jia
Get version number by invoking:
...
$ ${S}/build-aux/git-version-gen --version
git-version-gen 2017-08-20.18
...

The gnulib 2017-08-20.18 fixed CVE-2017-7476.

Signed-off-by: Hongxu Jia 
---
 .../gnulib/{gnulib_git.bb => gnulib_2017-08-20.18.bb}| 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-support/gnulib/{gnulib_git.bb => 
gnulib_2017-08-20.18.bb} (86%)

diff --git a/meta-oe/recipes-support/gnulib/gnulib_git.bb 
b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
similarity index 86%
rename from meta-oe/recipes-support/gnulib/gnulib_git.bb
rename to meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
index c7c7ae8..b505ac1 100644
--- a/meta-oe/recipes-support/gnulib/gnulib_git.bb
+++ b/meta-oe/recipes-support/gnulib/gnulib_2017-08-20.18.bb
@@ -10,9 +10,8 @@ HOMEPAGE = "http://www.gnu.org/software/gnulib/;
 SECTION = "devel"
 LICENSE = "LGPLv2+"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=e4cf3810f33a067ea7ccd2cd889fed21"
-SRCREV = "b6b3ed1fa4c6de12908a9f01d1689f156c3cd441"
-PV = "0.1.496+git${SRCPV}"
+LIC_FILES_CHKSUM = "file://COPYING;md5=56a22a6e5bcce45e2c8ac184f81412b5"
+SRCREV = "b23000de1e47c7d580e0e220966dd1ee42a5e5bc"
 
 SRC_URI = "git://git.sv.gnu.org/gnulib;protocol=git \
 "
-- 
2.8.1

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


[oe] [meta-oe][PATCH 3/3] collectd: 5.7.1 -> 5.7.2

2017-08-22 Thread Hongxu Jia
The 5.7.2 fixed CVE-2017-7401.

Signed-off-by: Hongxu Jia 
---
 .../collectd/{collectd_5.7.1.bb => collectd_5.7.2.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-extended/collectd/{collectd_5.7.1.bb => 
collectd_5.7.2.bb} (96%)

diff --git a/meta-oe/recipes-extended/collectd/collectd_5.7.1.bb 
b/meta-oe/recipes-extended/collectd/collectd_5.7.2.bb
similarity index 96%
rename from meta-oe/recipes-extended/collectd/collectd_5.7.1.bb
rename to meta-oe/recipes-extended/collectd/collectd_5.7.2.bb
index b7789c7..c156ea1 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.7.1.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.7.2.bb
@@ -13,8 +13,8 @@ SRC_URI = "http://collectd.org/files/collectd-${PV}.tar.bz2 \
file://0001-fix-to-build-with-glibc-2.25.patch \

file://0001-configure-Check-for-Wno-error-format-truncation-comp.patch \
 "
-SRC_URI[md5sum] = "dc36141ed3058c4919bbd54b87c07873"
-SRC_URI[sha256sum] = 
"7edd3643c0842215553b2421d5456f4e9a8a58b07e216b40a7e8e91026d8e501"
+SRC_URI[md5sum] = "5da2b69c286a064db35c6cc1e758b039"
+SRC_URI[sha256sum] = 
"9d20a0221569a8d6b80bbc52b86e5e84965f5bafdbf5dfc3790e0fed0763e592"
 
 inherit autotools pythonnative update-rc.d pkgconfig systemd
 
-- 
2.8.1

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


[oe] [meta-networking][PATCH 1/3] netcf: upgrade to latest 0.2.8

2017-08-22 Thread Hongxu Jia
Fix compile failure while gnulib upgraded to 2017-08-20.18
...
| In file included from ../../../git/gnulib/lib/printf-args.h:41:0,
|  from ../../../git/gnulib/lib/printf-parse.h:29,
|  from ../../../git/gnulib/lib/printf-parse.c:36:
| ./wchar.h:571:6: error: #if with no expression
|  # if
...

Update HOMEPAGE, SRC_URI since the formers are obsolete.

Update SRCREV, although version not change, but the former
was two years ago.

Signed-off-by: Hongxu Jia 
---
 .../recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb}| 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)
 rename meta-networking/recipes-support/netcf/{netcf_git.bb => netcf_0.2.8.bb} 
(88%)

diff --git a/meta-networking/recipes-support/netcf/netcf_git.bb 
b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
similarity index 88%
rename from meta-networking/recipes-support/netcf/netcf_git.bb
rename to meta-networking/recipes-support/netcf/netcf_0.2.8.bb
index a7a5000..902eb15 100644
--- a/meta-networking/recipes-support/netcf/netcf_git.bb
+++ b/meta-networking/recipes-support/netcf/netcf_0.2.8.bb
@@ -1,15 +1,14 @@
 SUMMARY = "netcf"
 DESCRIPTION = "netcf is a cross-platform network configuration library."
-HOMEPAGE = "https://fedorahosted.org/netcf/;
+HOMEPAGE = "https://pagure.io/netcf;
 SECTION = "libs"
 LICENSE = "LGPLv2.1"
 
-LIC_FILES_CHKSUM = "file://COPYING;md5=bbb461211a33b134d42ed5ee802b37ff"
+LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 
-SRCREV = "9158278ad35b46ce9a49b2e887483c6d8c287994"
-PV = "0.2.8+git${SRCPV}"
+SRCREV = "2c5d4255857531bc09d91dcd02e86545f29004d4"
 
-SRC_URI = "git://git.fedorahosted.org/netcf.git;protocol=git \
+SRC_URI = "git://pagure.io/netcf.git;protocol=https \
 "
 
 DEPENDS += "augeas libnl libxslt libxml2 gnulib"
@@ -23,6 +22,8 @@ EXTRA_OECONF_append_class-target = " --with-driver=redhat"
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 PACKAGECONFIG[systemd] = "--with-sysinit=systemd,--with-sysinit=initscripts,"
 
+EXTRA_AUTORECONF += "-I ${S}/gnulib/m4"
+
 do_configure_prepend() {
 currdir=`pwd`
 cd ${S}
-- 
2.8.1

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


[oe] [meta-python][PATCH V2] python-m2crypto: Upgrade to 0.26.0

2017-08-22 Thread Khem Raj
Use proper LICENCE file for LIC_FILES_CHKSUM
Update homepage to point to gitlab

Signed-off-by: Khem Raj 
---
 ...{python-m2crypto_0.25.1.bb => python-m2crypto_0.26.0.bb} | 13 ++---
 1 file changed, 6 insertions(+), 7 deletions(-)
 rename meta-python/recipes-devtools/python/{python-m2crypto_0.25.1.bb => 
python-m2crypto_0.26.0.bb} (72%)

diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb 
b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
similarity index 72%
rename from meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
rename to meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
index 72523bd7f..1a5be8e2c 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.25.1.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.26.0.bb
@@ -1,13 +1,12 @@
 SUMMARY = "A Python crypto and SSL toolkit"
-HOMEPAGE = "http://chandlerproject.org/bin/view/Projects/MeTooCrypto;
+HOMEPAGE = "https://gitlab.com/m2crypto/m2crypto;
 
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://PKG-INFO;md5=95295693f047bb8f76928251a6154a60"
-
-SRC_URI[md5sum] = "040234289fbef5bed4029f0f7d1dae35"
-SRC_URI[sha256sum] = 
"ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef"
+LIC_FILES_CHKSUM = "file://LICENCE;md5=b0e1f0b7d0ce8a62c18b1287b991800e"
 
 SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch 
"
+SRC_URI[md5sum] = "9f02f0b88fbe225cc6ea8680945cafa0"
+SRC_URI[sha256sum] = 
"05d94fd9b2dae2fb8e072819a795f0e05d3611b09ea185f68e1630530ec09ae8"
 
 PYPI_PACKAGE = "M2Crypto"
 inherit pypi setuptools siteinfo
@@ -18,8 +17,6 @@ RDEPENDS_${PN} += "python-typing"
 DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_DIR_HOST} 
-I${STAGING_INCDIR}"
 DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_DIR_HOST}"
 
-inherit setuptools
-
 SWIG_FEATURES_x86-64 = "-D__x86_64__"
 SWIG_FEATURES ?= ""
 export SWIG_FEATURES
@@ -28,6 +25,8 @@ export SWIG_FEATURES
 # multilib header file exists.
 #
 do_compile_prepend() {
+${CPP} -dM - < /dev/null | grep -v __STDC__ | grep -v __REGISTER_PREFIX__ 
| grep -v __GNUC__ \
+   | sed 's/^\(#define \([^ ]*\) .*\)$/#undef \2\n\1/' > SWIG/gcc_macros.h
 if [ "${SITEINFO_BITS}" = "64" ];then
 bit="64"
 else
-- 
2.14.1

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


Re: [oe] [meta-oe][PATCH] mariadb: 5.5.55 -> 5.5.57

2017-08-22 Thread Kang Kai

On 2017年08月21日 12:46, Martin Jansa wrote:

Hi,

the security_flags.inc:

require conf/distro/include/security_flags.inc

and if still doesn't reproduce than last bit is thumb:

PREFERRED_ARM_INSTRUCTION_SET  ?= "thumb"
ARM_INSTRUCTION_SET = "${PREFERRED_ARM_INSTRUCTION_SET}"


Hi Martin,

Thanks. I can reproduce the failure and I'll try to figure out the root 
cause.



--Kai




Regards,

On Mon, Aug 21, 2017 at 6:08 AM, Kang Kai > wrote:


On 2017年08月21日 07:48, Martin Jansa wrote:

Like the previous version this one fails to build for qemuarm
when security_flags.inc are enabled (maybe only in combination
with gold and thumb), can you please look into it?

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



I built qemuarm with following configures in local.conf and no
failure.

require conf/distro/include/security_flags.inc

DISTRO_FEATURES_append = " ld-is-gold"


Any other configure did I miss? Thanks.


Regards,
Kai




On Fri, Aug 18, 2017 at 4:51 AM, Kang Kai > wrote:

On 2017年08月17日 17:28, kai.k...@windriver.com
 wrote:

From: Kai Kang >

Upgrade mariadb from 5.5.55 to 5.5.57.


Forgot [meta-oe] in title. Sorry for inconvenience.

--Kai



* update SRC_URI that mariadb.com 
doesn't provides source tarball of 5.5.57
* remove gcc7.patch which is not needed any more

Signed-off-by: Kai Kang >
---
  .../{mariadb-native_5.5.55.bb
 =>
mariadb-native_5.5.57.bb
} |  0
  meta-oe/recipes-support/mysql/mariadb.inc  
   |  8 
  meta-oe/recipes-support/mysql/mariadb/gcc7.patch  
| 13 -

  .../mysql/{mariadb_5.5.55.bb 
=> mariadb_5.5.57.bb } |  0
  4 files changed, 4 insertions(+), 17 deletions(-)
  rename
meta-oe/recipes-support/mysql/{mariadb-native_5.5.55.bb
 =>
mariadb-native_5.5.57.bb
} (100%)
  delete mode 100644
meta-oe/recipes-support/mysql/mariadb/gcc7.patch
  rename meta-oe/recipes-support/mysql/{mariadb_5.5.55.bb
 => mariadb_5.5.57.bb
} (100%)

diff --git
a/meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb

b/meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb

similarity index 100%
rename from
meta-oe/recipes-support/mysql/mariadb-native_5.5.55.bb

rename to
meta-oe/recipes-support/mysql/mariadb-native_5.5.57.bb

diff --git a/meta-oe/recipes-support/mysql/mariadb.inc
b/meta-oe/recipes-support/mysql/mariadb.inc
index fd9dcbd..32e3eaa 100644
--- a/meta-oe/recipes-support/mysql/mariadb.inc
+++ b/meta-oe/recipes-support/mysql/mariadb.inc
@@ -4,7 +4,7 @@ SECTION = "libs"
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM =
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
  -SRC_URI =

"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${PV}.tar.gz


\
+SRC_URI =
"https://downloads.mariadb.org/f/${BP}/source/${BP}.tar.gz

\
file://fix-cmake-module-path.patch \
file://remove-bad-path.patch \
file://fix-mysqlclient-r-version.patch \
@@ -17,10 +17,10 @@ SRC_URI =

"http://downloads.mariadb.com/MariaDB/mariadb-${PV}/source/mariadb-${P


file://fix-a-building-failure.patch \
file://change-cc-to-cc-version.patch \
file://0001-disable-ucontext-on-musl.patch \
- file://gcc7.patch \
"

Re: [oe] [meta-oe][PATCH v2] logcheck: update to 1.3.18

2017-08-22 Thread Huang, Jie (Jackie)
It fails without meta-perl, so I think I have to move it to meta-perl.

Thanks,
Jackie

From: Martin Jansa [mailto:martin.ja...@gmail.com]
Sent: Tuesday, August 22, 2017 16:50
To: Huang, Jie (Jackie)
Cc: openembedded-devel
Subject: Re: [oe] [meta-oe][PATCH v2] logcheck: update to 1.3.18

Unfortunately it still fails even with RRECOMMENDS, try it without meta-perl.

On Wed, Aug 16, 2017 at 4:23 AM, 
> wrote:
From: Jackie Huang 
>

Changes:
- logcheck should not be run as root, so inherit useradd
  and add proper user and group.

- Add missing runtime dependencies according to the file
  debian/control and simple test by running "logcheck -ot".

- For syslog, debian directly depends on rsyslog, but logcheck
  works with any syslog and we have busybox-syslog, sysklogd,
  syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the
  syslog dependency and set rsyslog as the default, which can be
  easily overridden in distro conf file or local.conf.

- Don't install /var/lock when populating rootfs. Do it
  through volatile.

- install header.txt for generated mails

Signed-off-by: Jackie Huang 
>
---
 .../recipes-extended/logcheck/files/99_logcheck|  2 +
 .../{logcheck_1.3.17.bb => 
logcheck_1.3.18.bb} | 52 +++---
 2 files changed, 49 insertions(+), 5 deletions(-)
 create mode 100644 meta-oe/recipes-extended/logcheck/files/99_logcheck
 rename 
meta-oe/recipes-extended/logcheck/{logcheck_1.3.17.bb
 => logcheck_1.3.18.bb} (45%)

diff --git a/meta-oe/recipes-extended/logcheck/files/99_logcheck 
b/meta-oe/recipes-extended/logcheck/files/99_logcheck
new file mode 100644
index 0..4de33aca3
--- /dev/null
+++ b/meta-oe/recipes-extended/logcheck/files/99_logcheck
@@ -0,0 +1,2 @@
+#  
+d logcheck logcheck 0755 /var/lock/logcheck none
diff --git 
a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
 
b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
similarity index 45%
rename from 
meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
rename to 
meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
index ba4c2ab9a..f776f58dc 100644
--- 
a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
+++ 
b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
@@ -10,11 +10,20 @@ SECTION = "Applications/System"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = 
"file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b"

-SRC_URI = 
"git://git.debian.org/git/logcheck/logcheck.git"
-SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd"
+SRC_URI = 
"git://git.debian.org/git/logcheck/logcheck.git
 \
+   file://99_logcheck \
+"
+SRCREV = "0a5865d80fa34c55387a1917a3e6f885bcff7f1d"

 S = "${WORKDIR}/git"

+inherit useradd
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d ${localstatedir}/lib/${BPN} \
+   -s /bin/false -c 'logcheck account' ${BPN}"
+GROUPADD_PARAM_${PN} = "-r ${BPN}"
+
 do_install() {
 # Fix QA Issue
 sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile
@@ -25,14 +34,47 @@ do_install() {
 install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/
 install -m 644 docs/logtail.8 ${D}${mandir}/man8/
 install -m 644 docs/logtail2.8 ${D}${mandir}/man8/
-sed -i "s/syslog/messages/" etc/logcheck.logfiles
-sed -i "s/auth\.log/secure/" etc/logcheck.logfiles
+
 install -m 755 -d ${D}${sysconfdir}/cron.d
 install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/logcheck
 install -m 755 -d ${D}/var/lib/logcheck
+
 oe_runmake install DESTDIR=${D}
+
+# install header.txt for generated mails
+install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN}
+
+chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN}
+chown -R root:${BPN} ${D}${sysconfdir}/${BPN}
+
+# Don't install /var/lock when populating rootfs. Do it through volatile
+if 
${@bb.utils.contains('DISTRO_FEATURES',
 'sysvinit', 'true', 'false', d)}; then
+install -d ${D}${sysconfdir}/default/volatiles
+install -m 0644 ${WORKDIR}/99_logcheck 
${D}${sysconfdir}/default/volatiles
+fi
+if 
${@bb.utils.contains('DISTRO_FEATURES',
 'systemd', 'true', 'false', d)}; then
+install -d ${D}${sysconfdir}/tmpfiles.d
+echo "d /var/lock/logcheck 0755 logcheck logcheck -" \
+> ${D}${sysconfdir}/tmpfiles.d/logcheck.conf
+fi
 }


Re: [oe] [meta-oe][PATCH] mozjs: customize HOST_CFLAGS

2017-08-22 Thread Huang, Jie (Jackie)


> -Original Message-
> From: Andre McCurdy [mailto:armccu...@gmail.com]
> Sent: Wednesday, August 23, 2017 08:21
> To: Huang, Jie (Jackie)
> Cc: openembeded-devel
> Subject: Re: [oe] [meta-oe][PATCH] mozjs: customize HOST_CFLAGS
> 
> On Tue, Aug 22, 2017 at 12:02 AM,   wrote:
> > From: Mingli Yu 
> >
> > Customize HOST_CFLAGS, HOST_CXXFLAGS and HOST_LDFLAGS
> > to fix do_configure error as previously use the common
> > CFLAGS and CXXFLAGS in both cross-compile env and host env,
> > and the option -fstack-protector-strong which not
> > recognized in host env can result in do_configure
> > error as below.
> 
> That should already be solved by:
> 
>   http://git.openembedded.org/meta-
> openembedded/commit/?id=a0b2e6f4fca7ac907eb7d6e06ca4c1581a5c553f

Thanks for pointing that out!

> 
> Which version of meta-oe are you testing with?

I think it's Morty, sorry that I didn't check with the latest before sending 
the patch.

Thanks,
Jackie

> 
> > | checking whether the host c compiler (gcc -O2 -pipe -g -fstack-protector-
> strong -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -
> fstack-protector-strong -Wl,-z,relro,-z,now) works... configure: error:
> installation or configuration problem: host compiler gcc cannot create
> executables.
> >
> > Signed-off-by: Mingli Yu 
> > Signed-off-by: Jackie Huang 
> > ---
> >  meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-
> oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> > index b6744395f..b72ee7bb3 100644
> > --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> > +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> > @@ -51,6 +51,9 @@ PACKAGECONFIG[x11] = "--with-x --x-
> includes=${STAGING_INCDIR} --x-libraries=${ST
> >
> >  # mozjs requires autoreconf 2.13
> >  do_configure() {
> > +export HOST_CFLAGS="${BUILD_CFLAGS}"
> > +export HOST_CXXFLAGS="${BUILD_CPPFLAGS}"
> > +export HOST_LDFLAGS="${BUILD_LDFLAGS}"
> >  ( cd ${S}
> >gnu-configize --force
> >mv config.guess config.sub build/autoconf )
> > --
> > 2.11.0
> >
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] vim: update to 8.0.0983

2017-08-22 Thread Yi Zhao
Fixed CVE-2017-11109 since 8.0.0707
See:
http://www.cvedetails.com/vulnerability-list/vendor_id-8218/product_id-14270/year-2017/opdos-1/VIM-VIM.html

Signed-off-by: Yi Zhao 
---
 .../recipes-support/vim/{vim-tiny_8.0.0427.bb => vim-tiny_8.0.0983.bb}  | 0
 meta-oe/recipes-support/vim/{vim_8.0.0427.bb => vim_8.0.0983.bb}| 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-support/vim/{vim-tiny_8.0.0427.bb => 
vim-tiny_8.0.0983.bb} (100%)
 rename meta-oe/recipes-support/vim/{vim_8.0.0427.bb => vim_8.0.0983.bb} (98%)

diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.0.0427.bb 
b/meta-oe/recipes-support/vim/vim-tiny_8.0.0983.bb
similarity index 100%
rename from meta-oe/recipes-support/vim/vim-tiny_8.0.0427.bb
rename to meta-oe/recipes-support/vim/vim-tiny_8.0.0983.bb
diff --git a/meta-oe/recipes-support/vim/vim_8.0.0427.bb 
b/meta-oe/recipes-support/vim/vim_8.0.0983.bb
similarity index 98%
rename from meta-oe/recipes-support/vim/vim_8.0.0427.bb
rename to meta-oe/recipes-support/vim/vim_8.0.0983.bb
index 1f86fcd..407ce5e 100644
--- a/meta-oe/recipes-support/vim/vim_8.0.0427.bb
+++ b/meta-oe/recipes-support/vim/vim_8.0.0983.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/vim/vim.git \
file://disable_acl_header_check.patch;patchdir=.. \
file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
 "
-SRCREV = "ad4187e6fc9c8e1083a172852d958a70a689a75c"
+SRCREV = "3f9a1ff141412e9e85f7dff47d02946cb9be9228"
 
 S = "${WORKDIR}/git/src"
 
-- 
2.7.4

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


Re: [oe] [meta-oe][PATCH] mozjs: customize HOST_CFLAGS

2017-08-22 Thread Andre McCurdy
On Tue, Aug 22, 2017 at 12:02 AM,   wrote:
> From: Mingli Yu 
>
> Customize HOST_CFLAGS, HOST_CXXFLAGS and HOST_LDFLAGS
> to fix do_configure error as previously use the common
> CFLAGS and CXXFLAGS in both cross-compile env and host env,
> and the option -fstack-protector-strong which not
> recognized in host env can result in do_configure
> error as below.

That should already be solved by:

  
http://git.openembedded.org/meta-openembedded/commit/?id=a0b2e6f4fca7ac907eb7d6e06ca4c1581a5c553f

Which version of meta-oe are you testing with?

> | checking whether the host c compiler (gcc -O2 -pipe -g 
> -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--hash-style=gnu 
> -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now) works... 
> configure: error: installation or configuration problem: host compiler gcc 
> cannot create executables.
>
> Signed-off-by: Mingli Yu 
> Signed-off-by: Jackie Huang 
> ---
>  meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb 
> b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> index b6744395f..b72ee7bb3 100644
> --- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> +++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
> @@ -51,6 +51,9 @@ PACKAGECONFIG[x11] = "--with-x 
> --x-includes=${STAGING_INCDIR} --x-libraries=${ST
>
>  # mozjs requires autoreconf 2.13
>  do_configure() {
> +export HOST_CFLAGS="${BUILD_CFLAGS}"
> +export HOST_CXXFLAGS="${BUILD_CPPFLAGS}"
> +export HOST_LDFLAGS="${BUILD_LDFLAGS}"
>  ( cd ${S}
>gnu-configize --force
>mv config.guess config.sub build/autoconf )
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-python][PATCH] python-markupsafe: Extend to build native version too

2017-08-22 Thread Khem Raj
chromium-60+ will need it

Signed-off-by: Khem Raj 
---
 meta-python/recipes-devtools/python/python-markupsafe_1.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb 
b/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
index 396eff102..5c9884b9f 100644
--- a/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
+++ b/meta-python/recipes-devtools/python/python-markupsafe_1.0.bb
@@ -1,2 +1,4 @@
 inherit setuptools
 require python-markupsafe.inc
+
+BBCLASSEXTEND = "native"
-- 
2.14.1

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


Re: [oe] State of bitbake world, Failed tasks 2017-08-19

2017-08-22 Thread Martin Jansa
Thanks Tim!

Check this thread:
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141087.html
about python-matplotlib.

On Tue, Aug 22, 2017 at 4:29 PM, Tim Orling <
timothy.t.orl...@linux.intel.com> wrote:

>
> > On Aug 22, 2017, at 6:20 AM, Martin Jansa 
> wrote:
> >
> > Openssl was reverted back to 1.0 version being default, so there is
> > fewer errors now, but there was also a fix for package.bbclass:
> > http://lists.openembedded.org/pipermail/openembedded-core/
> 2017-August/141127.html
> > which causes many do_package_qa tasks to fail.
> >
> > Please help by sending fixes for issues it found.
> >
> > 
> >
> > == Failed tasks 2017-08-19 ==
> >
> > INFO: jenkins-job.sh-1.8.25 Complete log available at
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.
> report.20170822_023550.log
> >
> > === common (15) ===
> > 
> >* meta-openembedded/meta-perl/recipes-perl/libmodule/
> libmodule-build-perl_0.31.bb:do_package_qa
>
> I’ll take a shot at this one, especially since this recipe version is very
> old. Latest is 0.4224.
>
> >* meta-openembedded/meta-python/recipes-devtools/python/
> python3-pylint_1.6.5.bb:do_package_qa
> >* meta-openembedded/meta-python/recipes-devtools/python/
> python-matplotlib_1.1.0.bb:do_compile
>
> I’ll take a shot at these two. pylint version is a bit old, latest is
> 1.7.2. matplotlib latest version is 2.0.2, so this recipe is very old; also
> needs python3 version.
>
> > 
>
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] State of bitbake world, Failed tasks 2017-08-19

2017-08-22 Thread Tim Orling

> On Aug 22, 2017, at 6:20 AM, Martin Jansa  wrote:
> 
> Openssl was reverted back to 1.0 version being default, so there is
> fewer errors now, but there was also a fix for package.bbclass:
> http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141127.html
> which causes many do_package_qa tasks to fail.
> 
> Please help by sending fixes for issues it found.
> 
> 
> 
> == Failed tasks 2017-08-19 ==
> 
> INFO: jenkins-job.sh-1.8.25 Complete log available at 
> http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170822_023550.log
> 
> === common (15) ===
> 
>* 
> meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb:do_package_qa

I’ll take a shot at this one, especially since this recipe version is very old. 
Latest is 0.4224.

>* 
> meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.6.5.bb:do_package_qa
>* 
> meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb:do_compile

I’ll take a shot at these two. pylint version is a bit old, latest is 1.7.2. 
matplotlib latest version is 2.0.2, so this recipe is very old; also needs 
python3 version.

> 

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


[oe] [meta-systemd][PATCH] meta-systemd: remove this now pretty empty layer

2017-08-22 Thread Martin Jansa
* the upgrade path from original meta-systemd still isn't provided
  by oe-core, but hopefully there are only a few remaining users
  of this layer.
* some BSPs probably still use systemd-machine-units, but they should
  push it to oe-core instead of depending on this layer just for this
  one recipe

Signed-off-by: Martin Jansa 
---
 meta-systemd/README| 26 --
 meta-systemd/conf/layer.conf   | 32 --
 .../recipes-bsp/keymaps/keymaps_1.0.bbappend   |  4 ---
 .../recipes-connectivity/avahi/avahi_%.bbappend|  4 ---
 .../connman/connman_%.bbappend |  3 --
 .../dhcp/dhcp/dhclient.service | 13 -
 .../recipes-connectivity/dhcp/dhcp_%.bbappend  | 24 
 .../recipes-connectivity/ofono/ofono_%.bbappend|  5 
 .../openssh/openssh_%.bbappend |  3 --
 .../wpa-supplicant/wpa-supplicant_%.bbappend   |  3 --
 .../recipes-core/busybox/busybox_%.bbappend|  3 --
 .../oe-core/recipes-core/dbus/dbus_%.bbappend  |  3 --
 .../recipes-core/dropbear/dropbear_%.bbappend  |  4 ---
 .../recipes-core/systemd/systemd_%.bbappend|  3 --
 .../recipes-core/util-linux/util-linux_%.bbappend  |  3 --
 .../oe-core/recipes-extended/at/at_%.bbappend  |  4 ---
 .../recipes-extended/cronie/cronie_%.bbappend  |  3 --
 .../recipes-extended/lighttpd/lighttpd_%.bbappend  |  3 --
 .../recipes-extended/rpcbind/rpcbind_%.bbappend|  3 --
 .../systemd/systemd-machine-units_1.0.bb   | 13 -
 20 files changed, 159 deletions(-)
 delete mode 100644 meta-systemd/README
 delete mode 100644 meta-systemd/conf/layer.conf
 delete mode 100644 
meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/avahi/avahi_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/connman/connman_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp/dhclient.service
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/dhcp/dhcp_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/ofono/ofono_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/openssh/openssh_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_%.bbappend
 delete mode 100644 meta-systemd/oe-core/recipes-core/busybox/busybox_%.bbappend
 delete mode 100644 meta-systemd/oe-core/recipes-core/dbus/dbus_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-core/dropbear/dropbear_%.bbappend
 delete mode 100644 meta-systemd/oe-core/recipes-core/systemd/systemd_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-core/util-linux/util-linux_%.bbappend
 delete mode 100644 meta-systemd/oe-core/recipes-extended/at/at_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-extended/cronie/cronie_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_%.bbappend
 delete mode 100644 
meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind_%.bbappend
 delete mode 100644 
meta-systemd/recipes-core/systemd/systemd-machine-units_1.0.bb

diff --git a/meta-systemd/README b/meta-systemd/README
deleted file mode 100644
index 2cd90b415..0
--- a/meta-systemd/README
+++ /dev/null
@@ -1,26 +0,0 @@
-This layer depends on:
-
-URI: git://github.com/openembedded/oe-core.git
-branch: master
-revision: HEAD
-
-And we're working to break the dependency on this one:
-
-URI: git://github.com/openembedded/meta-oe.git
-branch: master
-revision: HEAD
-
-To make BBMASK'ing per layer possible the following directory structure is
-used:
-
-$[LAYERDIR}//recipes-//.bbappend
-
-Send pull requests to openembedded-devel@lists.openembedded.org with 
'[meta-oe][meta-systemd]' in the subject'
-
-When sending single patches, please use something like:
-'git send-email -M -1 --to openembedded-devel@lists.openembedded.org 
--subject-prefix=meta-oe][meta-systemd][PATCH'
-
-You are encouraged to fork the mirror on github 
https://github.com/openembedded/meta-oe/ to share your patches, this is 
preferred for patch sets consisting of more than one patch. Other services like 
gitorious, repo.or.cz or self hosted setups are of course accepted as well, 
'git fetch ' works the same on all of them. We recommend github because 
it is free, easy to use, has been proven to be reliable and has a really good 
web GUI.
-
-Main layer maintainer: Koen Kooi 
-   Martin Jansa 
diff --git a/meta-systemd/conf/layer.conf b/meta-systemd/conf/layer.conf
deleted file mode 100644
index 0563f44cc..0
--- a/meta-systemd/conf/layer.conf
+++ /dev/null
@@ -1,32 +0,0 @@
-# It really depends on order of the layers appearing in BBLAYERS
-# variable in toplevel bblayers.conf file, where 

[oe] [meta-gpe][PATCH] meta-gpe: remove this now pretty empty layer

2017-08-22 Thread Martin Jansa
Signed-off-by: Martin Jansa 
---
 meta-gpe/README| 17 -
 meta-gpe/conf/layer.conf   | 15 
 ...ering-of-LDADD-options-to-fix-a-compilati.patch | 28 ---
 .../gpe-scap/gpe-scap/use.libsoup-2.4.patch| 42 --
 .../libgpewidget/libgpewidget/glib-2.32.patch  | 11 --
 .../libgpewidget/libgpewidget/pkgconfig.patch  | 11 --
 .../minilite/minilite/makefile-fix.patch   | 11 --
 .../fbreader/fbreader-0.12.10/Makefile.patch   | 22 
 .../fbreader-0.12.10/fix-cflags-fribidi.patch  | 11 --
 .../fbreader-0.12.10/fix-return-code-gcc6.patch| 11 --
 .../fbreader/fbreader-0.12.10/gcc45.patch  | 20 ---
 ...ation-of-the-icons-when-RESOLUTION-is-set.patch | 40 -
 12 files changed, 239 deletions(-)
 delete mode 100644 meta-gpe/README
 delete mode 100644 meta-gpe/conf/layer.conf
 delete mode 100644 
meta-gpe/recipes-graphics/gpe-scap/gpe-scap/0001-Fix-the-ordering-of-LDADD-options-to-fix-a-compilati.patch
 delete mode 100644 
meta-gpe/recipes-graphics/gpe-scap/gpe-scap/use.libsoup-2.4.patch
 delete mode 100644 
meta-gpe/recipes-graphics/libgpewidget/libgpewidget/glib-2.32.patch
 delete mode 100644 
meta-gpe/recipes-graphics/libgpewidget/libgpewidget/pkgconfig.patch
 delete mode 100644 
meta-gpe/recipes-graphics/minilite/minilite/makefile-fix.patch
 delete mode 100644 
meta-gpe/recipes-support/fbreader/fbreader-0.12.10/Makefile.patch
 delete mode 100644 
meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-cflags-fribidi.patch
 delete mode 100644 
meta-gpe/recipes-support/fbreader/fbreader-0.12.10/fix-return-code-gcc6.patch
 delete mode 100644 
meta-gpe/recipes-support/fbreader/fbreader-0.12.10/gcc45.patch
 delete mode 100644 
meta-gpe/recipes-support/fbreader/files/0001-Fix-installation-of-the-icons-when-RESOLUTION-is-set.patch

diff --git a/meta-gpe/README b/meta-gpe/README
deleted file mode 100644
index 7d019f63a..0
--- a/meta-gpe/README
+++ /dev/null
@@ -1,17 +0,0 @@
-This layer depends on:
-
-URI: git://github.com/openembedded/oe-core.git
-branch: master
-revision: HEAD
-
-URI: git://github.com/openembedded/meta-oe.git
-branch: master
-revision: HEAD
-
-Send pull requests to openembedded-devel@lists.openembedded.org with 
'[meta-gpe]' in the subject'
-
-When sending single patches, please using something like:
-'git send-email -M -1 --to openembedded-devel@lists.openembedded.org 
--subject-prefix=meta-gpe][PATCH'
-
-Interim layer maintainers: Koen Kooi 
-   Martin Jansa 
diff --git a/meta-gpe/conf/layer.conf b/meta-gpe/conf/layer.conf
deleted file mode 100644
index 00f3929f8..0
--- a/meta-gpe/conf/layer.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-# We have a conf and classes directory, append to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have a recipes directory, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "gpe-layer"
-BBFILE_PATTERN_gpe-layer := "^${LAYERDIR}/"
-BBFILE_PRIORITY_gpe-layer = "7"
-
-# This should only be incremented on significant changes that will
-# cause compatibility issues with other layers
-LAYERVERSION_gpe-layer = "1"
-
-LAYERDEPENDS_gpe-layer = "core openembedded-layer"
diff --git 
a/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/0001-Fix-the-ordering-of-LDADD-options-to-fix-a-compilati.patch
 
b/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/0001-Fix-the-ordering-of-LDADD-options-to-fix-a-compilati.patch
deleted file mode 100644
index c976ff470..0
--- 
a/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/0001-Fix-the-ordering-of-LDADD-options-to-fix-a-compilati.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From c551dece6768f67b74b508e9c0133320205ef2df Mon Sep 17 00:00:00 2001
-From: Koen Kooi 
-Date: Mon, 23 May 2011 15:03:29 +0200
-Subject: [PATCH] Fix the ordering of LDADD options to fix a compilation 
failure.
-
-"invalid DSO for symbol `XUngrabServer' definition "
-
-Signed-off-by: Koen Kooi 

- src/Makefile.am |2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 2fddc98..45bd850 100644
 a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -6,7 +6,7 @@ INCLUDES = -DPKGDATADIR=\"$(pkgdatadir)\" \
-  $(GLADE_CFLAGS) \
--D_GNU_SOURCE
- 
--LIBS = $(GTK_LIBS) $(GLADE_LIBS) $(XSHAPE_LIBS)
-+LIBS = -lX11 $(XSHAPE_LIBS) $(GLADE_LIBS) $(GTK_LIBS) 
- 
- bin_PROGRAMS = gpe-scap
- gpe_scap_SOURCES = scr-i18n.h \
--- 
-1.6.6.1
-
diff --git a/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/use.libsoup-2.4.patch 
b/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/use.libsoup-2.4.patch
deleted file mode 100644
index 3cfe5d724..0
--- a/meta-gpe/recipes-graphics/gpe-scap/gpe-scap/use.libsoup-2.4.patch
+++ 

Re: [oe] [meta-qt5][PATCH] qtbase: fix Krogoth build regression from efa8aaf

2017-08-22 Thread Matt Hoosier
On Mon, Aug 21, 2017 at 1:31 PM, Khem Raj  wrote:
> On Mon, Aug 21, 2017 at 2:51 AM, Martin Jansa  wrote:
>> I know it's not caused by this change, but it still creates "foodummy" file
>> in ${TOPDIR} can we please get rid of it or at least move it somewhere else
>> like ${WORKDIR}?
>
> ah thats where it comes from, I was wondering if its some of my workspace
> tooling doing this. But thanks now I will less annoyed to see it.

What branch of meta-qt5 is it that's getting built when you still see
these build/foodummy files? There are no remaining occurences of the
string 'foodummy' anywhere that I can see on jansa/master where my
patch got applied:

  $ git remote -v
  github git://github.com/meta-qt5/meta-qt5 (fetch
  github git://github.com/meta-qt5/meta-qt5 (push)

  $ git checkout github/jansa/master
  $ git grep foodummy

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


[oe] State of bitbake world, Failed tasks 2017-08-19

2017-08-22 Thread Martin Jansa
Openssl was reverted back to 1.0 version being default, so there is
fewer errors now, but there was also a fix for package.bbclass:
http://lists.openembedded.org/pipermail/openembedded-core/2017-August/141127.html
which causes many do_package_qa tasks to fail.

Please help by sending fixes for issues it found.

http://www.openembedded.org/wiki/Bitbake_World_Status

== Number of issues - stats ==
{| class='wikitable'
!|Date   !!colspan='3'|Failed tasks 
!!|Signatures !!colspan='14'|QA !!Comment
|-
||  ||qemuarm   ||qemux86   ||qemux86_64||all   
||already-stripped  ||libdir||textrel   ||build-deps
||file-rdeps||version-going-backwards   ||host-user-contaminated
||installed-vs-shipped  ||unknown-configure-option  ||symlink-to-sysroot
||invalid-pkgconfig ||pkgname   ||ldflags   ||compile-host-path 
||  
|-
||2017-08-19||17||21||21||0 ||0 ||0 
||5 ||0 ||25||28485 ||2 
||0 ||0 ||0 ||0 ||0 
||0 ||0 ||  
|}

== Failed tasks 2017-08-19 ==

INFO: jenkins-job.sh-1.8.25 Complete log available at 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170822_023550.log

=== common (15) ===
* meta-browser/recipes-mozilla/firefox/firefox_45.9.0esr.bb:do_compile
* 
meta-openembedded/meta-filesystems/recipes-utils/udevil/udevil_0.4.4.bb:do_package_qa
* 
meta-openembedded/meta-gnome/recipes-gnome/bonobo/libbonobo_2.32.1.bb:do_package_qa
* 
meta-openembedded/meta-networking/recipes-daemons/squid/squid_3.5.26.bb:do_package_qa
* 
meta-openembedded/meta-networking/recipes-kernel/wireguard/wireguard-tools_0.0.20170517.bb:do_package_qa
* 
meta-openembedded/meta-networking/recipes-support/ndisc6/ndisc6_1.0.3.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-core/glib-2.0/glibmm_2.50.1.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-devtools/mpich/mpich_3.2.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-extended/corosync/corosync_2.4.2.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-extended/enscript/enscript_1.6.6.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-support/logwarn/logwarn_1.0.14.bb:do_package_qa
* 
meta-openembedded/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb:do_package_qa
* 
meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_1.6.5.bb:do_package_qa
* 
meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib_1.1.0.bb:do_compile
* 
meta-smartphone/meta-shr/recipes-shr/3rdparty/ubx-utils_git.bb:do_package_qa

=== common-x86 (5) ===
* 
meta-openembedded/meta-oe/recipes-devtools/xmlrpc-c/xmlrpc-c_1.31.0.bb:do_package_qa
* 
meta-openembedded/meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.1.bb:do_package_qa
* 
meta-openembedded/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_2.35.bb:do_package_qa
* meta-qt5/recipes-qt/qt5/qtwebengine_git.bb:do_compile
* 
meta-smartphone/meta-shr/recipes-shr/3rdparty/numptyphysics_svn.bb:do_package_qa

=== qemuarm (2) ===
* 
meta-openembedded/meta-oe/recipes-support/mysql/mariadb_5.5.57.bb:do_compile
* 
meta-webos-ports/meta-luneui/recipes-luneui/luna-next/luna-next.bb:do_compile

=== qemux86 (1) ===
* 
meta-openembedded/meta-oe/recipes-support/mongodb/mongodb_git.bb:do_compile

=== qemux86_64 (1) ===
* 
meta-openembedded/meta-gnome/recipes-gnome/eds/evolution-data-server_git.bb:do_compile

=== Number of failed tasks (59) ===
{| class=wikitable
|-
|| qemuarm  || 17|| 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemuarm.20170820_231852.log/
 || http://errors.yoctoproject.org/Errors/Build/45276/
|-
|| qemux86  || 21|| 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86.20170820_161131.log/
 || http://errors.yoctoproject.org/Errors/Build/45273/
|-
|| qemux86_64   || 21|| 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.world.qemux86-64.20170819_113439.log/
 || http://errors.yoctoproject.org/Errors/Build/44950/
|}

=== PNBLACKLISTs (1) ===

=== QA issues (28517) ===
{| class=wikitable
!| Count||Issue
|-
||0 ||already-stripped
|-
||0 ||build-deps
|-
||0 ||compile-host-path
|-
||0 ||installed-vs-shipped
|-
||0 ||invalid-pkgconfig
|-
||0 ||ldflags
|-
||0 ||libdir
|-
||0 ||pkgname
|-
||0 ||symlink-to-sysroot
|-
||0 ||unknown-configure-option
|-
||25||file-rdeps
|-
||28485 ||version-going-backwards
|-
||2 ||host-user-contaminated
|-
||5 ||textrel
|}



ncorrect PACKAGE_ARCH or sstate signatures (0) ===

Complete log: 
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.signatures.20170820_125905.log/

No issues detected



[oe] [meta-webserver][PATCH] webmin: add systemd service file

2017-08-22 Thread Qi.Chen
From: Chen Qi 

Add systemd service file for webmin.

Signed-off-by: Chen Qi 
---
 .../recipes-webadmin/webmin/files/webmin.service  | 15 +++
 meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb| 11 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 meta-webserver/recipes-webadmin/webmin/files/webmin.service

diff --git a/meta-webserver/recipes-webadmin/webmin/files/webmin.service 
b/meta-webserver/recipes-webadmin/webmin/files/webmin.service
new file mode 100644
index 000..87cf4f9
--- /dev/null
+++ b/meta-webserver/recipes-webadmin/webmin/files/webmin.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Webmin Admin Tool
+Requires=local-fs.target
+After=basic.target
+Conflicts=shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=@SYSCONFDIR@/webmin/start
+ExecStop=@SYSCONFDIR@/webmin/stop
+ExecReload=@SYSCONFDIR@/webmin/reload
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb 
b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
index 6acff03..ae88eb6 100644
--- a/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
+++ b/meta-webserver/recipes-webadmin/webmin/webmin_1.850.bb
@@ -18,12 +18,13 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/webadmin/webmin-${PV}.tar.gz \
file://media-tomb.patch \
file://remove-python2.3.patch \
file://mysql-config-fix.patch \
+   file://webmin.service \
 "
 
 SRC_URI[md5sum] = "cd6ee98f73f9418562197675b952d81b"
 SRC_URI[sha256sum] = 
"c66caa9e4cb50d5447bc8aceb7989d2284dde060278f404b13e171c7ce1690e1"
 
-inherit perlnative update-rc.d
+inherit perlnative update-rc.d systemd
 
 do_configure() {
 # Remove binaries and plugins for other platforms
@@ -77,6 +78,11 @@ do_install() {
 install -d ${D}${sysconfdir}/init.d
 install -m 0755 webmin-init ${D}${sysconfdir}/init.d/webmin
 
+install -d ${D}${systemd_unitdir}/system
+install -m 0644 ${WORKDIR}/webmin.service ${D}${systemd_unitdir}/system
+sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
+   ${D}${systemd_unitdir}/system/webmin.service
+
 install -d ${D}${localstatedir}
 install -d ${D}${localstatedir}/webmin
 
@@ -117,6 +123,9 @@ do_install() {
 INITSCRIPT_NAME = "webmin"
 INITSCRIPT_PARAMS = "start 99 5 3 2 . stop 10 0 1 6 ."
 
+SYSTEMD_SERVICE_${PN} = "webmin.service"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
+
 # FIXME: some of this should be figured out automatically
 RDEPENDS_${PN} += "perl perl-module-socket perl-module-exporter 
perl-module-exporter-heavy perl-module-carp perl-module-strict"
 RDEPENDS_${PN} += "perl-module-warnings perl-module-xsloader perl-module-posix 
perl-module-autoloader"
-- 
1.9.1

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


[oe] [meta-oe][PATCH] iperf3: 3.1.3 -> 3.2

2017-08-22 Thread kai.kang
From: Kai Kang 

Upgrade iperf3 from 3.1.3 to 3.2.

* update md5 checksum of license file which update year info and add
  same bsd license for src/net.c
* add dependency openssl

Signed-off-by: Kai Kang 
---
 .../recipes-benchmark/iperf3/{iperf3_git.bb => iperf3_3.2.bb}| 9 ++---
 1 file changed, 6 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-benchmark/iperf3/{iperf3_git.bb => iperf3_3.2.bb} (83%)

diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb 
b/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
similarity index 83%
rename from meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
rename to meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
index 4a01896..4d1b0c4 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_git.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.2.bb
@@ -9,7 +9,9 @@ SECTION = "console/network"
 BUGTRACKER = "https://github.com/esnet/iperf/issues;
 AUTHOR = "ESNET , Lawrence Berkeley National Laboratory 
"
 LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3434c5a9a53c78c7739f0bc9e5adda"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d098223e44bdd19585315ee75cd9d2d7"
+
+DEPENDS = "openssl"
 
 SRC_URI = "git://github.com/esnet/iperf.git \
file://automake-foreign.patch \
@@ -17,8 +19,7 @@ SRC_URI = "git://github.com/esnet/iperf.git \
file://0002-Remove-pg-from-profile_CFLAGS.patch \
"
 
-PV = "3.1.3+gitr${SRCPV}"
-SRCREV = "099244ec686b620393e9845478a554b1c7ca5c8b"
+SRCREV = "88d907f7fb58bfab5d086c5da60c922e1c582c92"
 
 S = "${WORKDIR}/git"
 
@@ -28,4 +29,6 @@ PACKAGECONFIG[lksctp] = 
"ac_cv_header_netinet_sctp_h=yes,ac_cv_header_netinet_sc
 
 CFLAGS += "-D_GNU_SOURCE"
 
+EXTRA_OECONF = "--with-openssl=${RECIPE_SYSROOT}"
+
 BBCLASSEXTEND = "native"
-- 
2.10.1

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


Re: [oe] [meta-oe][PATCH v2] logcheck: update to 1.3.18

2017-08-22 Thread Martin Jansa
Unfortunately it still fails even with RRECOMMENDS, try it without
meta-perl.

On Wed, Aug 16, 2017 at 4:23 AM,  wrote:

> From: Jackie Huang 
>
> Changes:
> - logcheck should not be run as root, so inherit useradd
>   and add proper user and group.
>
> - Add missing runtime dependencies according to the file
>   debian/control and simple test by running "logcheck -ot".
>
> - For syslog, debian directly depends on rsyslog, but logcheck
>   works with any syslog and we have busybox-syslog, sysklogd,
>   syslog-ng and rsyslog, so use VIRTUAL-RUNTIME_syslog for the
>   syslog dependency and set rsyslog as the default, which can be
>   easily overridden in distro conf file or local.conf.
>
> - Don't install /var/lock when populating rootfs. Do it
>   through volatile.
>
> - install header.txt for generated mails
>
> Signed-off-by: Jackie Huang 
> ---
>  .../recipes-extended/logcheck/files/99_logcheck|  2 +
>  .../{logcheck_1.3.17.bb => logcheck_1.3.18.bb} | 52
> +++---
>  2 files changed, 49 insertions(+), 5 deletions(-)
>  create mode 100644 meta-oe/recipes-extended/logcheck/files/99_logcheck
>  rename meta-oe/recipes-extended/logcheck/{logcheck_1.3.17.bb =>
> logcheck_1.3.18.bb} (45%)
>
> diff --git a/meta-oe/recipes-extended/logcheck/files/99_logcheck
> b/meta-oe/recipes-extended/logcheck/files/99_logcheck
> new file mode 100644
> index 0..4de33aca3
> --- /dev/null
> +++ b/meta-oe/recipes-extended/logcheck/files/99_logcheck
> @@ -0,0 +1,2 @@
> +#  
> +d logcheck logcheck 0755 /var/lock/logcheck none
> diff --git a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
> similarity index 45%
> rename from meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> rename to meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
> index ba4c2ab9a..f776f58dc 100644
> --- a/meta-oe/recipes-extended/logcheck/logcheck_1.3.17.bb
> +++ b/meta-oe/recipes-extended/logcheck/logcheck_1.3.18.bb
> @@ -10,11 +10,20 @@ SECTION = "Applications/System"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=c93c0550bd3173f4504b2cbd8991e50b"
>
> -SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git"
> -SRCREV = "2429e67ad875fee8a0234c64d504277b038c89cd"
> +SRC_URI = "git://git.debian.org/git/logcheck/logcheck.git \
> +   file://99_logcheck \
> +"
> +SRCREV = "0a5865d80fa34c55387a1917a3e6f885bcff7f1d"
>
>  S = "${WORKDIR}/git"
>
> +inherit useradd
> +
> +USERADD_PACKAGES = "${PN}"
> +USERADD_PARAM_${PN} = "-m -g ${BPN} -G adm -r -d
> ${localstatedir}/lib/${BPN} \
> +   -s /bin/false -c 'logcheck account' ${BPN}"
> +GROUPADD_PARAM_${PN} = "-r ${BPN}"
> +
>  do_install() {
>  # Fix QA Issue
>  sed -i '/install -d $(DESTDIR)\/var\/lock\/logcheck/s/^/#/' Makefile
> @@ -25,14 +34,47 @@ do_install() {
>  install -m 644 docs/logcheck-test.1 ${D}${mandir}/man1/
>  install -m 644 docs/logtail.8 ${D}${mandir}/man8/
>  install -m 644 docs/logtail2.8 ${D}${mandir}/man8/
> -sed -i "s/syslog/messages/" etc/logcheck.logfiles
> -sed -i "s/auth\.log/secure/" etc/logcheck.logfiles
> +
>  install -m 755 -d ${D}${sysconfdir}/cron.d
>  install -m 644 debian/logcheck.cron.d ${D}${sysconfdir}/cron.d/
> logcheck
>  install -m 755 -d ${D}/var/lib/logcheck
> +
>  oe_runmake install DESTDIR=${D}
> +
> +# install header.txt for generated mails
> +install -m 0644 ${S}/debian/header.txt ${D}${sysconfdir}/${BPN}
> +
> +chown -R ${BPN}:${BPN} ${D}${localstatedir}/lib/${BPN}
> +chown -R root:${BPN} ${D}${sysconfdir}/${BPN}
> +
> +# Don't install /var/lock when populating rootfs. Do it through
> volatile
> +if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true',
> 'false', d)}; then
> +install -d ${D}${sysconfdir}/default/volatiles
> +install -m 0644 ${WORKDIR}/99_logcheck ${D}${sysconfdir}/default/
> volatiles
> +fi
> +if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true',
> 'false', d)}; then
> +install -d ${D}${sysconfdir}/tmpfiles.d
> +echo "d /var/lock/logcheck 0755 logcheck logcheck -" \
> +> ${D}${sysconfdir}/tmpfiles.d/logcheck.conf
> +fi
>  }
>
> -RDEPENDS_${PN} = "perl"
> +VIRTUAL-RUNTIME_syslog ??= "rsyslog"
> +
> +RDEPENDS_${PN} = "\
> +bash \
> +cronie \
> +debianutils-run-parts \
> +grep \
> +lockfile-progs \
> +perl \
> +perl-module-file-basename \
> +perl-module-getopt-std \
> +perl-module-file-glob \
> +${VIRTUAL-RUNTIME_syslog} \
> +"
> +
> +# mime-construct is for mailing the reports, not mandatory
> +RRECOMMENDS_${PN} = "mime-construct"
>
>  FILES_${PN} += "${datadir}/logtail"
> --
> 2.11.0
>
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 

[oe] [meta-perl][PATCH] adduser: use get_perl_version instead of PERLVERSION

2017-08-22 Thread jackie.huang
From: Jackie Huang 

Immediate expansion for PERLVERSION(in perl-version.bbclass)
is too early, it will result in 'None' before perl is built,
then the module file is installed incorrectly:

$ rpm -ql adduser|grep Common
/usr/lib/perl/None/Debian/AdduserCommon.pm

So use get_perl_version directly instead of PERLVERSION.

Signed-off-by: Jackie Huang 
---
 meta-perl/recipes-perl/adduser/adduser_3.115.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta-perl/recipes-perl/adduser/adduser_3.115.bb 
b/meta-perl/recipes-perl/adduser/adduser_3.115.bb
index 81068d600..c21186231 100644
--- a/meta-perl/recipes-perl/adduser/adduser_3.115.bb
+++ b/meta-perl/recipes-perl/adduser/adduser_3.115.bb
@@ -22,8 +22,7 @@ do_install() {
 install -m 0755 ${S}/adduser ${D}${sbindir}
 install -m 0755 ${S}/deluser ${D}${sbindir}
 
-install -d ${D}${libdir}/perl/${PERLVERSION}/Debian
-install -m 0644 ${S}/AdduserCommon.pm 
${D}${libdir}/perl/${PERLVERSION}/Debian
+install -D -m 0644 ${S}/AdduserCommon.pm 
${D}${libdir}/perl/${@get_perl_version(d)}/Debian/AdduserCommon.pm
 sed -i -e "s/VERSION/${PV}/" ${D}${sbindir}/*
 
 install -d ${D}/${sysconfdir}
-- 
2.11.0

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


[oe] [meta-oe][PATCH] mozjs: customize HOST_CFLAGS

2017-08-22 Thread jackie.huang
From: Mingli Yu 

Customize HOST_CFLAGS, HOST_CXXFLAGS and HOST_LDFLAGS
to fix do_configure error as previously use the common
CFLAGS and CXXFLAGS in both cross-compile env and host env,
and the option -fstack-protector-strong which not
recognized in host env can result in do_configure
error as below.

| checking whether the host c compiler (gcc -O2 -pipe -g 
-fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--hash-style=gnu 
-Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now) works... 
configure: error: installation or configuration problem: host compiler gcc 
cannot create executables.

Signed-off-by: Mingli Yu 
Signed-off-by: Jackie Huang 
---
 meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb 
b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index b6744395f..b72ee7bb3 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -51,6 +51,9 @@ PACKAGECONFIG[x11] = "--with-x --x-includes=${STAGING_INCDIR} 
--x-libraries=${ST
 
 # mozjs requires autoreconf 2.13
 do_configure() {
+export HOST_CFLAGS="${BUILD_CFLAGS}"
+export HOST_CXXFLAGS="${BUILD_CPPFLAGS}"
+export HOST_LDFLAGS="${BUILD_LDFLAGS}"
 ( cd ${S}
   gnu-configize --force
   mv config.guess config.sub build/autoconf )
-- 
2.11.0

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


[oe] [meta-oe][PATCH] makedumpfile: update to 1.6.2

2017-08-22 Thread Yi Zhao
Remove add-proper-format-string-to-print-a-str.patch since it had been
merged in upstream.

Signed-off-by: Yi Zhao 
---
 ...e-Add-proper-format-string-to-print-a-str.patch | 35 --
 ...makedumpfile_1.6.1.bb => makedumpfile_1.6.2.bb} |  5 ++--
 2 files changed, 2 insertions(+), 38 deletions(-)
 delete mode 100644 
meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-Add-proper-format-string-to-print-a-str.patch
 rename meta-oe/recipes-kernel/makedumpfile/{makedumpfile_1.6.1.bb => 
makedumpfile_1.6.2.bb} (87%)

diff --git 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-Add-proper-format-string-to-print-a-str.patch
 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-Add-proper-format-string-to-print-a-str.patch
deleted file mode 100644
index 056a0ba..000
--- 
a/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-Add-proper-format-string-to-print-a-str.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 0fff28f31aef9ad1d5a817216a3c98ba9d605106 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Mon, 19 Jun 2017 23:52:14 -0700
-Subject: [PATCH] makedumpfile: Add proper format string to print a string
-
-Fix
-makedumpfile.c: In function 'write_eraseinfo':
-makedumpfile.c:8273:4: error: format not a string literal and no format 
arguments [-Werror=format-security]
-DEBUG_MSG(obuf);
-^
-makedumpfile.c:8273:4: error: format not a string literal and no format 
arguments [-Werror=format-security]
-
-Upstream-Status: Pending
-
-Signed-off-by: Khem Raj 

- makedumpfile.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/makedumpfile.c b/makedumpfile.c
-index e69b6df..8b8a6b0 100644
 a/makedumpfile.c
-+++ b/makedumpfile.c
-@@ -8270,7 +8270,7 @@ write_eraseinfo(struct cache_data *cd_page, unsigned 
long *size_out)
-   }
-   sprintf(obuf, "erase %s %s", erase_info[i].symbol_expr,
-   size_str);
--  DEBUG_MSG(obuf);
-+  DEBUG_MSG("%s", obuf);
-   if (!write_cache(cd_page, obuf, strlen(obuf)))
-   goto out;
-   size_eraseinfo += strlen(obuf);
--- 
-2.13.1
-
diff --git a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.1.bb 
b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
similarity index 87%
rename from meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.1.bb
rename to meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
index 83bbf7f..d6f2d80 100644
--- a/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.1.bb
+++ b/meta-oe/recipes-kernel/makedumpfile/makedumpfile_1.6.2.bb
@@ -24,10 +24,9 @@ SRC_URI = "\
 ${SOURCEFORGE_MIRROR}/makedumpfile/${BPN}-${PV}.tar.gz \
 file://0001-makedumpfile-replace-hardcode-CFLAGS.patch \
 file://0002-mem_section-Support-only-46-bit-for-MAX_PHYSMEM_BITS.patch \
-file://0001-makedumpfile-Add-proper-format-string-to-print-a-str.patch \
 "
-SRC_URI[md5sum] = "16c0ae9902ae57be4a603a6ab1e86c53"
-SRC_URI[sha256sum] = 
"0b6e73106998670407887de9e1a505b3a2dbb2fb517a4b968a665eda8fb097ce"
+SRC_URI[md5sum] = "72be5bf973eed898c5127e3abc466583"
+SRC_URI[sha256sum] = 
"ee3d21cb4032a60bd2c802d1d8b21b9f399710e1574f8de8ead5ab50cd821a6d"
 
 SECTION = "base"
 
-- 
2.7.4

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