[oe] [meta-filesystems][PATCH] fuse: fix SRC_URI

2017-06-15 Thread Robert Yang
${P} -> ${BP}, otherwise it would fail when multilib.

Signed-off-by: Robert Yang 
---
 meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb 
b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb
index e66f3cd..87292fe 100644
--- a/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb
+++ b/meta-filesystems/recipes-support/fuse/fuse_2.9.7.bb
@@ -10,7 +10,7 @@ LICENSE = "GPLv2 & LGPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = 
"https://github.com/libfuse/libfuse/releases/download/${P}/${P}.tar.gz \
+SRC_URI = 
"https://github.com/libfuse/libfuse/releases/download/${BP}/${BP}.tar.gz \
file://gold-unversioned-symbol.patch \
file://aarch64.patch \
file://0001-fuse-fix-the-return-value-of-help-option.patch \
-- 
2.10.2

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


[oe] [meta-perl][PATCH] libfile-slurp-perl: add new recipe

2017-06-15 Thread jackie.huang
From: Jackie Huang 

This module provides subroutines to read or write
entire files with a simple call.  It also has a
subroutine for reading the list of filenames
in a directory.

Signed-off-by: Jackie Huang 
---
 .../libfile/libfile-slurp-perl_.19.bb | 19 +++
 1 file changed, 19 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb

diff --git a/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb 
b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb
new file mode 100644
index 0..945b4c1c8
--- /dev/null
+++ b/meta-perl/recipes-perl/libfile/libfile-slurp-perl_.19.bb
@@ -0,0 +1,19 @@
+SUMMARY = "Slurp entire files into variables."
+DESCRIPTION = "This module provides subroutines to read or write \
+  entire files with a simple call.  It also has a subroutine for \
+  reading the list of filenames in a directory. \
+"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = 
"file://README;beginline=37;endline=41;md5=255fbd5f98a90d51d9908d31271ae4d4"
+SRC_URI = 
"http://search.cpan.org/CPAN/authors/id/U/UR/URI/File-Slurp-${PV}.tar.gz;
+
+S = "${WORKDIR}/File-Slurp-${PV}"
+
+inherit cpan
+
+SRC_URI[md5sum] = "7d584cd15c4f8b9547765eff8c4ef078"
+SRC_URI[sha256sum] = 
"ce29ebe995097ebd6e9bc03284714cdfa0c46dc94f6b14a56980747ea3253643"
+
+BBCLASSEXTEND="native"
-- 
2.11.0

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


[oe] [meta-oe][PATCH] passwdqc: add new recipe and replace pam-passwdqc

2017-06-15 Thread jackie.huang
From: Jackie Huang 

passwdqc is a password/passphrase strength checking and policy
enforcement toolset, including an optional PAM module (pam_passwdqc),
command-line programs(pwqcheck and pwqgen), and a library(libpasswdqc).

pam_passwdqc 1.0.5 is the final version of pam_passwdqc only before
it's turned into passwdqc in 2009, so remove the pam-passwdqc recipe.

Signed-off-by: Jackie Huang 
---
 .../pam-passwdqc/files/1000patch-219201.patch  | 156 -
 .../pam-passwdqc/files/7000Makefile-fix-CC.patch   |  11 --
 .../passwdqc/passwdqc/makefile-add-ldflags.patch   |  31 
 .../passwdqc_1.3.1.bb} |  73 ++
 4 files changed, 80 insertions(+), 191 deletions(-)
 delete mode 100644 
meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch
 delete mode 100644 
meta-oe/recipes-support/pam-passwdqc/files/7000Makefile-fix-CC.patch
 create mode 100644 
meta-oe/recipes-support/passwdqc/passwdqc/makefile-add-ldflags.patch
 rename meta-oe/recipes-support/{pam-passwdqc/pam-passwdqc_1.0.5.bb => 
passwdqc/passwdqc_1.3.1.bb} (5%)

diff --git a/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch 
b/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch
deleted file mode 100644
index 366d461eb..0
--- a/meta-oe/recipes-support/pam-passwdqc/files/1000patch-219201.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-diff -urNp pam_passwdqc-1.0.5-orig/pam_passwdqc.c 
pam_passwdqc-1.0.5/pam_passwdqc.c
 pam_passwdqc-1.0.5-orig/pam_passwdqc.c 2008-02-12 15:11:13.0 
