[oe] [meta-python] [PATCH] python3-multidict: Enable ptest

2020-04-20 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../python/python3-multidict/run-ptest|  3 +++
 .../python/python3-multidict_4.7.4.bb | 15 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-multidict/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-multidict/run-ptest 
b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-multidict/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
diff --git a/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb 
b/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb
index f16a7be7a..0636972ec 100644
--- a/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb
+++ b/meta-python/recipes-devtools/python/python3-multidict_4.7.4.bb
@@ -3,7 +3,20 @@ HOMEPAGE = "https://github.com/aio-libs/multidict/;
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=e74c98abe0de8f798ca609137f9cef4a"
 
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest
 
 SRC_URI[md5sum] = "22b46f759cf2cc3ca1d2c9f82cc9bb79"
 SRC_URI[sha256sum] = 
"d7d428488c67b09b26928950a395e41cc72bb9c3d5abfe9f0521940ee4f796d4"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84019): 
https://lists.openembedded.org/g/openembedded-devel/message/84019
Mute This Topic: https://lists.openembedded.org/mt/73166933/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-jsmin: Enable ptest

2020-04-20 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../python/python3-jsmin/run-ptest |  3 +++
 .../recipes-devtools/python/python3-jsmin_2.2.2.bb | 14 +-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-jsmin/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-jsmin/run-ptest 
b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
new file mode 100644
index 0..cbcfffda5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsmin/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python3 test.py
diff --git a/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb 
b/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb
index ab657e6f0..9b7a82408 100644
--- a/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb
+++ b/meta-python/recipes-devtools/python/python3-jsmin_2.2.2.bb
@@ -4,8 +4,20 @@ SECTION = "devel/python"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3a3301ce2ad647e172f4a1016c67324d"
 
-inherit setuptools3 pypi
+inherit setuptools3 pypi ptest
 SRC_URI[md5sum] = "00e7a3179a4591aab2ee707b3214e2fd"
 SRC_URI[sha256sum] = 
"b6df99b2cd1c75d9d342e4335b535789b8da9107ec748212706ef7bbe5c2553b"
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   cp -f ${S}/jsmin/test.py ${D}${PTEST_PATH}/
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84020): 
https://lists.openembedded.org/g/openembedded-devel/message/84020
Mute This Topic: https://lists.openembedded.org/mt/73166934/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-pytz: Enable ptest

2020-04-20 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../python/python3-pytz/run-ptest  |  3 +++
 .../python/python3-pytz_2019.3.bb  | 18 +-
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytz/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-pytz/run-ptest 
b/meta-python/recipes-devtools/python/python3-pytz/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytz/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
diff --git a/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb 
b/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
index ffe336d2c..cc75111c8 100644
--- a/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
+++ b/meta-python/recipes-devtools/python/python3-pytz_2019.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://pythonhosted.org/pytz;
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4878a915709225bceab739bdc2a18e8d"
 
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest
 
 SRC_URI[md5sum] = "c3d84a465fc56a4edd52cca8873ac0df"
 SRC_URI[sha256sum] = 
"b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"
@@ -18,3 +18,19 @@ RDEPENDS_${PN}_class-target += "\
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/pytz
+   install -d ${D}${PTEST_PATH}/pytz/tests
+   cp -rf ${S}/pytz/tests/* ${D}${PTEST_PATH}/pytz/tests/
+   cp -f ${S}/README.txt ${D}${PTEST_PATH}/
+
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84018): 
https://lists.openembedded.org/g/openembedded-devel/message/84018
Mute This Topic: https://lists.openembedded.org/mt/73166842/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-ordered-set: Enable ptest

2020-04-20 Thread zhengruoqin
Signed-off-by: Zheng Ruoqin 
---
 .../python/python3-ordered-set/run-ptest   |  3 +++
 .../python/python3-ordered-set_3.1.1.bb| 14 +-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-ordered-set/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest 
b/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest
new file mode 100644
index 0..f7b9d0907
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ordered-set/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest test.py
diff --git a/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb 
b/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb
index 013a2e755..d782e0109 100644
--- a/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-ordered-set_3.1.1.bb
@@ -6,6 +6,18 @@ LIC_FILES_CHKSUM = 
"file://MIT-LICENSE;md5=2b36be0d99854aa2ae292a800a7c1d4e"
 SRC_URI[md5sum] = "6e12312c8dc4c90fe840e86e8a352644"
 SRC_URI[sha256sum] = 
"a7bfa858748c73b096e43db14eb23e2bc714a503f990c89fac8fab9b0ee79724"
 
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest
 
 DEPENDS += "python3-pytest-runner-native"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   cp -f ${S}/test.py ${D}${PTEST_PATH}/
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84017): 
https://lists.openembedded.org/g/openembedded-devel/message/84017
Mute This Topic: https://lists.openembedded.org/mt/73166794/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH] hostapd: CVE-2019-16275.patch

2020-04-20 Thread Wang Mingyu
From: Wang Mingyu 

security Advisory

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16275

Signed-off-by: Wang Mingyu 
---
 .../hostapd/hostapd/CVE-2019-16275.patch  | 79 +++
 .../hostapd/hostapd_2.9.bb|  1 +
 2 files changed, 80 insertions(+)
 create mode 100644 
meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2019-16275.patch

diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2019-16275.patch 
b/meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2019-16275.patch
new file mode 100644
index 0..9cefd4f2a
--- /dev/null
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd/CVE-2019-16275.patch
@@ -0,0 +1,79 @@
+From d86d66dc073bc21d3b12faf4112062ae00c1773f Mon Sep 17 00:00:00 2001
+From: Jouni Malinen 
+Date: Thu, 29 Aug 2019 11:52:04 +0300
+Subject: AP: Silently ignore management frame from unexpected source
+address
+
+Do not process any received Management frames with unexpected/invalid SA
+so that we do not add any state for unexpected STA addresses or end up
+sending out frames to unexpected destination. This prevents unexpected
+sequences where an unprotected frame might end up causing the AP to send
+out a response to another device and that other device processing the
+unexpected response.
+
+In particular, this prevents some potential denial of service cases
+where the unexpected response frame from the AP might result in a
+connected station dropping its association.
+
+Upstream-Status: Accepted
+CVE: CVE-2019-16275
+
+Reference to upstream patch:
+https://w1.fi/cgit/hostap/commit/?id=d86d66dc073bc21d3b12faf4112062ae00c1773f
+
+Signed-off-by: Jouni Malinen 
+---
+ src/ap/drv_callbacks.c | 13 +
+ src/ap/ieee802_11.c| 12 
+ 2 files changed, 25 insertions(+)
+
+diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c
+index 3158768..34ca379 100644
+--- a/src/ap/drv_callbacks.c
 b/src/ap/drv_callbacks.c
+@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const 
u8 *addr,
+  "hostapd_notif_assoc: Skip event with no address");
+   return -1;
+   }
++
++  if (is_multicast_ether_addr(addr) ||
++  is_zero_ether_addr(addr) ||
++  os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) {
++  /* Do not process any frames with unexpected/invalid SA so that
++   * we do not add any state for unexpected STA addresses or end
++   * up sending out frames to unexpected destination. */
++  wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR
++ " in received indication - ignore this indication 
silently",
++ __func__, MAC2STR(addr));
++  return 0;
++  }
++
+   random_add_randomness(addr, ETH_ALEN);
+ 
+   hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
+diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
+index c85a28d..2816812 100644
+--- a/src/ap/ieee802_11.c
 b/src/ap/ieee802_11.c
+@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 
*buf, size_t len,
+   fc = le_to_host16(mgmt->frame_control);
+   stype = WLAN_FC_GET_STYPE(fc);
+ 
++  if (is_multicast_ether_addr(mgmt->sa) ||
++  is_zero_ether_addr(mgmt->sa) ||
++  os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) {
++  /* Do not process any frames with unexpected/invalid SA so that
++   * we do not add any state for unexpected STA addresses or end
++   * up sending out frames to unexpected destination. */
++  wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR
++ " in received frame - ignore this frame silently",
++ MAC2STR(mgmt->sa));
++  return 0;
++  }
++
+   if (stype == WLAN_FC_STYPE_BEACON) {
+   handle_beacon(hapd, mgmt, len, fi);
+   return 1;
+-- 
+2.17.1
+
diff --git a/meta-oe/recipes-connectivity/hostapd/hostapd_2.9.bb 
b/meta-oe/recipes-connectivity/hostapd/hostapd_2.9.bb
index 982514f5d..68dc12370 100644
--- a/meta-oe/recipes-connectivity/hostapd/hostapd_2.9.bb
+++ b/meta-oe/recipes-connectivity/hostapd/hostapd_2.9.bb
@@ -11,6 +11,7 @@ SRC_URI = " \
 file://defconfig \
 file://init \
 file://hostapd.service \
+file://CVE-2019-16275.patch \
 "
 
 SRC_URI[md5sum] = "f188fc53a495fe7af3b6d77d3c31dee8"
-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84016): 
https://lists.openembedded.org/g/openembedded-devel/message/84016
Mute This Topic: https://lists.openembedded.org/mt/73166739/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-webserver][PATCH] webmin: upgrade 1.850 -> 1.941

2020-04-20 Thread Khem Raj
On Mon, Apr 20, 2020 at 10:11 PM Wang Mingyu  wrote:
>
> Do you mean I should make a patch on master-next and then submit it to the 
> master branch?
>
> -邮件原件-
> 发件人: openembedded-devel@lists.openembedded.org 
>  代表 Khem Raj
> 发送时间: 2020年4月2日 14:33
> 收件人: Wang, Mingyu/王 鸣瑜 
> 抄送: openembeded-devel 
> 主题: Re: [oe] [meta-webserver][PATCH] webmin: upgrade 1.850 -> 1.941
>
> please rebase on master-next and resend
>

yes preferably but atleast rebase on top of master.

