Skip to contentSkip to conversation

libldb: upgrade 2.6.1 -> 2.7.1

PATCH In review [email protected] 2 participants 5 messages Feb 18, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libldb: upgrade 2.6.1 -> 2.7.1

From: Wang Mingyu <[email protected]>

0002-ldb-Add-configure-options-for-packages.patch
refreshed for new version.

---
 ...b-Add-configure-options-for-packages.patch | 26 ++++++++++---------
 .../{libldb_2.6.1.bb => libldb_2.7.1.bb}      |  3 +--
 2 files changed, 15 insertions(+), 14 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_2.6.1.bb => libldb_2.7.1.bb} (95%)
meta-networking/recipes-support/libldb/libldb/0002-ldb-Add-configure-options-for-packages.patch +14 -12
index 988931c49..7a30bbedf 100644
@@ -20,13 +20,16 @@ Signed-off-by: Changqing Li <[email protected]>
 
 Rebase to 2.3.0
 Signed-off-by: Yi Zhao <[email protected]>
+
+upgrade to 2.7.1
+Signed-off-by: Wang Mingyu <[email protected]>
 ---
  lib/replace/wscript | 90 +++++++++++++++++++++++++++++++++++----------
- wscript             |  8 ++++
- 2 files changed, 78 insertions(+), 20 deletions(-)
+ wscript             |  7 ++++
+ 2 files changed, 77 insertions(+), 20 deletions(-)
 
 diff --git a/lib/replace/wscript b/lib/replace/wscript
-index 4c774d9..63c9967 100644
+index 5c2b750..f86f863 100644
 --- a/lib/replace/wscript
 +++ b/lib/replace/wscript
 @@ -25,6 +25,41 @@ def options(opt):
@@ -71,7 +74,7 @@ index 4c774d9..63c9967 100644
  @Utils.run_once
  def configure(conf):
      conf.RECURSE('buildtools/wafsamba')
-@@ -35,12 +70,25 @@ def configure(conf):
+@@ -38,12 +73,25 @@ def configure(conf):
      conf.DEFINE('HAVE_LIBREPLACE', 1)
      conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
  
@@ -98,10 +101,10 @@ index 4c774d9..63c9967 100644
 +    if Options.options.enable_libcap:
 +        conf.CHECK_HEADERS('sys/capability.h')
 +
-     conf.CHECK_HEADERS('port.h')
      conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
      conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
-@@ -110,8 +158,9 @@ def configure(conf):
+     conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h')
+@@ -113,8 +161,9 @@ def configure(conf):
      conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
      conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
  
@@ -113,7 +116,7 @@ index 4c774d9..63c9967 100644
      conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
      conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
      conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
-@@ -434,20 +483,21 @@ def configure(conf):
+@@ -436,20 +485,21 @@ def configure(conf):
  
      strlcpy_in_bsd = False
  
@@ -131,7 +134,7 @@ index 4c774d9..63c9967 100644
 -
 -    if not conf.CHECK_FUNCS('closefrom'):
 -        conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
-+    if Options.options.enable_libbsd: 
++    if Options.options.enable_libbsd:
 +        # libbsd on some platforms provides strlcpy and strlcat
 +        if not conf.CHECK_FUNCS('strlcpy strlcat'):
 +            if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