-0500
-+++ pam_passwdqc-1.0.5/pam_passwdqc.c  2009-09-28 12:10:32.171696694 -0400
-@@ -70,6 +70,8 @@ typedef struct {
-   passwdqc_params_t qc;
-   int flags;
-   int retry;
-+  char oldpass_prompt_file[FILE_LEN+1];
-+  char newpass_prompt_file[FILE_LEN+1];
- } params_t;
- 
- static params_t defaults = {
-@@ -79,10 +81,13 @@ static params_t defaults = {
-   3,  /* passphrase_words */
-   4,  /* match_length */
-   1,  /* similar_deny */
--  42  /* random_bits */
-+  42, /* random_bits */
-+  1   /* firstupper_lastdigit_check */
-   },
-   F_ENFORCE_EVERYONE, /* flags */
--  3   /* retry */
-+  3,  /* retry */
-+  "", /* oldpass_prompt_file */
-+  ""  /* newpass_prompt_file */
- };
- 
- #define PROMPT_OLDPASS \
-@@ -361,6 +366,37 @@ static int parse(params_t *params, pam_h
-   if (!strcmp(*argv, "use_authtok")) {
-   params->flags |= F_USE_AUTHTOK;
-   } else
-+  if (!strcmp(*argv, "disable_firstupper_lastdigit_check")) {
-+  params->qc.firstupper_lastdigit_check = 0;
-+  } else
-+  if (!strncmp(*argv, "oldpass_prompt_file=", 20)) {
-+  int n;
-+  FILE *fp = fopen(*argv + 20, "r");
-+  if (fp) {
-+  n=fread(params->oldpass_prompt_file, 
sizeof(char), FILE_LEN, fp);
-+  if (0==n || ferror(fp)!=0 ) {
-+  memset(params->oldpass_prompt_file, 
'\0', FILE_LEN+1);
-+  }
-+  else {
-+  feof(fp)? 
(params->oldpass_prompt_file[n-1]='\0'): (params->oldpass_prompt_file[n]='\0');
-+  }
-+  fclose(fp);
-+  }
-+  } else
-+  if (!strncmp(*argv, "newpass_prompt_file=", 20)) {
-+  int n;
-+  FILE *fp = fopen(*argv + 20, "r");
-+  if (fp) {
-+  n=fread(params->newpass_prompt_file, 
sizeof(char), FILE_LEN, fp);
-+  if (0==n || ferror(fp)!=0 ) {
-+  memset(params->newpass_prompt_file, 
'\0', FILE_LEN+1);
-+  }
-+  else {
-+feof(fp)? 
(params->newpass_prompt_file[n-1]='\0'): (params->newpass_prompt_file[n]='\0');
-+  }
-+  fclose(fp);
-+  }
-+  } else
-   break;
-   argc--; argv++;
-   }
-@@ -406,7 +442,7 @@ PAM_EXTERN int pam_sm_chauthtok(pam_hand
- 
-   if (ask_oldauthtok && !am_root(pamh)) {
-   status = converse(pamh, PAM_PROMPT_ECHO_OFF,
--  PROMPT_OLDPASS, );

Re: [oe] [meta-oe][PATCH 1/1 v2] microcode-ctl: add new recipe

2017-06-15 Thread Huang, Jie (Jackie)
> 
> 
> From: Burton, Ross [mailto:ross.bur...@intel.com] 
> Sent: Thursday, June 15, 2017 19:41
> To: Huang, Jie (Jackie)
> Cc: OpenEmbedded Devel List
> Subject: Re: [oe] [meta-oe][PATCH 1/1 v2] microcode-ctl: add new recipe
> 
> 
> On 15 June 2017 at 02:36,  wrote:
> The microcode_ctl utility is a companion to the
> IA32 microcode driver.
> 
> Wouldn't it make sense for this to be in meta-intel, alongside the microcode? 
> Also what's the difference between this and iucode-tool, which is already in 
> meta-intel?

Sorry I didn't use meta-intel and not aware of that, and yes, it make senses to 
be in meta-intel, I will investigate the difference to see if this still needed.

Thanks,
Jackie

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


Re: [oe] [meta-networking] [PATCH] ifenslave: 2.7 -> 2.9

2017-06-15 Thread Huang, Qiyu
ping

> -Original Message-
> From: Huang, Qiyu/黄 琦宇
> Sent: Wednesday, May 17, 2017 10:50 AM
> To: openembedded-devel@lists.openembedded.org
> Cc: Huang, Qiyu/黄 琦宇 
> Subject: [oe] [meta-networking] [PATCH] ifenslave: 2.7 -> 2.9
> 
> 1) Upgrade ifenslave from 2.7 to 2.9.
> 2) License checksum changed,since the copyright's Format were changed.
> 
> Format:
> https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> 
> Signed-off-by: Huang Qiyu 
> ---
>  .../recipes-support/ifenslave/{ifenslave_2.7.bb => ifenslave_2.9.bb} | 5 
> +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)  rename
> meta-networking/recipes-support/ifenslave/{ifenslave_2.7.bb =>
> ifenslave_2.9.bb} (86%)
> 
> diff --git a/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
> b/meta-networking/recipes-support/ifenslave/ifenslave_2.9.bb
> similarity index 86%
> rename from meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
> rename to meta-networking/recipes-support/ifenslave/ifenslave_2.9.bb
> index 5028921..ea28b34 100644
> --- a/meta-networking/recipes-support/ifenslave/ifenslave_2.7.bb
> +++ b/meta-networking/recipes-support/ifenslave/ifenslave_2.9.bb
> @@ -3,9 +3,10 @@ HOMEPAGE =
> "http://www.linuxfoundation.org/collaborate/workgroups/networking/bon
>  SECTION = "net"
> 
>  LICENSE = "GPLv3"
> -LIC_FILES_CHKSUM =
> "file://debian/copyright;md5=6807ba81c0744ab50d735c94628c3f64"
> +LIC_FILES_CHKSUM =
> "file://debian/copyright;md5=acc89812938cf9ad6b1debc37cea0253"
> 
> -SRCREV = "400c490d52acb31f1064e1bf4fc9fcaf3791888f"
> +
> +SRCREV = "42bfbb9beb924672ca86b86e9679ac3d6b87d992"
>  SRC_URI = "git://anonscm.debian.org/collab-maint/ifenslave.git"
> 
>  S = "${WORKDIR}/git"
> --
> 2.7.4



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


[oe] [meta-oe][PATCH v2] rrdtool: allow configuration to disable nls

2017-06-15 Thread Randy MacLeod
When building rrdtool for a 'tiny' distro, that does not have native
language support (NLS) in glibc, configure fails with the error:
   autoreconf: failed to run autopoint: No such file or directory
Autopoint is part of gettext but without NLS support we populate the
sysroot with gettext-minimal-native rather then the full set of
gettext executables. This version does not install autopoint, nor
should it.

Tell autoreconf to skip the check for the autopoint script
regardless of NLS support and use the USE_NLS varible
to conditionally enable NLS support.

Signed-off-by: Randy MacLeod 
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb 
b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
index db2df28a0..3ccefb995 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
@@ -22,7 +22,7 @@ BBCLASSEXTEND = "native"
 SYSTEMD_PACKAGES = "rrdcached"
 SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service"
 
-EXTRA_AUTORECONF = "-I m4"
+EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
 
 PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 
'systemd', d)}"
 
@@ -49,6 +49,7 @@ EXTRA_OECONF = " \
 --disable-lua \
 --disable-tcl \
 --disable-rpath \
+--enable-nls=${USE_NLS} \
 "
 
 export STAGING_LIBDIR
-- 
2.11.0

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


Re: [oe] [meta-oe][V2a patch] rrdtool: allow configuration to disable nls

2017-06-15 Thread Randy MacLeod

Rats, ignore this one as well.

I've just read Jose's tip on getting patchworks to identify
my patch so I'll resend as suggested.

../Randy

On 2017-06-14 10:34 AM, Randy MacLeod wrote:

When building rrdtool for a 'tiny' distro, that does not have native
language support (NLS) in glibc, configure fails with the error:
autoreconf: failed to run autopoint: No such file or directory
Autopoint is part of gettext but without NLS support we populate the
sysroot with gettext-minimal-native rather then the full set of
gettext executables. This version does not install autopoint, nor
should it.

Tell autoreconf to skip the check for the autopoint script
regardless of NLS support and use the USE_NLS varible
to conditionally enable NLS support.

Signed-off-by: Randy MacLeod 
---
  meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb 
b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
index db2df28a0..3ccefb995 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.6.0.bb
@@ -22,7 +22,7 @@ BBCLASSEXTEND = "native"
  SYSTEMD_PACKAGES = "rrdcached"
  SYSTEMD_SERVICE_rrdcached = "rrdcached.socket rrdcached.service"
  
-EXTRA_AUTORECONF = "-I m4"

+EXTRA_AUTORECONF = "-I m4 --exclude=autopoint"
  
  PACKAGECONFIG ??= "python perl ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
  
@@ -49,6 +49,7 @@ EXTRA_OECONF = " \

  --disable-lua \
  --disable-tcl \
  --disable-rpath \