> On Wed, Apr 1, 2020 at 6:45 PM Wang Mingyu  wrote:
> >
> > refresh the folloing patches:
> > disable-version-check.patch
> > net-generic.patch
> > net-lib.pl.patch
> >
> > -License-Update: add "BSD 3-Clause License" to license file
> >
> > Signed-off-by: Wang Mingyu 
> > ---
> >  .../webmin/files/disable-version-check.patch  | 24 +++-
> >  .../webmin/files/net-generic.patch| 37 ++-
> >  .../webmin/files/net-lib.pl.patch | 17 ++---
> >  .../{webmin_1.850.bb => webmin_1.941.bb}  |  6 +--
> >  4 files changed, 49 insertions(+), 35 deletions(-)  rename
> > meta-webserver/recipes-webadmin/webmin/{webmin_1.850.bb =>
> > webmin_1.941.bb} (97%)
> >
> > diff --git
> > a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> > atch
> > b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> > atch
> > index 9aad894e0..61b56bf5a 100644
> > ---
> > a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> > atch
> > +++ b/meta-webserver/recipes-webadmin/webmin/files/disable-version-che
> > +++ ck.patch
> > @@ -6,12 +6,15 @@ the moment.
> >  Upstream-status: Inappropriate
> >
> >  Signed-off-by: Paul Eggleton 
> > +---
> > + webmin/webmin-lib.pl | 44
> > +++--
> > + 1 file changed, 22 insertions(+), 22 deletions(-)
> >
> > -Index: webmin-1.850/webmin/webmin-lib.pl
> > -===
> >  webmin-1.850.orig/webmin/webmin-lib.pl
> > -+++ webmin-1.850/webmin/webmin-lib.pl
> > -@@ -1112,28 +1112,28 @@ my %miniserv;
> > +diff --git a/webmin/webmin-lib.pl b/webmin/webmin-lib.pl index
> > +dad6cfc..73821f0 100755
> > +--- a/webmin/webmin-lib.pl
> >  b/webmin/webmin-lib.pl
> > +@@ -1130,28 +1130,28 @@ my %miniserv;
> >   _theme_library();# So that UI functions work
> >
> >   # Need OS upgrade
> > @@ -24,12 +27,12 @@ Index: webmin-1.850/webmin/webmin-lib.pl
> >  -  my ($minor) = split(/\./, $gconfig{'os_version'});
> >  -  if ($realos{'os_type'} eq $gconfig{'os_type'} &&
> >  -  $realminor == $minor) {
> > --  # Only the minor version number changed - no need to apply
> > +-  # Only the minor version number changed - just apply 
> > silently
> >  -  _new_os_version(\%realos);
> >  -  }
> >  -  else {
> >  -  # Large enough change to tell the user
> > --  push(@notifs,
> > +-  push(@notifs,
> >  -  
> > _form_start("$gconfig{'webprefix'}/webmin/fix_os.cgi").
> >  -  ('os_incorrect', $realos{'real_os_type'},
> >  -
> > $realos{'real_os_version'})."\n".
> > @@ -46,12 +49,12 @@ Index: webmin-1.850/webmin/webmin-lib.pl
> >  +# my ($minor) = split(/\./, $gconfig{'os_version'});
> >  +# if ($realos{'os_type'} eq $gconfig{'os_type'} &&
> >  +# $realminor == $minor) {
> > -+# # Only the minor version number changed - no need to apply
> > ++# # Only the minor version number changed - just apply 
> > silently
> >  +# _new_os_version(\%realos);
> >  +# }
> >  +# else {
> >  +# # Large enough change to tell the user
> > -+# push(@notifs,
> > ++# push(@notifs,
> >  +# 
> > _form_start("$gconfig{'webprefix'}/webmin/fix_os.cgi").
> >  +# ('os_incorrect', $realos{'real_os_type'},
> >  +#   
> > $realos{'real_os_version'})."\n".
> > @@ -62,3 +65,6 @@ Index: webmin-1.850/webmin/webmin-lib.pl
> >
> >   # Password close to expiry
> >   my $warn_days = $config{'warn_days'};
> > +--
> > +2.17.1
> > +
> > diff --git
> > a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> > b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> > index 554939285..a995d4b93 100644
> > --- a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> > +++ b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> > @@ -1,25 +1,26 @@
> > -# Add support for configuring network interfaces on a generic linux
> > system
> > +# Add support for configuring network interfaces on a generic linux #
> > +system
> >  #
> >  # Upstream-status: Not appropriate [config]  #  # Signed-off-by: Paul
> > Eggleton 
> > -Index: webmin-1.850/net/module.info
> > -===
> 

答复: [oe] [meta-webserver][PATCH] webmin: upgrade 1.850 -> 1.941

2020-04-20 Thread Wang Mingyu
Do you mean I should make a patch on master-next and then submit it to the 
master branch?

-邮件原件-
发件人: openembedded-devel@lists.openembedded.org 
 代表 Khem Raj
发送时间: 2020年4月2日 14:33
收件人: Wang, Mingyu/王 鸣瑜 
抄送: openembeded-devel 
主题: Re: [oe] [meta-webserver][PATCH] webmin: upgrade 1.850 -> 1.941

please rebase on master-next and resend

On Wed, Apr 1, 2020 at 6:45 PM Wang Mingyu  wrote:
>
> refresh the folloing patches:
> disable-version-check.patch
> net-generic.patch
> net-lib.pl.patch
>
> -License-Update: add "BSD 3-Clause License" to license file
>
> Signed-off-by: Wang Mingyu 
> ---
>  .../webmin/files/disable-version-check.patch  | 24 +++-
>  .../webmin/files/net-generic.patch| 37 ++-
>  .../webmin/files/net-lib.pl.patch | 17 ++---
>  .../{webmin_1.850.bb => webmin_1.941.bb}  |  6 +--
>  4 files changed, 49 insertions(+), 35 deletions(-)  rename 
> meta-webserver/recipes-webadmin/webmin/{webmin_1.850.bb => 
> webmin_1.941.bb} (97%)
>
> diff --git 
> a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> atch 
> b/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> atch
> index 9aad894e0..61b56bf5a 100644
> --- 
> a/meta-webserver/recipes-webadmin/webmin/files/disable-version-check.p
> atch
> +++ b/meta-webserver/recipes-webadmin/webmin/files/disable-version-che
> +++ ck.patch
> @@ -6,12 +6,15 @@ the moment.
>  Upstream-status: Inappropriate
>
>  Signed-off-by: Paul Eggleton 
> +---
> + webmin/webmin-lib.pl | 44 
> +++--
> + 1 file changed, 22 insertions(+), 22 deletions(-)
>
> -Index: webmin-1.850/webmin/webmin-lib.pl 
> -===
>  webmin-1.850.orig/webmin/webmin-lib.pl
> -+++ webmin-1.850/webmin/webmin-lib.pl
> -@@ -1112,28 +1112,28 @@ my %miniserv;
> +diff --git a/webmin/webmin-lib.pl b/webmin/webmin-lib.pl index 
> +dad6cfc..73821f0 100755
> +--- a/webmin/webmin-lib.pl
>  b/webmin/webmin-lib.pl
> +@@ -1130,28 +1130,28 @@ my %miniserv;
>   _theme_library();# So that UI functions work
>
>   # Need OS upgrade
> @@ -24,12 +27,12 @@ Index: webmin-1.850/webmin/webmin-lib.pl
>  -  my ($minor) = split(/\./, $gconfig{'os_version'});
>  -  if ($realos{'os_type'} eq $gconfig{'os_type'} &&
>  -  $realminor == $minor) {
> --  # Only the minor version number changed - no need to apply
> +-  # Only the minor version number changed - just apply silently
>  -  _new_os_version(\%realos);
>  -  }
>  -  else {
>  -  # Large enough change to tell the user
> --  push(@notifs,
> +-  push(@notifs,
>  -  _form_start("$gconfig{'webprefix'}/webmin/fix_os.cgi").
>  -  ('os_incorrect', $realos{'real_os_type'},
>  -$realos{'real_os_version'})."\n".
> @@ -46,12 +49,12 @@ Index: webmin-1.850/webmin/webmin-lib.pl
>  +# my ($minor) = split(/\./, $gconfig{'os_version'});
>  +# if ($realos{'os_type'} eq $gconfig{'os_type'} &&
>  +# $realminor == $minor) {
> -+# # Only the minor version number changed - no need to apply
> ++# # Only the minor version number changed - just apply silently
>  +# _new_os_version(\%realos);
>  +# }
>  +# else {
>  +# # Large enough change to tell the user
> -+# push(@notifs,
> ++# push(@notifs,
>  +# _form_start("$gconfig{'webprefix'}/webmin/fix_os.cgi").
>  +# ('os_incorrect', $realos{'real_os_type'},
>  +#   $realos{'real_os_version'})."\n".
> @@ -62,3 +65,6 @@ Index: webmin-1.850/webmin/webmin-lib.pl
>
>   # Password close to expiry
>   my $warn_days = $config{'warn_days'};
> +--
> +2.17.1
> +
> diff --git 
> a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch 
> b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> index 554939285..a995d4b93 100644
> --- a/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> +++ b/meta-webserver/recipes-webadmin/webmin/files/net-generic.patch
> @@ -1,25 +1,26 @@
> -# Add support for configuring network interfaces on a generic linux 
> system
> +# Add support for configuring network interfaces on a generic linux # 
> +system
>  #
>  # Upstream-status: Not appropriate [config]  #  # Signed-off-by: Paul 
> Eggleton 
> -Index: webmin-1.850/net/module.info
> -===
>  webmin-1.850.orig/net/module.info
> -+++ webmin-1.850/net/module.info
> -@@ -14,7 +14,7 @@ desc_ko_KR.UTF-8=雱ろ姼鞗岉伂 甑劚
> +---
> + net/module.info | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/net/module.info b/net/module.info index b23bf2d..8e3628e 
> +100644
> +--- a/net/module.info
>  b/net/module.info
> +@@ -1,7 

Re: [oe] [meta-python] [PATCH] python3-markupsafe: Enable ptest

2020-04-20 Thread Khem Raj
On Mon, Apr 20, 2020 at 7:01 PM zangrc  wrote:

> Signed-off-by: Zang Ruochen 
> ---
>  .../recipes-devtools/python/python-markupsafe.inc | 15 ++-
>  .../python/python3-markupsafe/run-ptest   |  3 +++
>  2 files changed, 17 insertions(+), 1 deletion(-)
>  create mode 100644
> meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
>
> diff --git a/meta-python/recipes-devtools/python/python-markupsafe.inc
> b/meta-python/recipes-devtools/python/python-markupsafe.inc
> index 33d63b3e5..480876268 100644
> --- a/meta-python/recipes-devtools/python/python-markupsafe.inc
> +++ b/meta-python/recipes-devtools/python/python-markupsafe.inc
> @@ -7,8 +7,21 @@ SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b"
>  SRC_URI[sha256sum] =
> "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
>
>  PYPI_PACKAGE = "MarkupSafe"
> -inherit pypi
> +inherit pypi ptest
>
>  RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
>
>  BBCLASSEXTEND = "native nativesdk"
> +
> +SRC_URI += " \
> +   file://run-ptest \
> +"
> +
> +RDEPENDS_${PN}-ptest += " \
> +   ${PYTHON_PN}-pytest \
> +"
> +
> +do_install_ptest() {
> +   install -d ${D}${PTEST_PATH}/tests
> +   cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
> +}


I wonder of cp would need equivalent options to match install behavior to
not preserve user permissions etc


> diff --git
> a/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
> b/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
> new file mode 100644
> index 0..5cec71169
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
> @@ -0,0 +1,3 @@
> +#!/bin/sh
> +
> +pytest
> --
> 2.20.1
>
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84013): 
https://lists.openembedded.org/g/openembedded-devel/message/84013
Mute This Topic: https://lists.openembedded.org/mt/73164560/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-oe][PATCH] php: Add 7.4.4

2020-04-20 Thread Khem Raj
That is fine however I Am afraid that no one will send security patches etc
and we might have a recipe not well maintained that’s what concerns me

On Mon, Apr 20, 2020 at 6:28 PM Changqing Li 
wrote:

>
> On 4/21/20 12:56 AM, Khem Raj wrote:
>
> On Mon, Apr 20, 2020 at 2:59 AM Changqing Li  
>  wrote:
>
> From: Changqing Li  
>
> * Add php 7.4, and also keep 7.3 existed.
>
> why do we need to keep 7.3 ?
>
> I keep it since 7.3 and 7.4 have some incompatibility,  so maybe keep 7.3
> to EOF is better ?
>
> refer:https://www.php.net/migration74https://www.php.net/supported-versions.php
>
> * note: for 7.4, pear is disabled by default,
> and it will be deprecated in future.
>
> Signed-off-by: Changqing Li  
> 
> ---
>  ...nfigure.ac-don-t-include-build-libtool.m4.patch |  30 +++
>  .../0001-php.m4-don-t-unset-cache-variables.patch  |  39 +++
>  ...7.4-0001-opcache-config.m4-enable-opcache.patch | 230 +
>  ...01-php-don-t-use-broken-wrapper-for-mkdir.patch |  29 +++
>  .../recipes-devtools/php/php/php7.4-iconv.patch|  41 
>  .../php/php/php7.4-imap-fix-autofoo.patch  |  41 
>  .../php/php/php7.4-phar-makefile.patch |  46 
>  .../php/php/php7.4-php_exec_native.patch   |  26 ++
>  meta-oe/recipes-devtools/php/php_7.4.4.bb  | 272 
> +
>  9 files changed, 754 insertions(+)
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-php-don-t-use-broken-wrapper-for-mkdir.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-iconv.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-imap-fix-autofoo.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-phar-makefile.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-php_exec_native.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php_7.4.4.bb
>
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> new file mode 100644
> index 000..2861366
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> @@ -0,0 +1,30 @@
> +From f5a34e771532b8433f307b679500c26af328ba35 Mon Sep 17 00:00:00 2001
> +From: Changqing Li  
> +Date: Fri, 17 Apr 2020 15:01:57 +0800
> +Subject: [PATCH] configure.ac: don't include build/libtool.m4
> +
> +we delete build/libtool.m4 before do_configure,
> +we will use libtool.m4 under ACLOCALDIR
> +
> +Upstream-Status: Inappropriate [oe-specific]
> +
> +Signed-off-by: Changqing Li  
> 
> +---
> + configure.ac | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 06c6a27..f85144e 100644
> +--- a/configure.ac
>  b/configure.ac
> +@@ -6,7 +6,6 @@ dnl 
> 
> + m4_include([build/ax_check_compile_flag.m4])
> + m4_include([build/ax_func_which_gethostbyname_r.m4])
> + m4_include([build/ax_gcc_func_attribute.m4])
> +-m4_include([build/libtool.m4])
> + m4_include([build/php_cxx_compile_stdcxx.m4])
> + m4_include([build/php.m4])
> + m4_include([build/pkg.m4])
> +--
> +2.7.4
> +
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> new file mode 100644
> index 000..0d721ec
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> @@ -0,0 +1,39 @@
> +php.m4: don't unset cache variables
> +
> +Unsetting prevents cache variable from being passed to configure.
> +
> +Upstream-Status: Inappropriate [OE-specific]
> +
> +Signed-off-by: Anuj Mittal  
> +
> +update this patch to 7.4.4, acinclude.m4 move to build/php.m4
> +Signed-off-by: Changqing Li  
> 
> +---
> + build/php.m4 | 4 
> + 1 file changed, 4 deletions(-)
> +
> +diff --git a/build/php.m4 b/build/php.m4
> +index 5c45d13..218ec47 100644
> +--- a/build/php.m4
>  b/build/php.m4
> +@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC_LIB],[
> +   ifelse($2,,:,[
> +-  unset ac_cv_lib_$2[]_$1
> +-  unset ac_cv_lib_$2[]___$1
> +   unset found
> +   AC_CHECK_LIB($2, $1, [found=yes], [
> + AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
> +@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. 
> Defines HAVE_func and
> + dnl HAVE_library if found and adds the library to LIBS.
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC],[
> +-  unset ac_cv_func_$1
> +-  unset 

[oe] [meta-python] [PATCH] python3-jdcal: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../python/python3-jdcal/run-ptest |  3 +++
 .../recipes-devtools/python/python3-jdcal_1.4.1.bb | 14 +-
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-jdcal/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-jdcal/run-ptest 
b/meta-python/recipes-devtools/python/python3-jdcal/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jdcal/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
diff --git a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb 
b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
index c8b5c953b..46deeae15 100644
--- a/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-jdcal_1.4.1.bb
@@ -7,9 +7,21 @@ HOMEPAGE = "https://github.com/phn/jdcal;
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://PKG-INFO;md5=bd236e1f590973467a427bb354be0f46"
 
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest
 
 SRC_URI[md5sum] = "e05bdb60fa80f25bc60e73e0c6b7c5dc"
 SRC_URI[sha256sum] = 
"472872e096eb8df219c23f2689fc336668bdb43d194094b5cc1707e1640acfc8"
 
 RDEPENDS_${PN} += "${PYTHON_PN}-compression ${PYTHON_PN}-io 
${PYTHON_PN}-pprint ${PYTHON_PN}-shell"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   cp -f ${S}/test_jdcal.py ${D}${PTEST_PATH}/
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84011): 
https://lists.openembedded.org/g/openembedded-devel/message/84011
Mute This Topic: https://lists.openembedded.org/mt/73164723/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-msgpack: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../python/python3-msgpack/run-ptest  |  3 +++
 .../python/python3-msgpack_0.6.2.bb   | 15 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-msgpack/run-ptest

diff --git a/meta-python/recipes-devtools/python/python3-msgpack/run-ptest 
b/meta-python/recipes-devtools/python/python3-msgpack/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-msgpack/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
diff --git a/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb 
b/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb
index 7cfaf1c51..6d7e7a0dc 100644
--- a/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb
+++ b/meta-python/recipes-devtools/python/python3-msgpack_0.6.2.bb
@@ -3,7 +3,7 @@ LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=cd9523181d9d4fbf7ffca52eaa2a5751"
 
 PYPI_PACKAGE = "msgpack"
-inherit pypi setuptools3
+inherit pypi setuptools3 ptest
 
 SRC_URI[md5sum] = "ba46fdee995565f40e332bd7eea882f1"
 SRC_URI[sha256sum] = 
"ea3c2f859346fcd55fc46e96885301d9c2f7a36d453f5d8f2967840efa1e1830"
@@ -13,3 +13,16 @@ RDEPENDS_${PN}_class-target += "\
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/test
+   cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
+}
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84010): 
https://lists.openembedded.org/g/openembedded-devel/message/84010
Mute This Topic: https://lists.openembedded.org/mt/73164566/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-license-expression: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../python/python-license-expression.inc  | 15 ++-
 .../python/python3-license-expression/run-ptest   |  3 +++
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-license-expression/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-license-expression.inc 
b/meta-python/recipes-devtools/python/python-license-expression.inc
index 4c35e8dd7..add25810d 100644
--- a/meta-python/recipes-devtools/python/python-license-expression.inc
+++ b/meta-python/recipes-devtools/python/python-license-expression.inc
@@ -7,10 +7,23 @@ LIC_FILES_CHKSUM = 
"file://apache-2.0.LICENSE;md5=e23fadd6ceef8c618fc1c65191d846
 SRC_URI[md5sum] = "81477f779099f55071c6a7b88a29bb01"
 SRC_URI[sha256sum] = 
"8aaa455c5b97c4f2174090178b19792b2a1c620e80591aafd4e0a99b713f9e8d"
 
-inherit pypi
+inherit pypi ptest
 
 RDEPENDS_${PN} += "\
 ${PYTHON_PN}-booleanpy \
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git 
a/meta-python/recipes-devtools/python/python3-license-expression/run-ptest 
b/meta-python/recipes-devtools/python/python3-license-expression/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-license-expression/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84009): 
https://lists.openembedded.org/g/openembedded-devel/message/84009
Mute This Topic: https://lists.openembedded.org/mt/73164564/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-jsonpointer: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../recipes-devtools/python/python-jsonpointer.inc | 14 +-
 .../python/python3-jsonpointer/run-ptest   |  3 +++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-jsonpointer.inc 
b/meta-python/recipes-devtools/python/python-jsonpointer.inc
index b6e4836ef..3e41b70b8 100644
--- a/meta-python/recipes-devtools/python/python-jsonpointer.inc
+++ b/meta-python/recipes-devtools/python/python-jsonpointer.inc
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-pointer;
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=32b15c843b7a329130f4e266a281ebb3"
 
-inherit pypi
+inherit pypi ptest
 
 SRC_URI[md5sum] = "741b98d0e693b08b5e44e0a9da5a7bb7"
 SRC_URI[sha256sum] = 
"c192ba86648e05fdae4f08a17ec25180a9aef5008d973407b581798a83975362"
@@ -13,3 +13,15 @@ RDEPENDS_${PN} += " \
 "
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   cp -f ${S}/tests.py ${D}${PTEST_PATH}/
+}
diff --git a/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest 
b/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest
new file mode 100644
index 0..51e609f4b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jsonpointer/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+python3 tests.py
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84008): 
https://lists.openembedded.org/g/openembedded-devel/message/84008
Mute This Topic: https://lists.openembedded.org/mt/73164563/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-markupsafe: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../recipes-devtools/python/python-markupsafe.inc | 15 ++-
 .../python/python3-markupsafe/run-ptest   |  3 +++
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 
meta-python/recipes-devtools/python/python3-markupsafe/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-markupsafe.inc 
b/meta-python/recipes-devtools/python/python-markupsafe.inc
index 33d63b3e5..480876268 100644
--- a/meta-python/recipes-devtools/python/python-markupsafe.inc
+++ b/meta-python/recipes-devtools/python/python-markupsafe.inc
@@ -7,8 +7,21 @@ SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b"
 SRC_URI[sha256sum] = 
"29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
 
 PYPI_PACKAGE = "MarkupSafe"
-inherit pypi
+inherit pypi ptest
 
 RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
 
 BBCLASSEXTEND = "native nativesdk"
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest 
b/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-markupsafe/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84006): 
https://lists.openembedded.org/g/openembedded-devel/message/84006
Mute This Topic: https://lists.openembedded.org/mt/73164560/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-jinja2: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../recipes-devtools/python/python-jinja2.inc| 16 
 .../python/python3-jinja2/run-ptest  |  3 +++
 2 files changed, 19 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-jinja2/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-jinja2.inc 
b/meta-python/recipes-devtools/python/python-jinja2.inc
index 6a95b953f..927230515 100644
--- a/meta-python/recipes-devtools/python/python-jinja2.inc
+++ b/meta-python/recipes-devtools/python/python-jinja2.inc
@@ -15,3 +15,19 @@ RDEPENDS_${PN} += "${PYTHON_PN}-io ${PYTHON_PN}-pickle 
${PYTHON_PN}-crypt \
 CLEANBROKEN = "1"
 
 BBCLASSEXTEND = "native nativesdk"
+
+inherit ptest
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+   ${PYTHON_PN}-unixadmin \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git a/meta-python/recipes-devtools/python/python3-jinja2/run-ptest 
b/meta-python/recipes-devtools/python/python3-jinja2/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-jinja2/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84005): 
https://lists.openembedded.org/g/openembedded-devel/message/84005
Mute This Topic: https://lists.openembedded.org/mt/73164558/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-python] [PATCH] python3-more-itertools: Enable ptest

