[oe] [meta-oe][PATCH] lmsensors: Update to 3.5.0

2019-06-02 Thread Robert Joslyn
* Switch to git rather than using inconsistent GitHub archive tarballs.
* Dependency on libsysfs was removed in 3.0.1
* Remove upstreamed patch fixing musl support and refresh remaining
  patches
* Remove unnecessary conditional on systemd. The update-rc.d and systemd
  classes handle placement of these files properly.
---
 ...s-detect-print-a-special-message-whe.patch | 12 +--
 ...t-sys-io.h-header-include-to-just-gl.patch | 88 ---
 ...nsors-detect-can-t-read-the-cpu-inf.patch} | 16 ++--
 ...{lmsensors_3.4.0.bb => lmsensors_3.5.0.bb} | 47 --
 4 files changed, 33 insertions(+), 130 deletions(-)
 delete mode 100644 
meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-prog-Do-not-limit-sys-io.h-header-include-to-just-gl.patch
 rename 
meta-oe/recipes-bsp/lm_sensors/lmsensors/{0001-lm-sensors-fix-sensors-detect-can-t-read-the-cpu-inf.patch
 => 0002-lm-sensors-fix-sensors-detect-can-t-read-the-cpu-inf.patch} (86%)
 rename meta-oe/recipes-bsp/lm_sensors/{lmsensors_3.4.0.bb => 
lmsensors_3.5.0.bb} (72%)

diff --git 
a/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-lmsensors-sensors-detect-print-a-special-message-whe.patch
 
b/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-lmsensors-sensors-detect-print-a-special-message-whe.patch
index abf6e752a..337fb11dd 100644
--- 
a/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-lmsensors-sensors-detect-print-a-special-message-whe.patch
+++ 
b/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-lmsensors-sensors-detect-print-a-special-message-whe.patch
@@ -1,8 +1,8 @@
-From c4428260e7685ebaf5c26c6ecaae5a56849853e8 Mon Sep 17 00:00:00 2001
+From 05a4d54e2adc4caed507baca529089ec01f48340 Mon Sep 17 00:00:00 2001
 From: Li Zhou 
 Date: Tue, 6 Sep 2016 14:04:29 +0800
-Subject: [PATCH] lmsensors: sensors-detect: print a special message when there
- isn't enough cpu info
+Subject: [PATCH 1/2] lmsensors: sensors-detect: print a special message when
+ there isn't enough cpu info
 
 When running sensors-detect, if there isn't enough information in
 /proc/cpuinfo for this arch (e.g. ppc64), "Use of uninitialized value
@@ -18,10 +18,10 @@ Signed-off-by: Li Zhou 
  1 file changed, 6 insertions(+), 1 deletion(-)
 
 diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
-index 3c2b44f..5f62405 100755
+index 0b3b0ff2..68594cd7 100755
 --- a/prog/detect/sensors-detect
 +++ b/prog/detect/sensors-detect
-@@ -2864,7 +2864,12 @@ sub initialize_cpu_list
+@@ -3119,7 +3119,12 @@ sub initialize_cpu_list
  sub print_cpu_info
  {
my $cpu = $cpu[0];
@@ -36,5 +36,5 @@ index 3c2b44f..5f62405 100755
  
  # @i2c_adapters is a list of references to hashes, one hash per I2C/SMBus
 -- 
-1.9.1
+2.21.0
 
diff --git 
a/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-prog-Do-not-limit-sys-io.h-header-include-to-just-gl.patch
 
b/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-prog-Do-not-limit-sys-io.h-header-include-to-just-gl.patch
deleted file mode 100644
index fb3878dc3..0
--- 
a/meta-oe/recipes-bsp/lm_sensors/lmsensors/0001-prog-Do-not-limit-sys-io.h-header-include-to-just-gl.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-From 727524453f115ddc05109e9bbb3d0e60a7db9185 Mon Sep 17 00:00:00 2001
-From: Khem Raj 
-Date: Sun, 16 Jul 2017 15:05:50 -0700
-Subject: [PATCH] prog: Do not limit sys/io.h header include to just glibc
-
-musl provides it too.
-
-Signed-off-by: Khem Raj 

- prog/dump/isadump.c | 6 --
- prog/dump/isaset.c  | 6 --
- prog/dump/superio.c | 5 -
- prog/dump/util.c| 5 -
- 4 files changed, 22 deletions(-)
-
-diff --git a/prog/dump/isadump.c b/prog/dump/isadump.c
-index e0e6f00..8794537 100644
 a/prog/dump/isadump.c
-+++ b/prog/dump/isadump.c
-@@ -36,13 +36,7 @@
- #include "util.h"
- #include "superio.h"
- 
--
--/* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
- #include 
--#else
--#include 
--#endif
- 
- #ifdef __powerpc__
- unsigned long isa_io_base = 0; /* XXX for now */
-diff --git a/prog/dump/isaset.c b/prog/dump/isaset.c
-index e743755..85a4f64 100644
 a/prog/dump/isaset.c
-+++ b/prog/dump/isaset.c
-@@ -32,13 +32,7 @@
- #include 
- #include "util.h"
- 
--
--/* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
- #include 
--#else
--#include 
--#endif
- 
- #ifdef __powerpc__
- unsigned long isa_io_base = 0; /* XXX for now */
-diff --git a/prog/dump/superio.c b/prog/dump/superio.c
-index 64ef27b..906fe55 100644
 a/prog/dump/superio.c
-+++ b/prog/dump/superio.c
-@@ -20,12 +20,7 @@
- */
- 
- #include 
--
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
- #include 
--#else
--#include 
--#endif
- 
- #include "superio.h"
- 
-diff --git a/prog/dump/util.c b/prog/dump/util.c
-index 874c1b9..197fa64 100644
 a/prog/dump/util.c
-+++ b/prog/dump/util.c
-@@ -11,12 +11,7 @@
- #include 
- #include "util.h"
- 
--/* To keep glibc2 happy */
--#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
- #include 
--#else
--#include 

[oe] [meta-oe][PATCH v2] rocksdb: Turn off Werror to fix build failure due to GCC9 checks

2019-06-02 Thread zhe.he
From: He Zhe 

GCC9 introduce stricter checks, deprecated-copy and pessimizing-move, while
rocksdb uses -Werror and causes the following build error.

db/version_edit.h:178:33: error: implicitly-declared 'constexpr 
rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)' is 
deprecated [-Werror=deprecated-copy]

utilities/persistent_cache/persistent_cache_util.h:51:23: error: moving a local 
object in a return statement prevents copy elision [-Werror=pessimizing-move]