+--enable-nls=${USE_NLS} \
  "
  
  export STAGING_LIBDIR





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

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


Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Kelly

On 06/15/2017 09:54 AM, Martin Jansa wrote:

It didn't make it to patchwork, because you've sent only the cover
letter. I've added it to master-next now.

Next time please send also individual patches. So that it gets more
visibility for other people to comment and also that I can use patchwork
to pull it in.

Regards,



Small note: Looks like the initial commit (24b2ac) has a small typo that 
should ideally be fixed before it's merged into master:


"open-vm-tools: add recipe from meat-foss-openswitch"

"meat" --> "meta"


On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly > wrote:

On 06/09/2017 03:22 PM, Martin Kelly wrote:

Hi all,

This patch series adds a new recipe for Open VM Tools to
meta-oe. This
recipe is invaluable for using Openembedded with VMWare, as
without the
tools, performance is very slow.

More information about Open VM Tools can be found here:

https://github.com/vmware/open-vm-tools


Please note that, as mentioned in the first commit, this recipe is
modified from the recipe originally found in the Open-Switch
repository.
The first patch is directly from that repository, and the following
patches are modifications to it.

Original recipe:
https://github.com/open-switch/ops-build


yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb


Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was Apache-licensed, I
received
permission from the author (Diego Dompe) to relicense it under
the MIT
license for inclusion in meta-openembedded:

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html


--
The following changes since commit
41cf832cc9abd6f2293a6d612463a34a53a9a52a:

  Revert "rrdtool: add gettext-native dependency" (2017-06-05
11:13:09
+0200)

are available in the git repository at:

  https://github.com/XevoInc/meta-openembedded


for you to fetch changes up to
402d1b3917195beb2ab7cac5dc94aaed8992b5a1:

  open-vm-tools: style changes (2017-06-07 22:31:34 +)


Martin Kelly (14):
  add open-vm-tools recipe
  open-vm-tools: add missing pkgconfig dependency
  open-vm-tools: add missing glib-2.0-native dependency
  open-vm-tools: clarify and expand licensing
  open-vm-tools: base_contains --> bb.utils.contains
  open-vm-tools: update version to 10.1.5
  open-vm-tools: don't use mspack
  open-vm-tools: don't use dnet-config
  open-vm-tools: add #include to fix build break
  open-vm-tools: add missing X11 dependencies
  open-vm-tools: remove kernel module logic
  open-vm-tools: line up configure options
  open-vm-tools: support FUSE
  open-vm-tools: style changes

 .../recipes-support/open-vm-tools/files/tools.conf |  2 +
 .../open-vm-tools/files/vmtoolsd.service   | 11 +++
 .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35 +
 .../0002-configure.ac-don-t-use-dnet-config.patch  | 41 ++
 .../0003-add-include-sys-sysmacros.h.patch | 33 
 .../open-vm-tools/open-vm-tools_10.1.5.bb
  | 90
++
 6 files changed, 212 insertions(+)
 create mode 100644
meta-oe/recipes-support/open-vm-tools/files/tools.conf
 create mode 100644
meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch

 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch

 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch

 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb

--
2.1.4


(ping)



--
___
Openembedded-devel mailing list

Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Jansa
OK, I'll try to remember to fix it before merge.

I'm sorry about it, tweaking other people commits always strikes back :).

On Thu, Jun 15, 2017 at 7:40 PM, Martin Kelly  wrote:

> On 06/15/2017 09:54 AM, Martin Jansa wrote:
>
>> It didn't make it to patchwork, because you've sent only the cover
>> letter. I've added it to master-next now.
>>
>> Next time please send also individual patches. So that it gets more
>> visibility for other people to comment and also that I can use patchwork
>> to pull it in.
>>
>> Regards,
>>
>>
> Small note: Looks like the initial commit (24b2ac) has a small typo that
> should ideally be fixed before it's merged into master:
>
> "open-vm-tools: add recipe from meat-foss-openswitch"
>
> "meat" --> "meta"
>
> On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly > > wrote:
>>
>> On 06/09/2017 03:22 PM, Martin Kelly wrote:
>>
>> Hi all,
>>
>> This patch series adds a new recipe for Open VM Tools to
>> meta-oe. This
>> recipe is invaluable for using Openembedded with VMWare, as
>> without the
>> tools, performance is very slow.
>>
>> More information about Open VM Tools can be found here:
>>
>> https://github.com/vmware/open-vm-tools
>> 
>>
>> Please note that, as mentioned in the first commit, this recipe is
>> modified from the recipe originally found in the Open-Switch
>> repository.
>> The first patch is directly from that repository, and the
>> following
>> patches are modifications to it.
>>
>> Original recipe:
>> https://github.com/open-switch/ops-build
>> 
>> yocto/openswitch/meta-foss-openswitch/recipes-extended/open-
>> vm-tools/open-vm-tools_10.0.5.bb
>> 
>>
>> Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9
>>
>> Although the original recipe packaging was Apache-licensed, I
>> received
>> permission from the author (Diego Dompe) to relicense it under
>> the MIT
>> license for inclusion in meta-openembedded:
>>
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/01
>> 4715.html
>> > 14715.html>
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/01
>> 4716.html
>>
>> > 14716.html>
>>
>> --
>> The following changes since commit
>> 41cf832cc9abd6f2293a6d612463a34a53a9a52a:
>>
>>   Revert "rrdtool: add gettext-native dependency" (2017-06-05
>> 11:13:09
>> +0200)
>>
>> are available in the git repository at:
>>
>>   https://github.com/XevoInc/meta-openembedded
>> 
>>
>> for you to fetch changes up to
>> 402d1b3917195beb2ab7cac5dc94aaed8992b5a1:
>>
>>   open-vm-tools: style changes (2017-06-07 22:31:34 +)
>>
>> 
>> Martin Kelly (14):
>>   add open-vm-tools recipe
>>   open-vm-tools: add missing pkgconfig dependency
>>   open-vm-tools: add missing glib-2.0-native dependency
>>   open-vm-tools: clarify and expand licensing
>>   open-vm-tools: base_contains --> bb.utils.contains
>>   open-vm-tools: update version to 10.1.5
>>   open-vm-tools: don't use mspack
>>   open-vm-tools: don't use dnet-config
>>   open-vm-tools: add #include to fix build break
>>   open-vm-tools: add missing X11 dependencies
>>   open-vm-tools: remove kernel module logic
>>   open-vm-tools: line up configure options
>>   open-vm-tools: support FUSE
>>   open-vm-tools: style changes
>>
>>  .../recipes-support/open-vm-tools/files/tools.conf |  2 +
>>  .../open-vm-tools/files/vmtoolsd.service   | 11 +++
>>  .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35
>> +
>>  .../0002-configure.ac-don-t-use-dnet-config.patch  | 41
>> ++
>>  .../0003-add-include-sys-sysmacros.h.patch | 33 
>>  .../open-vm-tools/open-vm-tools_10.1.5.bb
>>   | 90
>> ++
>>  6 files changed, 212 insertions(+)
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/files/tools.conf
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix
>> -kernel-detection.patch
>>
>>

Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Kelly