2020-04-20 Thread zangrc
Signed-off-by: Zang Ruochen 
---
 .../python/python-more-itertools.inc  | 15 +++
 .../python/python3-more-itertools/run-ptest   |  3 +++
 2 files changed, 18 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-more-itertools/run-ptest

diff --git a/meta-python/recipes-devtools/python/python-more-itertools.inc 
b/meta-python/recipes-devtools/python/python-more-itertools.inc
index 8dcf00b3f..0b684c1b1 100644
--- a/meta-python/recipes-devtools/python/python-more-itertools.inc
+++ b/meta-python/recipes-devtools/python/python-more-itertools.inc
@@ -4,3 +4,18 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
 
 BBCLASSEXTEND = "native nativesdk"
+
+inherit ptest
+
+SRC_URI += " \
+   file://run-ptest \
+"
+
+RDEPENDS_${PN}-ptest += " \
+   ${PYTHON_PN}-pytest \
+"
+
+do_install_ptest() {
+   install -d ${D}${PTEST_PATH}/tests
+   cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
+}
diff --git 
a/meta-python/recipes-devtools/python/python3-more-itertools/run-ptest 
b/meta-python/recipes-devtools/python/python3-more-itertools/run-ptest
new file mode 100644
index 0..5cec71169
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-more-itertools/run-ptest
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84007): 
https://lists.openembedded.org/g/openembedded-devel/message/84007
Mute This Topic: https://lists.openembedded.org/mt/73164562/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-oe][PATCH] php: Add 7.4.4

2020-04-20 Thread Changqing Li


On 4/21/20 12:56 AM, Khem Raj wrote:

On Mon, Apr 20, 2020 at 2:59 AM Changqing Li  wrote:

From: Changqing Li 

* Add php 7.4, and also keep 7.3 existed.


why do we need to keep 7.3 ?


I keep it since 7.3 and 7.4 have some incompatibility,  so maybe keep 
7.3 to EOF is better ?





refer:
https://www.php.net/migration74
https://www.php.net/supported-versions.php

* note: for 7.4, pear is disabled by default,
and it will be deprecated in future.

Signed-off-by: Changqing Li 
---
  ...nfigure.ac-don-t-include-build-libtool.m4.patch |  30 +++
  .../0001-php.m4-don-t-unset-cache-variables.patch  |  39 +++
  ...7.4-0001-opcache-config.m4-enable-opcache.patch | 230 +
  ...01-php-don-t-use-broken-wrapper-for-mkdir.patch |  29 +++
  .../recipes-devtools/php/php/php7.4-iconv.patch|  41 
  .../php/php/php7.4-imap-fix-autofoo.patch  |  41 
  .../php/php/php7.4-phar-makefile.patch |  46 
  .../php/php/php7.4-php_exec_native.patch   |  26 ++
  meta-oe/recipes-devtools/php/php_7.4.4.bb  | 272 +
  9 files changed, 754 insertions(+)
  create mode 100644 
meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
  create mode 100644 
meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
  create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
  create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-0001-php-don-t-use-broken-wrapper-for-mkdir.patch
  create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-iconv.patch
  create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-imap-fix-autofoo.patch
  create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-phar-makefile.patch
  create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-php_exec_native.patch
  create mode 100644 meta-oe/recipes-devtools/php/php_7.4.4.bb

diff --git 
a/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
 
b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
new file mode 100644
index 000..2861366
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
@@ -0,0 +1,30 @@
+From f5a34e771532b8433f307b679500c26af328ba35 Mon Sep 17 00:00:00 2001
+From: Changqing Li 
+Date: Fri, 17 Apr 2020 15:01:57 +0800
+Subject: [PATCH] configure.ac: don't include build/libtool.m4
+
+we delete build/libtool.m4 before do_configure,
+we will use libtool.m4 under ACLOCALDIR
+
+Upstream-Status: Inappropriate [oe-specific]
+
+Signed-off-by: Changqing Li 
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 06c6a27..f85144e 100644
+--- a/configure.ac
 b/configure.ac
+@@ -6,7 +6,6 @@ dnl 