Signed-off-by: He Zhe 
---
v2: As suggested, turn off Werror instead of the two specifc check options

 meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb 
b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
index 8d84619..5ce4c74 100644
--- a/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
+++ b/meta-oe/recipes-dbs/rocksdb/rocksdb_git.bb
@@ -30,6 +30,7 @@ EXTRA_OECMAKE = "\
 -DPORTABLE=ON \
 -DWITH_TESTS=OFF \
 -DWITH_TOOLS=OFF \
+-DFAIL_ON_WARNINGS=OFF \
 "
 
 do_install_append() {
-- 
2.7.4

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


[oe] [meta-oe][PATCH] cryptsetup: Add PACKAGECONFIG options

2019-06-02 Thread Robert Joslyn
Add various PACKAGECONFIG options, keeping the default options enabled.
---
 .../cryptsetup/cryptsetup_2.1.0.bb| 51 ++-
 1 file changed, 49 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.1.0.bb 
b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.1.0.bb
index cf1d22242..51cecf5d2 100644
--- a/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.1.0.bb
+++ b/meta-oe/recipes-crypto/cryptsetup/cryptsetup_2.1.0.bb
@@ -9,7 +9,12 @@ SECTION = "console"
 LICENSE = "GPL-2.0-with-OpenSSL-exception"
 LIC_FILES_CHKSUM = "file://COPYING;md5=32107dd283b1dfeb66c9b3e6be312326"
 
-DEPENDS = "util-linux libdevmapper popt libgcrypt json-c"
+DEPENDS = " \
+json-c \
+libdevmapper \
+popt \
+util-linux \
+"
 
 SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/${BPN}/v${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}/${BP}.tar.xz"
 SRC_URI[md5sum] = "41d8b985ef69242852b93e95d53e8e28"
@@ -19,9 +24,45 @@ inherit autotools gettext pkgconfig
 
 # Use openssl because libgcrypt drops root privileges
 # if libgcrypt is linked with libcap support
-PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG ??= " \
+keyring \
+cryptsetup \
+veritysetup \
+cryptsetup-reencrypt \
+integritysetup \
+${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)} \
+udev \
+kernel_crypto \
+internal-argon2 \
+blkid \
+luks-adjust-xts-keysize \
+openssl \
+"
+
+PACKAGECONFIG[keyring] = "--enable-keyring,--disable-keyring"
+PACKAGECONFIG[fips] = "--enable-fips,--disable-fips"
+PACKAGECONFIG[pwquality] = 
"--enable-pwquality,--disable-pwquality,libpwquality"
+PACKAGECONFIG[passwdqc] = "--enable-passwdqc,--disable-passwdqc,passwdqc"
+PACKAGECONFIG[cryptsetup] = "--enable-cryptsetup,--disable-cryptsetup"
+PACKAGECONFIG[veritysetup] = "--enable-veritysetup,--disable-veritysetup"
+PACKAGECONFIG[cryptsetup-reencrypt] = 
"--enable-cryptsetup-reencrypt,--disable-cryptsetup-reencrypt"
+PACKAGECONFIG[integritysetup] = 
"--enable-integritysetup,--disable-integritysetup"
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux"
+PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
+PACKAGECONFIG[kernel_crypto] = "--enable-kernel_crypto,--disable-kernel_crypto"
+# gcrypt-pkbdf2 requries --with-crypto_backend=gcrypt or the flag isn't
+# recognized.
+PACKAGECONFIG[gcrypt-pbkdf2] = "--enable-gcrypt-pbkdf2"
+PACKAGECONFIG[internal-argon2] = 
"--enable-internal-argon2,--disable-internal-argon2"
+PACKAGECONFIG[internal-sse-argon2] = 
"--enable-internal-sse-argon2,--disable-internal-sse-argon2"
+PACKAGECONFIG[blkid] = "--enable-blkid,--disable-blkid,util-linux"
+PACKAGECONFIG[dev-random] = "--enable-dev-random,--disable-dev-random"
+PACKAGECONFIG[luks-adjust-xts-keysize] = 
"--enable-luks-adjust-xts-keysize,--disable-luks-adjust-xts-keysize"
 PACKAGECONFIG[openssl] = "--with-crypto_backend=openssl,,openssl"
 PACKAGECONFIG[gcrypt] = "--with-crypto_backend=gcrypt,,libgcrypt"
+PACKAGECONFIG[nss] = "--with-crypto_backend=nss,,nss"
+PACKAGECONFIG[kernel] = "--with-crypto_backend=kernel"
+PACKAGECONFIG[nettle] = "--with-crypto_backend=nettle,,nettle"
 
 RRECOMMENDS_${PN} = "kernel-module-aes-generic \
  kernel-module-dm-crypt \
@@ -32,6 +73,12 @@ RRECOMMENDS_${PN} = "kernel-module-aes-generic \
 "
 
 EXTRA_OECONF = "--enable-static"
+# Building without largefile is not supported by upstream
+EXTRA_OECONF += "--enable-largefile"
+# Requires a static popt library
+EXTRA_OECONF += "--disable-static-cryptsetup"
+# There's no recipe for libargon2 yet
+EXTRA_OECONF += "--disable-libargon2"
 
 FILES_${PN} += 
"${@bb.utils.contains('DISTRO_FEATURES','systemd','${exec_prefix}/lib/tmpfiles.d/cryptsetup.conf',
 '', d)}"
 
-- 
2.21.0

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


Re: [oe] [meta-xfce][PATCH 00/10] Update recipes in meta-xfce

2019-06-02 Thread akuster808



On 5/31/19 1:44 AM, kai.k...@windriver.com wrote:
> From: Kai Kang 
>
>
> Kai Kang (10):
>   thunar: 1.8.4 -> 1.8.6
>   xfdesktop: 4.13.3 -> 4.13.4
>   xfce4-panel: 4.13.4 -> 4.13.5
>   thunar-volman: 0.9.1 -> 0.9.2
>   xfce4-appfinder: 4.13.2 -> 4.13.3
>   libxfce4util: 4.13.2 -> 4.13.3
>   xfwm4: 4.13.1 -> 4.13.2
>   xfconf: 4.13.6 -> 4.13.7
>   libxfce4ui: 4.13.4 -> 4.13.5
>   xfce4-power-manager: 1.6.1 -> 1.6.2

Are these bug fix only updates for possible Warrior backport?

