[oe] [meta-oe][PATCH] cpuid: upgrade 20170122 -> 20180519

2018-09-05 Thread Tim Orling
Signed-off-by: Tim Orling 
---
 .../recipes-devtools/cpuid/{cpuid_20170122.bb => cpuid_20180519.bb}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/cpuid/{cpuid_20170122.bb => cpuid_20180519.bb} 
(86%)

diff --git a/meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb 
b/meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb
similarity index 86%
rename from meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb
rename to meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb
index 5dd1bdd4ee..4b07e2193a 100644
--- a/meta-oe/recipes-devtools/cpuid/cpuid_20170122.bb
+++ b/meta-oe/recipes-devtools/cpuid/cpuid_20180519.bb
@@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "http://www.etallen.com/${BPN}/${BP}.src.tar.gz \
file://0001-Fix-Add-sys-sysmacros.h-to-fix-build-issue.patch"
-SRC_URI[md5sum] = "1c46a6662626c5a6eaca626f23a5a7d7"
-SRC_URI[sha256sum] = 
"667612aae6704341dd10844e97c84c5c5c8700817a5937a3c293b55013bc4865"
+SRC_URI[md5sum] = "b3b4e44ef49575043a91def0207dcc76"
+SRC_URI[sha256sum] = 
"967823be36f23cbc972eb0aa882d069c1d155a5978990ac3bcf425e6a2e7ff9a"
 
 COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
 
-- 
2.14.4

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


[oe] OEDEM Sunday, 21 October 2018 in Edinburgh (before ELCE) - Update

2018-09-05 Thread akuster808
Hello,


If you have not signed up for OEDeM, please do so ASAP. We have 41
signed up so far. Sign-ups close Sept 15th


regards,

Armin

OEDeM Bouncer


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


Re: [oe] [openembedded][qt5] : Text is hidden in Qt5 apps

2018-09-05 Thread Marc Reilly
Hi,

On Tuesday, September 4, 2018 8:11:49 PM AEST Mohamed Dawod wrote:
> Hi,
> I built custom image based on wayland instead of x11
> it support Qt5 apps.
> I built simple Qt5 app and tried to build it for the custom image to run it
> there.
> the application is work but the text is hidden !
> The same for the test app "Qt5_Cinematicexperience"
> No text at all for all films.

I would guess that there is some font package(s) missing or some environment 
variable needs to be set up to tell Qt where the fonts are.
(But I don't use wayland, so not really sure)

Cheers
Marc


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


[oe] [meta-initramfs][PATCH] kexec-tools-klibc: remove unneeded aarch64 patch

2018-09-05 Thread Andrea Adami
Remove temporary development leftover (hack).

Signed-off-by: Andrea Adami 
---
 ...4_purgatory-Makefile-remove-unknown-flags.patch | 51 --
 .../recipes-kernel/kexec/kexec-tools-klibc_git.bb  |  3 +-
 2 files changed, 1 insertion(+), 53 deletions(-)
 delete mode 100644 
meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch

diff --git 
a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch
 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch
deleted file mode 100644
index f87f433..000
--- 
a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_purgatory-Makefile-remove-unknown-flags.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 1ceca8645dbe2780e1b8993c80de772993fe3053 Mon Sep 17 00:00:00 2001
-From: Andrea Adami 
-Date: Thu, 19 Apr 2018 10:43:34 +0200
-Subject: [PATCH 1/2] purgatory/arm64: Makefile: remove unknown flags for arm64
-
-Fix
-
- | aarch64-oe-linux-musl-ld: unrecognised emulation mode: cmodel=large
- | Supported emulations: aarch64linux aarch64elf aarch64elf32
-   aarch64elf32b aarch64elfb armelf armelfb aarch64linuxb aarch64linux32
-  aarch64linux32b armelfb_linux_eabi armelf_linux_eabi
-
-Upstream-Status: Inappropriate [klibc specific]
-Signed-off-by: Andrea Adami 
-

- purgatory/arch/arm64/Makefile | 20 ++--
- 1 file changed, 10 insertions(+), 10 deletions(-)
-
-diff --git a/purgatory/arch/arm64/Makefile b/purgatory/arch/arm64/Makefile
-index 636abea..ddc9461 100644
 a/purgatory/arch/arm64/Makefile
-+++ b/purgatory/arch/arm64/Makefile
-@@ -1,13 +1,13 @@
- 
--arm64_PURGATORY_EXTRA_CFLAGS = \
--  -mcmodel=large \
--  -fno-PIC \
--  -fno-stack-protector \
--  -fno-asynchronous-unwind-tables \
--  -Wundef \
--  -Werror-implicit-function-declaration \
--  -Wdeclaration-after-statement \
--  -Werror=implicit-int \
--  -Werror=strict-prototypes
-+#arm64_PURGATORY_EXTRA_CFLAGS = \
-+# -mcmodel=large \
-+# -fno-PIC \
-+# -fno-stack-protector \
-+# -fno-asynchronous-unwind-tables \
-+# -Wundef \
-+# -Werror-implicit-function-declaration \
-+# -Wdeclaration-after-statement \
-+# -Werror=implicit-int \
-+# -Werror=strict-prototypes
- 
- arm64_PURGATORY_SRCS += \
-   purgatory/arch/arm64/entry.S \
--- 
-2.7.4
-
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
index 92ab7e6..fe34671 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
@@ -48,8 +48,7 @@ SRC_URI_append_x86 = " file://x86_sys_io.patch 
file://x86_basename.patch \
 SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \
   file://x86_vfscanf.patch file://x86_kexec_test.patch"
 
-SRC_URI_append_aarch64 = " 
file://arm64_purgatory-Makefile-remove-unknown-flags.patch \
-   
file://arm64_kexec-image-header.h-add-missing-le64toh.patch \
+SRC_URI_append_aarch64 = " 
file://arm64_kexec-image-header.h-add-missing-le64toh.patch \
file://arm64-crashdump-arm64.c-fix-warning.patch \

file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch"
 
-- 
2.7.4

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


Re: [oe] [meta-multimedia][PATCH 12/12] rtmpdump: Depend on openssl10 and

2018-09-05 Thread Khem Raj


On 9/5/18 2:19 PM, Martin Jansa wrote:
> Nice series, thanks!
> 
> Something seems to be missing in the commit summary of the last one.

this is vim autowrapping in full swing during editing the patch subject
lines. The real commit is ok see

http://git.openembedded.org/meta-openembedded-contrib/commit/?h=kraj/master=2a48709d884f24f3cbcc6da4892d3c21b3f5274e

> 
> On Wed, Sep 5, 2018 at 11:04 PM Khem Raj  > wrote:
> 
> Signed-off-by: Khem Raj mailto:raj.k...@gmail.com>>
> ---
>  .../rtmpdump/rtmpdump/fix-racing-build-issue.patch     | 10 +-
>  .../recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
>         |  4 ++--
>  2 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git
> 
> a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> 
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> index bb3d8b0efe..6e11c9752e 100644
> ---
> 
> a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> +++
> 
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> @@ -8,11 +8,11 @@ Index: git/librtmp/Makefile
>  ===
>  --- git.orig/librtmp/Makefile
>  +++ git/librtmp/Makefile
> -@@ -107,6 +107,7 @@ install_base:      librtmp.a librtmp.pc
> +@@ -115,6 +115,7 @@ install_base:      librtmp.a librtmp.pc
>         cp librtmp.3 $(MANDIR)/man3
> 
> - install_so:   librtmp.$(SO_EXT)
> + install_so:   librtmp$(SO_EXT)
>  +      -mkdir -p $(SODIR)
> -       cp librtmp.$(SO_EXT) $(SODIR)
> -       cd $(SODIR); ln -sf librtmp.$(SO_EXT) librtmp.$(SOX)
> -
> +       cp librtmp$(SO_EXT) $(SODIR)
> +       $(INSTALL_IMPLIB)
> +       cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)
> diff --git
> a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> 
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> 
> index c5513b0252..a72b0d651e 100644
> --- a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> 
> +++ b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> 
> @@ -5,9 +5,9 @@ HOMEPAGE = "http://rtmpdump.mplayerhq.hu/;
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM =
> "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> 
> -DEPENDS = "openssl zlib"
> +DEPENDS = "openssl10 zlib"
> 
> -SRCREV = "3121324046e4ca1934e7e28293fc8326475d5053"
> +SRCREV = "fa8646daeb19dfd12c181f7d19de708d623704c0"
>  SRC_URI = " \
>      git://git.ffmpeg.org/rtmpdump  \
>      file://fix-racing-build-issue.patch"
> -- 
> 2.18.0
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> 
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 



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


Re: [oe] [meta-multimedia][PATCH 12/12] rtmpdump: Depend on openssl10 and

2018-09-05 Thread Martin Jansa
Nice series, thanks!

Something seems to be missing in the commit summary of the last one.

On Wed, Sep 5, 2018 at 11:04 PM Khem Raj  wrote:

> Signed-off-by: Khem Raj 
> ---
>  .../rtmpdump/rtmpdump/fix-racing-build-issue.patch | 10 +-
>  .../recipes-multimedia/rtmpdump/rtmpdump_2.4.bb|  4 ++--
>  2 files changed, 7 insertions(+), 7 deletions(-)
>
> diff --git
> a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> index bb3d8b0efe..6e11c9752e 100644
> ---
> a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> +++
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
> @@ -8,11 +8,11 @@ Index: git/librtmp/Makefile
>  ===
>  --- git.orig/librtmp/Makefile
>  +++ git/librtmp/Makefile
> -@@ -107,6 +107,7 @@ install_base:  librtmp.a librtmp.pc
> +@@ -115,6 +115,7 @@ install_base:  librtmp.a librtmp.pc
> cp librtmp.3 $(MANDIR)/man3
>
> - install_so:   librtmp.$(SO_EXT)
> + install_so:   librtmp$(SO_EXT)
>  +  -mkdir -p $(SODIR)
> -   cp librtmp.$(SO_EXT) $(SODIR)
> -   cd $(SODIR); ln -sf librtmp.$(SO_EXT) librtmp.$(SOX)
> -
> +   cp librtmp$(SO_EXT) $(SODIR)
> +   $(INSTALL_IMPLIB)
> +   cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)
> diff --git a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> index c5513b0252..a72b0d651e 100644
> --- a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> +++ b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
> @@ -5,9 +5,9 @@ HOMEPAGE = "http://rtmpdump.mplayerhq.hu/;
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
>
> -DEPENDS = "openssl zlib"
> +DEPENDS = "openssl10 zlib"
>
> -SRCREV = "3121324046e4ca1934e7e28293fc8326475d5053"
> +SRCREV = "fa8646daeb19dfd12c181f7d19de708d623704c0"
>  SRC_URI = " \
>  git://git.ffmpeg.org/rtmpdump \
>  file://fix-racing-build-issue.patch"
> --
> 2.18.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 09/12] liboauth: Fix build with openSSL 1.1.x

2018-09-05 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../liboauth/0001-Support-OpenSSL-1.1.0.patch | 151 ++
 .../liboauth/liboauth_1.0.3.bb|   4 +-
 2 files changed, 154 insertions(+), 1 deletion(-)
 create mode 100644 
meta-oe/recipes-support/liboauth/liboauth/0001-Support-OpenSSL-1.1.0.patch