+ m4_include([build/ax_check_compile_flag.m4])
+ m4_include([build/ax_func_which_gethostbyname_r.m4])
+ m4_include([build/ax_gcc_func_attribute.m4])
+-m4_include([build/libtool.m4])
+ m4_include([build/php_cxx_compile_stdcxx.m4])
+ m4_include([build/php.m4])
+ m4_include([build/pkg.m4])
+--
+2.7.4
+
diff --git 
a/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
 
b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
new file mode 100644
index 000..0d721ec
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
@@ -0,0 +1,39 @@
+php.m4: don't unset cache variables
+
+Unsetting prevents cache variable from being passed to configure.
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Anuj Mittal 
+
+update this patch to 7.4.4, acinclude.m4 move to build/php.m4
+Signed-off-by: Changqing Li 
+---
+ build/php.m4 | 4 
+ 1 file changed, 4 deletions(-)
+
+diff --git a/build/php.m4 b/build/php.m4
+index 5c45d13..218ec47 100644
+--- a/build/php.m4
 b/build/php.m4
+@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB
+ dnl
+ AC_DEFUN([PHP_CHECK_FUNC_LIB],[
+   ifelse($2,,:,[
+-  unset ac_cv_lib_$2[]_$1
+-  unset ac_cv_lib_$2[]___$1
+   unset found
+   AC_CHECK_LIB($2, $1, [found=yes], [
+ AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
+@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. Defines 
HAVE_func and
+ dnl HAVE_library if found and adds the library to LIBS.
+ dnl
+ AC_DEFUN([PHP_CHECK_FUNC],[
+-  unset ac_cv_func_$1
+-  unset ac_cv_func___$1
+   unset found
+
+   AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) 
])
+--
+2.7.4
+
diff --git 
a/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
 
b/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
new file mode 100644
index 000..ee0d5ed
--- /dev/null
+++ 

[oe] OpenEmbedded TSC Meeting Minutes 2020-04-20

2020-04-20 Thread Paul Eggleton
OpenEmbedded Technical Steering Committee (TSC) Meeting Minutes 2020-04-20
==

Meeting was held in #oe-tsc on Freenode; channel access public.

Present:
- Richard Purdie (RP)
- Joshua Watt (JPEW)
- Bruce Ashfield (zeddii)
- Paul Eggleton (bluelightning)
- Martin Jansa (JaMa)

Summary:
* Training & certification
  - LF is providing training, needs some review/extension
  - Certification - long term goal, need to find someone with interest to drive 
it
  - zeddii & JPEW volunteered to help
* multilib problems 
  - See RP's email yesterday: 
https://lists.openembedded.org/g/openembedded-architecture/message/1052
  - An architectural change is needed
  - Technical discussion (see log below); will continue on the mailing list


Full meeting log
-

[09:00]  hello folks
[09:00]  and no JaMa :/
[09:00]  hi bluelightning
[09:01]  Hello
[09:01]  here
[09:02]  Should we give JaMa a few minutes?
[09:03]  sure
[09:03]  JPEW: he's not online at all which is a bad sign :/
[09:03]  he was online earlier though it seems
[09:04]  might be worth an email?
[09:04]  Will do
[09:05]  thanks
[09:08]  Hi, sorry I'm late
[09:08]  JaMa, no worries :)
[09:08]  4 things on the agenda today: 
https://www.openembedded.org/wiki/TSC
[09:08]  3 are repeats
[09:09]  Oops, I guess the version tags one needs removed?
[09:09]  I think we resolved it?
[09:09]  hi JaMa, glad you are around! :)
[09:10]  I've created the reminder, but for tomorrow :/
[09:10]  I think a quick visit into post 3.1 development may be good too
[09:10]  JaMa: you did better than me, I forgot to create the 
reminder ;)
[09:11]  bluelightning: you'll need a reminder to create the reminder
[09:11]  RP: maybe just a permanent "you forgot something" 
sticky note on my monitor would be appropriate for me :D
[09:11]  RP: Do you want to start with the post 3.1 development?
[09:12]  JPEW: lets start with the training and certification?
[09:12]  Sounds good what is that :)
[09:13]  The LF runs "YP" training courses
[09:13]  obviously that overlaps a lot with OE. They started as in person 
instructor courses, now they're virtual instructor led and there are plans to 
have a self paced e-learning verison
[09:14]  I think that is all good and I've volunteered to review the course 
material, I actually already did and put forward a number of corrections and 
suggestions
[09:14]  There is talk about certification ideas. That is more complex as 
it would need funding and a bigger time input from "us", the projects.
[09:15]  The reason I bring all this up is that there is some opportunity 
for anyone with a strong interest to get involved and help these things move 
forward
[09:15]  I've mentioned to the YP TSC and I'm also mentioning to the OE TSC 
as well
[09:15]  Ya, I think at a minimum it would be good to review the course 
material (I'd be willing to do that)
[09:16]  What sort of "certification" is being discussed?
[09:16]  Keep in mind this is a course the LF charges for and the material 
is therefore confidential
[09:17]  JPEW: the idea would be like some of the other LF certifications
[09:17]  e.g. 
https://training.linuxfoundation.org/certification/certified-kubernetes-administrator-cka/#domains
[09:18]  At this point I guess I'm asking if anyone has a strong interest 
in being involved and helping drive this
[09:18]  FWIW: I'm curious how wide this certification can be, because 
OE/YP is _very_ wide area, so being expert in some area doesn't help much in 
other areas, especially when customer doesn't even know how they want e.g. to 
maintain the distro
[09:19]  JaMa: a lot would come down to how we define the things someone 
should know to gain the qualification
[09:20]  I did argue for a split level approach with two levels, an 
essentials and advanced
[09:20]  I suspect we'd need to focus on the essentials first
[09:20]  We'd look at getting an advanced training course going first, then 
look at exams for the level
[09:22]  Makes sense I'll think about it
[09:23]  This is probably a long term objective. Short term we can improve 
the current training which will feed into the e-learning. Certification is a 
longer term goal
[09:23]  I really just need to know who is interested and available to help 
work on it (if anyone)
[09:24]  The TSCs are the people who guide "the architecture" in many ways
[09:24]  I appreciate its hard to comment with so few details. I'm 
struggling with the division between YP and OE here too a bit :/
[09:24]  I'll stop here and move on to 3.1 since I'm mostly talking to 
myself? :)
[09:24]  I can help out. I can't step up for "drive it", but I'm 
definitely interested at some level.
[09:25]  zeddii: there is a section in the training about the kernel bits 
which you might like to review ;-)
[09:26]  the thought crossed my mind. :D
[09:26]  I'm only curious not in position to get involved with this, at 
work I can imagine hiring someone cerified with 

Re: [oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Khem Raj
Thanks!

On Mon, Apr 20, 2020 at 11:26 AM Andrea Adami 
wrote:

> On Mon, Apr 20, 2020 at 7:44 PM Khem Raj  wrote:
> >
> > On Mon, Apr 20, 2020 at 10:07 AM Andrea Adami 
> wrote:
> > >
> > > The Y2038 changes broke the build for older 32bit devices using
> > > older kernels.
> > >
> > > As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
> > >
> > > Signed-off-by: Andrea Adami 
> > > ---
> > >  .../zaurusd/zaurusd/add_64bit_time_t.patch| 43 +++
> > >  recipes-bsp/zaurusd/zaurusd_git.bb|  3 +-
> > >  2 files changed, 45 insertions(+), 1 deletion(-)
> > >  create mode 100644 recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> > >
> > > diff --git a/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> > > new file mode 100644
> > > index 000..5f9587a
> > > --- /dev/null
> > > +++ b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> > > @@ -0,0 +1,43 @@
> > > +From d15b20fd9e8927db5dc4303f2e6c11cfa8d6fe95 Mon Sep 17 00:00:00 2001
> > > +From: Andrea Adami 
> > > +Date: Mon, 20 Apr 2020 16:21:22 +0200
> > > +Subject: [PATCH] tskeys.c: add support for 64bit time_t
> > > +
> > > +Upgrade the recipe to cope with the 64-bit time changes introduced in
> 4.16
> > > +
> > > +Fix:
> > > +
> > > +| tskeys.c: In function 'press_key':
> > > +| tskeys.c:141:4: error: 'struct input_event' has no member named
> 'time'
> > > +|   141 |  ev.time.tv_sec = time(0);
> > > +|   |^
> > > +| tskeys.c:142:4: error: 'struct input_event' has no member named
> 'time'
> > > +|   142 |  ev.time.tv_usec = 0;
> > > +|   |^
> > > +
> > > +Signed-off-by: Andrea Adami 
> > > +---
> > > + apps/tskeys/tskeys.c | 5 +
> > > + 1 file changed, 5 insertions(+)
> > > +
> > > +diff --git a/apps/tskeys/tskeys.c b/apps/tskeys/tskeys.c
> > > +index 264dfb7..36e3bfd 100644
> > > +--- a/apps/tskeys/tskeys.c
> > >  b/apps/tskeys/tskeys.c
> > > +@@ -138,8 +138,13 @@ void press_key(int fd, int key, int pressed)
> > > +   struct input_event ev;
> > > +   int r;
> > > +
> > > ++#if !defined(__USE_TIME_BITS64)
> > > +   ev.time.tv_sec = time(0);
> > > +   ev.time.tv_usec = 0;
> > > ++#else
> > > ++  ev.input_event_sec = time(0);
> > > ++  ev.input_event_usec = 0;
> > > ++#endif
> >
> > does this work with musl ?
> >
>
>
> Yes, actually I tested it on musl first.
>
> Build Configuration:
> BB_VERSION   = "1.46.0"
> BUILD_SYS= "x86_64-linux"
> NATIVELSBSTRING  = "ubuntu-18.04"
> TARGET_SYS   = "arm-oe-linux-musleabi"
> MACHINE  = "spitz"
> DISTRO   = "nodistro"
> DISTRO_VERSION   = "nodistro.0"
> TUNE_FEATURES= "arm armv5 thumb dsp"
> TARGET_FPU   = "soft"
> meta =
> "master-next:b450b0a2f5df27c4ea903ae9c5f6f5b96b9ddfc3"
> meta-oe  =
> "master-next:205440e40f9a2d37a4f48391b03673a4aa042982"
> meta-handheld= "master:a876aaa33317d388aa2e865f665fe6cc58d500a7"
>
>
>
>
> > > +   ev.type = EV_KEY;
> > > +   ev.code = key;
> > > +   ev.value = pressed;
> > > +--
> > > +2.17.1
> > > +
> > > diff --git a/recipes-bsp/zaurusd/zaurusd_git.bb b/recipes-bsp/zaurusd/
> zaurusd_git.bb
> > > index d69805b..1f8e40b 100644
> > > --- a/recipes-bsp/zaurusd/zaurusd_git.bb
> > > +++ b/recipes-bsp/zaurusd/zaurusd_git.bb
> > > @@ -24,7 +24,8 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}
>  \
> > > file://01-check-toggle-portait \
> > > file://use-ts-symlink-instead-of-hardcoding.diff \
> > > file://0001-zaurusd-add-support-for-collie.patch \
> > > -   file://allow-newer-tslib.patch"
> > > +   file://allow-newer-tslib.patch \
> > > +   file://add_64bit_time_t.patch"
> > >
> > >
> > >  S = "${WORKDIR}/git"
> > > --
> > > 2.17.1
> > >
> > > 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84002): 
https://lists.openembedded.org/g/openembedded-devel/message/84002
Mute This Topic: https://lists.openembedded.org/mt/73154204/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Andrea Adami
On Mon, Apr 20, 2020 at 7:44 PM Khem Raj  wrote:
>
> On Mon, Apr 20, 2020 at 10:07 AM Andrea Adami  wrote:
> >
> > The Y2038 changes broke the build for older 32bit devices using
> > older kernels.
> >
> > As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
> >
> > Signed-off-by: Andrea Adami 
> > ---
> >  .../zaurusd/zaurusd/add_64bit_time_t.patch| 43 +++
> >  recipes-bsp/zaurusd/zaurusd_git.bb|  3 +-
> >  2 files changed, 45 insertions(+), 1 deletion(-)
> >  create mode 100644 recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> >
> > diff --git a/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch 
> > b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> > new file mode 100644
> > index 000..5f9587a
> > --- /dev/null
> > +++ b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> > @@ -0,0 +1,43 @@
> > +From d15b20fd9e8927db5dc4303f2e6c11cfa8d6fe95 Mon Sep 17 00:00:00 2001
> > +From: Andrea Adami 
> > +Date: Mon, 20 Apr 2020 16:21:22 +0200
> > +Subject: [PATCH] tskeys.c: add support for 64bit time_t
> > +
> > +Upgrade the recipe to cope with the 64-bit time changes introduced in 4.16
> > +
> > +Fix:
> > +
> > +| tskeys.c: In function 'press_key':
> > +| tskeys.c:141:4: error: 'struct input_event' has no member named 'time'
> > +|   141 |  ev.time.tv_sec = time(0);
> > +|   |^
> > +| tskeys.c:142:4: error: 'struct input_event' has no member named 'time'
> > +|   142 |  ev.time.tv_usec = 0;
> > +|   |^
> > +
> > +Signed-off-by: Andrea Adami 
> > +---
> > + apps/tskeys/tskeys.c | 5 +
> > + 1 file changed, 5 insertions(+)
> > +
> > +diff --git a/apps/tskeys/tskeys.c b/apps/tskeys/tskeys.c
> > +index 264dfb7..36e3bfd 100644
> > +--- a/apps/tskeys/tskeys.c
> >  b/apps/tskeys/tskeys.c
> > +@@ -138,8 +138,13 @@ void press_key(int fd, int key, int pressed)
> > +   struct input_event ev;
> > +   int r;
> > +
> > ++#if !defined(__USE_TIME_BITS64)
> > +   ev.time.tv_sec = time(0);
> > +   ev.time.tv_usec = 0;
> > ++#else
> > ++  ev.input_event_sec = time(0);
> > ++  ev.input_event_usec = 0;
> > ++#endif
>
> does this work with musl ?
>