@@ -150,10 +153,10 @@ index 4c774d9..63c9967 100644
      conf.CHECK_CODE('''
                  struct ucred cred;
 diff --git a/wscript b/wscript
-index 60bb7cf..7f14847 100644
+index 03076e6..ad40ac9 100644
 --- a/wscript
 +++ b/wscript
-@@ -40,6 +40,14 @@ def options(opt):
+@@ -40,6 +40,13 @@ def options(opt):
                     help='disable new LMDB backend for LDB',
                     action='store_true', dest='without_ldb_lmdb', default=False)
  
@@ -163,11 +166,10 @@ index 60bb7cf..7f14847 100644
 +    opt.add_option('--without-valgrind',
 +                   help=("disable use of valgrind"),
 +                   action="store_false", dest='enable_valgrind', default=False)
-+
 +
  
  def configure(conf):
      conf.RECURSE('lib/tdb')
 -- 
-2.25.1
+2.34.1
 
meta-networking/recipes-support/libldb/libldb_2.7.1.bb renamed from meta-networking/recipes-support/libldb/libldb_2.6.1.bb +1 -2
similarity index 95%
rename from meta-networking/recipes-support/libldb/libldb_2.6.1.bb
rename to meta-networking/recipes-support/libldb/libldb_2.7.1.bb
index 7c7701acc..473774b14 100644
@@ -35,8 +35,7 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
                     file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
                     file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
 
-SRC_URI[md5sum] = "3a5f54f511fb237b83e1f34e2c7e25cd"
-SRC_URI[sha256sum] = "467403f77df86782c3965bb175440baa2ed751a9feb9560194bd8c06bf1736c9"
+SRC_URI[sha256sum] = "c4632c9a7f81f8a45ed46fc14d18eb507edf4e79f6e88d16977478ef95ed5b7f"
 
 inherit pkgconfig waf-samba
 
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/1 libtdb: upgrade 1.4.7 -> 1.4.8

From: Wang Mingyu <[email protected]>

---
 .../libtdb/{libtdb_1.4.7.bb => libtdb_1.4.8.bb}                | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-networking/recipes-support/libtdb/{libtdb_1.4.7.bb => libtdb_1.4.8.bb} (92%)
meta-networking/recipes-support/libtdb/libtdb_1.4.8.bb renamed from meta-networking/recipes-support/libtdb/libtdb_1.4.7.bb +1 -2
similarity index 92%
rename from meta-networking/recipes-support/libtdb/libtdb_1.4.7.bb
rename to meta-networking/recipes-support/libtdb/libtdb_1.4.8.bb
index d4c4f1c37..5dc87bd91 100644
@@ -13,8 +13,7 @@ SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \
            file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
 "
 
-SRC_URI[md5sum] = "bc27d5b20c7f013305c40b3bced43b3a"
-SRC_URI[sha256sum] = "a4fb168def533f31ff2c07f7d9844bb3131e6799f094ebe77d0380adc987c20e"
+SRC_URI[sha256sum] = "8434c9c857d13ce3fa8466f75601f25c3693676b36919f159e0ad6121baf5ce8"
 
 PACKAGECONFIG ??= "\
     ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \
Signature · 1 line
2.34.1
#2 lore raw

PATCH 1/1 libtevent: upgrade 0.13.0 -> 0.14.1

In reply to [email protected]

From: Wang Mingyu <[email protected]>

0001-Add-configure-options-for-packages.patch
refreshed for new version.

---
 ...1-Add-configure-options-for-packages.patch | 25 +++++++++++--------
 ...ibtevent_0.13.0.bb => libtevent_0.14.1.bb} |  3 +--
 2 files changed, 15 insertions(+), 13 deletions(-)
 rename meta-networking/recipes-support/libtevent/{libtevent_0.13.0.bb => libtevent_0.14.1.bb} (94%)
meta-networking/recipes-support/libtevent/libtevent/0001-Add-configure-options-for-packages.patch +14 -11
index d98559b4e..cb66adba9 100644
@@ -21,13 +21,16 @@ Signed-off-by: Joe Slater <[email protected]>
 
 Update patch to version 0.10.0
 Signed-off-by: Changqing Li <[email protected]>
+
+Update patch to version 0.14.1
+Signed-off-by: Wang Mingyu <[email protected]>
 ---
- lib/replace/wscript | 87 ++++++++++++++++++++++++++++++++++-----------
+ lib/replace/wscript | 85 +++++++++++++++++++++++++++++++++++----------
  wscript             |  6 ++++
- 2 files changed, 73 insertions(+), 20 deletions(-)
+ 2 files changed, 73 insertions(+), 18 deletions(-)
 
 diff --git a/lib/replace/wscript b/lib/replace/wscript
-index 4c774d9..21a746a 100644
+index 5c2b750..28835ac 100644
 --- a/lib/replace/wscript
 +++ b/lib/replace/wscript
 @@ -25,6 +25,41 @@ def options(opt):
@@ -72,7 +75,7 @@ index 4c774d9..21a746a 100644
  @Utils.run_once
  def configure(conf):
      conf.RECURSE('buildtools/wafsamba')
-@@ -35,12 +70,25 @@ def configure(conf):
+@@ -38,12 +73,27 @@ def configure(conf):
      conf.DEFINE('HAVE_LIBREPLACE', 1)
      conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
  
@@ -82,8 +85,8 @@ index 4c774d9..21a746a 100644
 +    conf.CHECK_HEADERS('compat.h ctype.h dustat.h')
      conf.CHECK_HEADERS('fcntl.h fnmatch.h glob.h history.h krb5.h langinfo.h')
      conf.CHECK_HEADERS('locale.h ndir.h pwd.h')
--    conf.CHECK_HEADERS('shadow.h sys/acl.h')
--    conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h')
+     conf.CHECK_HEADERS('shadow.h sys/acl.h')
+     conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h')
 +    conf.CHECK_HEADERS('shadow.h')
 +    conf.CHECK_HEADERS('sys/attributes.h sys/dir.h sys/epoll.h')
 +
@@ -99,10 +102,10 @@ index 4c774d9..21a746a 100644
 +    if Options.options.enable_libcap:
 +        conf.CHECK_HEADERS('sys/capability.h')
 +
-     conf.CHECK_HEADERS('port.h')
      conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
      conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
-@@ -110,8 +158,9 @@ def configure(conf):
+     conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h')
+@@ -113,8 +163,9 @@ def configure(conf):
      conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
      conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
  
@@ -114,7 +117,7 @@ index 4c774d9..21a746a 100644
      conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
      conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
      conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
-@@ -434,20 +483,18 @@ def configure(conf):
+@@ -436,20 +487,18 @@ def configure(conf):
  
      strlcpy_in_bsd = False
  
@@ -148,7 +151,7 @@ index 4c774d9..21a746a 100644
      conf.CHECK_CODE('''
                  struct ucred cred;
 diff --git a/wscript b/wscript
-index 5c6f02c..75eecd4 100644
+index 0f6e92f..5a54f3a 100644
 --- a/wscript
 +++ b/wscript
 @@ -28,6 +28,12 @@ def options(opt):
@@ -165,5 +168,5 @@ index 5c6f02c..75eecd4 100644
  def configure(conf):
      conf.RECURSE('lib/replace')
 -- 
-2.25.1
+2.34.1
 
meta-networking/recipes-support/libtevent/libtevent_0.14.1.bb renamed from meta-networking/recipes-support/libtevent/libtevent_0.13.0.bb +1 -2
similarity index 94%
rename from meta-networking/recipes-support/libtevent/libtevent_0.13.0.bb
rename to meta-networking/recipes-support/libtevent/libtevent_0.14.1.bb
index 0d898be82..b34c186ca 100644
@@ -17,8 +17,7 @@ SRC_URI:append:libc-musl = " file://cmocka-fix-musl-libc-conflicting-types-error
 
 LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=47386b7c539bf2706b7ce52dc9341681"
 
-SRC_URI[md5sum] = "9f413f3184f79a4deecd9444242a5dca"
-SRC_URI[sha256sum] = "b9437a917fa55344361beb64ec9e0042e99cae8879882a62dd38f6abe2371d0c"
+SRC_URI[sha256sum] = "ef85fcaa80ffd2351036ba4b347630fef2a1ac3da964a7f1820466bad03cd00d"
 
 inherit pkgconfig ptest waf-samba
 
Signature · 1 line
2.34.1
#3 lore raw

PATCH 1/1 libtalloc: upgrade 2.3.4 -> 2.4.0

In reply to [email protected]

From: Wang Mingyu <[email protected]>

---
 .../libtalloc/{libtalloc_2.3.4.bb => libtalloc_2.4.0.bb}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-support/libtalloc/{libtalloc_2.3.4.bb => libtalloc_2.4.0.bb} (96%)
meta-networking/recipes-support/libtalloc/libtalloc_2.4.0.bb renamed from meta-networking/recipes-support/libtalloc/libtalloc_2.3.4.bb +1 -1
similarity index 96%
rename from meta-networking/recipes-support/libtalloc/libtalloc_2.3.4.bb
rename to meta-networking/recipes-support/libtalloc/libtalloc_2.4.0.bb
index 1c5922205..f8fef9f82 100644
@@ -12,7 +12,7 @@ SRC_URI = "https://www.samba.org/ftp/talloc/talloc-${PV}.tar.gz \
            file://0001-talloc-Add-configure-options-for-packages.patch \
            file://0002-Fix-pyext_PATTERN-for-cross-compilation.patch \
 "
-SRC_URI[sha256sum] = "179f9ebe265e67e4ab2c26cad2b7de4b6a77c6c212f966903382869f06be6505"
+SRC_URI[sha256sum] = "6df36862c42466ef88f360444513870ef46934f9016c84383cc4008a7d0c46ba"
 
 inherit waf-samba
 
Signature · 1 line
2.34.1
#4 lore raw
In reply to [email protected]

this upgrade also needs samba upgrade to 4.18 in lock step. Plesse submit both upgrades in one go. See

https://errors.yoctoproject.org/Errors/Details/690068/
https://github.com/openembedded/meta-openembedded/commit/a0fb09aa3a69ec695b80f71d689d1ee89378d674#commitcomment-101119598

Quoted 132 lines · wangmy

From: Wang Mingyu <[email protected]>

0002-ldb-Add-configure-options-for-packages.patch
refreshed for new version.

---
 ...b-Add-configure-options-for-packages.patch | 26 ++++++++++---------
 .../{libldb_2.6.1.bb => libldb_2.7.1.bb}      |  3 +--
 2 files changed, 15 insertions(+), 14 deletions(-)
 rename meta-networking/recipes-support/libldb/{libldb_2.6.1.bb => libldb_2.7.1.bb} (95%)
meta-networking/recipes-support/libldb/libldb/0002-ldb-Add-configure-options-for-packages.patch +14 -12
index 988931c49..7a30bbedf 100644
@@ -20,13 +20,16 @@ Signed-off-by: Changqing Li <[email protected]>
 
 Rebase to 2.3.0
 Signed-off-by: Yi Zhao <[email protected]>
+
+upgrade to 2.7.1
+Signed-off-by: Wang Mingyu <[email protected]>
 ---
  lib/replace/wscript | 90 +++++++++++++++++++++++++++++++++++----------
- wscript             |  8 ++++
- 2 files changed, 78 insertions(+), 20 deletions(-)
+ wscript             |  7 ++++
+ 2 files changed, 77 insertions(+), 20 deletions(-)
 
 diff --git a/lib/replace/wscript b/lib/replace/wscript
-index 4c774d9..63c9967 100644
+index 5c2b750..f86f863 100644
 --- a/lib/replace/wscript
 +++ b/lib/replace/wscript
 @@ -25,6 +25,41 @@ def options(opt):
@@ -71,7 +74,7 @@ index 4c774d9..63c9967 100644
  @Utils.run_once
  def configure(conf):
      conf.RECURSE('buildtools/wafsamba')
-@@ -35,12 +70,25 @@ def configure(conf):
+@@ -38,12 +73,25 @@ def configure(conf):
      conf.DEFINE('HAVE_LIBREPLACE', 1)
      conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1)
 