diff --git 
a/meta-oe/recipes-support/liboauth/liboauth/0001-Support-OpenSSL-1.1.0.patch 
b/meta-oe/recipes-support/liboauth/liboauth/0001-Support-OpenSSL-1.1.0.patch
new file mode 100644
index 00..8691eae2b5
--- /dev/null
+++ b/meta-oe/recipes-support/liboauth/liboauth/0001-Support-OpenSSL-1.1.0.patch
@@ -0,0 +1,151 @@
+From c14d9bf71753a38df57cc6538b22ed389d2c2cb1 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 4 Sep 2018 17:18:51 -0700
+Subject: [PATCH] Support OpenSSL 1.1.0
+
+Taken from https://github.com/x42/liboauth/issues/9
+
+Upstream-Status: Submitted[https://github.com/x42/liboauth/issues/9]
+Signed-off-by: Khem Raj 
+---
+ src/hash.c | 65 --
+ 1 file changed, 44 insertions(+), 21 deletions(-)
+
+diff --git a/src/hash.c b/src/hash.c
+index 17ff5c8..e128826 100644
+--- a/src/hash.c
 b/src/hash.c
+@@ -362,6 +362,11 @@ looser:
+ #include "oauth.h" // base64 encode fn's.
+ #include 
+ 
++#if OPENSSL_VERSION_NUMBER < 0x1010
++#define EVP_MD_CTX_new EVP_MD_CTX_create
++#define EVP_MD_CTX_free EVP_MD_CTX_destroy
++#endif
++
+ char *oauth_sign_hmac_sha1 (const char *m, const char *k) {
+   return(oauth_sign_hmac_sha1_raw (m, strlen(m), k, strlen(k)));
+ }
+@@ -386,7 +391,7 @@ char *oauth_sign_rsa_sha1 (const char *m, const char *k) {
+   unsigned char *sig = NULL;
+   unsigned char *passphrase = NULL;
+   unsigned int len=0;
+-  EVP_MD_CTX md_ctx;
++  EVP_MD_CTX *md_ctx;
+ 
+   EVP_PKEY *pkey;
+   BIO *in;
+@@ -399,24 +404,31 @@ char *oauth_sign_rsa_sha1 (const char *m, const char *k) 
{
+ return xstrdup("liboauth/OpenSSL: can not read private key");
+   }
+ 
++  md_ctx = EVP_MD_CTX_new();
++  if (md_ctx == NULL) {
++  return xstrdup("liboauth/OpenSSL: failed to allocate 
EVP_MD_CTX");
++  }
++
+   len = EVP_PKEY_size(pkey);
+   sig = (unsigned char*)xmalloc((len+1)*sizeof(char));
+ 
+-  EVP_SignInit(_ctx, EVP_sha1());
+-  EVP_SignUpdate(_ctx, m, strlen(m));
+-  if (EVP_SignFinal (_ctx, sig, , pkey)) {
++  EVP_SignInit(md_ctx, EVP_sha1());
++  EVP_SignUpdate(md_ctx, m, strlen(m));
++  if (EVP_SignFinal (md_ctx, sig, , pkey)) {
+ char *tmp;
+ sig[len] = '\0';
+ tmp = oauth_encode_base64(len,sig);
+ OPENSSL_free(sig);
+ EVP_PKEY_free(pkey);
++EVP_MD_CTX_free(md_ctx);
+ return tmp;
+   }
++  EVP_MD_CTX_free(md_ctx);
+   return xstrdup("liboauth/OpenSSL: rsa-sha1 signing failed");
+ }
+ 
+ int oauth_verify_rsa_sha1 (const char *m, const char *c, const char *s) {
+-  EVP_MD_CTX md_ctx;
++  EVP_MD_CTX *md_ctx;
+   EVP_PKEY *pkey;
+   BIO *in;
+   X509 *cert = NULL;
+@@ -437,13 +449,18 @@ int oauth_verify_rsa_sha1 (const char *m, const char *c, 
const char *s) {
+ return -2;
+   }
+ 
++  md_ctx = EVP_MD_CTX_new();
++  if (md_ctx == NULL) {
++  return -2;
++  }
++
+   b64d= (unsigned char*) xmalloc(sizeof(char)*strlen(s));
+   slen = oauth_decode_base64(b64d, s);
+ 
+-  EVP_VerifyInit(_ctx, EVP_sha1());
+-  EVP_VerifyUpdate(_ctx, m, strlen(m));
+-  err = EVP_VerifyFinal(_ctx, b64d, slen, pkey);
+-  EVP_MD_CTX_cleanup(_ctx);
++  EVP_VerifyInit(md_ctx, EVP_sha1());
++  EVP_VerifyUpdate(md_ctx, m, strlen(m));
++  err = EVP_VerifyFinal(md_ctx, b64d, slen, pkey);
++  EVP_MD_CTX_free(md_ctx);
+   EVP_PKEY_free(pkey);
+   xfree(b64d);
+   return (err);
+@@ -455,35 +472,41 @@ int oauth_verify_rsa_sha1 (const char *m, const char *c, 
const char *s) {
+  */
+ char *oauth_body_hash_file(char *filename) {
+   unsigned char fb[BUFSIZ];
+-  EVP_MD_CTX ctx;
++  EVP_MD_CTX *ctx;
+   size_t len=0;
+   unsigned char *md;
+   FILE *F= fopen(filename, "r");
+   if (!F) return NULL;
+ 
+-  EVP_MD_CTX_init();
+-  EVP_DigestInit(,EVP_sha1());
++  ctx = EVP_MD_CTX_new();
++  if (ctx == NULL) {
++  return xstrdup("liboauth/OpenSSL: failed to allocate 
EVP_MD_CTX");
++  }
++  EVP_DigestInit(ctx,EVP_sha1());
+   while (!feof(F) && (len=fread(fb,sizeof(char),BUFSIZ, F))>0) {
+-EVP_DigestUpdate(, fb, len);
++EVP_DigestUpdate(ctx, fb, len);
+   }
+   fclose(F);
+   len=0;
+   md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
+-  EVP_DigestFinal(, md,(unsigned int*) );
+-  EVP_MD_CTX_cleanup();
++  EVP_DigestFinal(ctx, md,(unsigned int*) );
++  EVP_MD_CTX_free(ctx);
+   return oauth_body_hash_encode(len, md);
+ }
+ 
+ char *oauth_body_hash_data(size_t length, const char *data) {
+-  EVP_MD_CTX ctx;
++  EVP_MD_CTX *ctx;
+   size_t len=0;
+   unsigned char *md;
+   md=(unsigned char*) xcalloc(EVP_MD_size(EVP_sha1()),sizeof(unsigned char));
+-  EVP_MD_CTX_init();
+-  

[oe] [meta-multimedia][PATCH 12/12] rtmpdump: Depend on openssl10 and

2018-09-05 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../rtmpdump/rtmpdump/fix-racing-build-issue.patch | 10 +-
 .../recipes-multimedia/rtmpdump/rtmpdump_2.4.bb|  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
 
b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
index bb3d8b0efe..6e11c9752e 100644
--- 
a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
+++ 
b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump/fix-racing-build-issue.patch
@@ -8,11 +8,11 @@ Index: git/librtmp/Makefile
 ===
 --- git.orig/librtmp/Makefile
 +++ git/librtmp/Makefile
-@@ -107,6 +107,7 @@ install_base:  librtmp.a librtmp.pc
+@@ -115,6 +115,7 @@ install_base:  librtmp.a librtmp.pc
cp librtmp.3 $(MANDIR)/man3
  
- install_so:   librtmp.$(SO_EXT)
+ install_so:   librtmp$(SO_EXT)
 +  -mkdir -p $(SODIR)
-   cp librtmp.$(SO_EXT) $(SODIR)
-   cd $(SODIR); ln -sf librtmp.$(SO_EXT) librtmp.$(SOX)
- 
+   cp librtmp$(SO_EXT) $(SODIR)
+   $(INSTALL_IMPLIB)
+   cd $(SODIR); ln -sf librtmp$(SO_EXT) librtmp.$(SOX)
diff --git a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb 
b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
index c5513b0252..a72b0d651e 100644
--- a/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
+++ b/meta-multimedia/recipes-multimedia/rtmpdump/rtmpdump_2.4.bb
@@ -5,9 +5,9 @@ HOMEPAGE = "http://rtmpdump.mplayerhq.hu/;
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "openssl zlib"
+DEPENDS = "openssl10 zlib"
 
-SRCREV = "3121324046e4ca1934e7e28293fc8326475d5053"
+SRCREV = "fa8646daeb19dfd12c181f7d19de708d623704c0"
 SRC_URI = " \
 git://git.ffmpeg.org/rtmpdump \
 file://fix-racing-build-issue.patch"
-- 
2.18.0

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


[oe] [meta-networking][PATCH 11/12] nopoll: Upgrade to 0.4.6.b400

2018-09-05 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../nopoll/{nopoll_0.4.2.b297.bb => nopoll_0.4.6.b400.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-protocols/nopoll/{nopoll_0.4.2.b297.bb => 
nopoll_0.4.6.b400.bb} (84%)

diff --git a/meta-networking/recipes-protocols/nopoll/nopoll_0.4.2.b297.bb 
b/meta-networking/recipes-protocols/nopoll/nopoll_0.4.6.b400.bb
similarity index 84%
rename from meta-networking/recipes-protocols/nopoll/nopoll_0.4.2.b297.bb
rename to meta-networking/recipes-protocols/nopoll/nopoll_0.4.6.b400.bb
index 1d77891d47..8c57d29492 100644
--- a/meta-networking/recipes-protocols/nopoll/nopoll_0.4.2.b297.bb
+++ b/meta-networking/recipes-protocols/nopoll/nopoll_0.4.6.b400.bb
@@ -13,8 +13,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=f0504124678c1b3158146e0630229298 \
 DEPENDS = "openssl"
 SRC_URI = "http://www.aspl.es/nopoll/downloads/nopoll-${PV}.tar.gz \
   "
-SRC_URI[md5sum] = "8c411cd0f3c0479aed28c4cf7b114fbb"
-SRC_URI[sha256sum] = 
"f5fbf8aaa16a77b0f265d8c847eb06cb3e68f2b1a50737466dae81181618654c"
+SRC_URI[md5sum] = "8d333f158b5d5a8975a6149e6ef8db63"
+SRC_URI[sha256sum] = 
"7f1b20f1d0525f30cdd2a4fc386d328b4cf98c6d11cef51fe62cd9491ba19ad9"
 
 inherit autotools pkgconfig
 
-- 
2.18.0

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


[oe] [meta-oe][PATCH 10/12] sip: Upgrade to 4.19.12 release

2018-09-05 Thread Khem Raj
Inherit pythonnative instead of using python from build host

Signed-off-by: Khem Raj 
---
 .../recipes-devtools/sip/{sip_4.19.8.bb => sip_4.19.12.bb}  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/recipes-devtools/sip/{sip_4.19.8.bb => sip_4.19.12.bb} (90%)

diff --git a/meta-oe/recipes-devtools/sip/sip_4.19.8.bb 
b/meta-oe/recipes-devtools/sip/sip_4.19.12.bb
similarity index 90%
rename from meta-oe/recipes-devtools/sip/sip_4.19.8.bb
rename to meta-oe/recipes-devtools/sip/sip_4.19.12.bb
index ea944b32ff..be58959989 100644
--- a/meta-oe/recipes-devtools/sip/sip_4.19.8.bb
+++ b/meta-oe/recipes-devtools/sip/sip_4.19.12.bb
@@ -4,13 +4,13 @@ SECTION = "devel"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE-GPL2;md5=e91355d8a6f8bd8f7c699d62863c7303"
 
-inherit python-dir
+inherit python-dir pythonnative
 
 DEPENDS = "python"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/project/pyqt/sip/sip-${PV}/sip-${PV}.tar.gz"
-SRC_URI[md5sum] = "0625fb20347d4ff1b5da551539be0727"
-SRC_URI[sha256sum] = 
"7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc"
+SRC_URI[md5sum] = "e28b0790dfe4962ce6bbd7c4772f40c9"
+SRC_URI[sha256sum] = 
"24617fc31b983df075500ecac0e99d2fb48bf63ba82d4a17518659e571923822"
 
 BBCLASSEXTEND = "native"
 
-- 
2.18.0

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


[oe] [meta-oe][PATCH 08/12] libimobiledevice: Upgrade to latest

2018-09-05 Thread Khem Raj
Needs several packages to be updates
Fixes build with openSSL 1.1.x

Signed-off-by: Khem Raj 
---
 .../files/inline-without-definition.patch | 31 ---
 ...evice_1.1.4.bb => libimobiledevice_git.bb} | 13 +++--
 .../usbmuxd/usbmuxd_git.bb| 16 +++---
 .../0001-Fix-warnings-found-with-clang.patch  | 51 ---
 .../files/fix-parallel-make.patch | 21 
 .../{libplist_1.8.bb => libplist_2.0.0.bb}| 10 ++--
 6 files changed, 17 insertions(+), 125 deletions(-)
 delete mode 100644 
meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
 rename 
meta-oe/recipes-connectivity/libimobiledevice/{libimobiledevice_1.1.4.bb => 
libimobiledevice_git.bb} (54%)
 delete mode 100644 
meta-oe/recipes-extended/libimobiledevice/files/0001-Fix-warnings-found-with-clang.patch
 delete mode 100644 
meta-oe/recipes-extended/libimobiledevice/files/fix-parallel-make.patch
 rename meta-oe/recipes-extended/libimobiledevice/{libplist_1.8.bb => 
libplist_2.0.0.bb} (67%)

diff --git 
a/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
 
b/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
deleted file mode 100644
index 9a7895fd41..00
--- 
a/meta-oe/recipes-connectivity/libimobiledevice/files/inline-without-definition.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Fix link error with gcc 5 toolchains
-
- afc.c:258: error: undefined reference to 'debug_buffer'
- collect2: error: ld returned 1 exit status
-
-debug.h header was declaring things inline without providing a definition.
-Files that included this header then failed to link against the corresponding
-external symbol in debug.c, because the linker took the 'inline' keyword
-seriously rather than ignoring it.
-
 libimobiledevice-1.1.4/src/debug.h.orig2015-10-03 16:24:08.758740386 
-0700
-+++ libimobiledevice-1.1.4/src/debug.h 2015-10-03 16:24:22.706740355 -0700
-@@ -44,14 +44,14 @@
- #define debug_plist(a)
- #endif
- 
--LIBIMOBILEDEVICE_INTERNAL inline void debug_info_real(const char *func,
-+LIBIMOBILEDEVICE_INTERNAL void debug_info_real(const char *func,
-   
const char *file,
-   
int line,
-   
const char *format, ...);
- 
--LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer(const char *data, const 
int length);
--LIBIMOBILEDEVICE_INTERNAL inline void debug_buffer_to_file(const char *file, 
const char *data, const int length);
--LIBIMOBILEDEVICE_INTERNAL inline void debug_plist_real(const char *func,
-+LIBIMOBILEDEVICE_INTERNAL void debug_buffer(const char *data, const int 
length);
-+LIBIMOBILEDEVICE_INTERNAL void debug_buffer_to_file(const char *file, const 
char *data, const int length);
-+LIBIMOBILEDEVICE_INTERNAL void debug_plist_real(const char *func,
-   
const char *file,
-   
int line,
-   
plist_t plist);
diff --git 
a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb 
b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
similarity index 54%
rename from 
meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb
rename to meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
index 32aca96fd0..908b98d8c5 100644
--- a/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_1.1.4.bb
+++ b/meta-oe/recipes-connectivity/libimobiledevice/libimobiledevice_git.bb
@@ -7,17 +7,16 @@ LIC_FILES_CHKSUM = "\
 
 HOMEPAGE ="http://www.libimobiledevice.org/;
 
-DEPENDS = "libplist usbmuxd libtasn1 gnutls libgcrypt"
+DEPENDS = "libplist usbmuxd libusbmuxd libtasn1 gnutls libgcrypt"
 
-SRC_URI = " \
-http://www.libimobiledevice.org/downloads/libimobiledevice-${PV}.tar.bz2 \
+SRCREV = "fb71aeef10488ed7b0e60a1c8a553193301428c0"
+PV = "1.2.0+git${SRCPV}"
+SRC_URI = "\
+git://github.com/libimobiledevice/libimobiledevice;protocol=https \
 file://configure-fix-largefile.patch \
-file://inline-without-definition.patch \
 "
 
-SRC_URI[md5sum] = "3f28cbc6a2e30d34685049c0abde5183"
-SRC_URI[sha256sum] = 
"67499cfaa6172f566ee6b0783605acffe484fb7ddc3b09881ab7ac58667ee5b8"
-
+S = "${WORKDIR}/git"
 inherit autotools pkgconfig
 
 EXTRA_OECONF = " --without-cython "
diff --git a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb 
b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
index 4365aa4bc6..a9741bd5b7 100644
--- a/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
+++ b/meta-oe/recipes-connectivity/usbmuxd/usbmuxd_git.bb
@@ -4,21 +4,19 @@ 

[oe] [meta-oe][PATCH 07/12] libusbmuxd: Add recipe

2018-09-05 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../libimobiledevice/libusbmuxd_git.bb | 18 ++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb

diff --git a/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb 
b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
new file mode 100644
index 00..7ab4ce1ba5
--- /dev/null
+++ b/meta-oe/recipes-extended/libimobiledevice/libusbmuxd_git.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "This daemon is in charge of multiplexing connections over USB 
to an iPhone or iPod touch."
+LICENSE = "GPLv3 & GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=ebb5c50ab7cab4baeffba14977030c07 \
+file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
+
file://COPYING.LGPLv2.1;md5=6ab17b41640564434dda85c06b7124f7"
+
+DEPENDS = "udev libusb1 libplist"
+
+inherit autotools pkgconfig gitpkgv
+
+PKGV = "${GITPKGVTAG}"
+
+SRCREV = "78df9be5fc8222ed53846cb553de9b5d24c85c6c"
+SRC_URI = "git://github.com/libimobiledevice/libusbmuxd;protocol=https"
+
+S = "${WORKDIR}/git"
+
+FILES_${PN} += "${base_libdir}/udev/rules.d/"
-- 
2.18.0

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


[oe] [meta-oe][PATCH 06/12] uw-imap: Fix build with openSSL 1.1

2018-09-05 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 .../uw-imap/0001-Support-OpenSSL-1.1.patch| 71 +++
 .../recipes-devtools/uw-imap/uw-imap_2007f.bb |  1 +
 2 files changed, 72 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/uw-imap/uw-imap/0001-Support-OpenSSL-1.1.patch

diff --git 
a/meta-oe/recipes-devtools/uw-imap/uw-imap/0001-Support-OpenSSL-1.1.patch 
b/meta-oe/recipes-devtools/uw-imap/uw-imap/0001-Support-OpenSSL-1.1.patch
new file mode 100644
index 00..d5610bbcd5
--- /dev/null
+++ b/meta-oe/recipes-devtools/uw-imap/uw-imap/0001-Support-OpenSSL-1.1.patch
@@ -0,0 +1,71 @@
+From 4c684542816a08b95444b8e2515f24d084e6e3c3 Mon Sep 17 00:00:00 2001
+From: Khem Raj 
+Date: Tue, 4 Sep 2018 22:05:17 -0700
+Subject: [PATCH] Support OpenSSL 1.1
+
+When building with OpenSSL 1.1 and newer, use the new built-in
+ hostname verification instead of code that doesn't compile due to
+ structs having been made opaque.
+Bug-Debian: https://bugs.debian.org/828589
+
+Upstream-Status: Unknown
+
+Signed-off-by: Khem Raj 
+---
+ src/osdep/unix/ssl_unix.c | 14 +-
+ 1 file changed, 13 insertions(+), 1 deletion(-)
+
+diff --git a/src/osdep/unix/ssl_unix.c b/src/osdep/unix/ssl_unix.c
+index 3bfdff3..dec9467 100644
+--- a/src/osdep/unix/ssl_unix.c
 b/src/osdep/unix/ssl_unix.c
+@@ -227,8 +227,16 @@ static char *ssl_start_work (SSLSTREAM *stream,char 
*host,unsigned long flags)
+   /* disable certificate validation? */
+   if (flags & NET_NOVALIDATECERT)
+ SSL_CTX_set_verify (stream->context,SSL_VERIFY_NONE,NIL);
+-  else SSL_CTX_set_verify (stream->context,SSL_VERIFY_PEER,ssl_open_verify);
++  else {
++#if OPENSSL_VERSION_NUMBER >= 0x1010  
++  X509_VERIFY_PARAM *param = SSL_CTX_get0_param(stream->context);
++  X509_VERIFY_PARAM_set_hostflags(param, 
X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS);
++  X509_VERIFY_PARAM_set1_host(param, host, 0);
++#endif
++
++  SSL_CTX_set_verify (stream->context,SSL_VERIFY_PEER,ssl_open_verify);
+   /* set default paths to CAs... */
++  }
+   SSL_CTX_set_default_verify_paths (stream->context);
+   /* ...unless a non-standard path desired */
+   if (s = (char *) mail_parameters (NIL,GET_SSLCAPATH,NIL))
+@@ -266,6 +274,7 @@ static char *ssl_start_work (SSLSTREAM *stream,char 
*host,unsigned long flags)
+   if (SSL_write (stream->con,"",0) < 0)
+ return ssl_last_error ? ssl_last_error : "SSL negotiation failed";
+   /* need to validate host names? */
++#if OPENSSL_VERSION_NUMBER < 0x1010
+   if (!(flags & NET_NOVALIDATECERT) &&
+   (err = ssl_validate_cert (cert = SSL_get_peer_certificate (stream->con),
+   host))) {
+@@ -275,6 +284,7 @@ static char *ssl_start_work (SSLSTREAM *stream,char 
*host,unsigned long flags)
+ sprintf (tmp,"*%.128s: %.255s",err,cert ? cert->name : "???");
+ return ssl_last_error = cpystr (tmp);
+   }
++#endif
+   return NIL;
+ }
+ 
+@@ -313,6 +323,7 @@ static int ssl_open_verify (int ok,X509_STORE_CTX *ctx)
+  * Returns: NIL if validated, else string of error message
+  */
+ 
++#if OPENSSL_VERSION_NUMBER < 0x1010
+ static char *ssl_validate_cert (X509 *cert,char *host)
+ {
+   int i,n;
+@@ -342,6 +353,7 @@ static char *ssl_validate_cert (X509 *cert,char *host)
+   else ret = "Unable to locate common name in certificate";
+   return ret;
+ }
++#endif
+ 
+ /* Case-independent wildcard pattern match
+  * Accepts: base string
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb 
b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
index 4c055e54ca..f05ae4 100644
--- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
+++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb
@@ -10,6 +10,7 @@ SRC_URI = 
"https://fossies.org/linux/misc/old/imap-${PV}.tar.gz \
file://quote_cctype.patch \
file://imap-2007e-shared.patch \
file://imap-2007f-format-security.patch \
+   file://0001-Support-OpenSSL-1.1.patch \
"
 
 SRC_URI[md5sum] = "2126fd125ea26b73b20f01fcd5940369"
-- 
2.18.0

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


[oe] [meta-networking][PATCH 05/12] fetchmail: Fix build with OpenSSL

2018-09-05 Thread Khem Raj
Backport a patch from Debian

Signed-off-by: Khem Raj 
---
 .../fetchmail/fetchmail/02_remove_SSLv3.patch | 1576 +
 .../fetchmail/fetchmail_6.3.26.bb |4 +-
 2 files changed, 1579 insertions(+), 1 deletion(-)
 create mode 100644 
meta-networking/recipes-support/fetchmail/fetchmail/02_remove_SSLv3.patch

diff --git 
a/meta-networking/recipes-support/fetchmail/fetchmail/02_remove_SSLv3.patch 
b/meta-networking/recipes-support/fetchmail/fetchmail/02_remove_SSLv3.patch
new file mode 100644
index 00..95cfa2f4a1
--- /dev/null
+++ b/meta-networking/recipes-support/fetchmail/fetchmail/02_remove_SSLv3.patch
@@ -0,0 +1,1576 @@
+Description: 
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ fetchmail (6.3.26-2) unstable; urgency=low
+ .
+   * New maintainer (closes: #800750).
+   * Backport upstream fix for SSLv3 removal (closes: #804604) and do not
+ recommend SSLv3 (closes: #801178).
+   * Remove quilt and its usage.
+   * Add dh-python to build depends.
+   * Update upstream URLs.
+   * Update watch file.
+   * Update Standards-Version to 3.9.6 .
+Author: Laszlo Boszormenyi (GCS) 
+Bug-Debian: https://bugs.debian.org/800750
+Bug-Debian: https://bugs.debian.org/801178
+Bug-Debian: https://bugs.debian.org/804604
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: , 
+Bug: 
+Bug-Debian: https://bugs.debian.org/
+Bug-Ubuntu: https://launchpad.net/bugs/
+Forwarded: 
+Reviewed-By: 
+Last-Update: 
+
+--- fetchmail-6.3.26.orig/Makefile.am
 fetchmail-6.3.26/Makefile.am
+@@ -31,7 +31,7 @@ libfm_a_SOURCES= xmalloc.c base64.c rfc8
+   servport.c ntlm.h smbbyteorder.h smbdes.h smbmd4.h \
+   smbencrypt.h smbdes.c smbencrypt.c smbmd4.c smbutil.c \
+   libesmtp/gethostbyname.h libesmtp/gethostbyname.c \
+-  smbtypes.h fm_getaddrinfo.c tls.c rfc822valid.c \
++  smbtypes.h fm_getaddrinfo.c starttls.c rfc822valid.c \
+   xmalloc.h sdump.h sdump.c x509_name_match.c \
+   fm_strl.h md5c.c
+ if NTLM_ENABLE
+--- fetchmail-6.3.26.orig/Makefile.in
 fetchmail-6.3.26/Makefile.in
+@@ -97,14 +97,14 @@ am__libfm_a_SOURCES_DIST = xmalloc.c bas
+   rfc2047e.c servport.c ntlm.h smbbyteorder.h smbdes.h smbmd4.h \
+   smbencrypt.h smbdes.c smbencrypt.c smbmd4.c smbutil.c \
+   libesmtp/gethostbyname.h libesmtp/gethostbyname.c smbtypes.h \
+-  fm_getaddrinfo.c tls.c rfc822valid.c xmalloc.h sdump.h sdump.c \
++  fm_getaddrinfo.c starttls.c rfc822valid.c xmalloc.h sdump.h sdump.c \
+   x509_name_match.c fm_strl.h md5c.c ntlmsubr.c
+ @NTLM_ENABLE_TRUE@am__objects_1 = ntlmsubr.$(OBJEXT)
+ am_libfm_a_OBJECTS = xmalloc.$(OBJEXT) base64.$(OBJEXT) \
+   rfc822.$(OBJEXT) report.$(OBJEXT) rfc2047e.$(OBJEXT) \
+   servport.$(OBJEXT) smbdes.$(OBJEXT) smbencrypt.$(OBJEXT) \
+   smbmd4.$(OBJEXT) smbutil.$(OBJEXT) gethostbyname.$(OBJEXT) \
+-  fm_getaddrinfo.$(OBJEXT) tls.$(OBJEXT) rfc822valid.$(OBJEXT) \
++  fm_getaddrinfo.$(OBJEXT) starttls.$(OBJEXT) rfc822valid.$(OBJEXT) \
+   sdump.$(OBJEXT) x509_name_match.$(OBJEXT) md5c.$(OBJEXT) \
+   $(am__objects_1)
+ libfm_a_OBJECTS = $(am_libfm_a_OBJECTS)
+@@ -483,7 +483,7 @@ libfm_a_SOURCES = xmalloc.c base64.c rfc
+   servport.c ntlm.h smbbyteorder.h smbdes.h smbmd4.h \
+   smbencrypt.h smbdes.c smbencrypt.c smbmd4.c smbutil.c \
+   libesmtp/gethostbyname.h libesmtp/gethostbyname.c smbtypes.h \
+-  fm_getaddrinfo.c tls.c rfc822valid.c xmalloc.h sdump.h sdump.c \
++  fm_getaddrinfo.c starttls.c rfc822valid.c xmalloc.h sdump.h sdump.c \
+   x509_name_match.c fm_strl.h md5c.c $(am__append_1)
+ libfm_a_LIBADD = $(EXTRAOBJ)
+ libfm_a_DEPENDENCIES = $(EXTRAOBJ)
+--- fetchmail-6.3.26.orig/NEWS
 fetchmail-6.3.26/NEWS
+@@ -51,8 +51,6 @@ removed from a 6.4.0 or newer release.)
+ * The --bsmtp - mode of operation may be removed in a future release.
+ * Given that OpenSSL is severely underdocumented, and needs license 
exceptions,
+   fetchmail may switch to a different SSL library.
+-* SSLv2 support will be removed from a future fetchmail release. It has been
+-  obsolete for more than a decade.
+ 
+ 

+ 
+--- fetchmail-6.3.26.orig/README.SSL
 fetchmail-6.3.26/README.SSL
+@@ -11,36 +11,45 @@ specific to fetchmail.
+ In case of troubles, mail the README.SSL-SERVER file to your ISP and 
+ have them check their server configuration against 

[oe] [meta-oe][PATCH 03/12] openwsman: Upgrade to 2.6.5

2018-09-05 Thread Khem Raj
* Backport patches to fix build with OpenSSL 1.1.x

Signed-off-by: Khem Raj 
---
 .../0001-Port-to-OpenSSL-1.1.0.patch  | 162 ++
 ...rsion-number-to-allow-builds-with-ol.patch |  48 ++
 ...{openwsman_2.6.4.bb => openwsman_2.6.5.bb} |   7 +-
 3 files changed, 215 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/openwsman/openwsman/0001-Port-to-OpenSSL-1.1.0.patch
 create mode 100644 
meta-oe/recipes-extended/openwsman/openwsman/0002-Check-OpenSSL-version-number-to-allow-builds-with-ol.patch
 rename meta-oe/recipes-extended/openwsman/{openwsman_2.6.4.bb => 
openwsman_2.6.5.bb} (92%)

diff --git 
a/meta-oe/recipes-extended/openwsman/openwsman/0001-Port-to-OpenSSL-1.1.0.patch 
b/meta-oe/recipes-extended/openwsman/openwsman/0001-Port-to-OpenSSL-1.1.0.patch
new file mode 100644
index 00..49afa56f56
--- /dev/null
+++ 
b/meta-oe/recipes-extended/openwsman/openwsman/0001-Port-to-OpenSSL-1.1.0.patch
@@ -0,0 +1,162 @@
+From f78643d2388dd0697f83f17880403253a0596d83 Mon Sep 17 00:00:00 2001
+From: Vitezslav Crhonek 
+Date: Wed, 5 Sep 2018 11:23:46 -0700
+Subject: [PATCH 1/2] Port to OpenSSL 1.1.0
+
+Upstream-Status: Submitted [https://github.com/Openwsman/openwsman/pull/99]
+Signed-off-by: Khem Raj 
+---
+ src/lib/wsman-curl-client-transport.c |  6 +++-
+ src/server/shttpd/io_ssl.c| 17 --
+ src/server/shttpd/shttpd.c| 20 
+ src/server/shttpd/ssl.h   | 46 ---
+ 4 files changed, 12 insertions(+), 77 deletions(-)
+
+diff --git a/src/lib/wsman-curl-client-transport.c 
b/src/lib/wsman-curl-client-transport.c
+index cd7f517a..e64ad097 100644
+--- a/src/lib/wsman-curl-client-transport.c
 b/src/lib/wsman-curl-client-transport.c
+@@ -241,12 +241,16 @@ write_handler( void *ptr, size_t size, size_t nmemb, 
void *data)
+ static int ssl_certificate_thumbprint_verify_callback(X509_STORE_CTX *ctx, 
void *arg)
+ {
+   unsigned char *thumbprint = (unsigned char *)arg;
+-  X509 *cert = ctx->cert;
+   EVP_MD  *tempDigest;
+ 
+   unsigned char   tempFingerprint[EVP_MAX_MD_SIZE];
+   unsigned int  tempFingerprintLen;
+   tempDigest = (EVP_MD*)EVP_sha1( );
++
++  X509 *cert = X509_STORE_CTX_get_current_cert(ctx);
++  if(!cert)
++  return 0;
++
+   if ( X509_digest(cert, tempDigest, tempFingerprint,  
) <= 0)
+   return 0;
+   if(!memcmp(tempFingerprint, thumbprint, tempFingerprintLen))
+diff --git a/src/server/shttpd/io_ssl.c b/src/server/shttpd/io_ssl.c
+index 6de0db2a..7ac669e4 100644
+--- a/src/server/shttpd/io_ssl.c
 b/src/server/shttpd/io_ssl.c
+@@ -11,23 +11,6 @@
+ #include "defs.h"
+ 
+ #if !defined(NO_SSL)
+-struct ssl_func   ssl_sw[] = {
+-  {"SSL_free",{0}},
+-  {"SSL_accept",  {0}},
+-  {"SSL_connect", {0}},
+-  {"SSL_read",{0}},
+-  {"SSL_write",   {0}},
+-  {"SSL_get_error",   {0}},
+-  {"SSL_set_fd",  {0}},
+-  {"SSL_new", {0}},
+-  {"SSL_CTX_new", {0}},
+-  {"SSLv23_server_method",{0}},
+-  {"SSL_library_init",{0}},
+-  {"SSL_CTX_use_PrivateKey_file", {0}},
+-  {"SSL_CTX_use_certificate_file",{0}},
+-  {NULL,  {0}}
+-};
+-
+ void
+ _shttpd_ssl_handshake(struct stream *stream)
+ {
+diff --git a/src/server/shttpd/shttpd.c b/src/server/shttpd/shttpd.c
+index 5876392e..4c1dbf32 100644
+--- a/src/server/shttpd/shttpd.c
 b/src/server/shttpd/shttpd.c
+@@ -1476,20 +1476,14 @@ set_ssl(struct shttpd_ctx *ctx, const char *pem)
+   int retval = FALSE;
+   EC_KEY* key;
+ 
+-  /* Load SSL library dynamically */
+-  if ((lib = dlopen(SSL_LIB, RTLD_LAZY)) == NULL) {
+-  _shttpd_elog(E_LOG, NULL, "set_ssl: cannot load %s", SSL_LIB);
+-  return (FALSE);
+-  }
+-
+-  for (fp = ssl_sw; fp->name != NULL; fp++)
+-  if ((fp->ptr.v_void = dlsym(lib, fp->name)) == NULL) {
+-  _shttpd_elog(E_LOG, NULL,"set_ssl: cannot find %s", 
fp->name);
+-  return (FALSE);
+-  }
+-
+   /* Initialize SSL crap */
++  debug("Initialize SSL");
++  SSL_load_error_strings();
++  #if OPENSSL_VERSION_NUMBER < 0x1010L
+   SSL_library_init();
++  #else
++  OPENSSL_init_ssl(0, NULL);
++  #endif
+ 
+   if ((CTX = SSL_CTX_new(SSLv23_server_method())) == NULL)
+   _shttpd_elog(E_LOG, NULL, "SSL_CTX_new error");
+@@ -1532,7 +1526,7 @@ set_ssl(struct shttpd_ctx *ctx, const char *pem)
+   if (strncasecmp(protocols[idx].name, 
ssl_disabled_protocols, blank_ptr-ssl_disabled_protocols) == 0) {
+   //_shttpd_elog(E_LOG, NULL, "SSL: disable %s 
protocol", 

[oe] [meta-oe][PATCH 04/12] opensc: Upgrade to 0.18.0

2018-09-05 Thread Khem Raj
* Fixes build with OpenSSL 1.1.x

Signed-off-by: Khem Raj 
---
 .../opensc/{opensc_0.16.0.bb => opensc_0.18.0.bb}| 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/opensc/{opensc_0.16.0.bb => opensc_0.18.0.bb} 
(87%)

diff --git a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb 
b/meta-oe/recipes-support/opensc/opensc_0.18.0.bb
similarity index 87%
rename from meta-oe/recipes-support/opensc/opensc_0.16.0.bb
rename to meta-oe/recipes-support/opensc/opensc_0.18.0.bb
index fd67181dc2..92a3bfeffb 100644
--- a/meta-oe/recipes-support/opensc/opensc_0.16.0.bb
+++ b/meta-oe/recipes-support/opensc/opensc_0.18.0.bb
@@ -11,8 +11,8 @@ SECTION = "System Environment/Libraries"
 
 SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
 
-SRC_URI[md5sum] = "724d128f23cd7a74b28d04300ce7bcbd"
-SRC_URI[sha256sum] = 
"3ac8c29542bb48179e7086d35a1b8907a4e86aca3de3323c2f48bd74eaaf5729"
+SRC_URI[md5sum] = "bce516f752e0db5327aa06cc0136fe27"
+SRC_URI[sha256sum] = 
"6ef62b00e8fdbe3e386c3ee25c2cadb56c1931ea42f1a11dce8c947f51b45033"
 
 DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
 
@@ -21,6 +21,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
 
 inherit autotools pkgconfig
 
+S = "${WORKDIR}/OpenSC-${PV}"
 EXTRA_OECONF = " \
 --disable-static \
 --enable-openct \
-- 
2.18.0

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


[oe] [meta-oe][PATCH 01/12] asio: Upgrade to 1.12.1

2018-09-05 Thread Khem Raj
* Fixes build with openSSL 1.1.x
* Merge .inc into .bb its a single recipe using it

License-Update: Change Copyright years

Signed-off-by: Khem Raj 
---
 ...ndle-glibc-variant-of-strerror_r-wit.patch | 46 -
 ...e-POSIX-poll.h-instead-of-sys-poll.h.patch | 64 ---
 meta-oe/recipes-support/asio/asio_1.10.6.bb   | 11 
 .../asio/{asio.inc => asio_1.12.1.bb} |  7 ++
 4 files changed, 7 insertions(+), 121 deletions(-)
 delete mode 100644 
meta-oe/recipes-support/asio/asio/0001-Automatically-handle-glibc-variant-of-strerror_r-wit.patch
 delete mode 100644 
meta-oe/recipes-support/asio/asio/0001-use-POSIX-poll.h-instead-of-sys-poll.h.patch
 delete mode 100644 meta-oe/recipes-support/asio/asio_1.10.6.bb
 rename meta-oe/recipes-support/asio/{asio.inc => asio_1.12.1.bb} (63%)

diff --git 
a/meta-oe/recipes-support/asio/asio/0001-Automatically-handle-glibc-variant-of-strerror_r-wit.patch
 
b/meta-oe/recipes-support/asio/asio/0001-Automatically-handle-glibc-variant-of-strerror_r-wit.patch
deleted file mode 100644
index 4244b97a8c..00
--- 
a/meta-oe/recipes-support/asio/asio/0001-Automatically-handle-glibc-variant-of-strerror_r-wit.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 45c855400842fd40f200ae9b7abf9debf4ab5436 Mon Sep 17 00:00:00 2001
-From: Christopher Kohlhoff 
-Date: Sun, 28 Aug 2016 09:21:53 +1000
-Subject: [PATCH] Automatically handle glibc variant of strerror_r without
- #ifdefs.
-

-Upstream-Status: Backport 
https://github.com/chriskohlhoff/asio/commit/443bc17d13eb5e37de780ea6e23157493cf7b3b9
- include/asio/impl/error_code.ipp | 16 +++-
- 1 file changed, 7 insertions(+), 9 deletions(-)
-
-diff --git a/include/asio/impl/error_code.ipp 
b/include/asio/impl/error_code.ipp
-index ccb70dd..a117658 100644
 a/include/asio/impl/error_code.ipp
-+++ b/include/asio/impl/error_code.ipp
-@@ -97,20 +97,18 @@ public:
- #if defined(__sun) || defined(__QNX__) || defined(__SYMBIAN32__)
- using namespace std;
- return strerror(value);
--#elif defined(__MACH__) && defined(__APPLE__) \
--  || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) \
--  || defined(_AIX) || defined(__hpux) || defined(__osf__) \
--  || defined(__ANDROID__)
--char buf[256] = "";
--using namespace std;
--strerror_r(value, buf, sizeof(buf));
--return buf;
- #else
- char buf[256] = "";
--return strerror_r(value, buf, sizeof(buf));
-+using namespace std;
-+return strerror_result(strerror_r(value, buf, sizeof(buf)), buf);
- #endif
- #endif // defined(ASIO_WINDOWS)
-   }
-+
-+private:
-+  // Helper function to adapt the result from glibc's variant of strerror_r.
-+  static const char* strerror_result(int, const char* s) { return s; }
-+  static const char* strerror_result(const char* s, const char*) { return s; }
- };
- 
- } // namespace detail
--- 
-2.9.3
-
diff --git 
a/meta-oe/recipes-support/asio/asio/0001-use-POSIX-poll.h-instead-of-sys-poll.h.patch
 
b/meta-oe/recipes-support/asio/asio/0001-use-POSIX-poll.h-instead-of-sys-poll.h.patch
deleted file mode 100644
index 7f95f5a25e..00
--- 
a/meta-oe/recipes-support/asio/asio/0001-use-POSIX-poll.h-instead-of-sys-poll.h.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-From dac36a170188917e2f61b0394ba8a2f6509ddf3a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andr=C3=A9=20Draszik?= 
-Date: Tue, 8 Nov 2016 20:39:55 +
-Subject: [PATCH] use POSIX poll.h instead of sys/poll.h
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-POSIX specifies that  is the correct header to
-include for poll()
-  http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html
-whereas  is only needed for ancient glibc (<2.3),
-so let's follow POSIX instead.
-
-As a side-effect, this silences numerous compilation warnings
-when compiling against the musl C-library:
-
-In file included from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/socket_types.hpp:57:0,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/impl/error_code.ipp:29,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/error_code.hpp:185,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/throw_error.hpp:19,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/impl/posix_tss_ptr.ipp:23,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/posix_tss_ptr.hpp:74,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/tss_ptr.hpp:27,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/detail/call_stack.hpp:20,
- from 
../../../../asio-1.10.6/src/examples/cpp03/../../../include/asio/impl/handler_alloc_hook.ipp:19,
- from 

[oe] [meta-oe][PATCH 02/12] libtorrent: Upgrade to latest 0.13.7+master

2018-09-05 Thread Khem Raj
* Fixes build with OpenSSL 1.1.x
* Adjust patches to rebase on top of current master

Signed-off-by: Khem Raj 
---
 ...t-run-code-while-configuring-package.patch | 98 +++
 .../libtorrent/libtorrent_git.bb  |  4 +-
 2 files changed, 18 insertions(+), 84 deletions(-)

diff --git 
a/meta-oe/recipes-connectivity/libtorrent/libtorrent/don-t-run-code-while-configuring-package.patch
 
b/meta-oe/recipes-connectivity/libtorrent/libtorrent/don-t-run-code-while-configuring-package.patch
index 79d4f29fab..8d8867aea7 100644
--- 
a/meta-oe/recipes-connectivity/libtorrent/libtorrent/don-t-run-code-while-configuring-package.patch
+++ 
b/meta-oe/recipes-connectivity/libtorrent/libtorrent/don-t-run-code-while-configuring-package.patch
@@ -4,91 +4,25 @@ cross-compiling. Don't run code while configuring package.
 Upstream-Status: Pending
 Signed-off-by: Andrei Gherzan 
 
-Index: libtorrent-0.13.3/scripts/checks.m4
+Index: git/scripts/common.m4
 ===
 libtorrent-0.13.3.orig/scripts/checks.m4   2012-05-14 14:17:04.0 
+0300
-+++ libtorrent-0.13.3/scripts/checks.m42013-02-10 15:28:37.414445524 
+0200
-@@ -95,40 +95,6 @@
-
- AC_DEFUN([TORRENT_CHECK_KQUEUE_SOCKET_ONLY], [
-   AC_MSG_CHECKING(whether kqueue supports pipes and ptys)
--
--  AC_RUN_IFELSE([AC_LANG_SOURCE([
--  #include 
--  #include 
--  #include 
--  #include 
--  #include 
--  int main() {
--struct kevent ev@<:@2@:>@, ev_out@<:@2@:>@;
--struct timespec ts = { 0, 0 };
--int pfd@<:@2@:>@, pty@<:@2@:>@, kfd, n;
--char buffer@<:@9001@:>@;
--if (pipe(pfd) == -1) return 1;
--if (fcntl(pfd@<:@1@:>@, F_SETFL, O_NONBLOCK) == -1) return 2;
--while ((n = write(pfd@<:@1@:>@, buffer, sizeof(buffer))) == 
sizeof(buffer));
--if ((pty@<:@0@:>@=posix_openpt(O_RDWR | O_NOCTTY)) == -1) return 3;
--if ((pty@<:@1@:>@=grantpt(pty@<:@0@:>@)) == -1) return 4;
--EV_SET(ev+0, pfd@<:@1@:>@, EVFILT_WRITE, EV_ADD | EV_ENABLE, 0, 0, 
NULL);
--EV_SET(ev+1, pty@<:@1@:>@, EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, 
NULL);
--if ((kfd = kqueue()) == -1) return 5;
--if ((n = kevent(kfd, ev, 2, NULL, 0, NULL)) == -1) return 6;
--if (ev_out@<:@0@:>@.flags & EV_ERROR) return 7;
--if (ev_out@<:@1@:>@.flags & EV_ERROR) return 8;
--read(pfd@<:@0@:>@, buffer, sizeof(buffer));
--if ((n = kevent(kfd, NULL, 0, ev_out, 2, )) < 1) return 9;
--return 0;
--  }
--  ])],
--[
--  AC_MSG_RESULT(yes)
--], [
--  AC_DEFINE(KQUEUE_SOCKET_ONLY, 1, kqueue only supports sockets.)
--  AC_MSG_RESULT(no)
--])
- ])
-
- AC_DEFUN([TORRENT_WITH_KQUEUE], [
-Index: libtorrent-0.13.3/scripts/common.m4
-===
 libtorrent-0.13.3.orig/scripts/common.m4   2012-05-14 14:17:04.0 
+0300
-+++ libtorrent-0.13.3/scripts/common.m42013-02-10 15:27:55.874446741 
+0200
-@@ -222,38 +222,10 @@
-
+--- git.orig/scripts/common.m4
 git/scripts/common.m4
+@@ -153,7 +153,7 @@ dnl   Need to fix this so that it uses t
  AC_DEFUN([TORRENT_CHECK_EXECINFO], [
AC_MSG_CHECKING(for execinfo.h)
--
--  AC_RUN_IFELSE([AC_LANG_SOURCE([
--  #include 
--  int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); 
return 0;}
--  ])],
--[
--  AC_MSG_RESULT(yes)
--  AC_DEFINE(USE_EXECINFO, 1, Use execinfo.h)
--], [
--  AC_MSG_RESULT(no)
--  ])
- ])
-
+ 
+-  AC_COMPILE_IFELSE([AC_LANG_SOURCE([
++  AC_LINK_IFELSE([AC_LANG_SOURCE([
+   #include 
+   int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); 
return 0;}
+   ])],
+@@ -168,7 +168,7 @@ AC_DEFUN([TORRENT_CHECK_EXECINFO], [
  AC_DEFUN([TORRENT_CHECK_ALIGNED], [
AC_MSG_CHECKING(the byte alignment)
--
+ 
 -  AC_RUN_IFELSE([AC_LANG_SOURCE([
--  #include 
--  int main() {
--char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };
--  int i;
--for (i = 1; i < 4; ++i)
--if (*(uint32_t*)(buf + i) == 0) return -1;
--  return 0;
--  }
--  ])],
--[
--  AC_MSG_RESULT(none needed)
--], [
--  AC_DEFINE(USE_ALIGNED, 1, Require byte alignment)
--  AC_MSG_RESULT(required)
--  ])
- ])
-
-
++  AC_LINK_IFELSE([AC_LANG_SOURCE([
+   #include 
+   int main() {
+ char buf@<:@8@:>@ = { 0, 0, 0, 0, 1, 0, 0, 0 };
diff --git a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb 
b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
index 92e65289a9..b2dffcdb91 100644
--- a/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
+++ b/meta-oe/recipes-connectivity/libtorrent/libtorrent_git.bb
@@ -11,9 +11,9 @@ SRC_URI = "git://github.com/rakshasa/libtorrent \
file://0001-implement-64bit-atomic-for-mips.patch \
file://0001-Define-64bit-atomic-helpers-for-ppc-32-bit.patch \
 

[oe] [PATCH] pmdk: Initial commit of the PMDK SDK

2018-09-05 Thread Alistair Francis
Signed-off-by: Alistair Francis 
---
 ...c.cfg-Specify-the-host-when-building.patch | 29 +++
 ...0002-Makefile-Don-t-install-the-docs.patch | 26 ++
 meta-oe/recipes-extended/pmdk/pmdk_1.4.1.bb   | 49 +++
 3 files changed, 104 insertions(+)
 create mode 100644 
meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
 create mode 100644 
meta-oe/recipes-extended/pmdk/files/0002-Makefile-Don-t-install-the-docs.patch
 create mode 100644 meta-oe/recipes-extended/pmdk/pmdk_1.4.1.bb

diff --git 
a/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
 
b/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
new file mode 100644
index 0..747538b0c
--- /dev/null
+++ 
b/meta-oe/recipes-extended/pmdk/files/0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch
@@ -0,0 +1,29 @@
+From 2a22dc96c3bbb5c9bbcc008f58d4f5c64e3d19e6 Mon Sep 17 00:00:00 2001
+From: Alistair Francis 
+Date: Mon, 23 Jul 2018 11:23:39 -0700
+Subject: [PATCH] jemalloc/jemalloc.cfg: Specify the host when building
+ jemalloc
+
+To avoid this error:
+configure: error: cannot run C compiled programs.
+If you meant to cross compile, use `--host'.
+when cross compiling specify the host when configuring jemalloc.
+
+Signed-off-by: Alistair Francis 
+Upstream-Status: Inappropriate [configuration]
+---
+ src/jemalloc/jemalloc.cfg | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/jemalloc/jemalloc.cfg b/src/jemalloc/jemalloc.cfg
+index 196129de6..79ebbab1c 100644
+--- a/src/jemalloc/jemalloc.cfg
 b/src/jemalloc/jemalloc.cfg
+@@ -3,3 +3,4 @@
+ --with-private-namespace=je_vmem_
+ --disable-xmalloc
+ --disable-munmap
++--host=${HOST_SYS}
+-- 
+2.17.1
+
diff --git 
a/meta-oe/recipes-extended/pmdk/files/0002-Makefile-Don-t-install-the-docs.patch
 
b/meta-oe/recipes-extended/pmdk/files/0002-Makefile-Don-t-install-the-docs.patch
new file mode 100644
index 0..bd1b97c24
--- /dev/null
+++ 
b/meta-oe/recipes-extended/pmdk/files/0002-Makefile-Don-t-install-the-docs.patch
@@ -0,0 +1,26 @@
+From 460a96e390cb80278784cfe36629e280fe7ffef7 Mon Sep 17 00:00:00 2001
+From: Alistair Francis 
+Date: Mon, 23 Jul 2018 11:31:17 -0700
+Subject: [PATCH 2/2] Makefile: Don't install the docs
+
+Signed-off-by: Alistair Francis 
+Upstream-Status: Inappropriate [disable feature]
+---
+ Makefile | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 224a315f6..ce7f84afb 100644
+--- a/Makefile
 b/Makefile
+@@ -144,7 +144,6 @@ rpm dpkg: pkg-clean source
+ 
+ install uninstall:
+   $(MAKE) -C src $@
+-  $(MAKE) -C doc $@
+ 
+ .PHONY: all clean clobber test check cstyle check-license install uninstall\
+   source rpm dpkg pkg-clean pcheck check-remote format doc $(SUBDIRS)
+-- 
+2.17.1
+
diff --git a/meta-oe/recipes-extended/pmdk/pmdk_1.4.1.bb 
b/meta-oe/recipes-extended/pmdk/pmdk_1.4.1.bb
new file mode 100644
index 0..90d51e3f8
--- /dev/null
+++ b/meta-oe/recipes-extended/pmdk/pmdk_1.4.1.bb
@@ -0,0 +1,49 @@
+SUMMARY = "Persistent Memory Development Kit"
+DESCRIPTION = "Persistent Memory Development Kit"
+HOMEPAGE = "http://pmem.io;
+SECTION = "libs"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=7db1106255a1baa80391fd2e21eebab7"
+DEPENDS = "ndctl"
+
+SRC_URI = "https://github.com/pmem/${BPN}/archive/${PV}.tar.gz \
+   
file://0001-jemalloc-jemalloc.cfg-Specify-the-host-when-building.patch \
+   file://0002-Makefile-Don-t-install-the-docs.patch \
+  "
+
+SRC_URI[md5sum] = "d9a7b3f1059ffd54b4c92e38329fe69e"
+SRC_URI[sha256sum] = 
"e11cfbbdf0773fb5965211e18044531f442ad1e6d6726f1bac8a6dcc0e092622"
+
+inherit autotools-brokensep pkgconfig
+
+# Fix jemalloc error:
+# | configure: error: cannot run C compiled programs.
+# | If you meant to cross compile, use `--host'.
+EXTRA_OEMAKE = "HOST_SYS='${HOST_SYS}'"
+
+do_install() {
+   oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+
+   # Copy these into the standard directories
+   install -d ${D}${bindir}/
+   mv ${D}/usr/local/bin/pmempool ${D}${bindir}/
+   mv ${D}/usr/local/bin/daxio ${D}${bindir}/
+
+   install -d ${D}${libdir}
+   mv ${D}/usr/local/lib/*so* ${D}${libdir}/
+
+   install -d ${D}${libdir}/pkgconfig
+   mv ${D}/usr/local/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig/
+
+   install -d ${D}${includedir}
+   mv ${D}/usr/local/include/* ${D}${includedir}/
+
+   # Remove uneeded files
+   rm -rf ${D}/usr/local/
+}
+
+# Include these by default otherwise the SDK is not very useful
+FILES_${PN} += "${bindir}/pmempool ${bindir}/daxio"
+FILES_${PN} += "${libdir}/*so*"
+FILES_${PN} += "${libdir}/pkgconfig/*.pc"
+FILES_${PN} += "${includedir}/libpmemobj++/* ${includedir}/libpmemobj/*"
-- 
2.17.1

-- 
___
Openembedded-devel mailing list

[oe] [PATCH 3/3] vim/vim-tiny: upgrade 8.1.0172 -> 8.1.0347

2018-09-05 Thread Randy MacLeod
The license file changed because the vim format tag
on the last line of the file changed. Specify the
the license end line to avoid this problem.

Signed-off-by: Randy MacLeod 
---
 .../vim/{vim-tiny_8.1.0172.bb => vim-tiny_8.1.0347.bb}| 0
 .../recipes-support/vim/{vim_8.1.0172.bb => vim_8.1.0347.bb}  | 4 ++--
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/vim/{vim-tiny_8.1.0172.bb => 
vim-tiny_8.1.0347.bb} (100%)
 rename meta-oe/recipes-support/vim/{vim_8.1.0172.bb => vim_8.1.0347.bb} (96%)

diff --git a/meta-oe/recipes-support/vim/vim-tiny_8.1.0172.bb 
b/meta-oe/recipes-support/vim/vim-tiny_8.1.0347.bb
similarity index 100%
rename from meta-oe/recipes-support/vim/vim-tiny_8.1.0172.bb
rename to meta-oe/recipes-support/vim/vim-tiny_8.1.0347.bb
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0172.bb 
b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
similarity index 96%
rename from meta-oe/recipes-support/vim/vim_8.1.0172.bb
rename to meta-oe/recipes-support/vim/vim_8.1.0347.bb
index 371fe35ee..8713d66ed 100644
--- a/meta-oe/recipes-support/vim/vim_8.1.0172.bb
+++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
@@ -6,13 +6,13 @@ DEPENDS = "ncurses gettext-native"
 # vimdiff doesn't like busybox diff
 RSUGGESTS_${PN} = "diffutils"
 LICENSE = "vim"
-LIC_FILES_CHKSUM = 
"file://../runtime/doc/uganda.txt;md5=b6eb9d541de3933cc8f48125ae0335fe"
+LIC_FILES_CHKSUM = 
"file://../runtime/doc/uganda.txt;endline=287;md5=f1f82b42360005c70b8c19b0ef493f72"
 
 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 = "c229e54a69468722ca2449e807e90445b7479659"
+SRCREV = "f1c118be93184e8e57e3e80b1b3383f464ed649e"
 
 S = "${WORKDIR}/git/src"
 
-- 
2.17.0

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


[oe] [PATCH 2/3] hwdata: 0.312 -> 0.315

2018-09-05 Thread Randy MacLeod
Signed-off-by: Randy MacLeod 
---
 meta-oe/recipes-support/hwdata/hwdata_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/hwdata/hwdata_git.bb 
b/meta-oe/recipes-support/hwdata/hwdata_git.bb
index 83b72535c..a1c8ac746 100644
--- a/meta-oe/recipes-support/hwdata/hwdata_git.bb
+++ b/meta-oe/recipes-support/hwdata/hwdata_git.bb
@@ -5,8 +5,8 @@ SECTION = "System/Base"
 LICENSE = "GPL-2.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=1556547711e8246992b999edd9445a57"
 
-PV = "0.312+git${SRCPV}"
-SRCREV = "016be785fd4f5f895c6482ec484507d5a08839fa"
+PV = "0.315+git${SRCPV}"
+SRCREV = "1b8bae6352cf91d745d2205f91594e6cb8690ca8"
 SRC_URI = "git://github.com/vcrhonek/${BPN}.git"
 
 S = "${WORKDIR}/git"
-- 
2.17.0

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


[oe] [PATCH 1/3] lftp: update from 4.8.3 to 4.8.4

2018-09-05 Thread Randy MacLeod
Drop upstreamed CVE fix:
   a27e07d9 mirror: prepend ./ to rm and chmod arguments to avoid URL 
recognition (fix #452)

Signed-off-by: Randy MacLeod 
---
 .../lftp/files/CVE-2018-10916.patch   | 82 ---
 .../lftp/{lftp_4.8.3.bb => lftp_4.8.4.bb} |  5 +-
 2 files changed, 2 insertions(+), 85 deletions(-)
 delete mode 100644 
meta-networking/recipes-connectivity/lftp/files/CVE-2018-10916.patch
 rename meta-networking/recipes-connectivity/lftp/{lftp_4.8.3.bb => 
lftp_4.8.4.bb} (87%)

diff --git 
a/meta-networking/recipes-connectivity/lftp/files/CVE-2018-10916.patch 
b/meta-networking/recipes-connectivity/lftp/files/CVE-2018-10916.patch
deleted file mode 100644
index c0e87d942..0
--- a/meta-networking/recipes-connectivity/lftp/files/CVE-2018-10916.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-From a27e07d90a4608ceaf928b1babb27d4d803e1992 Mon Sep 17 00:00:00 2001
-From: "Alexander V. Lukyanov" 
-Date: Tue, 31 Jul 2018 10:57:35 +0300
-Subject: [PATCH] mirror: prepend ./ to rm and chmod arguments to avoid URL
- recognition (fix #452)
-
-CVE: CVE-2018-10916
-Upstream-Status: Backport from v4.8.4
-
-Signed-off-by: Jagadeesh Krishnanjanappa 

- src/MirrorJob.cc | 24 +---
- 1 file changed, 9 insertions(+), 15 deletions(-)
-
-diff --git a/src/MirrorJob.cc b/src/MirrorJob.cc
-index cf106c40..0be45431 100644
 a/src/MirrorJob.cc
-+++ b/src/MirrorJob.cc
-@@ -1164,24 +1164,21 @@ int   MirrorJob::Do()
-   }
-   continue;
-}
-+   bool use_rmdir = (file->TypeIs(file->DIRECTORY)
-+ && recursion_mode==RECURSION_NEVER);
-if(script)
-{
--  ArgV args("rm");
--  if(file->TypeIs(file->DIRECTORY))
--  {
-- if(recursion_mode==RECURSION_NEVER)
--args.setarg(0,"rmdir");
-- else
--args.Append("-r");
--  }
-+  ArgV args(use_rmdir?"rmdir":"rm");
-+  if(file->TypeIs(file->DIRECTORY) && !use_rmdir)
-+ args.Append("-r");
-   args.Append(target_session->GetFileURL(file->name));
-   xstring_ca cmd(args.CombineQuoted());
-   fprintf(script,"%s\n",cmd.get());
-}
-if(!script_only)
-{
--  ArgV *args=new ArgV("rm");
--  args->Append(file->name);
-+  ArgV *args=new ArgV(use_rmdir?"rmdir":"rm");
-+  args->Append(dir_file(".",file->name));
-   args->seek(1);
-   rmJob *j=new rmJob(target_session->Clone(),args);
-   args->CombineTo(j->cmdline);
-@@ -1189,10 +1186,7 @@ int   MirrorJob::Do()
-   if(file->TypeIs(file->DIRECTORY))
-   {
-  if(recursion_mode==RECURSION_NEVER)
-- {
--args->setarg(0,"rmdir");
- j->Rmdir();
-- }
-  else
- j->Recurse();
-   }
-@@ -1258,7 +1252,7 @@ int   MirrorJob::Do()
-if(!script_only)
-{
-   ArgV *a=new ArgV("chmod");
--  a->Append(file->name);
-+  a->Append(dir_file(".",file->name));
-   a->seek(1);
-   ChmodJob *cj=new ChmodJob(target_session->Clone(),
-file->mode&~mode_mask,a);
-@@ -1380,7 +1374,7 @@ int   MirrorJob::Do()
-if(!script_only)
-{
-   ArgV *args=new ArgV("rm");
--  args->Append(file->name);
-+  args->Append(dir_file(".",file->name));
-   args->seek(1);
-   rmJob *j=new rmJob(source_session->Clone(),args);
-   args->CombineTo(j->cmdline);
--- 
-2.13.3
-
diff --git a/meta-networking/recipes-connectivity/lftp/lftp_4.8.3.bb 
b/meta-networking/recipes-connectivity/lftp/lftp_4.8.4.bb
similarity index 87%
rename from meta-networking/recipes-connectivity/lftp/lftp_4.8.3.bb
rename to meta-networking/recipes-connectivity/lftp/lftp_4.8.4.bb
index e0b6bebad..bf793d91d 100644
--- a/meta-networking/recipes-connectivity/lftp/lftp_4.8.3.bb
+++ b/meta-networking/recipes-connectivity/lftp/lftp_4.8.4.bb
@@ -8,10 +8,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
 SRC_URI = "http://lftp.yar.ru/ftp/lftp-${PV}.tar.bz2 \
file://fix-gcc-6-conflicts-signbit.patch \
-   file://CVE-2018-10916.patch \
   "
-SRC_URI[md5sum] = "12b1fcbf13f41e9cdb0903fc670fa1f1"
-SRC_URI[sha256sum] = 
"c4159f056afee41866a6c2d639655bc351e6d3486bbe7758eaedb24f6a4239d5"
+SRC_URI[md5sum] = "a56b5047dbfda052df4c1dfd197aa092"
+SRC_URI[sha256sum] = 
"a853edbd075b008c315679c7882b6dcc6821ed2365d2ed843a412acd3d40da0e"
 
 inherit autotools gettext pkgconfig
 
-- 
2.17.0

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


[oe] [meta-initramfs][PATCH] kexec-tools-klibc: remove unneeded x86-64 patch

2018-09-05 Thread Andrea Adami
The issue with -mcmodel=large is already solved by the oe-core's patch

 "kexec-x32.patch"

so we can remove this one.

Signed-off-by: Andrea Adami 
---
 ...4-purgatory-Makefile-remove-unknown-flags.patch | 35 --
 .../recipes-kernel/kexec/kexec-tools-klibc_git.bb  |  3 +-
 2 files changed, 1 insertion(+), 37 deletions(-)
 delete mode 100644 
meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch

diff --git 
a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
deleted file mode 100644
index 0ec880c..000
--- 
a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/x86-64-purgatory-Makefile-remove-unknown-flags.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 9453599fd833794fb5d87cab2622de286144ed54 Mon Sep 17 00:00:00 2001
-From: Andrea Adami 
-Date: Wed, 18 Apr 2018 22:30:17 +0200
-Subject: [PATCH 6/6] purgatory: Makefile: remove unknown flags
-
-Fix
-
- x86_64-oe-linux-musl-ld: unrecognised emulation mode: cmodel=large
- Supported emulations: elf_x86_64 elf32_x86_64 elf_i386 elf_iamcu
-   i386linux elf_l1om elf_k1om
- ../kexec-tools-2.0.17-rc1/purgatory/Makefile:67:
- recipe for target 'purgatory/purgatory.ro' failed
-
-Upstream-Status: Inappropriate [embedded specific]
-Signed-off-by: Andrea Adami 
-

- purgatory/arch/x86_64/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/purgatory/arch/x86_64/Makefile b/purgatory/arch/x86_64/Makefile
-index 7300937..73f6932 100644
 a/purgatory/arch/x86_64/Makefile
-+++ b/purgatory/arch/x86_64/Makefile
-@@ -24,5 +24,5 @@ x86_64_PURGATORY_SRCS += purgatory/arch/i386/console-x86.c
- x86_64_PURGATORY_SRCS += purgatory/arch/i386/pic.c
- 
- ifeq ($(SUBARCH),64)
--x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
-+#x86_64_PURGATORY_EXTRA_CFLAGS = -mcmodel=large
- endif
-
--- 
-2.7.4
-
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
index 4bbda4c..92ab7e6 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
@@ -46,8 +46,7 @@ SRC_URI_append_x86 = " file://x86_sys_io.patch 
file://x86_basename.patch \
file://x86_vfscanf.patch file://x86_kexec_test.patch"
 
 SRC_URI_append_x86-64 = " file://x86_sys_io.patch file://x86_basename.patch \
-  file://x86_vfscanf.patch file://x86_kexec_test.patch 
\
-  
file://x86-64-purgatory-Makefile-remove-unknown-flags.patch"
+  file://x86_vfscanf.patch file://x86_kexec_test.patch"
 
 SRC_URI_append_aarch64 = " 
file://arm64_purgatory-Makefile-remove-unknown-flags.patch \

file://arm64_kexec-image-header.h-add-missing-le64toh.patch \
-- 
2.7.4

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


[oe] [sumo][meta-networking][PATCH] split net-snmp-libs into smaller packages

2018-09-05 Thread Alexander Filippov
By default `net-snmp-libs` contains all compiled libs.
This commit splits `net-snmp-libs` into subpackages for each library.

This allows for smaller resulting image due to finer packaging.

Signed-off-by: Alexander Filippov 
---
 .../recipes-protocols/net-snmp/net-snmp_5.7.3.bb   | 23 ++
 1 file changed, 19 insertions(+), 4 deletions(-)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
index faf73a563..4ea0a5915 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
@@ -173,17 +173,21 @@ net_snmp_sysroot_preprocess () {
 fi
 }
 
-PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client 
${PN}-server-snmpd ${PN}-server-snmptrapd"
+PACKAGES += "${PN}-libs ${PN}-mibs ${PN}-server ${PN}-client \
+ ${PN}-server-snmpd ${PN}-server-snmptrapd \
+ ${PN}-lib-netsnmp ${PN}-lib-agent ${PN}-lib-helpers \
+ ${PN}-lib-mibs ${PN}-lib-trapd"
 
 # perl module
 PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'perl', 
'${PN}-perl-modules', '', d)}"
 
 ALLOW_EMPTY_${PN} = "1"
 ALLOW_EMPTY_${PN}-server = "1"
+ALLOW_EMPTY_${PN}-libs = "1"
 
 FILES_${PN}-perl-modules = "${libdir}/perl/*"
 
-FILES_${PN}-libs = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-libs = ""
 FILES_${PN}-mibs = "${datadir}/snmp/mibs"
 FILES_${PN}-server-snmpd = "${sbindir}/snmpd \
 ${sysconfdir}/snmp/snmpd.conf \
@@ -196,6 +200,12 @@ FILES_${PN}-server-snmptrapd = "${sbindir}/snmptrapd \
 ${systemd_unitdir}/system/snmptrapd.service \
 "
 
+FILES_${PN}-lib-netsnmp = "${libdir}/libnetsnmp${SOLIBS}"
+FILES_${PN}-lib-agent = "${libdir}/libnetsnmpagent${SOLIBS}"
+FILES_${PN}-lib-helpers = "${libdir}/libnetsnmphelpers${SOLIBS}"
+FILES_${PN}-lib-mibs = "${libdir}/libnetsnmpmibs${SOLIBS}"
+FILES_${PN}-lib-trapd = "${libdir}/libnetsnmptrapd${SOLIBS}"
+
 FILES_${PN} = ""
 FILES_${PN}-client = "${bindir}/* ${datadir}/snmp/"
 FILES_${PN}-dbg += "${libdir}/.debug/ ${sbindir}/.debug/ ${bindir}/.debug/"
@@ -219,10 +229,15 @@ SYSTEMD_SERVICE_${PN}-server-snmptrapd =  
"snmptrapd.service"
 RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'perl', 
'net-snmp-perl-modules', '', d)}"
 RDEPENDS_${PN} += "net-snmp-client"
 RDEPENDS_${PN}-server-snmpd += "net-snmp-mibs"
-RDEPENDS_${PN}-server-snmptrapd += "net-snmp-server-snmpd"
+RDEPENDS_${PN}-server-snmptrapd += "net-snmp-server-snmpd ${PN}-lib-trapd"
 RDEPENDS_${PN}-server += "net-snmp-server-snmpd net-snmp-server-snmptrapd"
 RDEPENDS_${PN}-client += "net-snmp-mibs net-snmp-libs"
-RDEPENDS_${PN}-libs += "libpci"
+RDEPENDS_${PN}-libs += "libpci \
+${PN}-lib-netsnmp \
+${PN}-lib-agent \
+${PN}-lib-helpers \
+${PN}-lib-mibs \
+"
 RDEPENDS_${PN}-ptest += "perl \
  perl-module-test \
  perl-module-file-basename \
-- 
2.14.4

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


[oe] [meta-initramfs][PATCH] kexec-tools-klibc: fix build for qemuarm64

2018-09-05 Thread Andrea Adami
Since c3f043241a86 upstream the getrandom() syscall is used.
Last recipe bump overlooked that.

The syscall has been added to OE's klibc so we can fix this.

Signed-off-by: Andrea Adami 
---
 ...-arm64.c-workaround-for-getrandom-syscall.patch | 61 ++
 .../recipes-kernel/kexec/kexec-tools-klibc_git.bb  |  3 +-
 2 files changed, 63 insertions(+), 1 deletion(-)
 create mode 100644 
meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch

diff --git 
a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch
 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch
new file mode 100644
index 000..b22ac3a
--- /dev/null
+++ 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch
@@ -0,0 +1,61 @@
+From 10afeecd10499fbd64b2c68d3b076c6906df441f Mon Sep 17 00:00:00 2001
+From: Andrea Adami 
+Date: Wed, 5 Sep 2018 17:07:48 +0200
+Subject: [PATCH] kexec-arm64.c: workaround for getrandom() syscall
+
+The syscall was added to OE's klibc.
+Fix
+
+| ../git/kexec/arch/arm64/kexec-arm64.c:19:10: fatal error: syscall.h: No such 
file or directory
+|  #include 
+
+and
+
+| ../git/kexec/arch/arm64/kexec-arm64.c: In function 'setup_2nd_dtb':
+| ../git/kexec/arch/arm64/kexec-arm64.c:499:12: warning: implicit declaration 
of function 'getrandom'; did you mean 'srandom'? 
[-Wimplicit-function-declaration]
+|result = getrandom(_val64,
+
+
+Upstream-Status: Inappropriate [klibc specific]
+Signed-off-by: Andrea Adami 
+---
+ kexec/arch/arm64/kexec-arm64.c | 12 +++-
+ 1 file changed, 11 insertions(+), 1 deletion(-)
+
+diff --git a/kexec/arch/arm64/kexec-arm64.c b/kexec/arch/arm64/kexec-arm64.c
+index 7a12479..8a7f5c5 100644
+--- a/kexec/arch/arm64/kexec-arm64.c
 b/kexec/arch/arm64/kexec-arm64.c
+@@ -16,7 +16,11 @@
+ #include 
+ 
+ #include 
++
++#ifndef __KLIBC__
+ #include 
++#endif
++
+ #include 
+ #include 
+ 
+@@ -487,10 +491,16 @@ static int setup_2nd_dtb(struct dtb *dtb, char 
*command_line, int on_crash)
+* have a valid random seed to pass to the
+* secondary kernel.
+*/
++#ifndef __KLIBC__
+   result = syscall(SYS_getrandom, _val64,
+   sizeof(fdt_val64),
+   GRND_NONBLOCK);
+-
++#else
++  extern ssize_t getrandom(void *, size_t, unsigned int);
++  result = getrandom(_val64,
++  sizeof(fdt_val64),
++  GRND_NONBLOCK);
++#endif
+   if(result == -1) {
+   dbgprintf("%s: Reading random bytes failed.\n",
+   __func__);
+-- 
+2.7.4
+
diff --git a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb 
b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
index d6d3dc8..4bbda4c 100644
--- a/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
+++ b/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc_git.bb
@@ -51,7 +51,8 @@ SRC_URI_append_x86-64 = " file://x86_sys_io.patch 
file://x86_basename.patch \
 
 SRC_URI_append_aarch64 = " 
file://arm64_purgatory-Makefile-remove-unknown-flags.patch \

file://arm64_kexec-image-header.h-add-missing-le64toh.patch \
-   file://arm64-crashdump-arm64.c-fix-warning.patch"
+   file://arm64-crashdump-arm64.c-fix-warning.patch \
+   
file://arm64_kexec-arm64.c-workaround-for-getrandom-syscall.patch"
 
 SRC_URI_append_powerpc = " 
file://powerpc-purgatory-Makefile-remove-unknown-flags.patch"
 
-- 
2.7.4

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


[oe] [meta-oe][PATCH 2/2] sblim-sfcb: do not use 'exit 1' to postpone to first boot

2018-09-05 Thread Hongxu Jia
Since `939f7f1 meta/lib/oe/rootfs.py: do not execute
defer_to_first_boot when processing postinst_intercept hooks' applied
in oe-core, use defer_to_first_boot rather than `exit 1' to postpone
to first boot

Remove duplicated `systemctl enable', it is done in systemd.bbclass

Signed-off-by: Hongxu Jia 
---
 meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb | 8 +---
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb 
b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
index ffbe7ea..91c5002 100644
--- a/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
+++ b/meta-oe/recipes-extended/sblim-sfcb/sblim-sfcb_1.4.9.bb
@@ -68,14 +68,8 @@ do_install() {
 }
 
 pkg_postinst_${PN} () {
-OPTS=""
-
 if [ x"$D" != "x" ]; then
-OPTS="--root=$D"
-if type systemctl >/dev/null 2>/dev/null; then
-systemctl $OPTS ${SYSTEMD_AUTO_ENABLE} ${SYSTEMD_SERVICE}
-fi
-exit 1
+$INTERCEPT_DIR/postinst_intercept delay_to_first_boot ${PKG} 
mlprefix=${MLPREFIX}
 fi
 
 ${datadir}/sfcb/genSslCert.sh ${sysconfdir}/sfcb
-- 
2.8.1

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


[oe] [meta-oe][PATCH 1/2] gradm: do not use 'exit 1' to postpone to first boot

2018-09-05 Thread Hongxu Jia
Since `229f4e9 package.bbclass: add support for
pkg_postinst_ontarget()' applied in oe-core, use
pkg_postinst_ontarget to run postinst at first boot.

Signed-off-by: Hongxu Jia 
---
 meta-oe/recipes-support/gradm/gradm_3.1.bb | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta-oe/recipes-support/gradm/gradm_3.1.bb 
b/meta-oe/recipes-support/gradm/gradm_3.1.bb
index 1a4261a..a7d0607 100644
--- a/meta-oe/recipes-support/gradm/gradm_3.1.bb
+++ b/meta-oe/recipes-support/gradm/gradm_3.1.bb
@@ -43,10 +43,6 @@ do_install() {
 rm -rf ${D}/dev
 }
 
-pkg_postinst_${PN}() {
-# make sure running on the target
-if [ x"$D" != "x" ]; then
-exit 1
-fi
+pkg_postinst_ontarget_${PN}() {
 /bin/mknod -m 0622 /dev/grsec c 1 13
 }
-- 
2.8.1

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


[oe] [meta-networking][PATCH 2/2] esmtp: add sendmail to ALTERNATIVE_${PN}

2018-09-05 Thread mingli.yu
From: Mingli Yu 

There are several packages provide ${sbindir}/sendmail
and should add sendmail to ALTERNATIVE_${PN}
to make it work well.

And the sendmail is removed from ALTERNATIVE_${PN}
in below commit:
===
commit 7b500488115c67d657312135b48027a1c26e0955
Author: Lei Maohui 
Date:   Fri Aug 17 18:19:53 2018 -0700

  postfix,esmtp: Fix confilct error in do_rootfs

  Error: Transaction check error:
  file /usr/bin/mailq conflicts between attempted installs of 
esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64
  file /usr/bin/newaliases conflicts between attempted installs of 
esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64

  Signed-off-by: Lei Maohui 
  Signed-off-by: Khem Raj 
===

Add it back to make sendmail works normally

Signed-off-by: Mingli Yu 
---
 meta-networking/recipes-support/esmtp/esmtp_1.2.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb 
b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
index 9fb817b..663161a 100644
--- a/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
+++ b/meta-networking/recipes-support/esmtp/esmtp_1.2.bb
@@ -18,9 +18,11 @@ EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}"
 
 inherit autotools update-alternatives
 
-ALTERNATIVE_${PN} += "mailq newaliases"
+ALTERNATIVE_${PN} += "sendmail mailq newaliases"
 ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq"
 ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases"
+ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
+ALTERNATIVE_TARGET[sendmail] = "${bindir}/esmtp"
 
 ALTERNATIVE_PRIORITY = "10"
 
-- 
2.7.4

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


[oe] [meta-networking][PATCH 1/2] postfix: add sendmail to ALTERNATIVE_${PN}

2018-09-05 Thread mingli.yu
From: Mingli Yu 

There are several packages provide ${sbindir}/sendmail
and should add sendmail to ALTERNATIVE_${PN}
to make it work well.

And the sendmail is removed from ALTERNATIVE_${PN}
in below commit:
===
commit 7b500488115c67d657312135b48027a1c26e0955
Author: Lei Maohui 
Date:   Fri Aug 17 18:19:53 2018 -0700

postfix,esmtp: Fix confilct error in do_rootfs

Error: Transaction check error:
  file /usr/bin/mailq conflicts between attempted installs of 
esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64
  file /usr/bin/newaliases conflicts between attempted installs of 
esmtp-1.2-r0.x86_64 and postfix-3.2.2-r0.x86_64

Signed-off-by: Lei Maohui 
Signed-off-by: Khem Raj 
===

Add it back to make sendmail works normally

before adding it back:
 # mime-construct --to root --subject mail-20826 --encoding 7bit --string 
mail_content

 sendmail: account default not found: no configuration file available
 Error closing sendmail: non-zero exit (78) at /usr/bin/mime-construct line 572.
 # echo $?
 78

After adding it back:
 # mime-construct --to root --subject mail-20826 --encoding 7bit --string 
mail_content
 # echo $?
 0

Signed-off-by: Mingli Yu 
---
 meta-networking/recipes-daemons/postfix/postfix.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc 
b/meta-networking/recipes-daemons/postfix/postfix.inc
index 389136b..49f9f7b 100644
--- a/meta-networking/recipes-daemons/postfix/postfix.inc
+++ b/meta-networking/recipes-daemons/postfix/postfix.inc
@@ -214,9 +214,11 @@ do_install_append_class-native() {
 ln -sf ../sbin/sendmail.postfix ${D}${bindir}/mailq
 }
 
-ALTERNATIVE_${PN} += "mailq newaliases"
+ALTERNATIVE_${PN} += "sendmail mailq newaliases"
 ALTERNATIVE_TARGET[mailq] = "${bindir}/mailq"
 ALTERNATIVE_TARGET[newaliases] = "${bindir}/newaliases"
+ALTERNATIVE_TARGET[sendmail] = "${sbindir}/sendmail.postfix"
+ALTERNATIVE_LINK_NAME[sendmail] = "${sbindir}/sendmail"
 
 ALTERNATIVE_PRIORITY = "120"
 
-- 
2.7.4

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


Re: [oe] State of the world, 2018-09-02

2018-09-05 Thread Martin Jansa
On Sun, Sep 02, 2018 at 10:43:02PM -0700, Khem Raj wrote:
> http://www.openembedded.org/wiki/Bitbake_World_Status
> 
> == Number of issues - stats ==
> {| class='wikitable'
> !|Date !!colspan='4'|Failed tasks!!|Signatures
> !!colspan='15'|QA !!Comment
> |-
> || ||qemuarm ||qemuarm64 ||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
> ||qa_pseudo ||
> |-
> ||2018-09-02 ||38 ||38 ||46 ||36 ||9 ||0 ||0 ||6 ||2 ||0 ||32 ||0 ||0
> ||1 ||0 ||0 ||0 ||0 ||0 ||0 ||
> |}
> 

Sadly looks very similar to previous openssl-1.1 upgrade in 2017:
http://logs.nslu2-linux.org/buildlogs/oe/world/rocko/log.report.20170818_090627.log


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