Yes, actually I tested it on musl first.

Build Configuration:
BB_VERSION   = "1.46.0"
BUILD_SYS= "x86_64-linux"
NATIVELSBSTRING  = "ubuntu-18.04"
TARGET_SYS   = "arm-oe-linux-musleabi"
MACHINE  = "spitz"
DISTRO   = "nodistro"
DISTRO_VERSION   = "nodistro.0"
TUNE_FEATURES= "arm armv5 thumb dsp"
TARGET_FPU   = "soft"
meta = "master-next:b450b0a2f5df27c4ea903ae9c5f6f5b96b9ddfc3"
meta-oe  = "master-next:205440e40f9a2d37a4f48391b03673a4aa042982"
meta-handheld= "master:a876aaa33317d388aa2e865f665fe6cc58d500a7"




> > +   ev.type = EV_KEY;
> > +   ev.code = key;
> > +   ev.value = pressed;
> > +--
> > +2.17.1
> > +
> > diff --git a/recipes-bsp/zaurusd/zaurusd_git.bb 
> > b/recipes-bsp/zaurusd/zaurusd_git.bb
> > index d69805b..1f8e40b 100644
> > --- a/recipes-bsp/zaurusd/zaurusd_git.bb
> > +++ b/recipes-bsp/zaurusd/zaurusd_git.bb
> > @@ -24,7 +24,8 @@ SRC_URI = "git://git.yoctoproject.org/${BPN} \
> > file://01-check-toggle-portait \
> > file://use-ts-symlink-instead-of-hardcoding.diff \
> > file://0001-zaurusd-add-support-for-collie.patch \
> > -   file://allow-newer-tslib.patch"
> > +   file://allow-newer-tslib.patch \
> > +   file://add_64bit_time_t.patch"
> >
> >
> >  S = "${WORKDIR}/git"
> > --
> > 2.17.1
> >
> > 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84001): 
https://lists.openembedded.org/g/openembedded-devel/message/84001
Mute This Topic: https://lists.openembedded.org/mt/73154204/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Khem Raj
On Mon, Apr 20, 2020 at 10:07 AM Andrea Adami  wrote:
>
> The Y2038 changes broke the build for older 32bit devices using
> older kernels.
>
> As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign
>
> Signed-off-by: Andrea Adami 
> ---
>  .../zaurusd/zaurusd/add_64bit_time_t.patch| 43 +++
>  recipes-bsp/zaurusd/zaurusd_git.bb|  3 +-
>  2 files changed, 45 insertions(+), 1 deletion(-)
>  create mode 100644 recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
>
> diff --git a/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch 
> b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> new file mode 100644
> index 000..5f9587a
> --- /dev/null
> +++ b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
> @@ -0,0 +1,43 @@
> +From d15b20fd9e8927db5dc4303f2e6c11cfa8d6fe95 Mon Sep 17 00:00:00 2001
> +From: Andrea Adami 
> +Date: Mon, 20 Apr 2020 16:21:22 +0200
> +Subject: [PATCH] tskeys.c: add support for 64bit time_t
> +
> +Upgrade the recipe to cope with the 64-bit time changes introduced in 4.16
> +
> +Fix:
> +
> +| tskeys.c: In function 'press_key':
> +| tskeys.c:141:4: error: 'struct input_event' has no member named 'time'
> +|   141 |  ev.time.tv_sec = time(0);
> +|   |^
> +| tskeys.c:142:4: error: 'struct input_event' has no member named 'time'
> +|   142 |  ev.time.tv_usec = 0;
> +|   |^
> +
> +Signed-off-by: Andrea Adami 
> +---
> + apps/tskeys/tskeys.c | 5 +
> + 1 file changed, 5 insertions(+)
> +
> +diff --git a/apps/tskeys/tskeys.c b/apps/tskeys/tskeys.c
> +index 264dfb7..36e3bfd 100644
> +--- a/apps/tskeys/tskeys.c
>  b/apps/tskeys/tskeys.c
> +@@ -138,8 +138,13 @@ void press_key(int fd, int key, int pressed)
> +   struct input_event ev;
> +   int r;
> +
> ++#if !defined(__USE_TIME_BITS64)
> +   ev.time.tv_sec = time(0);
> +   ev.time.tv_usec = 0;
> ++#else
> ++  ev.input_event_sec = time(0);
> ++  ev.input_event_usec = 0;
> ++#endif

does this work with musl ?

> +   ev.type = EV_KEY;
> +   ev.code = key;
> +   ev.value = pressed;
> +--
> +2.17.1
> +
> diff --git a/recipes-bsp/zaurusd/zaurusd_git.bb 
> b/recipes-bsp/zaurusd/zaurusd_git.bb
> index d69805b..1f8e40b 100644
> --- a/recipes-bsp/zaurusd/zaurusd_git.bb
> +++ b/recipes-bsp/zaurusd/zaurusd_git.bb
> @@ -24,7 +24,8 @@ SRC_URI = "git://git.yoctoproject.org/${BPN} \
> file://01-check-toggle-portait \
> file://use-ts-symlink-instead-of-hardcoding.diff \
> file://0001-zaurusd-add-support-for-collie.patch \
> -   file://allow-newer-tslib.patch"
> +   file://allow-newer-tslib.patch \
> +   file://add_64bit_time_t.patch"
>
>
>  S = "${WORKDIR}/git"
> --
> 2.17.1
>
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#84000): 
https://lists.openembedded.org/g/openembedded-devel/message/84000
Mute This Topic: https://lists.openembedded.org/mt/73154204/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-initramfs][PATCH] kexecboot(-klibc): update recipe to master on github (5a5e04b)

2020-04-20 Thread Andrea Adami
fix injection of compiler flags (static and debug)

Signed-off-by: Andrea Adami 
---
 meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb 
b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
index 4b20e1ed9..ed3dece3f 100644
--- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
+++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb
@@ -8,7 +8,7 @@ S = "${WORKDIR}/git"
 SRC_URI = "git://github.com/kexecboot/kexecboot.git"
 SRC_URI_append_libc-klibc = " 
file://0001-kexecboot-Use-new-reboot-API-with-klibc.patch "
 
-SRCREV = "7409a1e0aaea61af87c4eca0149cec18a9f58ab6"
+SRCREV = "5a5e04be206140059f42ac786d424da1afaa04b6"
 inherit autotools
 
 EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83999): 
https://lists.openembedded.org/g/openembedded-devel/message/83999
Mute This Topic: https://lists.openembedded.org/mt/73154257/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-handheld][PATCH 1/4] zaurusd: fix build with kernels < 4.16 and newer libc headers

2020-04-20 Thread Andrea Adami
The Y2038 changes broke the build for older 32bit devices using
older kernels.

As seen on: https://sourceware.org/glibc/wiki/Y2038ProofnessDesign

Signed-off-by: Andrea Adami 
---
 .../zaurusd/zaurusd/add_64bit_time_t.patch| 43 +++
 recipes-bsp/zaurusd/zaurusd_git.bb|  3 +-
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch

diff --git a/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch 
b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
new file mode 100644
index 000..5f9587a
--- /dev/null
+++ b/recipes-bsp/zaurusd/zaurusd/add_64bit_time_t.patch
@@ -0,0 +1,43 @@
+From d15b20fd9e8927db5dc4303f2e6c11cfa8d6fe95 Mon Sep 17 00:00:00 2001
+From: Andrea Adami 
+Date: Mon, 20 Apr 2020 16:21:22 +0200
+Subject: [PATCH] tskeys.c: add support for 64bit time_t
+
+Upgrade the recipe to cope with the 64-bit time changes introduced in 4.16
+
+Fix:
+
+| tskeys.c: In function 'press_key':
+| tskeys.c:141:4: error: 'struct input_event' has no member named 'time'
+|   141 |  ev.time.tv_sec = time(0);
+|   |^
+| tskeys.c:142:4: error: 'struct input_event' has no member named 'time'
+|   142 |  ev.time.tv_usec = 0;
+|   |^
+
+Signed-off-by: Andrea Adami 
+---
+ apps/tskeys/tskeys.c | 5 +
+ 1 file changed, 5 insertions(+)
+
+diff --git a/apps/tskeys/tskeys.c b/apps/tskeys/tskeys.c
+index 264dfb7..36e3bfd 100644
+--- a/apps/tskeys/tskeys.c
 b/apps/tskeys/tskeys.c
+@@ -138,8 +138,13 @@ void press_key(int fd, int key, int pressed)
+   struct input_event ev;
+   int r;
+ 
++#if !defined(__USE_TIME_BITS64)
+   ev.time.tv_sec = time(0);
+   ev.time.tv_usec = 0;
++#else
++  ev.input_event_sec = time(0);
++  ev.input_event_usec = 0;
++#endif
+   ev.type = EV_KEY;
+   ev.code = key;
+   ev.value = pressed;
+-- 
+2.17.1
+
diff --git a/recipes-bsp/zaurusd/zaurusd_git.bb 
b/recipes-bsp/zaurusd/zaurusd_git.bb
index d69805b..1f8e40b 100644
--- a/recipes-bsp/zaurusd/zaurusd_git.bb
+++ b/recipes-bsp/zaurusd/zaurusd_git.bb
@@ -24,7 +24,8 @@ SRC_URI = "git://git.yoctoproject.org/${BPN} \
file://01-check-toggle-portait \
file://use-ts-symlink-instead-of-hardcoding.diff \
file://0001-zaurusd-add-support-for-collie.patch \
-   file://allow-newer-tslib.patch"
+   file://allow-newer-tslib.patch \
+   file://add_64bit_time_t.patch"
 
 
 S = "${WORKDIR}/git"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83995): 
https://lists.openembedded.org/g/openembedded-devel/message/83995
Mute This Topic: https://lists.openembedded.org/mt/73154204/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-handheld][PATCH 4/4] layer.conf: set compatibility for dunfell

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami 
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 31fcb54..d1cb281 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = "7"
 
 LAYERDEPENDS_meta-handheld = "core meta-initramfs openembedded-layer"
 
-LAYERSERIES_COMPAT_meta-handheld = "sumo thud warrior zeus"
+LAYERSERIES_COMPAT_meta-handheld = "sumo thud warrior zeus dunfell"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83998): 
https://lists.openembedded.org/g/openembedded-devel/message/83998
Mute This Topic: https://lists.openembedded.org/mt/73154207/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-handheld][PATCH 2/4] layer.conf: set compatibility for warrior

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami 
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 1e0069d..0702f69 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = "7"
 
 LAYERDEPENDS_meta-handheld = "core meta-initramfs openembedded-layer"
 
-LAYERSERIES_COMPAT_meta-handheld = "sumo thud"
+LAYERSERIES_COMPAT_meta-handheld = "sumo thud warrior"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83996): 
https://lists.openembedded.org/g/openembedded-devel/message/83996
Mute This Topic: https://lists.openembedded.org/mt/73154205/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-handheld][PATCH 3/4] layer.conf: set compatibility for zeus

2020-04-20 Thread Andrea Adami
Signed-off-by: Andrea Adami 
---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 0702f69..31fcb54 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -18,5 +18,5 @@ BBFILE_PRIORITY_meta-handheld = "7"
 
 LAYERDEPENDS_meta-handheld = "core meta-initramfs openembedded-layer"
 