@@ -98,10 +101,10 @@ index 4c774d9..63c9967 100644
 +    if Options.options.enable_libcap:
 +        conf.CHECK_HEADERS('sys/capability.h')
 +
-     conf.CHECK_HEADERS('port.h')
      conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
      conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
-@@ -110,8 +158,9 @@ def configure(conf):
+     conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h')
+@@ -113,8 +161,9 @@ def configure(conf):
      conf.CHECK_HEADERS('sys/fileio.h sys/filesys.h sys/dustat.h sys/sysmacros.h')
      conf.CHECK_HEADERS('xfs/libxfs.h netgroup.h')
 
@@ -113,7 +116,7 @@ index 4c774d9..63c9967 100644
      conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h')
      conf.CHECK_HEADERS('sys/extattr.h sys/ea.h sys/proplist.h sys/cdefs.h')
      conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')
-@@ -434,20 +483,21 @@ def configure(conf):
+@@ -436,20 +485,21 @@ def configure(conf):
 
      strlcpy_in_bsd = False
 
@@ -131,7 +134,7 @@ index 4c774d9..63c9967 100644
 -
 -    if not conf.CHECK_FUNCS('closefrom'):
 -        conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h')
-+    if Options.options.enable_libbsd:
++    if Options.options.enable_libbsd:
 +        # libbsd on some platforms provides strlcpy and strlcat
 +        if not conf.CHECK_FUNCS('strlcpy strlcat'):
 +            if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