- armin
>
>  .../{libxfce4ui_4.13.4.bb => libxfce4ui_4.13.5.bb}  | 4 ++--
>  .../{libxfce4util_4.13.2.bb => libxfce4util_4.13.3.bb}  | 4 ++--
>  .../{thunar-volman_0.9.1.bb => thunar-volman_0.9.2.bb}  | 4 ++--
>  .../thunar/{thunar_1.8.4.bb => thunar_1.8.6.bb} | 4 ++--
>  ...{xfce4-appfinder_4.13.2.bb => xfce4-appfinder_4.13.3.bb} | 4 ++--
>  .../{xfce4-panel_4.13.4.bb => xfce4-panel_4.13.5.bb}| 4 ++--
>  ...-power-manager_1.6.1.bb => xfce4-power-manager_1.6.2.bb} | 6 +++---
>  .../xfconf/{xfconf_4.13.6.bb => xfconf_4.13.7.bb}   | 4 ++--
>  .../xfdesktop/{xfdesktop_4.13.3.bb => xfdesktop_4.13.4.bb}  | 4 ++--
>  .../recipes-xfce/xfwm4/{xfwm4_4.13.1.bb => xfwm4_4.13.2.bb} | 4 ++--
>  10 files changed, 21 insertions(+), 21 deletions(-)
>  rename meta-xfce/recipes-xfce/libxfce4ui/{libxfce4ui_4.13.4.bb => 
> libxfce4ui_4.13.5.bb} (89%)
>  rename meta-xfce/recipes-xfce/libxfce4util/{libxfce4util_4.13.2.bb => 
> libxfce4util_4.13.3.bb} (64%)
>  rename meta-xfce/recipes-xfce/thunar-volman/{thunar-volman_0.9.1.bb => 
> thunar-volman_0.9.2.bb} (76%)
>  rename meta-xfce/recipes-xfce/thunar/{thunar_1.8.4.bb => thunar_1.8.6.bb} 
> (86%)
>  rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.13.2.bb => 
> xfce4-appfinder_4.13.3.bb} (69%)
>  rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.13.4.bb => 
> xfce4-panel_4.13.5.bb} (90%)
>  rename 
> meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_1.6.1.bb => 
> xfce4-power-manager_1.6.2.bb} (88%)
>  rename meta-xfce/recipes-xfce/xfconf/{xfconf_4.13.6.bb => xfconf_4.13.7.bb} 
> (82%)
>  rename meta-xfce/recipes-xfce/xfdesktop/{xfdesktop_4.13.3.bb => 
> xfdesktop_4.13.4.bb} (76%)
>  rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.13.1.bb => xfwm4_4.13.2.bb} 
> (89%)
>

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


Re: [oe] [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest

2019-06-02 Thread akuster808



On 6/2/19 11:43 AM, Tim Orling wrote:
> Upstream release notes:
> """
> 2.38 - 2019-01-05
> * Bundle up various changes including:
> * Indexing improvements
> * Makefile improvements for some make utils
> * Various code cleanups and modernizations

bug fix only? ie appropriate possible backport to warrior?

- armin
> """
>
> * Add UPSTREAM_CHECK_REGEX
> * Add UPSTREAM_CHECK_URI
> * inherit ptest-perl; all tests pass
> * ptest RDEPENDS on perl-module-test-more
>
> Signed-off-by: Tim Orling 
> ---
>  ...erl_2.37.bb => libterm-readkey-perl_2.38.bb} | 17 -
>  1 file changed, 12 insertions(+), 5 deletions(-)
>  rename meta-perl/recipes-perl/libterm/{libterm-readkey-perl_2.37.bb => 
> libterm-readkey-perl_2.38.bb} (74%)
>
> diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb 
> b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> similarity index 74%
> rename from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
> rename to meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> index 6b76682c68..cc1ac6ed56 100644
> --- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
> +++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
> @@ -3,8 +3,8 @@ DESCRIPTION = "Term::ReadKey is a compiled perl module 
> dedicated to providing si
>  control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
>  for non-blocking reads, if the architecture allows, and some generalized \
>  handy functions for working with terminals. One of the main goals is to \
> -have the functions as portable as possible, so you can just plug in "use \
> -Term::ReadKey" on any architecture and have a good likelihood of it \
> +have the functions as portable as possible, so you can just plug in 'use \
> +Term::ReadKey' on any architecture and have a good likelihood of it \
>  working."
>  HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV};
>  SECTION = "libraries"
> @@ -14,16 +14,23 @@ LIC_FILES_CHKSUM = 
> "file://README;md5=c275db663c8489a5709ebb22b185add5"
>  
>  SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
>  
> -SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
> -SRC_URI[sha256sum] = 
> "4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
> +SRC_URI[md5sum] = "b2b4aab7a0e6bddb7ac3b21ba637482c"
> +SRC_URI[sha256sum] = 
> "5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"
>  
>  S = "${WORKDIR}/TermReadKey-${PV}"
>  
> +UPSTREAM_CHECK_URI = "https://metacpan.org/release/TermReadKey;
> +UPSTREAM_CHECK_REGEX = "TermReadKey\-(?P(\d+\.\d+))(?!_\d+)\.tar.gz"
> +
>  # It needs depend on native to let dynamic loader use native modules
>  # rather than target ones.
>  DEPENDS = "libterm-readkey-perl-native"
>  
> -inherit cpan
> +inherit cpan ptest-perl
> +
> +RDEPENDS_${PN}-ptest += " \
> +perl-module-test-more \
> +"
>  
>  do_configure_append () {
>  # Hack the dynamic module loader so that it use native modules since it 
> can't load

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


Re: [oe] meta-python py2 plans

2019-06-02 Thread Tim Orling
What Ross, Paul and I are proposing (we have discussed in YPTM/Engineering
Sync,Bug Triage meetings and in person):

1. Move existing (deprecated) meta-python to a new layer
(meta-python-classic? ;) ). I will be seeking someone else to pick up the
mantel of maintenance, as I have no intent to spend time on python2.
2. Make meta-python python3 only. This gives us a chance to merge the
python3-* and python-*.inc files, for simpler maintenance.
3. Refactor recipetool/devtool to support python3 (only).
4. Investigate using distutils "test" functionality for low-hanging fruit
ptests for python3 modules (something like the ptest-perl.bbclass). We
really need ptests.