On 06/15/2017 10:17 AM, Martin Jansa wrote:

No problem, I had issues with that script as well, but it works for me
if I provide all necessary params manually (when it doesn't try to
figure out anything).



Makes sense; I think the script may be too smart for its own good :).


On Thu, Jun 15, 2017 at 7:07 PM, Martin Kelly > wrote:

On 06/15/2017 09:54 AM, Martin Jansa wrote:

It didn't make it to patchwork, because you've sent only the cover
letter. I've added it to master-next now.

Next time please send also individual patches. So that it gets more
visibility for other people to comment and also that I can use
patchwork
to pull it in.

Regards,


Thanks, sorry about that. I was trying to use the send-pull-request
script and getting errors; somehow it couldn't figure out the branch
I was using. I tried to fix the script but eventually gave up and
did a manual pull request attempting to mimic what the script would
have spit out.

On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly 
>> wrote:

On 06/09/2017 03:22 PM, Martin Kelly wrote:

Hi all,

This patch series adds a new recipe for Open VM Tools to
meta-oe. This
recipe is invaluable for using Openembedded with VMWare, as
without the
tools, performance is very slow.

More information about Open VM Tools can be found here:

https://github.com/vmware/open-vm-tools

>

Please note that, as mentioned in the first commit, this
recipe is
modified from the recipe originally found in the Open-Switch
repository.
The first patch is directly from that repository, and
the following
patches are modifications to it.

Original recipe:
https://github.com/open-switch/ops-build

>


yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb

>

Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was
Apache-licensed, I
received
permission from the author (Diego Dompe) to relicense it
under
the MIT
license for inclusion in meta-openembedded:


https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html


>

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html



>

--
The following changes since commit
41cf832cc9abd6f2293a6d612463a34a53a9a52a:

  Revert "rrdtool: add gettext-native dependency"
(2017-06-05
11:13:09
+0200)

are available in the git repository at:

  https://github.com/XevoInc/meta-openembedded

>

for you to fetch changes up to
402d1b3917195beb2ab7cac5dc94aaed8992b5a1:

  open-vm-tools: style changes (2017-06-07 22:31:34 +)



Martin Kelly (14):
  add open-vm-tools recipe
  open-vm-tools: add missing pkgconfig dependency
  open-vm-tools: add missing glib-2.0-native dependency
  open-vm-tools: clarify and expand licensing
  open-vm-tools: base_contains --> bb.utils.contains
  open-vm-tools: update version to 10.1.5
  open-vm-tools: don't use mspack
  

[oe] [meta-networking][PATCH 1/1] iscsi-initiator-utils: do not regenerate prom_lex.c

2017-06-15 Thread Joe Slater
prom_lex.c is provided in source.  If we try to remake
it from prom_lex.l, we will not find "lex" since it is
not in recipe-sysroot-native.  If we do manage to provide
lex, the new source will not compile.

Signed-off-by: Joe Slater 
---
 .../iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb  | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
 
b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
index 72a17b0..16ac199 100644
--- 
a/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
+++ 
b/meta-networking/recipes-daemons/iscsi-initiator-utils/iscsi-initiator-utils_2.0.874.bb
@@ -58,6 +58,8 @@ do_configure () {
 }
 
 do_compile () {
+# Make sure we DO NOT regenerate prom_lex.c.
+mv ${S}/utils/fwparam_ibft/prom_lex.l 
${S}/utils/fwparam_ibft/prom_lex.l.unused
 oe_runmake -C ${S} ${EXTRA_OEMAKE} user
 }
 
-- 
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 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Jansa
No problem, I had issues with that script as well, but it works for me if I
provide all necessary params manually (when it doesn't try to figure out
anything).

On Thu, Jun 15, 2017 at 7:07 PM, Martin Kelly  wrote:

> On 06/15/2017 09:54 AM, Martin Jansa wrote:
>
>> It didn't make it to patchwork, because you've sent only the cover
>> letter. I've added it to master-next now.
>>
>> Next time please send also individual patches. So that it gets more
>> visibility for other people to comment and also that I can use patchwork
>> to pull it in.
>>
>> Regards,
>>
>>
> Thanks, sorry about that. I was trying to use the send-pull-request script
> and getting errors; somehow it couldn't figure out the branch I was using.
> I tried to fix the script but eventually gave up and did a manual pull
> request attempting to mimic what the script would have spit out.
>
> On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly > > wrote:
>>
>> On 06/09/2017 03:22 PM, Martin Kelly wrote:
>>
>> Hi all,
>>
>> This patch series adds a new recipe for Open VM Tools to
>> meta-oe. This
>> recipe is invaluable for using Openembedded with VMWare, as
>> without the
>> tools, performance is very slow.
>>
>> More information about Open VM Tools can be found here:
>>
>> https://github.com/vmware/open-vm-tools
>> 
>>
>> Please note that, as mentioned in the first commit, this recipe is
>> modified from the recipe originally found in the Open-Switch
>> repository.
>> The first patch is directly from that repository, and the
>> following
>> patches are modifications to it.
>>
>> Original recipe:
>> https://github.com/open-switch/ops-build
>> 
>> yocto/openswitch/meta-foss-openswitch/recipes-extended/open-
>> vm-tools/open-vm-tools_10.0.5.bb
>> 
>>
>> Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9
>>
>> Although the original recipe packaging was Apache-licensed, I
>> received
>> permission from the author (Diego Dompe) to relicense it under
>> the MIT
>> license for inclusion in meta-openembedded:
>>
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/01
>> 4715.html
>> > 14715.html>
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/01
>> 4716.html
>>
>> > 14716.html>
>>
>> --
>> The following changes since commit
>> 41cf832cc9abd6f2293a6d612463a34a53a9a52a:
>>
>>   Revert "rrdtool: add gettext-native dependency" (2017-06-05
>> 11:13:09
>> +0200)
>>
>> are available in the git repository at:
>>
>>   https://github.com/XevoInc/meta-openembedded
>> 
>>
>> for you to fetch changes up to
>> 402d1b3917195beb2ab7cac5dc94aaed8992b5a1:
>>
>>   open-vm-tools: style changes (2017-06-07 22:31:34 +)
>>
>> 
>> Martin Kelly (14):
>>   add open-vm-tools recipe
>>   open-vm-tools: add missing pkgconfig dependency
>>   open-vm-tools: add missing glib-2.0-native dependency
>>   open-vm-tools: clarify and expand licensing
>>   open-vm-tools: base_contains --> bb.utils.contains
>>   open-vm-tools: update version to 10.1.5
>>   open-vm-tools: don't use mspack
>>   open-vm-tools: don't use dnet-config
>>   open-vm-tools: add #include to fix build break
>>   open-vm-tools: add missing X11 dependencies
>>   open-vm-tools: remove kernel module logic
>>   open-vm-tools: line up configure options
>>   open-vm-tools: support FUSE
>>   open-vm-tools: style changes
>>
>>  .../recipes-support/open-vm-tools/files/tools.conf |  2 +
>>  .../open-vm-tools/files/vmtoolsd.service   | 11 +++
>>  .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35
>> +
>>  .../0002-configure.ac-don-t-use-dnet-config.patch  | 41
>> ++
>>  .../0003-add-include-sys-sysmacros.h.patch | 33 
>>  .../open-vm-tools/open-vm-tools_10.1.5.bb
>>   | 90
>> ++
>>  6 files changed, 212 insertions(+)
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/files/tools.conf
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
>>  create 

Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Kelly