-LAYERSERIES_COMPAT_meta-handheld = "sumo thud warrior"
+LAYERSERIES_COMPAT_meta-handheld = "sumo thud warrior zeus"
 
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83997): 
https://lists.openembedded.org/g/openembedded-devel/message/83997
Mute This Topic: https://lists.openembedded.org/mt/73154206/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [PATCH] doxygen: update v1.8.17 -> v1.8.18

2020-04-20 Thread Khem Raj
hmmm I am seeing
http://errors.yoctoproject.org/Errors/Details/405970/

On Mon, Apr 20, 2020 at 12:07 AM Bartosz Golaszewski  wrote:
>
> From: Bartosz Golaszewski 
>
> Upgrade doxygen to the most recent release.
>
> Signed-off-by: Bartosz Golaszewski 
> ---
>  .../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.18.bb}  | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>  rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => 
> doxygen_1.8.18.bb} (79%)
>
> diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb 
> b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
> similarity index 79%
> rename from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
> rename to meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
> index 45de71826..f3562b54f 100644
> --- a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
> +++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
> @@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \
> file://0001-build-don-t-look-for-Iconv.patch \
>  "
>  SRC_URI_append_class-native = " 
> file://doxygen-native-only-check-python3.patch"
> -SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47"
> -SRC_URI[sha256sum] = 
> "2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599"
> +SRC_URI[md5sum] = "eda8e82fcc58970894029b0399776cb5"
> +SRC_URI[sha256sum] = 
> "18173d9edc46d2d116c1f92a95d683ec76b6b4b45b817ac4f245bb1073d00656"
>
>  inherit cmake python3native
>
> --
> 2.25.0
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83994): 
https://lists.openembedded.org/g/openembedded-devel/message/83994
Mute This Topic: https://lists.openembedded.org/mt/73144511/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [oe] [meta-oe][PATCH] php: Add 7.4.4

2020-04-20 Thread Khem Raj
On Mon, Apr 20, 2020 at 2:59 AM Changqing Li  wrote:
>
> From: Changqing Li 
>
> * Add php 7.4, and also keep 7.3 existed.


why do we need to keep 7.3 ?