This is also an opportunity to move meta-python into it's own repository
(not under the meta-openembedded umbrella). I have no strong opinion on
this, but it has been under discussion for a couple of years now. Without
patchtest and ptests for python recipes, maintenance is challenging (not
that this is impacted by where the layer lives). I run a Jenkins job weekly
to run AUH on "all" python recipes, not that I have had a lot of time to go
the last mile to get the patches to the mailing list (there is always hand
tweaking and manual testing which is time consuming). This task would be
simpler in a separate repository, with cleaner git log. Patchtest and
patchwork would be simpler with a dedicated mailing list. The main cons to
a new repo are that (1) other layers (e.g. meta-networking) depend on
meta-python and meta-python depends on meta-oe and (2) without improved
tools maintenance, a new repo doesn't really change anything. There has
also been discussion of functional layers, rather than a "language" layer.
Meta-python has become a bit of a mini-meta-oe in that it has recieved a
lot of drive-by contributions and is a bit of everything plus the kitchen
sink.

Ultimately, I think the TSC(s) may need to make a call on moving the repo.
A clear consensus has not been achieved to date (in a series of OEDAM/OEDEM
meetings) and so we have continued with status quo.

I would like to see all of this accomplished by the 2.9 release. Anyone
interested in helping, especially with #1, #3 and #4, please speak up.

--Tim

On Sat, Jun 1, 2019 at 10:20 AM akuster808  wrote:

> Hello,
>
> With python2 being EOL this year. Is there a plan for meta-python to
> deal with this?
>
> - Armin
> --
> ___
> 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-perl][PATCH 13/13] libcapture-tiny-perl: upgrade 0.46 -> 0.48; enable ptest

2019-06-02 Thread Tim Orling
* sort RDEPENDS in alpha order
* add missing dependencies (since perl-sanity change)

Upstream release notes:

[Fixed]

- Appends PID to random file names for tee signalling to avoid
  random name collision when used in multiple forked children.

Signed-off-by: Tim Orling 
---
 ...l_0.46.bb => libcapture-tiny-perl_0.48.bb} | 36 +++
 1 file changed, 22 insertions(+), 14 deletions(-)
 rename meta-perl/recipes-perl/libcapture/{libcapture-tiny-perl_0.46.bb => 
libcapture-tiny-perl_0.48.bb} (58%)

diff --git a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb 
b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
similarity index 58%
rename from meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb
rename to meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
index 2719811ce4..3b3e31dd97 100644
--- a/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.46.bb
+++ b/meta-perl/recipes-perl/libcapture/libcapture-tiny-perl_0.48.bb
@@ -15,23 +15,31 @@ LIC_FILES_CHKSUM = 
"file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
 
 SRCNAME = "Capture-Tiny"
 SRC_URI = "${CPAN_MIRROR}/authors/id/D/DA/DAGOLDEN/${SRCNAME}-${PV}.tar.gz"
-SRC_URI[md5sum] = "d718af07729d26a793949ca6ba2580a7"
-SRC_URI[sha256sum] = 
"5d7a6a830cf7f2b2960bf8b8afaac16a537ede64f3023827acea5bd24ca77015"
+SRC_URI[md5sum] = "f5d24083ad270f8326dd659dd83eeb54"
+SRC_URI[sha256sum] = 
"6c23113e87bad393308c90a207013e505f659274736638d8c79bac9c67cc3e19"
 
 S = "${WORKDIR}/${SRCNAME}-${PV}"
 
-inherit cpan
-
-RDEPENDS_${PN} = " perl-module-scalar-util \
-   perl-module-io-file \
-   perl-module-extutils-makemaker \
-   perl-module-file-spec \
-   perl-module-exporter \
-   perl-module-carp \
-   perl-module-test-more \
-   perl-module-file-temp \
-   perl-module-lib \
-   perl-module-overloading \
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} = " \
+perl-module-carp \
+perl-module-exporter \
+perl-module-extutils-makemaker \
+perl-module-extutils-mm-unix \
+perl-module-file-spec \
+perl-module-file-temp \
+perl-module-io-handle \
+perl-module-lib \
+perl-module-overloading \
+perl-module-perlio \
+perl-module-perlio-scalar \
+perl-module-scalar-util \
+perl-module-strict \
+perl-module-test-more \
+perl-module-warnings \
 "
 
+RDEPENDS_${PN}-ptest += "perl-module-perlio"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 12/13] libxml-libxml-perl: enable ptest

2019-06-02 Thread Tim Orling
Enable ptest and add ptest dependencies

Signed-off-by: Tim Orling 
---
 .../libxml/libxml-libxml-perl_2.0134.bb   | 26 ++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb 
b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
index 9753520ae4..6fabf26840 100644
--- a/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
+++ b/meta-perl/recipes-perl/libxml/libxml-libxml-perl_2.0134.bb
@@ -35,7 +35,7 @@ SRC_URI[libxml.sha256sum] = 
"f0bca4d0c2da35d879fee4cd13f352014186cedab27ab5e191f
 
 S = "${WORKDIR}/XML-LibXML-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 EXTRA_CPANFLAGS = "INC=-I${STAGING_INCDIR}/libxml2 LIBS=-L${STAGING_LIBDIR}"
 
@@ -45,3 +45,27 @@ CFLAGS += " -D_GNU_SOURCE "
 BUILD_CFLAGS += " -D_GNU_SOURCE "
 
 FILES_${PN}-dbg =+ "${libdir}/perl/vendor_perl/*/auto/XML/LibXML/.debug/"
+
+RDEPENDS_${PN}-ptest += " \
+liburi-perl \
+perl-module-encode-byte \
+perl-module-encode-unicode \
+perl-module-locale \
+perl-module-perlio-scalar \
+perl-module-test-more \
+"
+
+do_install_prepend() {
+   # test requires "-T" (taint) command line option
+   rm -rf ${B}/t/pod.t
+   # this only applies to author build
+   rm -rf ${B}/t/pod-files-presence.t
+}
+
+do_install_ptest() {
+   cp -r ${B}/t/data ${D}${PTEST_PATH}/t/
+   cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
+   cp -r ${B}/example ${D}${PTEST_PATH}
+   cp -r ${B}/test ${D}${PTEST_PATH}
+   chown -R root:root ${D}${PTEST_PATH}
+}
-- 
2.20.1

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


[oe] [meta-perl][PATCH 10/13] libhtml-parser-perl: enable ptest

2019-06-02 Thread Tim Orling
Add runtime and ptest dependencies

Signed-off-by: Tim Orling 
---
 .../libhtml/libhtml-parser-perl_3.72.bb   | 22 ++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb 
b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
index e202de05a7..a4c69c97b8 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.72.bb
@@ -16,10 +16,30 @@ S = "${WORKDIR}/HTML-Parser-${PV}"
 
 EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} 
EXPATINCPATH=${STAGING_INCDIR}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 do_compile() {
 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 
'libc-*.so')"
 cpan_do_compile
 }