On 06/09/2017 03:22 PM, Martin Kelly wrote:

Hi all,

This patch series adds a new recipe for Open VM Tools to meta-oe. This
recipe is invaluable for using Openembedded with VMWare, as without the
tools, performance is very slow.

More information about Open VM Tools can be found here:

https://github.com/vmware/open-vm-tools

Please note that, as mentioned in the first commit, this recipe is
modified from the recipe originally found in the Open-Switch repository.
The first patch is directly from that repository, and the following
patches are modifications to it.

Original recipe:
https://github.com/open-switch/ops-build
yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb

Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was Apache-licensed, I received
permission from the author (Diego Dompe) to relicense it under the MIT
license for inclusion in meta-openembedded:

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html
https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html

--
The following changes since commit
41cf832cc9abd6f2293a6d612463a34a53a9a52a:

  Revert "rrdtool: add gettext-native dependency" (2017-06-05 11:13:09
+0200)

are available in the git repository at:

  https://github.com/XevoInc/meta-openembedded

for you to fetch changes up to 402d1b3917195beb2ab7cac5dc94aaed8992b5a1:

  open-vm-tools: style changes (2017-06-07 22:31:34 +)


Martin Kelly (14):
  add open-vm-tools recipe
  open-vm-tools: add missing pkgconfig dependency
  open-vm-tools: add missing glib-2.0-native dependency
  open-vm-tools: clarify and expand licensing
  open-vm-tools: base_contains --> bb.utils.contains
  open-vm-tools: update version to 10.1.5
  open-vm-tools: don't use mspack
  open-vm-tools: don't use dnet-config
  open-vm-tools: add #include to fix build break
  open-vm-tools: add missing X11 dependencies
  open-vm-tools: remove kernel module logic
  open-vm-tools: line up configure options
  open-vm-tools: support FUSE
  open-vm-tools: style changes

 .../recipes-support/open-vm-tools/files/tools.conf |  2 +
 .../open-vm-tools/files/vmtoolsd.service   | 11 +++
 .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35 +
 .../0002-configure.ac-don-t-use-dnet-config.patch  | 41 ++
 .../0003-add-include-sys-sysmacros.h.patch | 33 
 .../open-vm-tools/open-vm-tools_10.1.5.bb  | 90
++
 6 files changed, 212 insertions(+)
 create mode 100644 meta-oe/recipes-support/open-vm-tools/files/tools.conf
 create mode 100644
meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch

 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch

 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch

 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
--
2.1.4


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


Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Kelly

On 06/15/2017 09:54 AM, Martin Jansa wrote:

It didn't make it to patchwork, because you've sent only the cover
letter. I've added it to master-next now.

Next time please send also individual patches. So that it gets more
visibility for other people to comment and also that I can use patchwork
to pull it in.

Regards,



Thanks, sorry about that. I was trying to use the send-pull-request 
script and getting errors; somehow it couldn't figure out the branch I 
was using. I tried to fix the script but eventually gave up and did a 
manual pull request attempting to mimic what the script would have spit out.



On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly > wrote:

On 06/09/2017 03:22 PM, Martin Kelly wrote:

Hi all,

This patch series adds a new recipe for Open VM Tools to
meta-oe. This
recipe is invaluable for using Openembedded with VMWare, as
without the
tools, performance is very slow.

More information about Open VM Tools can be found here:

https://github.com/vmware/open-vm-tools


Please note that, as mentioned in the first commit, this recipe is
modified from the recipe originally found in the Open-Switch
repository.
The first patch is directly from that repository, and the following
patches are modifications to it.

Original recipe:
https://github.com/open-switch/ops-build


yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb


Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was Apache-licensed, I
received
permission from the author (Diego Dompe) to relicense it under
the MIT
license for inclusion in meta-openembedded:

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html


--
The following changes since commit
41cf832cc9abd6f2293a6d612463a34a53a9a52a:

  Revert "rrdtool: add gettext-native dependency" (2017-06-05
11:13:09
+0200)

are available in the git repository at:

  https://github.com/XevoInc/meta-openembedded


for you to fetch changes up to
402d1b3917195beb2ab7cac5dc94aaed8992b5a1:

  open-vm-tools: style changes (2017-06-07 22:31:34 +)


Martin Kelly (14):
  add open-vm-tools recipe
  open-vm-tools: add missing pkgconfig dependency
  open-vm-tools: add missing glib-2.0-native dependency
  open-vm-tools: clarify and expand licensing
  open-vm-tools: base_contains --> bb.utils.contains
  open-vm-tools: update version to 10.1.5
  open-vm-tools: don't use mspack
  open-vm-tools: don't use dnet-config
  open-vm-tools: add #include to fix build break
  open-vm-tools: add missing X11 dependencies
  open-vm-tools: remove kernel module logic
  open-vm-tools: line up configure options
  open-vm-tools: support FUSE
  open-vm-tools: style changes

 .../recipes-support/open-vm-tools/files/tools.conf |  2 +
 .../open-vm-tools/files/vmtoolsd.service   | 11 +++
 .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35 +
 .../0002-configure.ac-don-t-use-dnet-config.patch  | 41 ++
 .../0003-add-include-sys-sysmacros.h.patch | 33 
 .../open-vm-tools/open-vm-tools_10.1.5.bb
  | 90
++
 6 files changed, 212 insertions(+)
 create mode 100644
meta-oe/recipes-support/open-vm-tools/files/tools.conf
 create mode 100644
meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch

 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch

 create mode 100644

meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch

 create mode 100644
meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb

--
2.1.4


(ping)



--

Re: [oe] [meta-oe][PATCH 00/14] new recipe: open-vm-tools recipe

2017-06-15 Thread Martin Jansa
It didn't make it to patchwork, because you've sent only the cover letter.
I've added it to master-next now.