> refer:
> https://www.php.net/migration74
> https://www.php.net/supported-versions.php
>
> * note: for 7.4, pear is disabled by default,
> and it will be deprecated in future.
>
> Signed-off-by: Changqing Li 
> ---
>  ...nfigure.ac-don-t-include-build-libtool.m4.patch |  30 +++
>  .../0001-php.m4-don-t-unset-cache-variables.patch  |  39 +++
>  ...7.4-0001-opcache-config.m4-enable-opcache.patch | 230 +
>  ...01-php-don-t-use-broken-wrapper-for-mkdir.patch |  29 +++
>  .../recipes-devtools/php/php/php7.4-iconv.patch|  41 
>  .../php/php/php7.4-imap-fix-autofoo.patch  |  41 
>  .../php/php/php7.4-phar-makefile.patch |  46 
>  .../php/php/php7.4-php_exec_native.patch   |  26 ++
>  meta-oe/recipes-devtools/php/php_7.4.4.bb  | 272 
> +
>  9 files changed, 754 insertions(+)
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-php-don-t-use-broken-wrapper-for-mkdir.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-iconv.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-imap-fix-autofoo.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-phar-makefile.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-php_exec_native.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php_7.4.4.bb
>
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> new file mode 100644
> index 000..2861366
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> @@ -0,0 +1,30 @@
> +From f5a34e771532b8433f307b679500c26af328ba35 Mon Sep 17 00:00:00 2001
> +From: Changqing Li 
> +Date: Fri, 17 Apr 2020 15:01:57 +0800
> +Subject: [PATCH] configure.ac: don't include build/libtool.m4
> +
> +we delete build/libtool.m4 before do_configure,
> +we will use libtool.m4 under ACLOCALDIR
> +
> +Upstream-Status: Inappropriate [oe-specific]
> +
> +Signed-off-by: Changqing Li 
> +---
> + configure.ac | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 06c6a27..f85144e 100644
> +--- a/configure.ac
>  b/configure.ac
> +@@ -6,7 +6,6 @@ dnl 
> 
> + m4_include([build/ax_check_compile_flag.m4])
> + m4_include([build/ax_func_which_gethostbyname_r.m4])
> + m4_include([build/ax_gcc_func_attribute.m4])
> +-m4_include([build/libtool.m4])
> + m4_include([build/php_cxx_compile_stdcxx.m4])
> + m4_include([build/php.m4])
> + m4_include([build/pkg.m4])
> +--
> +2.7.4
> +
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> new file mode 100644
> index 000..0d721ec
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> @@ -0,0 +1,39 @@
> +php.m4: don't unset cache variables
> +
> +Unsetting prevents cache variable from being passed to configure.
> +
> +Upstream-Status: Inappropriate [OE-specific]
> +
> +Signed-off-by: Anuj Mittal 
> +
> +update this patch to 7.4.4, acinclude.m4 move to build/php.m4
> +Signed-off-by: Changqing Li 
> +---
> + build/php.m4 | 4 
> + 1 file changed, 4 deletions(-)
> +
> +diff --git a/build/php.m4 b/build/php.m4
> +index 5c45d13..218ec47 100644
> +--- a/build/php.m4
>  b/build/php.m4
> +@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC_LIB],[
> +   ifelse($2,,:,[
> +-  unset ac_cv_lib_$2[]_$1
> +-  unset ac_cv_lib_$2[]___$1
> +   unset found
> +   AC_CHECK_LIB($2, $1, [found=yes], [
> + AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
> +@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. 
> Defines HAVE_func and
> + dnl HAVE_library if found and adds the library to LIBS.
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC],[
> +-  unset ac_cv_func_$1
> +-  unset ac_cv_func___$1
> +   unset found
> +
> +   AC_CHECK_FUNC($1, [found=yes],[ 
> AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])
> +--
> +2.7.4
> +
> diff --git 
> a/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
>  
> b/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
> new file mode 100644
> index 

Re: [oe] [meta-oe][PATCH] php: Add 7.4.4

2020-04-20 Thread Khem Raj
can you also take a look at
https://errors.yoctoproject.org/Errors/Details/405963/
xdebug seems to be version sensitive.

On Mon, Apr 20, 2020 at 2:59 AM Changqing Li  wrote:
>
> From: Changqing Li 
>
> * Add php 7.4, and also keep 7.3 existed.
> refer:
> https://www.php.net/migration74
> https://www.php.net/supported-versions.php
>
> * note: for 7.4, pear is disabled by default,
> and it will be deprecated in future.
>
> Signed-off-by: Changqing Li 
> ---
>  ...nfigure.ac-don-t-include-build-libtool.m4.patch |  30 +++
>  .../0001-php.m4-don-t-unset-cache-variables.patch  |  39 +++
>  ...7.4-0001-opcache-config.m4-enable-opcache.patch | 230 +
>  ...01-php-don-t-use-broken-wrapper-for-mkdir.patch |  29 +++
>  .../recipes-devtools/php/php/php7.4-iconv.patch|  41 
>  .../php/php/php7.4-imap-fix-autofoo.patch  |  41 
>  .../php/php/php7.4-phar-makefile.patch |  46 
>  .../php/php/php7.4-php_exec_native.patch   |  26 ++
>  meta-oe/recipes-devtools/php/php_7.4.4.bb  | 272 
> +
>  9 files changed, 754 insertions(+)
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-0001-php-don-t-use-broken-wrapper-for-mkdir.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-iconv.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-imap-fix-autofoo.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-phar-makefile.patch
>  create mode 100644 
> meta-oe/recipes-devtools/php/php/php7.4-php_exec_native.patch
>  create mode 100644 meta-oe/recipes-devtools/php/php_7.4.4.bb
>
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> new file mode 100644
> index 000..2861366
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
> @@ -0,0 +1,30 @@
> +From f5a34e771532b8433f307b679500c26af328ba35 Mon Sep 17 00:00:00 2001
> +From: Changqing Li 
> +Date: Fri, 17 Apr 2020 15:01:57 +0800
> +Subject: [PATCH] configure.ac: don't include build/libtool.m4
> +
> +we delete build/libtool.m4 before do_configure,
> +we will use libtool.m4 under ACLOCALDIR
> +
> +Upstream-Status: Inappropriate [oe-specific]
> +
> +Signed-off-by: Changqing Li 
> +---
> + configure.ac | 1 -
> + 1 file changed, 1 deletion(-)
> +
> +diff --git a/configure.ac b/configure.ac
> +index 06c6a27..f85144e 100644
> +--- a/configure.ac
>  b/configure.ac
> +@@ -6,7 +6,6 @@ dnl 
> 
> + m4_include([build/ax_check_compile_flag.m4])
> + m4_include([build/ax_func_which_gethostbyname_r.m4])
> + m4_include([build/ax_gcc_func_attribute.m4])
> +-m4_include([build/libtool.m4])
> + m4_include([build/php_cxx_compile_stdcxx.m4])
> + m4_include([build/php.m4])
> + m4_include([build/pkg.m4])
> +--
> +2.7.4
> +
> diff --git 
> a/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
>  
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> new file mode 100644
> index 000..0d721ec
> --- /dev/null
> +++ 
> b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
> @@ -0,0 +1,39 @@
> +php.m4: don't unset cache variables
> +
> +Unsetting prevents cache variable from being passed to configure.
> +
> +Upstream-Status: Inappropriate [OE-specific]
> +
> +Signed-off-by: Anuj Mittal 
> +
> +update this patch to 7.4.4, acinclude.m4 move to build/php.m4
> +Signed-off-by: Changqing Li 
> +---
> + build/php.m4 | 4 
> + 1 file changed, 4 deletions(-)
> +
> +diff --git a/build/php.m4 b/build/php.m4
> +index 5c45d13..218ec47 100644
> +--- a/build/php.m4
>  b/build/php.m4
> +@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC_LIB],[
> +   ifelse($2,,:,[
> +-  unset ac_cv_lib_$2[]_$1
> +-  unset ac_cv_lib_$2[]___$1
> +   unset found
> +   AC_CHECK_LIB($2, $1, [found=yes], [
> + AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
> +@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. 
> Defines HAVE_func and
> + dnl HAVE_library if found and adds the library to LIBS.
> + dnl
> + AC_DEFUN([PHP_CHECK_FUNC],[
> +-  unset ac_cv_func_$1
> +-  unset ac_cv_func___$1
> +   unset found
> +
> +   AC_CHECK_FUNC($1, [found=yes],[ 
> AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ])
> +--
> +2.7.4
> +
> diff --git 
> a/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
>  
> 

[oe] [meta-oe][PATCH] utouch-evemu: Correctly specify PV to match upstream

2020-04-20 Thread Khem Raj
Signed-off-by: Khem Raj 
---
 meta-oe/recipes-support/utouch/utouch-evemu_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb 
b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
index 41d1cbfd97..7c5a734394 100644
--- a/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
+++ b/meta-oe/recipes-support/utouch/utouch-evemu_git.bb
@@ -12,7 +12,7 @@ SRC_URI = "git://bitmath.org/git/evemu.git;protocol=http \
"
 SRCREV = "9752b50e922572e4cd214ac45ed95e4ee410fe24"
 
-PV = "1.0.5+git${SRCPV}"
+PV = "1.0.6+git${SRCPV}"
 
 S = "${WORKDIR}/git/"
 
-- 
2.26.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83991): 
https://lists.openembedded.org/g/openembedded-devel/message/83991
Mute This Topic: https://lists.openembedded.org/mt/73152023/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-oe][PATCH] php: Add 7.4.4

2020-04-20 Thread Changqing Li
From: Changqing Li 

* Add php 7.4, and also keep 7.3 existed. 
refer:
https://www.php.net/migration74
https://www.php.net/supported-versions.php

* note: for 7.4, pear is disabled by default,
and it will be deprecated in future.

Signed-off-by: Changqing Li 
---
 ...nfigure.ac-don-t-include-build-libtool.m4.patch |  30 +++
 .../0001-php.m4-don-t-unset-cache-variables.patch  |  39 +++
 ...7.4-0001-opcache-config.m4-enable-opcache.patch | 230 +
 ...01-php-don-t-use-broken-wrapper-for-mkdir.patch |  29 +++
 .../recipes-devtools/php/php/php7.4-iconv.patch|  41 
 .../php/php/php7.4-imap-fix-autofoo.patch  |  41 
 .../php/php/php7.4-phar-makefile.patch |  46 
 .../php/php/php7.4-php_exec_native.patch   |  26 ++
 meta-oe/recipes-devtools/php/php_7.4.4.bb  | 272 +
 9 files changed, 754 insertions(+)
 create mode 100644 
meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
 create mode 100644 
meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
 create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
 create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-0001-php-don-t-use-broken-wrapper-for-mkdir.patch
 create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-iconv.patch
 create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-imap-fix-autofoo.patch
 create mode 100644 meta-oe/recipes-devtools/php/php/php7.4-phar-makefile.patch
 create mode 100644 
meta-oe/recipes-devtools/php/php/php7.4-php_exec_native.patch
 create mode 100644 meta-oe/recipes-devtools/php/php_7.4.4.bb

diff --git 
a/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
 
b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
new file mode 100644
index 000..2861366
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/php/php/0001-configure.ac-don-t-include-build-libtool.m4.patch
@@ -0,0 +1,30 @@
+From f5a34e771532b8433f307b679500c26af328ba35 Mon Sep 17 00:00:00 2001
+From: Changqing Li 
+Date: Fri, 17 Apr 2020 15:01:57 +0800
+Subject: [PATCH] configure.ac: don't include build/libtool.m4
+
+we delete build/libtool.m4 before do_configure,
+we will use libtool.m4 under ACLOCALDIR
+
+Upstream-Status: Inappropriate [oe-specific]
+
+Signed-off-by: Changqing Li 
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 06c6a27..f85144e 100644
+--- a/configure.ac
 b/configure.ac
+@@ -6,7 +6,6 @@ dnl 

+ m4_include([build/ax_check_compile_flag.m4])
+ m4_include([build/ax_func_which_gethostbyname_r.m4])
+ m4_include([build/ax_gcc_func_attribute.m4])
+-m4_include([build/libtool.m4])
+ m4_include([build/php_cxx_compile_stdcxx.m4])
+ m4_include([build/php.m4])
+ m4_include([build/pkg.m4])
+-- 
+2.7.4
+
diff --git 
a/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
 
b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
new file mode 100644
index 000..0d721ec
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/php/php/0001-php.m4-don-t-unset-cache-variables.patch
@@ -0,0 +1,39 @@
+php.m4: don't unset cache variables
+
+Unsetting prevents cache variable from being passed to configure.
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Anuj Mittal 
+
+update this patch to 7.4.4, acinclude.m4 move to build/php.m4
+Signed-off-by: Changqing Li 
+---
+ build/php.m4 | 4 
+ 1 file changed, 4 deletions(-)
+
+diff --git a/build/php.m4 b/build/php.m4
+index 5c45d13..218ec47 100644
+--- a/build/php.m4
 b/build/php.m4
+@@ -1587,8 +1587,6 @@ dnl PHP_CHECK_FUNC_LIB
+ dnl
+ AC_DEFUN([PHP_CHECK_FUNC_LIB],[
+   ifelse($2,,:,[
+-  unset ac_cv_lib_$2[]_$1
+-  unset ac_cv_lib_$2[]___$1
+   unset found
+   AC_CHECK_LIB($2, $1, [found=yes], [
+ AC_CHECK_LIB($2, __$1, [found=yes], [found=no])
+@@ -1620,8 +1618,6 @@ dnl and as a fall back in the specified library. Defines 
HAVE_func and
+ dnl HAVE_library if found and adds the library to LIBS.
+ dnl
+ AC_DEFUN([PHP_CHECK_FUNC],[
+-  unset ac_cv_func_$1
+-  unset ac_cv_func___$1
+   unset found
+ 
+   AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) 
])
+-- 
+2.7.4
+
diff --git 
a/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
 
b/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
new file mode 100644
index 000..ee0d5ed
--- /dev/null
+++ 
b/meta-oe/recipes-devtools/php/php/php7.4-0001-opcache-config.m4-enable-opcache.patch
@@ -0,0 +1,230 @@
+opcache/config.m4: enable opcache
+
+We can't use AC_TRY_RUN to run programs in a cross compile environment.
+Set
+the variables directly instead since we know that we'd be running on
+latest
+enough linux kernel.
+

答复: [oe] [meta-python] [PATCH] python3-cheetah: upgrade 3.2.4 -> 3.2.5b1

2020-04-20 Thread Wang Mingyu
Sorry, all future updates will be performed on the stable version, this problem 
will not be repeated.

-邮件原件-
发件人: openembedded-devel@lists.openembedded.org 
 代表 Khem Raj
发送时间: 2020年4月15日 10:31
收件人: Wang, Mingyu/王 鸣瑜 
抄送: openembeded-devel 
主题: Re: [oe] [meta-python] [PATCH] python3-cheetah: upgrade 3.2.4 -> 3.2.5b1

this is also a pre-release. perhaps we should wait until final release.

On Tue, Apr 14, 2020 at 6:51 PM Wang Mingyu  wrote:
>
> Signed-off-by: Wang Mingyu 
> ---
>  .../{python3-cheetah_3.2.4.bb => python3-cheetah_3.2.5b1.bb}  | 4 
> ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)  rename 
> meta-python/recipes-devtools/python/{python3-cheetah_3.2.4.bb => 
> python3-cheetah_3.2.5b1.bb} (69%)
>
> diff --git 
> a/meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb 
> b/meta-python/recipes-devtools/python/python3-cheetah_3.2.5b1.bb
> similarity index 69%
> rename from 
> meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb
> rename to 
> meta-python/recipes-devtools/python/python3-cheetah_3.2.5b1.bb
> index 05882d087..289b70298 100644
> --- a/meta-python/recipes-devtools/python/python3-cheetah_3.2.4.bb
> +++ b/meta-python/recipes-devtools/python/python3-cheetah_3.2.5b1.bb
> @@ -10,5 +10,5 @@ RDEPENDS_${PN}_class-native = ""
>
>  BBCLASSEXTEND = "native nativesdk"
>
> -SRC_URI[md5sum] = "8c0ac643263ffc3454fb321342284d0a"
> -SRC_URI[sha256sum] = 
> "caabb9c22961a3413ac85cd1e5525ec9ca80daeba6555f4f60802b6c256e252b"
> +SRC_URI[md5sum] = "5c07ebe4a31edf605a5ab2172bfc411c"
> +SRC_URI[sha256sum] = 
> "52f4abe6cb862fbc6047ac17dc3d7b4bb0faf82621fe911fefbb04b7a5d5a7ee"
> --
> 2.17.1
>
>
>
> 




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83989): 
https://lists.openembedded.org/g/openembedded-devel/message/83989
Mute This Topic: https://lists.openembedded.org/mt/73145304/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [meta-java][PATCH] openjdk-8: update to latest ga version 252

2020-04-20 Thread Richard Leitner
This patch also drops the md5 checksums as sha256 checksums are sufficient.

Signed-off-by: Richard Leitner 
---
 ...-native_242.bb => openjdk-8-native_252.bb} |  0
 .../openjdk/openjdk-8-release-aarch32.inc | 26 +++
 .../openjdk/openjdk-8-release-aarch64.inc | 26 +++
 recipes-core/openjdk/openjdk-8-release.inc| 24 ++---
 .../{openjdk-8_242.bb => openjdk-8_252.bb}|  0
 5 files changed, 26 insertions(+), 50 deletions(-)
 rename recipes-core/openjdk/{openjdk-8-native_242.bb => 
openjdk-8-native_252.bb} (100%)
 rename recipes-core/openjdk/{openjdk-8_242.bb => openjdk-8_252.bb} (100%)

diff --git a/recipes-core/openjdk/openjdk-8-native_242.bb 
b/recipes-core/openjdk/openjdk-8-native_252.bb
similarity index 100%
rename from recipes-core/openjdk/openjdk-8-native_242.bb
rename to recipes-core/openjdk/openjdk-8-native_252.bb
diff --git a/recipes-core/openjdk/openjdk-8-release-aarch32.inc 
b/recipes-core/openjdk/openjdk-8-release-aarch32.inc
index 686b562..62dc866 100644
--- a/recipes-core/openjdk/openjdk-8-release-aarch32.inc
+++ b/recipes-core/openjdk/openjdk-8-release-aarch32.inc
@@ -4,39 +4,31 @@ COMPATIBLE_HOST = "^$"
 COMPATIBLE_HOST_armv7a = "arm"
 COMPATIBLE_HOST_armv7ve = "arm"
 
-CHANGESET_ID="200120"
+CHANGESET_ID="20200415"
 
 CORBA_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[corba.md5sum]= "2abf6d5394d9c5310af1e4ca6cec4355"
-SRC_URI[corba.sha256sum] = 
"52e83dfa2fa4fcc8c71f3b2959cca2136099b9c575d3726148c02b9cf7d06324"
+SRC_URI[corba.sha256sum] = 
"e8dab3ffbc39fec724604b8c65408f32dcca1682769077c5b4f71b571938fe26"
 
 HOTSPOT_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[hotspot.md5sum]= "e252af6c20d6190e0613f39c6066e3cc"
-SRC_URI[hotspot.sha256sum] = 
"bfff2ef23ee80acd73a0774e7011028c3598e75d2ee8b3271524ec8ea54801ae"
+SRC_URI[hotspot.sha256sum] = 
"7aebf690a05746e4fbcdcd75ac4e67acb2f0b087bba3bcb064675468626f5822"
 
 JAXP_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[jaxp.md5sum]= "56dc7a99589582b185c4464022c8"
-SRC_URI[jaxp.sha256sum] = 
"430e49ba485737c02312557f4deb8562853e58be19ed175ea63b396307f140ce"
+SRC_URI[jaxp.sha256sum] = 
"44883e0e836ee5fa2fcb4df936bafcfad69c57d05876d44ecefc5b3cb6b085c0"
 
 JAXWS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[jaxws.md5sum]= "2bbcba759f24f5dcec0c33cd62382e4f"
-SRC_URI[jaxws.sha256sum] = 
"c350716ff8782cc311ca17450e2d198d707d3fb71de9dc3394df39766979559f"
+SRC_URI[jaxws.sha256sum] = 
"34f6cf3eb34c0c310e0cc31b876b189fd6b2e2c2dcc1066af5347f3a0873d2d3"
 
 JDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[jdk.md5sum]= "e17f3f4ea8a409e4a1b09a12b3b5309d"
-SRC_URI[jdk.sha256sum] = 
"dfa4a7e7f8ab8daf34343b1c33544b6209e422c74d5be1dbbd8ef80e2365c8aa"
+SRC_URI[jdk.sha256sum] = 
"f89688b5673ed75b1bebfd530a979788a4cbe942ce39eb38784f8c9e1303012b"
 
 LANGTOOLS_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[langtools.md5sum]= "06ca78c1d4e058f277876f4e6177d9b0"
-SRC_URI[langtools.sha256sum] = 
"59ccafa433f5510c91835efcafbe9ff9c707034ec3305dc3a4c1a85fac65ab0c"
+SRC_URI[langtools.sha256sum] = 
"18357720e3b924dea2f171235ae06e753aeef7958a3ce7a2a8d41fa6e2c90454"
 
 NASHORN_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[nashorn.md5sum]= "1958e204f3984abeb2cf9e7c57aa7839"
-SRC_URI[nashorn.sha256sum] = 
"e964721e539807a38bdcbce7259d235f873974a686badbc274b7368a288f0021"
+SRC_URI[nashorn.sha256sum] = 
"abd6ccf28278ce5775eebada339228fe2e3380d57d009179acdd7026adb21448"
 
 OPENJDK_CHANGESET_arm = "jdk8u${PV}-ga-aarch32-${CHANGESET_ID}"
-SRC_URI[openjdk.md5sum]= "9aceb3b4cd710cdda55be4fe6a5303c9"
-SRC_URI[openjdk.sha256sum] = 
"9691291b26a650d854ce0feacf32dfb3b956165c5d2db6e1ff46dd44f4c517cf"
+SRC_URI[openjdk.sha256sum] = 
"06d141aa01b80aa0c167167081e2139b3edf5af764cf17bbe9e1b57bf4f585ab"
 
 PACKAGECONFIG_append_armv7a = " client"
 PACKAGECONFIG_append_armv7ve = " client"
diff --git a/recipes-core/openjdk/openjdk-8-release-aarch64.inc 
b/recipes-core/openjdk/openjdk-8-release-aarch64.inc
index d08892d..86d 100644
--- a/recipes-core/openjdk/openjdk-8-release-aarch64.inc
+++ b/recipes-core/openjdk/openjdk-8-release-aarch64.inc
@@ -2,36 +2,28 @@ require openjdk-8-release-common.inc
 
 COMPATIBLE_HOST = "aarch64"
 
-CHANGESET_ID="b07"
+CHANGESET_ID="b09"
 
 CORBA_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}"
-SRC_URI[corba.md5sum]= "d6dfd6f0c3bf4c6dc1f867dc7bcf8730"
-SRC_URI[corba.sha256sum] = 
"e80dae94f21ca9de2269bc9de72f1098d417e9f7d6ff69d047e26669e31b1bc4"
+SRC_URI[corba.sha256sum] = 
"13ce2345dec4390a7ed61066275528c1d4fe246abb3ffc16bdfd93c0e8ead193"
 
 HOTSPOT_CHANGESET_aarch64 = "aarch64-shenandoah-jdk8u${PV}-${CHANGESET_ID}"
-SRC_URI[hotspot.md5sum]= "44731f82f6e2a0697f414ae62f9eff54"
-SRC_URI[hotspot.sha256sum] = 
"3acb0bfa3eda0137e3c70ab10b59f139e0720116ed6ecf3f9c8633ebc36947b1"
+SRC_URI[hotspot.sha256sum] = 

答复: [oe] [meta-networking][PATCH] proftpd: upgrade 1.3.6 -> 1.3.7rc3

2020-04-20 Thread Wang Mingyu
Sorry, all future updates will be performed on the stable version, this problem 
will not be repeated.

-邮件原件-
发件人: openembedded-devel@lists.openembedded.org 
 代表 Khem Raj
发送时间: 2020年4月15日 10:27
收件人: Wang, Mingyu/王 鸣瑜 
抄送: openembeded-devel 
主题: Re: [oe] [meta-networking][PATCH] proftpd: upgrade 1.3.6 -> 1.3.7rc3

On Tue, Apr 14, 2020 at 6:50 PM Wang Mingyu  wrote:
>
> refresh the following patches:
> build_fixup.patch
> contrib.patch
>

I am a bit reluctant to take RC versions. Can you justify why we should upgrade 
to RC in this case ?

> Signed-off-by: Wang Mingyu 
> ---
>  .../proftpd/files/build_fixup.patch   | 75 +--
>  .../proftpd/files/contrib.patch   | 29 +++
>  .../{proftpd_1.3.6.bb => proftpd_1.3.7rc3.bb} |  4 +-
>  3 files changed, 52 insertions(+), 56 deletions(-)  rename 
> meta-networking/recipes-daemons/proftpd/{proftpd_1.3.6.bb => 
> proftpd_1.3.7rc3.bb} (97%)
>
> diff --git 
> a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch 
> b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch
> index 9816d4d22..9f45a1c2f 100644
> --- a/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch
> +++ b/meta-networking/recipes-daemons/proftpd/files/build_fixup.patch
> @@ -7,12 +7,17 @@ move pidfile to /var/run  redefine PR_RUN_DIR as 
> ${localstatedir}/run
>
>  Signed-off-By: Armin Kuster 
> +---
> + Make.rules.in | 6 +++---
> + Makefile.in   | 6 ++
> + configure | 4 ++--
> + configure.in  | 4 ++--
> + 4 files changed, 9 insertions(+), 11 deletions(-)
>
> -
> -Index: proftpd-1.3.6/Make.rules.in
> -===
>  proftpd-1.3.6.orig/Make.rules.in
> -+++ proftpd-1.3.6/Make.rules.in
> +diff --git a/Make.rules.in b/Make.rules.in index a5028ac..ccd7807 
> +100644
> +--- a/Make.rules.in
>  b/Make.rules.in
>  @@ -30,9 +30,9 @@ INSTALL=@INSTALL@
>   INSTALL_STRIP=@INSTALL_STRIP@
>   INSTALL_USER=@install_user@
> @@ -26,10 +31,10 @@ Index: proftpd-1.3.6/Make.rules.in
>
>   RM=rm -f
>   SHELL=@CONFIG_SHELL@
> -Index: proftpd-1.3.6/Makefile.in
> -===
>  proftpd-1.3.6.orig/Makefile.in
> -+++ proftpd-1.3.6/Makefile.in
> +diff --git a/Makefile.in b/Makefile.in index abacc9f..be22353 100644
> +--- a/Makefile.in
>  b/Makefile.in
>  @@ -105,7 +105,6 @@ check: proftpd$(EXEEXT)
>   $(DESTDIR)$(localedir) $(DESTDIR)$(includedir) 
> $(DESTDIR)$(includedir)/proftpd $(DESTDIR)$(libdir) $(DESTDIR)$(pkgconfigdir) 
> $(DESTDIR)$(libdir)/proftpd $(DESTDIR)$(libexecdir) 
> $(DESTDIR)$(localstatedir) $(DESTDIR)$(sysconfdir) $(DESTDIR)$(bindir) 
> $(DESTDIR)$(sbindir) $(DESTDIR)$(mandir) $(DESTDIR)$(mandir)/man1 
> $(DESTDIR)$(mandir)/man5 $(DESTDIR)$(mandir)/man8:
> @if [ ! -d $@ ]; then \
> @@ -38,19 +43,19 @@ Index: proftpd-1.3.6/Makefile.in
> chmod 0755 $@; \
> fi
>
> -@@ -115,7 +114,6 @@ install-proftpd: proftpd $(DESTDIR)$(inc
> +@@ -115,7 +114,6 @@ install-proftpd: proftpd$(EXEEXT) 
> +$(DESTDIR)$(includedir) $(DESTDIR)$(localstate
> rm -f $(DESTDIR)$(sbindir)/in.proftpd ; \
> fi
> -   ln -s proftpd $(DESTDIR)$(sbindir)/in.proftpd
> +   ln -s $(top_builddir)/proftpd $(DESTDIR)$(sbindir)/in.proftpd
>  -  -chown -h $(INSTALL_USER):$(INSTALL_GROUP) 
> $(DESTDIR)$(sbindir)/in.proftpd
>
>   install-libs: $(DESTDIR)$(libdir)/proftpd
> cd lib/ && $(MAKE) install
> -@@ -152,11 +150,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DE
> -   $(INSTALL_SBIN) ftpshut  $(DESTDIR)$(sbindir)/ftpshut
> -   $(INSTALL_BIN)  ftptop   $(DESTDIR)$(bindir)/ftptop
> -   $(INSTALL_BIN)  ftpwho   $(DESTDIR)$(bindir)/ftpwho
> --  $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 src/prxs 
> $(DESTDIR)$(bindir)/prxs
> +@@ -152,11 +150,11 @@ install-utils: $(DESTDIR)$(sbindir) $(DESTDIR)$(bindir)
> +   $(INSTALL_SBIN) $(top_builddir)/ftpshut  $(DESTDIR)$(sbindir)/ftpshut
> +   $(INSTALL_BIN)  $(top_builddir)/ftptop   $(DESTDIR)$(bindir)/ftptop
> +   $(INSTALL_BIN)  $(top_builddir)/ftpwho   $(DESTDIR)$(bindir)/ftpwho
> +-  $(INSTALL) -o $(INSTALL_USER) -g $(INSTALL_GROUP) -m 0755 
> $(top_builddir)/src/prxs $(DESTDIR)$(bindir)/prxs
>  +  $(INSTALL) -m 0755 src/prxs $(DESTDIR)$(bindir)/prxs
>
>   install-conf: $(DESTDIR)$(sysconfdir) @@ -60,11 +65,11 @@ Index: 
> proftpd-1.3.6/Makefile.in
>$(top_srcdir)/sample-configurations/basic.conf \
>$(DESTDIR)$(sysconfdir)/proftpd.conf ; \
> fi
> -Index: proftpd-1.3.6/configure
> -===
>  proftpd-1.3.6.orig/configure
> -+++ proftpd-1.3.6/configure
> -@@ -41777,7 +41777,7 @@ _ACEOF
> +diff --git a/configure b/configure
> +index 033f12f..242d18b 100755
> +--- a/configure
>  b/configure
> +@@ -42308,7 +42308,7 @@ _ACEOF
>
>
>   cat >>confdefs.h 

[oe] [meta-oe][PATCH] utouch-evemu: correct Fix build for 32bit arches with 64bit time_t

2020-04-20 Thread cpriouzeau
A pair of parenthesis are missing on correction which generate bad
behaviour at runtime.

Signed-off-by: Christophe Priouzeau 
---
 ...-build-on-32bit-arches-with-64bit-time_t.patch | 15 +--
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git 
a/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
 
b/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
index 71bf57269..7cfd47043 100644
--- 
a/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
+++ 
b/meta-oe/recipes-support/utouch/utouch-evemu/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch
@@ -12,8 +12,8 @@ Upstream-Status: Pending
 Signed-off-by: Khem Raj 
 ---
  src/evemu-impl.h |  5 +
- src/evemu.c  | 16 +---
- 2 files changed, 14 insertions(+), 7 deletions(-)
+ src/evemu.c  | 20 
+ 2 files changed, 17 insertions(+), 8 deletions(-)
 
 diff --git a/src/evemu-impl.h b/src/evemu-impl.h
 index acf2976..c08d861 100644
@@ -32,7 +32,7 @@ index acf2976..c08d861 100644
  #define EVPLAY_NBYTES ((EVPLAY_NBITS + 7) / 8)
  
 diff --git a/src/evemu.c b/src/evemu.c
-index 21187af..160c915 100644
+index 21187af..7489449 100644
 --- a/src/evemu.c
 +++ b/src/evemu.c
 @@ -363,7 +363,7 @@ int evemu_read(struct evemu_device *dev, FILE *fp)
@@ -55,16 +55,19 @@ index 21187af..160c915 100644
ev->type = type;
ev->code = code;
ev->value = value;
-@@ -411,12 +411,14 @@ int evemu_read_event_realtime(FILE *fp, struct 
input_event *ev,
+@@ -410,13 +411,16 @@ int evemu_read_event_realtime(FILE *fp, struct 
input_event *ev,
+   return ret;
  
if (evtime) {
-   if (!evtime->tv_sec)
+-  if (!evtime->tv_sec)
 -  *evtime = ev->time;
 -  usec = 100L * (ev->time.tv_sec - evtime->tv_sec);
 -  usec += ev->time.tv_usec - evtime->tv_usec;
++  if (!evtime->tv_sec) {
 +  evtime->tv_sec = ev->input_event_sec;
 +  evtime->tv_usec = ev->input_event_usec;
-+  usec = 100L * (ev->input_event_sec - evtime->tv_sec);
++  }
++  usec = (ev->input_event_sec - evtime->tv_sec) * 100L;
 +  usec += ev->input_event_usec - evtime->tv_usec;
if (usec > 500) {
usleep(usec);
-- 
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83986): 
https://lists.openembedded.org/g/openembedded-devel/message/83986
Mute This Topic: https://lists.openembedded.org/mt/73144541/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


[oe] [PATCH] doxygen: update v1.8.17 -> v1.8.18

2020-04-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski 

Upgrade doxygen to the most recent release.

Signed-off-by: Bartosz Golaszewski 
---
 .../doxygen/{doxygen_1.8.17.bb => doxygen_1.8.18.bb}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-devtools/doxygen/{doxygen_1.8.17.bb => 
doxygen_1.8.18.bb} (79%)

diff --git a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb 
b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
similarity index 79%
rename from meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
rename to meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
index 45de71826..f3562b54f 100644
--- a/meta-oe/recipes-devtools/doxygen/doxygen_1.8.17.bb
+++ b/meta-oe/recipes-devtools/doxygen/doxygen_1.8.18.bb
@@ -10,8 +10,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.src.tar.gz \
file://0001-build-don-t-look-for-Iconv.patch \
 "
 SRC_URI_append_class-native = " file://doxygen-native-only-check-python3.patch"
-SRC_URI[md5sum] = "7997a15c73a8bd6d003eaba5c2ee2b47"
-SRC_URI[sha256sum] = 
"2cba988af2d495541cbbe5541b3bee0ee11144dcb23a81eada19f5501fd8b599"
+SRC_URI[md5sum] = "eda8e82fcc58970894029b0399776cb5"
+SRC_URI[sha256sum] = 
"18173d9edc46d2d116c1f92a95d683ec76b6b4b45b817ac4f245bb1073d00656"
 
 inherit cmake python3native
 
-- 
2.25.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#83985): 
https://lists.openembedded.org/g/openembedded-devel/message/83985
Mute This Topic: https://lists.openembedded.org/mt/73144511/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-