@@ -150,10 +153,10 @@ index 4c774d9..63c9967 100644
      conf.CHECK_CODE('''
                  struct ucred cred;
 diff --git a/wscript b/wscript
-index 60bb7cf..7f14847 100644
+index 03076e6..ad40ac9 100644
 --- a/wscript
 +++ b/wscript
-@@ -40,6 +40,14 @@ def options(opt):
+@@ -40,6 +40,13 @@ def options(opt):
                     help='disable new LMDB backend for LDB',
                     action='store_true', dest='without_ldb_lmdb', default=False)
 
@@ -163,11 +166,10 @@ index 60bb7cf..7f14847 100644
 +    opt.add_option('--without-valgrind',
 +                   help=("disable use of valgrind"),
 +                   action="store_false", dest='enable_valgrind', default=False)
-+
 +
 
  def configure(conf):
      conf.RECURSE('lib/tdb')
 --
-2.25.1
+2.34.1
 
meta-networking/recipes-support/libldb/libldb_2.7.1.bb renamed from meta-networking/recipes-support/libldb/libldb_2.6.1.bb +1 -3
similarity index 95%
rename from meta-networking/recipes-support/libldb/libldb_2.6.1.bb
rename to meta-networking/recipes-support/libldb/libldb_2.7.1.bb
index 7c7701acc..473774b14 100644
@@ -35,8 +35,7 @@ LIC_FILES_CHKSUM = "file://pyldb.h;endline=24;md5=dfbd238cecad76957f7f860fbe9ada
                     file://man/ldb.3.xml;beginline=261;endline=262;md5=137f9fd61040c1505d1aa1019663fd08 \
                     file://tools/ldbdump.c;endline=19;md5=a7d4fc5d1f75676b49df491575a86a42"
 
-SRC_URI[md5sum] = "3a5f54f511fb237b83e1f34e2c7e25cd"
-SRC_URI[sha256sum] = "467403f77df86782c3965bb175440baa2ed751a9feb9560194bd8c06bf1736c9"
+SRC_URI[sha256sum] = "c4632c9a7f81f8a45ed46fc14d18eb507edf4e79f6e88d16977478ef95ed5b7f"
 
 inherit pkgconfig waf-samba
 
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101130): https://lists.openembedded.org/g/openembedded-devel/message/101130
Mute This Topic: https://lists.openembedded.org/mt/97045080/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-