Next time please send also individual patches. So that it gets more
visibility for other people to comment and also that I can use patchwork to
pull it in.

Regards,

On Thu, Jun 15, 2017 at 6:36 PM, Martin Kelly  wrote:

> On 06/09/2017 03:22 PM, Martin Kelly wrote:
>
>> Hi all,
>>
>> This patch series adds a new recipe for Open VM Tools to meta-oe. This
>> recipe is invaluable for using Openembedded with VMWare, as without the
>> tools, performance is very slow.
>>
>> More information about Open VM Tools can be found here:
>>
>> https://github.com/vmware/open-vm-tools
>>
>> Please note that, as mentioned in the first commit, this recipe is
>> modified from the recipe originally found in the Open-Switch repository.
>> The first patch is directly from that repository, and the following
>> patches are modifications to it.
>>
>> Original recipe:
>> https://github.com/open-switch/ops-build
>> yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/
>> open-vm-tools_10.0.5.bb
>>
>> Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9
>>
>> Although the original recipe packaging was Apache-licensed, I received
>> permission from the author (Diego Dompe) to relicense it under the MIT
>> license for inclusion in meta-openembedded:
>>
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html
>> https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html
>>
>> --
>> The following changes since commit
>> 41cf832cc9abd6f2293a6d612463a34a53a9a52a:
>>
>>   Revert "rrdtool: add gettext-native dependency" (2017-06-05 11:13:09
>> +0200)
>>
>> are available in the git repository at:
>>
>>   https://github.com/XevoInc/meta-openembedded
>>
>> for you to fetch changes up to 402d1b3917195beb2ab7cac5dc94aaed8992b5a1:
>>
>>   open-vm-tools: style changes (2017-06-07 22:31:34 +)
>>
>> 
>> Martin Kelly (14):
>>   add open-vm-tools recipe
>>   open-vm-tools: add missing pkgconfig dependency
>>   open-vm-tools: add missing glib-2.0-native dependency
>>   open-vm-tools: clarify and expand licensing
>>   open-vm-tools: base_contains --> bb.utils.contains
>>   open-vm-tools: update version to 10.1.5
>>   open-vm-tools: don't use mspack
>>   open-vm-tools: don't use dnet-config
>>   open-vm-tools: add #include to fix build break
>>   open-vm-tools: add missing X11 dependencies
>>   open-vm-tools: remove kernel module logic
>>   open-vm-tools: line up configure options
>>   open-vm-tools: support FUSE
>>   open-vm-tools: style changes
>>
>>  .../recipes-support/open-vm-tools/files/tools.conf |  2 +
>>  .../open-vm-tools/files/vmtoolsd.service   | 11 +++
>>  .../open-vm-tools/0001-Fix-kernel-detection.patch  | 35 +
>>  .../0002-configure.ac-don-t-use-dnet-config.patch  | 41 ++
>>  .../0003-add-include-sys-sysmacros.h.patch | 33 
>>  .../open-vm-tools/open-vm-tools_10.1.5.bb  | 90
>> ++
>>  6 files changed, 212 insertions(+)
>>  create mode 100644 meta-oe/recipes-support/open-v
>> m-tools/files/tools.conf
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/files/vmtoolsd.service
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix
>> -kernel-detection.patch
>>
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-con
>> figure.ac-don-t-use-dnet-config.patch
>>
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add
>> -include-sys-sysmacros.h.patch
>>
>>  create mode 100644
>> meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
>> --
>> 2.1.4
>>
>
> (ping)
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [PATCH] networkmanager: add support for systemd-resolved

2017-06-15 Thread Ricardo Salveti
Now that resolved is enabled in systemd, backport upstream patch that
adds support for the systemd-resolved backend and add one additional
check for the OE-specific resolv.conf link path.

Signed-off-by: Ricardo Salveti 
---
 ...dns-resolved-add-systemd-resolved-backend.patch | 621 +
 ...ed-also-check-for-etc-resolv-conf.systemd.patch |  29 +
 .../networkmanager/networkmanager_1.4.4.bb |   2 +
 3 files changed, 652 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-dns-resolved-add-systemd-resolved-backend.patch
 create mode 100644 
meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-dns-resolved-also-check-for-etc-resolv-conf.systemd.patch

diff --git 
a/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-dns-resolved-add-systemd-resolved-backend.patch
 
b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-dns-resolved-add-systemd-resolved-backend.patch
new file mode 100644
index 000..bd194a6
--- /dev/null
+++ 
b/meta-oe/recipes-connectivity/networkmanager/networkmanager/0001-dns-resolved-add-systemd-resolved-backend.patch
@@ -0,0 +1,621 @@
+From: Sjoerd Simons 
+Date: Sun, 21 Aug 2016 21:46:02 +0200
+Subject: [PATCH] dns/resolved: add systemd-resolved backend
+
+Add initial DNS backend that pushes DNS information into
+systemd-resolved. Backend is choosen by default if the systems
+resolv.conv is setup to pointing to one of the standard resolved
+locations.
+
+This doesn't handle global dns configuration.
+
+Signed-off-by: Sjoerd Simons 
+
+https://bugzilla.gnome.org/show_bug.cgi?id=762540
+
+Upstream-Status: Backport
+
+---
+ man/NetworkManager.conf.xml   |  10 +-
+ src/Makefile.am   |   2 +
+ src/dns-manager/nm-dns-manager.c  |  43 ++-
+ src/dns-manager/nm-dns-systemd-resolved.c | 427 ++
+ src/dns-manager/nm-dns-systemd-resolved.h |  45 
+ 5 files changed, 523 insertions(+), 4 deletions(-)
+ create mode 100644 src/dns-manager/nm-dns-systemd-resolved.c
+ create mode 100644 src/dns-manager/nm-dns-systemd-resolved.h
+
+diff --git a/man/NetworkManager.conf.xml b/man/NetworkManager.conf.xml
+index 6295b82..0a67ae5 100644
+--- a/man/NetworkManager.conf.xml
 b/man/NetworkManager.conf.xml