+
+RDEPENDS_${PN} += "\
+perl-module-exporter \
+perl-module-strict \
+perl-module-vars \
+perl-module-xsloader \
+libhtml-tagset-perl \
+"
+
+RDEPENDS_${PN}-ptest += "\
+liburi-perl \
+perl-module-config \
+perl-module-file-spec \
+perl-module-filehandle \
+perl-module-io-file \
+perl-module-selectsaver \
+perl-module-test \
+perl-module-test-more \
+"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 11/13] libstrictures-perl: upgrade 2.000003 -> 2.000006; enable ptest

2019-06-02 Thread Tim Orling
Add runtime and ptest dependencies.

Upstream release notes:

2.06 - 2019-03-10
  - update internal list of warnings for categories added in blead (v5.29.9)
  - fix extras test to avoid any files in the temp directory's parent
directories interfering (RT#128751)

2.05 - 2018-04-20
  - update internal list of warnings for categories added in 5.28.0 (no
behaviour change)

2.04 - 2018-04-19
  - update bundled ExtUtils::HasCompiler to 0.021
  - update internal list of warnings for categories added in 5.26.0 (no
behavior change)

Signed-off-by: Tim Orling 
---
 ...03.bb => libstrictures-perl_2.06.bb} | 17 ++---
 1 file changed, 10 insertions(+), 7 deletions(-)
 rename meta-perl/recipes-perl/libstrictures/{libstrictures-perl_2.03.bb => 
libstrictures-perl_2.06.bb} (81%)

diff --git 
a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.03.bb 
b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.06.bb
similarity index 81%
rename from meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.03.bb
rename to meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.06.bb
index a6808d3f8e..d1a5b4787d 100644
--- a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.03.bb
+++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.06.bb
@@ -29,17 +29,20 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = 
"file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz"
-SRC_URI[md5sum] = "78244cfab6168dcf196370d1e2309536"
-SRC_URI[sha256sum] = 
"27f8ea096a521e9754d36ea32889c2cda28346d04e3e399e7ea118d182dbaf22"
+SRC_URI[md5sum] = "35c14fd25320f32ff40e977feae95d0d"
+SRC_URI[sha256sum] = 
"09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57"
 
 S = "${WORKDIR}/strictures-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
-RDEPENDS_${PN} = " perl-module-carp \
-   perl-module-strict \
-   perl-module-test-more \
-   perl-module-warnings \
+RDEPENDS_${PN} += " \
+perl-module-carp \
+perl-module-strict \
+perl-module-test-more \
+perl-module-warnings \
 "
 
+RDEPENDS_${PN}-ptest += "perl-module-perlio perl-module-perlio-scalar"
+
 BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 08/13] libexutils-config-perl: enable ptest

2019-06-02 Thread Tim Orling
Add runtime and ptest dependencies.

Signed-off-by: Tim Orling 
---
 .../recipes-perl/libextutils/libextutils-config-perl_0.008.bb  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb 
b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
index e93d388e9c..7e1418d499 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-config-perl_0.008.bb
@@ -13,10 +13,11 @@ SRC_URI[sha256sum] = 
"ae5104f634650dce8a79b7ed13fb59d67a39c213a6776cfdaa3ee749e6
 
 S = "${WORKDIR}/ExtUtils-Config-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 RDEPENDS_${PN} = " perl-module-extutils-makemaker \
perl-module-data-dumper \
+  perl-module-ipc-open3 \
perl-module-test-more \
perl-module-file-temp \
 "
-- 
2.20.1

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


[oe] [meta-perl][PATCH 09/13] libhtml-tagset-perl: add recipe for v3.20

2019-06-02 Thread Tim Orling
This module contains data tables useful in dealing with HTML.
It provides no functions or methods.

This is a dependency for libhtml-paser-perl.

Signed-off-by: Tim Orling 
---
 .../libhtml/libhtml-tagset-perl_3.20.bb   | 29 +++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb 
b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
new file mode 100644
index 00..d6483cc5fc
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tagset-perl_3.20.bb
@@ -0,0 +1,29 @@
+SUMMARY = "HTML::Tageset -  data tables useful in parsing HTML"
+DESCRIPTION = "This module contains several data tables useful in various \
+kinds of HTML parsing operations."
+HOMEPAGE = "https://metacpan.org/release/HTML-Tagset;
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = 
"file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz"
+SRC_URI[md5sum] = "d2bfa18fe1904df7f683e96611e87437"
+SRC_URI[sha256sum] = 
"adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2"
+
+S = "${WORKDIR}/HTML-Tagset-${PV}"
+
+
+inherit cpan ptest-perl
+
+
+RDEPENDS_${PN} += "perl-module-strict perl-module-vars"
+
+RDEPENDS_${PN}-ptest += "perl-module-test"
+
+do_install_prepend() {
+# requires "-T" (taint) command line option
+rm -rf ${B}/t/pod.t
+}
+
+BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 07/13] libextutils-installpaths-perl: upgrade 0.011 -> 0.012; enable ptest

2019-06-02 Thread Tim Orling
* Add RDEPENDS for libextutils-config-perl
* Add runtime and ptest dependencies

Upstream release notes:
0.012 2018-05-10 21:03:33+02:00 Europe/Amsterdam
  - Allow a argument to install_map with source dirs
  - Make tests prove and 5.6 friendly

Signed-off-by: Tim Orling 
---
 ...=> libextutils-installpaths-perl_0.012.bb} | 23 +--
 1 file changed, 16 insertions(+), 7 deletions(-)
 rename 
meta-perl/recipes-perl/libextutils/{libextutils-installpaths-perl_0.011.bb => 
libextutils-installpaths-perl_0.012.bb} (52%)

diff --git 
a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb 
b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
similarity index 52%
rename from 
meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb
rename to 
meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
index 6eb434a95e..2da5e3b4f4 100644
--- a/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.011.bb
+++ b/meta-perl/recipes-perl/libextutils/libextutils-installpaths-perl_0.012.bb
@@ -9,17 +9,26 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b6fa54d873ce6bcf4809ea88bdf97769"
 
 SRC_URI = 
"${CPAN_MIRROR}/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
-SRC_URI[md5sum] = "9c75894c3c8c899ab6bfafc5eaa97999"
-SRC_URI[sha256sum] = 
"7609fa048cdcf1451cad5b1d7d494f30e3d5bad0672d15404f1ea60e1df0067c"
+SRC_URI[md5sum] = "9a8d66aab1ffec98ea260faf03ac612b"
+SRC_URI[sha256sum] = 
"84735e3037bab1fdffa3c2508567ad412a785c91599db3c12593a50a1dd434ed"
 
 S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