+@@ -275,10 +275,12 @@ no-auto-default=*
+   
+ dns
+ Set the DNS (resolv.conf) 
processing mode.
+-default: The default if the key is
+-not specified. NetworkManager will update
++default: NetworkManager will update
+ resolv.conf to reflect the nameservers
+-provided by currently active connections.
++provided by currently active connections.  This is the default
++if the key is not specified, unless the system is configured
++to use systemd-resolved; in this case the default is
++systemd-resolved
+ dnsmasq: NetworkManager will run
+ dnsmasq as a local caching nameserver, using a "split DNS"
+ configuration if you are connected to a VPN, and then update
+@@ -288,6 +290,8 @@ no-auto-default=*
+ to unbound and dnssec-triggerd, providing a "split DNS"
+ configuration with DNSSEC support. The 
/etc/resolv.conf
+ will be managed by dnssec-trigger daemon.
++systemd-resolved: NetworkManager will
++push the DNS configuration to systemd-resolved
+ none: NetworkManager will not
+ modify resolv.conf. This implies
+ rc-managerunmanaged
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 8d29b19..10f63de 100644
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -345,6 +345,8 @@ libNetworkManager_la_SOURCES = \
+   \
+   dns-manager/nm-dns-dnsmasq.c \
+   dns-manager/nm-dns-dnsmasq.h \
++  dns-manager/nm-dns-systemd-resolved.c \
++  dns-manager/nm-dns-systemd-resolved.h \
+   dns-manager/nm-dns-unbound.c \
+   dns-manager/nm-dns-unbound.h \
+   dns-manager/nm-dns-manager.c \
+diff --git a/src/dns-manager/nm-dns-manager.c 
b/src/dns-manager/nm-dns-manager.c
+index 5a758a9..38bc786 100644
+--- a/src/dns-manager/nm-dns-manager.c
 b/src/dns-manager/nm-dns-manager.c