-RDEPENDS_${PN} = " perl-module-extutils-makemaker \
-   perl-module-data-dumper \
-   perl-module-test-more \
-   perl-module-file-temp \
+RDEPENDS_${PN} = " \
+libextutils-config-perl \
+perl-module-bytes \
+perl-module-data-dumper \
+perl-module-extutils-makemaker \
+perl-module-file-temp \
+perl-module-test-more \
+"
+
+RDEPENDS_${PN}-ptest = " \
+${PN} \
+perl-module-file-spec-functions \
+perl-module-test-more \
 "
 
 BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 06/13] libcrypt-openssl-random-perl: upgrade 0.11 -> 0.15; enable ptest

2019-06-02 Thread Tim Orling
* Add EXTRA_CPANFLAGS to fix "undefined symbol: RAND_seed"
* Add DEPENDS on libcrypt-openssl-guess-perl-native
* Add runtime and ptest dependencies

Upstream release notes:
0.15  2018-04-22 rurban
- fix mingw hints for pkg-config support (akiym, PR #7)

0.14  2018-04-17 rurban
- add library paths to LIBS from Crypt::OpenSSL::Guess (akiym, PR #6)

0.13  2018-04-14 rurban
- move Crypt::OpenSSL::Guess to configure dependency. (grinnz, PR #4)

0.12  2018-04-13 rurban
- use Crypt::OpenSSL::Guess to resolve OpenSSL include path,
  fixes MacOS's homebrew OpenSSL installation problem. (akiym, PR #3)

Signed-off-by: Tim Orling 
---
 .../libcrypt-openssl-random-perl_0.11.bb  | 15 
 .../libcrypt-openssl-random-perl_0.15.bb  | 34 +++
 2 files changed, 34 insertions(+), 15 deletions(-)
 delete mode 100644 
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
 create mode 100644 
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb

diff --git 
a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb 
b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
deleted file mode 100644
index 8456e313df..00
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.11.bb
+++ /dev/null
@@ -1,15 +0,0 @@
-SUMMARY = "Crypt Openssl Random cpan module"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"
-
-SRC_URI = 
"http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
-SRC_URI[md5sum] = "5d71337503e0356ce1ce1481504e5885"
-SRC_URI[sha256sum] = 
"bb8c81c6a39b9b13a22d818ee9a746242f136f0fadceb6b9776ae615e7524c7a"
-
-S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
-
-DEPENDS += " openssl \
-"
-inherit cpan
diff --git 
a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb 
b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb
new file mode 100644
index 00..a2ebb8c7a1
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-random-perl_0.15.bb
@@ -0,0 +1,34 @@
+SUMMARY = "Crypt::OpenSSL::Random - OpenSSL/LibreSSL pseudo-random number 
generator access"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=089c18d635ae273e1727ec385e64063b"
+
+SRC_URI = 
"http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-Random-${PV}.tar.gz "
+SRC_URI[md5sum] = "bcde8d5a822c91376deda3c4f0c75fbe"
+SRC_URI[sha256sum] = 
"f0876faa1ba3111e39b86aa730c603211eff2905e460c72a57b61e8cf475cef4"
+
+S = "${WORKDIR}/Crypt-OpenSSL-Random-${PV}"
+
+DEPENDS += " \
+openssl \
+libcrypt-openssl-guess-perl-native \
+"
+
+EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} 
-L${STAGING_BASELIBDIR} -lcrypto'"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += "\
+perl-module-exporter \
+perl-module-strict \
+perl-module-vars \
+perl-module-xsloader \
+"
+
+RDEPENDS_${PN}-ptest += "\
+perl-module-file-copy \
+perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 04/13] libcrypt-openssl-guess-perl: rename from libcrypt-openssl-guess; enable ptest

2019-06-02 Thread Tim Orling
We follow Debian naming and this module snuck in misnamed.

Add PROVIDES "libcrypt-openssl-guess" for backwards compatibility.

Add runtime and ptest dependencies.

Signed-off-by: Tim Orling 
---
 ...bb => libcrypt-openssl-guess-perl_0.11.bb} | 20 +--
 1 file changed, 18 insertions(+), 2 deletions(-)
 rename meta-perl/recipes-perl/libcrypt/{libcrypt-openssl-guess_0.11.bb => 
libcrypt-openssl-guess-perl_0.11.bb} (60%)

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb 
b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
similarity index 60%
rename from meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb
rename to meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
index 21be047206..57df78b4e1 100644
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess_0.11.bb
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-guess-perl_0.11.bb
@@ -10,12 +10,28 @@ SRC_URI[sha256sum] = 
"aa6b18e38cb852cbad80a58cd90c395b40819d4d01e0ab37e770314909
 
 DEPENDS += "openssl"
 
-RDEPENDS_${PN}="perl-module-config perl-module-exporter perl-module-symbol 
perl-module-file-spec"
+RDEPENDS_${PN} = "\
+perl-module-config \
+perl-module-exporter \
+perl-module-extutils-mm \
+perl-module-extutils-mm-unix \
+perl-module-file-spec \
+perl-module-symbol \
+perl-module-strict \
+perl-module-warnings \
+"
 
 EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl 
-L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
 
 S = "${WORKDIR}/Crypt-OpenSSL-Guess-${PV}"
 
-inherit cpan
+inherit cpan ptest-perl
 
 BBCLASSEXTEND = "native"
+
+# for backwards compatibility
+PROVIDES_${PN} += "libcrypt-openssl-guess"
+
+RDEPENDS_${PN}-ptest += "\
+perl-module-test-more \
+"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 05/13] libcrypt-openssl-rsa-perl: upgrade 0.30 -> 0.31; enable ptest

2019-06-02 Thread Tim Orling
* Add runtime and ptest dependencies

Upstream release notes:

0.31 Mon Sep 24 2018
- Remove default of SHA256 for RSA keys. This has caused significant
  problems with downstream modules and it has always been possible to
  do $key->use_sha256_hash()

Signed-off-by: Tim Orling 
---
 .../libcrypt-openssl-rsa-perl_0.30.bb | 24 
 .../libcrypt-openssl-rsa-perl_0.31.bb | 38 +++
 2 files changed, 38 insertions(+), 24 deletions(-)
 delete mode 100644 
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
 create mode 100644 
meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb

diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb 
b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
deleted file mode 100644
index 0a2ad8aa44..00
--- a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.30.bb
+++ /dev/null
@@ -1,24 +0,0 @@
-SUMMARY = "Crypt Openssl RSA cpan module"
-SECTION = "libs"
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
-
-SRC_URI = 
"http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
-
-SRC_URI[md5sum] = "10bca2fc6d0ba1aa329f227424ae87d5"
-SRC_URI[sha256sum] = 
"23e13531397af102db4fd24bcf70137add7c85c23cca697c43aa71c2959a29ac"
-
-DEPENDS += "libcrypt-openssl-guess-native openssl"
-
-RDEPENDS_${PN}="libcrypt-openssl-random-perl"
-
-EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl 
-L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
-
-S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
-
-inherit cpan
-
-do_compile() {
-export OTHERLDFLAGS='-Wl,-rpath'
-cpan_do_compile
-}
diff --git a/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb 
b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb
new file mode 100644
index 00..68d921c3ca
--- /dev/null
+++ b/meta-perl/recipes-perl/libcrypt/libcrypt-openssl-rsa-perl_0.31.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Crypt Openssl RSA cpan module"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a67ceecc5d9a91a5a0d003ba50c26346"
+
+SRC_URI = 
"http://www.cpan.org/modules/by-module/Crypt/Crypt-OpenSSL-RSA-${PV}.tar.gz "
+
+SRC_URI[md5sum] = "d33681e19d2094df7c26bc7a4509265e"
+SRC_URI[sha256sum] = 
"4173403ad4cf76732192099f833fbfbf3cd8104e0246b3844187ae384d2c5436"
+
+DEPENDS += "libcrypt-openssl-guess-perl-native openssl"
+
+RDEPENDS_${PN} = " \
+libcrypt-openssl-random-perl \
+perl-module-autoloader \
+perl-module-carp \
+perl-module-strict \
+perl-module-warnings \
+perl-module-xsloader \
+"
+
+EXTRA_CPANFLAGS = "INC='-I${STAGING_INCDIR}' LIBS='-L${STAGING_LIBDIR} -lssl 
-L${STAGING_DIR_TARGET}${base_libdir} -lcrypto'"
+
+S = "${WORKDIR}/Crypt-OpenSSL-RSA-${PV}"
+
+inherit cpan ptest-perl
+
+do_compile() {
+export OTHERLDFLAGS='-Wl,-rpath'
+cpan_do_compile
+}
+
+RDEPENDS_${PN}-ptest = " \
+${PN} \
+perl-module-file-copy \
+perl-module-test \
+perl-module-test-more \
+"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 02/13] libtest-deep-perl: add recipe for v1.128

2019-06-02 Thread Tim Orling
Test::Deep gives you very flexible ways to check that the result you got is
the result you were expecting. At its simplest it compares two structures
by going through each level, ensuring that the values match, that arrays and
hashes have the same elements and that references are blessed into the
correct class. It also handles circular data structures without getting
caught in an infinite loop.

Signed-off-by: Tim Orling 
---
 .../libtest/libtest-deep-perl_1.128.bb| 56 +++
 1 file changed, 56 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb

diff --git a/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb 
b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb
new file mode 100644
index 00..44a915c5b7
--- /dev/null
+++ b/meta-perl/recipes-perl/libtest/libtest-deep-perl_1.128.bb
@@ -0,0 +1,56 @@
+SUMMARY = "Test::Deep - Extremely flexible deep comparison"
+DESCRIPTION = "If you don't know anything about automated testing in Perl \
+then you should probably read about Test::Simple and Test::More before \
+preceding. Test::Deep uses the Test::Builder framework. \
+\ 
+Test::Deep gives you very flexible ways to check that the result you got is \
+the result you were expecting. At its simplest it compares two structures \
+by going through each level, ensuring that the values match, that arrays and \
+hashes have the same elements and that references are blessed into the \
+correct class. It also handles circular data structures without getting \
+caught in an infinite loop. \
+\
+Where it becomes more interesting is in allowing you to do something besides \
+simple exact comparisons. With strings, the \'eq\' operator checks that 2 \
+strings are exactly equal but sometimes that's not what you want. When you \
+don't know exactly what the string should be but you do know some things \
+about how it should look, \'eq\' is no good and you must use pattern matching \
+instead. Test::Deep provides pattern matching for complex data structures \
+distribution."
+
+SECTION = "libs"
+
+HOMEPAGE = "http://github.com/rjbs/Test-Deep/;
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = 
"file://lib/Test/Deep.pm;beginline=1817;endline=1826;md5=aebc793c87a3d8771fe98d5d369898e7"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Deep-${PV}.tar.gz"
+SRC_URI[md5sum] = "9bc47147ea720fc01bc6b214afb884ff"
+SRC_URI[sha256sum] = 
"852d7e836fba8269b0b755082051a24a1a309d015a8b76838790af9e3760092f"
+
+UPSTREAM_CHECK_REGEX = "Test\-Deep\-(?P(\d+\.\d+))(?!_\d+).tar"
+
+S = "${WORKDIR}/Test-Deep-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += " \
+perl-module-dynaloader \
+perl-module-exporter \
+perl-module-fcntl \
+perl-module-list-util \
+perl-module-scalar-util \
+perl-module-strict \
+perl-module-vars \
+perl-module-warnings \
+"
+
+RDEPENDS_${PN}-ptest += " \
+perl-module-if \
+perl-module-lib \
+perl-module-test-more \
+perl-module-test-tester \
+"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1

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


[oe] [meta-perl][PATCH 01/13] libterm-readkey-perl: upgrade 2.37 -> 2.38; fix upstream check; enable ptest

2019-06-02 Thread Tim Orling
Upstream release notes:
"""
2.38 - 2019-01-05
* Bundle up various changes including:
* Indexing improvements
* Makefile improvements for some make utils
* Various code cleanups and modernizations
"""

* Add UPSTREAM_CHECK_REGEX
* Add UPSTREAM_CHECK_URI
* inherit ptest-perl; all tests pass
* ptest RDEPENDS on perl-module-test-more

Signed-off-by: Tim Orling 
---
 ...erl_2.37.bb => libterm-readkey-perl_2.38.bb} | 17 -
 1 file changed, 12 insertions(+), 5 deletions(-)
 rename meta-perl/recipes-perl/libterm/{libterm-readkey-perl_2.37.bb => 
libterm-readkey-perl_2.38.bb} (74%)

diff --git a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb 
b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
similarity index 74%
rename from meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
rename to meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
index 6b76682c68..cc1ac6ed56 100644
--- a/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.37.bb
+++ b/meta-perl/recipes-perl/libterm/libterm-readkey-perl_2.38.bb
@@ -3,8 +3,8 @@ DESCRIPTION = "Term::ReadKey is a compiled perl module 
dedicated to providing si
 control over terminal driver modes (cbreak, raw, cooked, etc.,) support \
 for non-blocking reads, if the architecture allows, and some generalized \
 handy functions for working with terminals. One of the main goals is to \