+@@ -45,6 +45,7 @@
+ 
+ #include "nm-dns-plugin.h"
+ #include "nm-dns-dnsmasq.h"
++#include "nm-dns-systemd-resolved.h"
+ #include "nm-dns-unbound.h"
+ 
+ #if WITH_LIBSOUP
+@@ -1588,6 +1589,37 @@ _check_resconf_immutable (NMDnsManagerResolvConfManager 
rc_manager)
+ 
+ NM_DEFINE_SINGLETON_GETTER (NMDnsManager, nm_dns_manager_get, 
NM_TYPE_DNS_MANAGER);
+ 
++static gboolean
++_resolvconf_resolved_managed (void)
++{
++  static const char *const resolved_paths[] = {
++  "/run/systemd/resolve/resolv.conf",
++  "/lib/systemd/resolv.conf",
++  "/usr/lib/systemd/resolv.conf",
++  };
++  GFile *f;
++  GFileInfo *info;
++  gboolean ret = FALSE;
++
++  f = 

[oe] [meta-oe][PATCH V5] fwts: Bump SRCREV to latest past 17.03.00 release

2017-06-15 Thread Khem Raj
Helps fixing build issues with gcc7

Signed-off-by: Khem Raj 
Acked-by: Koen Kooi 
Acked-by: Fathi Boudra 
Signed-off-by: Martin Jansa 
---
v2 -> v3
- move the LDFLAGS after CFLAGS
v3 -> v4
- Fix point-to-int incompatibilities seen on x86 with off_t being 64bit
- Fix printf formatting issues
v4 -> v5
- Cast the off_t to intmax_t in printf functions for portablility

 ...01-Add-correct-printf-qualifier-for-off_t.patch | 37 +++
 ...e-poll.h-instead-of-deprecated-sys-poll.h.patch | 48 ++
 ...-C99-defined-format-for-printing-uint64_t.patch | 53 +++
 ...efine-__SWORD_TYPE-if-not-defined-by-libc.patch | 33 ++
 .../fwts/fwts/0003-Undefine-PAGE_SIZE.patch| 30 +
 ...ntptr_t-to-fix-pointer-to-int-cast-issues.patch | 76 ++
 meta-oe/recipes-test/fwts/fwts_git.bb  | 12 +++-
 7 files changed, 287 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-test/fwts/fwts/0001-Add-correct-printf-qualifier-for-off_t.patch
 create mode 100644 
meta-oe/recipes-test/fwts/fwts/0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch
 create mode 100644 
meta-oe/recipes-test/fwts/fwts/0002-Add-C99-defined-format-for-printing-uint64_t.patch
 create mode 100644 
meta-oe/recipes-test/fwts/fwts/0002-Define-__SWORD_TYPE-if-not-defined-by-libc.patch
 create mode 100644 meta-oe/recipes-test/fwts/fwts/0003-Undefine-PAGE_SIZE.patch
 create mode 100644 
meta-oe/recipes-test/fwts/fwts/0003-use-intptr_t-to-fix-pointer-to-int-cast-issues.patch

diff --git 
a/meta-oe/recipes-test/fwts/fwts/0001-Add-correct-printf-qualifier-for-off_t.patch
 
b/meta-oe/recipes-test/fwts/fwts/0001-Add-correct-printf-qualifier-for-off_t.patch
new file mode 100644
index 0..192e05f1c
--- /dev/null
+++ 
b/meta-oe/recipes-test/fwts/fwts/0001-Add-correct-printf-qualifier-for-off_t.patch
@@ -0,0 +1,37 @@
+From 232daf5fca6fb52cced5e810f2601fe1a71b96d8 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Thu, 8 Jun 2017 16:49:50 -0700
+Subject: [PATCH 1/3] Add correct printf qualifier for off_t
+
+Signed-off-by: Khem Raj 
+---
+ src/bios/ebda_region/ebda_region.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+Index: git/src/bios/ebda_region/ebda_region.c
+===
+--- git.orig/src/bios/ebda_region/ebda_region.c
 git/src/bios/ebda_region/ebda_region.c
+@@ -83,9 +83,9 @@ static int ebda_test1(fwts_framework *fw
+   if ((entry != NULL) &&
+   (entry->type == FWTS_MEMORY_MAP_RESERVED ||
+entry->type == FWTS_MEMORY_MAP_ACPI)) {
+-  fwts_passed(fw, "EBDA region mapped at 0x%lx and reserved as a 
%" PRId64
++  fwts_passed(fw, "EBDA region mapped at 0x%jdx and reserved as a 
%" PRId64
+   "K region in the %s table at 0x%" PRIx64 "..0x%" PRIx64 
".",
+-  ebda_addr,
++  (intmax_t)ebda_addr,
+   (entry->end_address - entry->start_address) / 1024,
+   memory_map_name,
+   entry->start_address,
+@@ -93,8 +93,8 @@ static int ebda_test1(fwts_framework *fw
+   } else
+   fwts_failed(fw, LOG_LEVEL_MEDIUM,
+   "EBDAMappedNotReserved",
+-  "EBDA region mapped at 0x%lx but not reserved in the %s 
table.",
+-  ebda_addr, memory_map_name);
++  "EBDA region mapped at 0x%jdx but not reserved in the 
%s table.",
++  (intmax_t)ebda_addr, memory_map_name);
+   
+   return FWTS_OK;
+ }
diff --git 
a/meta-oe/recipes-test/fwts/fwts/0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch
 
b/meta-oe/recipes-test/fwts/fwts/0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch
new file mode 100644
index 0..8ad078936
--- /dev/null
+++ 
b/meta-oe/recipes-test/fwts/fwts/0001-Include-poll.h-instead-of-deprecated-sys-poll.h.patch
@@ -0,0 +1,48 @@
+From 100a107a53d5dc9b0554252ac5dbf2c9330615e9 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 6 Jun 2017 07:25:09 -0700
+Subject: [PATCH 1/3] Include poll.h instead of deprecated sys/poll.h
+
+Upstream-Status: Pending
+
+Signed-off-by: Khem Raj 
+---
+ src/lib/src/fwts_ipmi.c   | 3 ++-
+ src/lib/src/fwts_pipeio.c | 2 +-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/lib/src/fwts_ipmi.c b/src/lib/src/fwts_ipmi.c
+index cbb27611..70d11cfa 100644
+--- a/src/lib/src/fwts_ipmi.c
 b/src/lib/src/fwts_ipmi.c
+@@ -18,10 +18,11 @@
+  *
+  */
+ 
++#include 
++
+ #include 
+ #include 
+ #include 
+-#include 
+ #include 
+ #include 
+ 
+diff --git a/src/lib/src/fwts_pipeio.c b/src/lib/src/fwts_pipeio.c
+index fd719640..bdc5b2ea 100644
+--- a/src/lib/src/fwts_pipeio.c
 

Re: [oe] [meta-oe][PATCH 1/1 v2] microcode-ctl: add new recipe

2017-06-15 Thread Burton, Ross
On 15 June 2017 at 02:36,  wrote:

> The microcode_ctl utility is a companion to the
> IA32 microcode driver.
>

Wouldn't it make sense for this to be in meta-intel, alongside the
microcode? Also what's the difference between this and iucode-tool, which
is already in meta-intel?

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


[oe] [meta-oe][PATCH] mercurial: CVE-2017-9462

2017-06-15 Thread Zhixiong Chi
Backport the CVE patch from
https://www.mercurial-scm.org/repo/hg/rev/77eaf9539499

"hg serve --stdio" allows remote authenticated users to launch the
Python debugger, and consequently execute arbitrary code, by using
 --debugger as a repository name.

CVE: CVE-2017-9462

Signed-off-by: Zhixiong Chi 
---
 .../mercurial/files/mercurial-CVE-2017-9462.patch  | 135 +
 .../mercurial/mercurial-native_4.0.1.bb|   4 +-
 2 files changed, 138 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-devtools/mercurial/files/mercurial-CVE-2017-9462.patch

diff --git 
a/meta-oe/recipes-devtools/mercurial/files/mercurial-CVE-2017-9462.patch 
b/meta-oe/recipes-devtools/mercurial/files/mercurial-CVE-2017-9462.patch
new file mode 100644
index 000..3564661
--- /dev/null
+++ b/meta-oe/recipes-devtools/mercurial/files/mercurial-CVE-2017-9462.patch
@@ -0,0 +1,135 @@
+# HG changeset patch
+# User Augie Fackler 
+# Date 1492021435 25200
+#  Wed Apr 12 11:23:55 2017 -0700
+# Branch stable
+# Node ID 77eaf9539499a1b8be259ffe7ada787d07857f80
+# Parent  68f263f52d2e3e2798b4f1e55cb665c6b043f93b
+dispatch: protect against malicious 'hg serve --stdio' invocations (sec)
+
+Some shared-ssh installations assume that 'hg serve --stdio' is a safe
+command to run for minimally trusted users. Unfortunately, the messy
+implementation of argument parsing here meant that trying to access a
+repo named '--debugger' would give the user a pdb prompt, thereby
+sidestepping any hoped-for sandboxing. Serving repositories over HTTP(S)
+is unaffected.
+
+We're not currently hardening any subcommands other than 'serve'. If
+your service exposes other commands to users with arbitrary repository
+names, it is imperative that you defend against repository names of
+'--debugger' and anything starting with '--config'.
+
+The read-only mode of hg-ssh stopped working because it provided its hook
+configuration to "hg serve --stdio" via --config parameter. This is banned for
+security reasons now. This patch switches it to directly call ui.setconfig().
+If your custom hosting infrastructure relies on passing --config to
+"hg serve --stdio", you'll need to find a different way to get that 
configuration
+into Mercurial, either by using ui.setconfig() as hg-ssh does in this patch,
+or by placing an hgrc file someplace where Mercurial will read it.
+
+mitran...@fb.com provided some extra fixes for the dispatch code and
+for hg-ssh in places that I overlooked.
+
+CVE: CVE-2017-9462
+
+Upstream-Status: Backport
+
+diff --git a/contrib/hg-ssh b/contrib/hg-ssh
+--- a/contrib/hg-ssh
 b/contrib/hg-ssh
+@@ -32,7 +32,7 @@
+ # enable importing on demand to reduce startup time
+ from mercurial import demandimport; demandimport.enable()
+ 
+-from mercurial import dispatch
++from mercurial import dispatch, ui as uimod
+ 
+ import sys, os, shlex
+ 
+@@ -61,14 +61,15 @@
+ repo = os.path.normpath(os.path.join(cwd, os.path.expanduser(path)))
+ if repo in allowed_paths:
+ cmd = ['-R', repo, 'serve', '--stdio']
++req = dispatch.request(cmd)
+ if readonly:
+-cmd += [
+-'--config',
+-'hooks.pretxnopen.hg-ssh=python:__main__.rejectpush',
+-'--config',
+-'hooks.prepushkey.hg-ssh=python:__main__.rejectpush'
+-]
+-dispatch.dispatch(dispatch.request(cmd))
++if not req.ui:
++req.ui = uimod.ui.load()
++req.ui.setconfig('hooks', 'pretxnopen.hg-ssh',
++ 'python:__main__.rejectpush', 'hg-ssh')
++req.ui.setconfig('hooks', 'prepushkey.hg-ssh',
++ 'python:__main__.rejectpush', 'hg-ssh')
++dispatch.dispatch(req)
+ else:
+ sys.stderr.write('Illegal repository "%s"\n' % repo)
+ sys.exit(255)
+diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py
+--- a/mercurial/dispatch.py
 b/mercurial/dispatch.py
+@@ -155,6 +155,37 @@
+ pass # happens if called in a thread
+ 
+ def _runcatchfunc():
++realcmd = None
++try:
++cmdargs = fancyopts.fancyopts(req.args[:], commands.globalopts, 
{})
++cmd = cmdargs[0]
++aliases, entry = cmdutil.findcmd(cmd, commands.table, False)
++realcmd = aliases[0]
++except (error.UnknownCommand, error.AmbiguousCommand,
++IndexError, getopt.GetoptError):
++# Don't handle this here. We know the command is
++# invalid, but all we're worried about for now is that
++# it's not a command that server operators expect to
++# be safe to offer to users in a sandbox.
++pass
++if realcmd == 'serve' and '--stdio' in cmdargs:
++# We want to constrain 'hg serve