-have the functions as portable as possible, so you can just plug in "use \
-Term::ReadKey" on any architecture and have a good likelihood of it \
+have the functions as portable as possible, so you can just plug in 'use \
+Term::ReadKey' on any architecture and have a good likelihood of it \
 working."
 HOMEPAGE = "http://search.cpan.org/~jstowe/TermReadKey-${PV};
 SECTION = "libraries"
@@ -14,16 +14,23 @@ LIC_FILES_CHKSUM = 
"file://README;md5=c275db663c8489a5709ebb22b185add5"
 
 SRC_URI = "${CPAN_MIRROR}/authors/id/J/JS/JSTOWE/TermReadKey-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "e8ea15c16333ac4f8d146d702e83cc0c"
-SRC_URI[sha256sum] = 
"4a9383cf2e0e0194668fe2bd546e894ffad41d556b41d2f2f577c8db682db241"
+SRC_URI[md5sum] = "b2b4aab7a0e6bddb7ac3b21ba637482c"
+SRC_URI[sha256sum] = 
"5a645878dc570ac33661581fbb090ff24ebce17d43ea53fd22e105a856a47290"
 
 S = "${WORKDIR}/TermReadKey-${PV}"
 
+UPSTREAM_CHECK_URI = "https://metacpan.org/release/TermReadKey;
+UPSTREAM_CHECK_REGEX = "TermReadKey\-(?P(\d+\.\d+))(?!_\d+)\.tar.gz"
+
 # It needs depend on native to let dynamic loader use native modules
 # rather than target ones.
 DEPENDS = "libterm-readkey-perl-native"
 
-inherit cpan
+inherit cpan ptest-perl
+
+RDEPENDS_${PN}-ptest += " \
+perl-module-test-more \
+"
 
 do_configure_append () {
 # Hack the dynamic module loader so that it use native modules since it 
can't load
-- 
2.20.1

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


[oe] [meta-perl][PATCH 03/13] libcgi-perl: upgrade 4.38 -> 4.43; enable ptest

2019-06-02 Thread Tim Orling
* Add libhtml-parser-perl to RDEPENDS for HTML::Entities dependency

Upstream release notes:

4.43 2019-05-01

[ FIX / TESTING ]
- support unquoted multipart/form-data name values (GH #234)

4.42 2019-03-26

[ DOCUMENTATION ]
- clarify licence also in Makefile.PL (GH #232)

4.41 2019-03-26

[ DOCUMENTATION ]
- clarify licence (GH #232)

4.40 2018-08-15

[ FIX / TESTING ]
- support perls < 5.10.1 in Makefile.PL by being more dynamic
  (GH #229, GH #230, thanks to Aristotle)

4.39 2018-08-13

[ FIX / TESTING ]
- specify CONFIGURE_REQUIRES in Makefile.PL so can use TEST_REQUIRES
  to build with older perls (GH #228)

Signed-off-by: Tim Orling 
---
 .../recipes-perl/libcgi/libcgi-perl_4.38.bb   | 25 --
 .../recipes-perl/libcgi/libcgi-perl_4.43.bb   | 50 +++
 2 files changed, 50 insertions(+), 25 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
 create mode 100644 meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb

diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb 
b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
deleted file mode 100644
index db16d8307d..00
--- a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.38.bb
+++ /dev/null
@@ -1,25 +0,0 @@
-DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing 
and preparing \
-HTTP requests and responses. Major features including processing form \
-submissions, file uploads, reading and writing cookies, query string 
generation \
-and manipulation, and processing and preparing HTTP headers."
-HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod;
-SECTION = "libs"
-LICENSE = "Artistic-2.0 | GPL-2.0"
-
-LIC_FILES_CHKSUM = "file://LICENSE;md5=2e9769f0a2613a98bc7fce15dee0c533"
-
-SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz;
-
-SRC_URI[md5sum] = "0aeb8563d533e7f83724ed068b5bfc37"
-SRC_URI[sha256sum] = 
"8c58f4a529bb92a914b22b7e64c5e31185c9854a4070a6dfad44fe5cc248e7d4"
-
-S = "${WORKDIR}/CGI-${PV}"
-
-inherit cpan
-
-RDEPENDS_${PN} += "\
-perl-module-deprecate \
-perl-module-if \
-"
-
-RPROVIDES_${PN} += "perl-module-cgi"
diff --git a/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb 
b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb
new file mode 100644
index 00..b4571b27e6
--- /dev/null
+++ b/meta-perl/recipes-perl/libcgi/libcgi-perl_4.43.bb
@@ -0,0 +1,50 @@
+DESCRIPTION = "CGI.pm is a stable, complete and mature solution for processing 
and preparing \
+HTTP requests and responses. Major features including processing form \
+submissions, file uploads, reading and writing cookies, query string 
generation \
+and manipulation, and processing and preparing HTTP headers."
+HOMEPAGE = "http://search.cpan.org/~leejo/CGI-4.28/lib/CGI.pod;
+SECTION = "libs"
+LICENSE = "Artistic-2.0 | GPL-2.0"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=415fc49abed2728f9480cd32c8d67beb"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-${PV}.tar.gz;
+
+SRC_URI[md5sum] = "8c1f2cf11e4410911827ea48d58aaecc"
+SRC_URI[sha256sum] = 
"14b94f9df6e48fc26ebc4fa1e01a7b534cbc1611028a49028f9ac9d8ca27b734"
+
+S = "${WORKDIR}/CGI-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS_${PN} += "\
+libhtml-parser-perl \
+perl-module-base \
+perl-module-deprecate \
+perl-module-if \
+"
+
+do_install_prepend() {
+# requires "-T" (taint) command line option
+rm -rf ${B}/t/push.t
+rm -rf ${B}/t/utf8.t
+# tests building of docs
+rm -rf ${B}/t/compiles_pod.t
+}
+
+RDEPENDS_${PN}-ptest += " \
+libtest-deep-perl \
+perl-module-bytes \
+perl-module-file-find \
+perl-module-filehandle \
+perl-module-findbin \
+perl-module-lib \
+perl-module-perlio \
+perl-module-perlio-scalar \
+perl-module-test-more \
+perl-module-utf8 \
+"
+
+RPROVIDES_${PN} += "perl-module-cgi"
+
+BBCLASSEXTEND = "native"
-- 
2.20.1

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