Upgrade 5 packages build with waf
cover Upgrade 5 packages build with waf
From: Changqing Li <[email protected]>
1. refer below link:
https://github.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314#diff-ddc0f7d4ad007f8ee36297b5887dcd24
waf switch to default use python3, so switch waf-samba.bbclass to python3 and also upgrade 5 recipes that use waf to switch to python3
2. After upgrade, waf have a bug when cross-compile, fix for all the recipes
Changqing Li (6):
waf-samba: switch to python3
libldb: upgrade 1.4.1 -> 1.6.3
libtevent: upgrade 0.9.37 -> 0.10.0
libtdb: upgrade 1.3.17 -> 1.4.0
libtalloc: upgrade 2.1.14 -> 2.2.0
samba: upgrade 4.8.12 -> 4.10.5
meta-networking/classes/waf-samba.bbclass | 6 +--
.../waf-cross-answers/cross-answers-aarch64.txt | 1 +
.../waf-cross-answers/cross-answers-aarch64_be.txt | 1 +
.../files/waf-cross-answers/cross-answers-arm.txt | 1 +
.../waf-cross-answers/cross-answers-armeb.txt | 1 +
.../files/waf-cross-answers/cross-answers-i586.txt | 1 +
.../files/waf-cross-answers/cross-answers-i686.txt | 1 +
.../files/waf-cross-answers/cross-answers-mips.txt | 1 +
.../waf-cross-answers/cross-answers-mips64.txt | 1 +
.../waf-cross-answers/cross-answers-mips64el.txt | 1 +
.../waf-cross-answers/cross-answers-mipsel.txt | 1 +
.../waf-cross-answers/cross-answers-powerpc.txt | 1 +
.../waf-cross-answers/cross-answers-powerpc64.txt | 1 +
.../waf-cross-answers/cross-answers-riscv64.txt | 1 +
.../waf-cross-answers/cross-answers-x86_64.txt | 1 +
.../samba}/0001-libldb-fix-config-error.patch | 49 +++++++++--------
...0001-pyldb-util-don-t-use-PYTHON-ABI-FLAG.patch | 35 ++++++++++++
.../0001-samba-fix-musl-lib-without-innetgr.patch | 42 +++++++++++++++
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
...-import-target-module-while-cross-compile.patch | 59 +++++++++++---------
...rt-target-module-while-cross-compile.patch.bak} | 55 ++++++++++---------
.../21-add-config-option-without-valgrind.patch | 48 ++++++-----------
.../samba/samba/glibc_only.patch | 29 +++++++---
.../samba/{samba_4.8.12.bb => samba_4.10.5.bb} | 42 ++++++++++-----
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
...-import-target-module-while-cross-compile.patch | 56 +++++++++----------
.../libldb/libldb/options-1.4.1.patch | 56 +++++++++----------
.../libldb/{libldb_1.4.1.bb => libldb_1.6.3.bb} | 22 ++++----
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
.../{options-2.1.14.patch => options-2.2.0.patch} | 47 ++++++++--------
.../{libtalloc_2.1.14.bb => libtalloc_2.2.0.bb} | 13 +++--
...akefile-fix-problem-that-waf-cannot-found.patch | 35 ------------
.../libtdb/do-not-check-xsltproc-manpages.patch | 26 ++++++---
.../tdb-Add-configure-options-for-packages.patch | 33 +++++-------
.../libtdb/{libtdb_1.3.17.bb => libtdb_1.4.0.bb} | 22 +++++---
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
.../{options-0.9.36.patch => options-0.10.0.patch} | 62 ++++++++++------------
.../{libtevent_0.9.37.bb => libtevent_0.10.0.bb} | 26 ++++++---
38 files changed, 688 insertions(+), 337 deletions(-)
rename meta-networking/{recipes-support/libldb/libldb => recipes-connectivity/samba/samba}/0001-libldb-fix-config-error.patch (86%)
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-pyldb-util-don-t-use-PYTHON-ABI-FLAG.patch
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-samba-fix-musl-lib-without-innetgr.patch
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-waf-add-support-of-cross_compile.patch
copy meta-networking/{recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch => recipes-connectivity/samba/samba/20-do-not-import-target-module-while-cross-compile.patch.bak} (53%)
rename meta-networking/recipes-connectivity/samba/{samba_4.8.12.bb => samba_4.10.5.bb} (88%)
create mode 100644 meta-networking/recipes-support/libldb/libldb/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libldb/{libldb_1.4.1.bb => libldb_1.6.3.bb} (79%)
create mode 100644 meta-networking/recipes-support/libtalloc/libtalloc/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libtalloc/libtalloc/{options-2.1.14.patch => options-2.2.0.patch} (87%)
rename meta-networking/recipes-support/libtalloc/{libtalloc_2.1.14.bb => libtalloc_2.2.0.bb} (80%)
delete mode 100644 meta-networking/recipes-support/libtdb/libtdb/0001-Makefile-fix-problem-that-waf-cannot-found.patch
rename meta-networking/recipes-support/libtdb/{libtdb_1.3.17.bb => libtdb_1.4.0.bb} (69%)
create mode 100644 meta-networking/recipes-support/libtevent/libtevent/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libtevent/libtevent/{options-0.9.36.patch => options-0.10.0.patch} (82%)
rename meta-networking/recipes-support/libtevent/{libtevent_0.9.37.bb => libtevent_0.10.0.bb} (60%)Signature · 1 line
2.7.4
PATCH 1/6 waf-samba: switch to python3
From: Changqing Li <[email protected]>
refer this link:
https://github.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314#diff-ddc0f7d4ad007f8ee36297b5887dcd24
waf will support python3 by default, so switch to python3
--- meta-networking/classes/waf-samba.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-networking/classes/waf-samba.bbclass +3 -3
@@ -1,9 +1,9 @@ # waf is a build system which is used by samba related project. # Obtain details from https://wiki.samba.org/index.php/Waf # -inherit qemu pythonnative +inherit qemu python3native -DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python" +DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3" CONFIGUREOPTS = " --prefix=${prefix} \ --bindir=${bindir} \
@@ -111,7 +111,7 @@ do_configure() { do_compile[progress] = "outof:^\[\s*(\d+)/\s*(\d+)\]\s+" do_compile () { - python ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} + python3 ./buildtools/bin/waf ${@oe.utils.parallel_make_argument(d, '-j%d', limit=64)} } do_install() {
Signature · 1 line
2.7.4
PATCH 2/6 libldb: upgrade 1.4.1 -> 1.6.3
In reply to [email protected]From: Changqing Li <[email protected]>
1. switch to python3
2. add cross-answer for lmdb check, so remove patch 0001-libldb-fix-config-error
3. fix cross-compile problem caused by waf
4. refresh patch
---
.../waf-cross-answers/cross-answers-aarch64.txt | 1 +
.../waf-cross-answers/cross-answers-aarch64_be.txt | 1 +
.../files/waf-cross-answers/cross-answers-arm.txt | 1 +
.../waf-cross-answers/cross-answers-armeb.txt | 1 +
.../files/waf-cross-answers/cross-answers-i586.txt | 1 +
.../files/waf-cross-answers/cross-answers-i686.txt | 1 +
.../files/waf-cross-answers/cross-answers-mips.txt | 1 +
.../waf-cross-answers/cross-answers-mips64.txt | 1 +
.../waf-cross-answers/cross-answers-mips64el.txt | 1 +
.../waf-cross-answers/cross-answers-mipsel.txt | 1 +
.../waf-cross-answers/cross-answers-powerpc.txt | 1 +
.../waf-cross-answers/cross-answers-powerpc64.txt | 1 +
.../waf-cross-answers/cross-answers-riscv64.txt | 1 +
.../waf-cross-answers/cross-answers-x86_64.txt | 1 +
.../libldb/0001-libldb-fix-config-error.patch | 87 ----------------------
.../0001-waf-add-support-of-cross_compile.patch | 62 +++++++++++++++
...-import-target-module-while-cross-compile.patch | 56 +++++++-------
.../libldb/libldb/options-1.4.1.patch | 56 ++++++--------
.../libldb/{libldb_1.4.1.bb => libldb_1.6.3.bb} | 22 +++---
19 files changed, 141 insertions(+), 156 deletions(-)
delete mode 100644 meta-networking/recipes-support/libldb/libldb/0001-libldb-fix-config-error.patch
create mode 100644 meta-networking/recipes-support/libldb/libldb/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libldb/{libldb_1.4.1.bb => libldb_1.6.3.bb} (79%)meta-networking/files/waf-cross-answers/cross-answers-aarch64.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-aarch64_be.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-arm.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-armeb.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-i586.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-i686.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-mips.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-mips64.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-mips64el.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-mipsel.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-powerpc.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: NO
meta-networking/files/waf-cross-answers/cross-answers-powerpc64.txt +1 -0
@@ -38,3 +38,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-riscv64.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/files/waf-cross-answers/cross-answers-x86_64.txt +1 -0
@@ -37,3 +37,4 @@ Checking for small off_t: NO Checking whether blkcnt_t is 32 bit: NO Checking whether blkcnt_t is 64 bit: OK Checking whether fcntl lock supports open file description locks: OK +Checking for a 64-bit host to support lmdb: OK
meta-networking/recipes-support/libldb/libldb/0001-libldb-fix-config-error.patch deleted +0 -87
87 lines not on this page · raw message
meta-networking/recipes-support/libldb/libldb/0001-waf-add-support-of-cross_compile.patch new file +62 -0
62 lines not on this page · raw message
meta-networking/recipes-support/libldb/libldb/do-not-import-target-module-while-cross-compile.patch +28 -28
92 lines not on this page · raw message
meta-networking/recipes-support/libldb/libldb/options-1.4.1.patch +24 -32
115 lines not on this page · raw message
meta-networking/recipes-support/libldb/libldb_1.6.3.bb renamed from meta-networking/recipes-support/libldb/libldb_1.4.1.bb +13 -9
@@ -4,16 +4,16 @@ SECTION = "libs" LICENSE = "LGPL-3.0+ & LGPL-2.1+ & GPL-3.0+" DEPENDS += "libtdb libtalloc libtevent popt" -RDEPENDS_pyldb += "python samba" +RDEPENDS_pyldb += "python3 samba" RCONFLICTS_${PN} = "samba" -RCONFLICTS_pyldb = "samba-python" +RCONFLICTS_pyldb = "samba-python3" SRC_URI = "http://samba.org/ftp/ldb/ldb-${PV}.tar.gz \ file://do-not-import-target-module-while-cross-compile.patch \ file://options-1.4.1.patch \ - file://0001-libldb-fix-config-error.patch \ file://libldb-fix-musl-libc-unkown-type-error.patch \ file://libldb-fix-musl-libc-conflict-type-error.patch \ + file://0001-waf-add-support-of-cross_compile.patch \ " PACKAGECONFIG ??= "\
@@ -27,6 +27,7 @@ PACKAGECONFIG[libaio] = "--with-libaio,--without-libaio,libaio" PACKAGECONFIG[libbsd] = "--with-libbsd,--without-libbsd,libbsd" PACKAGECONFIG[libcap] = "--with-libcap,--without-libcap,libcap" PACKAGECONFIG[valgrind] = "--with-valgrind,--without-valgrind,valgrind" +PACKAGECONFIG[lmdb] = ",--without-ldb-lmdb,lmdb," SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'ldap', '', 'file://avoid-openldap-unless-wanted.patch', d)}"
@@ -34,14 +35,18 @@ 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] = "159a1b1a56dcccf410d1bba911be6076" -SRC_URI[sha256sum] = "2df13aa25b376b314ce24182c37691959019523de3cc5356c40c1a333b0890a2" +SRC_URI[md5sum] = "155e042125f5e8615e441723236e5d86" +SRC_URI[sha256sum] = "4a437ed0330d0af30748a1198311d7a3bc9eb1c51f31db4d5de380377cdb9106" inherit waf-samba distro_features_check REQUIRED_DISTRO_FEATURES = "pam" S = "${WORKDIR}/ldb-${PV}" +#cross_compile cannot use preforked process, since fork process earlier than point subproces.popen +#to cross Popen +export WAF_NO_PREFORK="yes" + EXTRA_OECONF += "--disable-rpath \ --disable-rpath-install \ --bundled-libraries=cmocka \
@@ -49,7 +54,6 @@ EXTRA_OECONF += "--disable-rpath \ --with-modulesdir=${libdir}/ldb/modules \ --with-privatelibdir=${libdir}/ldb \ --with-libiconv=${STAGING_DIR_HOST}${prefix}\ - --without-ldb-lmdb \ " PACKAGES =+ "pyldb pyldb-dbg pyldb-dev"
@@ -63,8 +67,8 @@ FILES_${PN}-dbg += "${bindir}/.debug/* \ ${libdir}/ldb/modules/ldb/.debug/*" FILES_pyldb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ - ${libdir}/libpyldb-util.so.* \ + ${libdir}/libpyldb-util.*.so.* \ " FILES_pyldb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ - ${libdir}/.debug/libpyldb-util.so.*" -FILES_pyldb-dev = "${libdir}/libpyldb-util.so" + ${libdir}/.debug/libpyldb-util.*.so.*" +FILES_pyldb-dev = "${libdir}/libpyldb-util.*.so"
Signature · 1 line
2.7.4
PATCH 3/6 libtevent: upgrade 0.9.37 -> 0.10.0
In reply to [email protected]From: Changqing Li <[email protected]>
1. switch to python3
2. fix cross-compile problem caused by waf
3. refresh patch
---
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
.../{options-0.9.36.patch => options-0.10.0.patch} | 62 ++++++++++------------
.../{libtevent_0.9.37.bb => libtevent_0.10.0.bb} | 26 ++++++---
3 files changed, 109 insertions(+), 41 deletions(-)
create mode 100644 meta-networking/recipes-support/libtevent/libtevent/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libtevent/libtevent/{options-0.9.36.patch => options-0.10.0.patch} (82%)
rename meta-networking/recipes-support/libtevent/{libtevent_0.9.37.bb => libtevent_0.10.0.bb} (60%)meta-networking/recipes-support/libtevent/libtevent/0001-waf-add-support-of-cross_compile.patch new file +62 -0
@@ -0,0 +1,62 @@ +From 4b8463ff43f8983a706b181c5292491f9f954be1 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 25 Jan 2019 15:00:59 +0800 +Subject: [PATCH] waf: add support of cross_compile + +After upgrade, waf also upgraded. + +on 1.5.19, for cross_compile, subprocess.Popen is set to be +samba_cross.cross_Popen, which will not execute testprog on +host, but only read result from cross-answers.txt which is +passed by option --cross-answer + +part of old code: + args = Utils.to_list(kw.get('exec_args', [])) + proc = Utils.pproc.Popen([lastprog] + args, stdout=Utils.pproc.PIPE, stderr=Utils.pproc.PIPE) + +but on new version, exec_args is not used and cause do_configure +failed with Exec format error + +fixed by append cross anser related args to cmd + +Upstream-Status: Submitted [https://gitlab.com/samba-team/samba/merge_requests/211] + +Signed-off-by: Changqing Li <[email protected]> +--- + third_party/waf/waflib/Tools/c_config.py | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/third_party/waf/waflib/Tools/c_config.py b/third_party/waf/waflib/Tools/c_config.py +index 7608215..767cf33 100644 +--- a/third_party/waf/waflib/Tools/c_config.py ++++ b/third_party/waf/waflib/Tools/c_config.py +@@ -660,20 +660,21 @@ class test_exec(Task.Task): + """ + color = 'PINK' + def run(self): ++ args = self.generator.bld.kw.get('exec_args', []) + if getattr(self.generator, 'rpath', None): + if getattr(self.generator, 'define_ret', False): +- self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()]) +- else: +- self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()]) ++ self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()] + args) ++ else: ++ self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()] + args) + else: + env = self.env.env or {} + env.update(dict(os.environ)) + for var in ('LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH', 'PATH'): + env[var] = self.inputs[0].parent.abspath() + os.path.pathsep + env.get(var, '') + if getattr(self.generator, 'define_ret', False): +- self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()], env=env) ++ self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()] + args, env=env) + else: +- self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()], env=env) ++ self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()] + args, env=env) + + @feature('test_exec') + @after_method('apply_link') +-- +2.7.4 +
meta-networking/recipes-support/libtevent/libtevent/options-0.10.0.patch renamed from meta-networking/recipes-support/libtevent/libtevent/options-0.9.36.patch +28 -34
125 lines not on this page · raw message
meta-networking/recipes-support/libtevent/libtevent_0.10.0.bb renamed from meta-networking/recipes-support/libtevent/libtevent_0.9.37.bb +19 -7
@@ -4,16 +4,17 @@ SECTION = "libs" LICENSE = "LGPLv3+" DEPENDS += "libtalloc libtirpc" -RDEPENDS_python-tevent = "python" +RDEPENDS_python3-tevent = "python3" SRC_URI = "https://samba.org/ftp/tevent/tevent-${PV}.tar.gz \ - file://options-0.9.36.patch \ + file://options-0.10.0.patch \ file://0001-libtevent-fix-musl-libc-compile-error.patch \ + file://0001-waf-add-support-of-cross_compile.patch \ " LIC_FILES_CHKSUM = "file://tevent.h;endline=26;md5=4e458d658cb25e21efc16f720e78b85a" -SRC_URI[md5sum] = "6859cd4081fdb2a76b1cb4bf1c803a59" -SRC_URI[sha256sum] = "168345ed65eac03785cf77b95238e7dc66cbb473a42811693a6b0916e5dae7e0" +SRC_URI[md5sum] = "97ea9861252e52c24adf6c45ab676a60" +SRC_URI[sha256sum] = "33f39612cd6d1ae6a737245784581494846f5bb07827983d2f41f942446aa4e6" inherit waf-samba
@@ -32,15 +33,26 @@ SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr S = "${WORKDIR}/tevent-${PV}" +#cross_compile cannot use preforked process, since fork process earlier than point subproces.popen +#to cross Popen +export WAF_NO_PREFORK="yes" + EXTRA_OECONF += "--disable-rpath \ --bundled-libraries=NONE \ --builtin-libraries=replace \ --with-libiconv=${STAGING_DIR_HOST}${prefix}\ --without-gettext \ " +do_install_append() { + # add this link for cross check python module existence. eg: on x86-64 host, check python module + # under recipe-sysroot which is mips64. + cd ${D}${PYTHON_SITEPACKAGES_DIR}; ln -s _tevent.*.so _tevent.so +} + +PACKAGES += "python3-tevent" -PACKAGES += "python-tevent" +RPROVIDES_${PN}-dbg += "python3-tevent-dbg" -RPROVIDES_${PN}-dbg += "python-tevent-dbg" +FILES_python3-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" -FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +INSANE_SKIP_python3-tevent = "dev-so"
Signature · 1 line
2.7.4
PATCH 4/6 libtdb: upgrade 1.3.17 -> 1.4.0
In reply to [email protected]From: Changqing Li <[email protected]>
1. switch to python3
2. fix cross-compile problem caused by waf
3. refresh patches
---
...akefile-fix-problem-that-waf-cannot-found.patch | 35 ----------------------
.../libtdb/do-not-check-xsltproc-manpages.patch | 26 ++++++++++++----
.../tdb-Add-configure-options-for-packages.patch | 33 ++++++++------------
.../libtdb/{libtdb_1.3.17.bb => libtdb_1.4.0.bb} | 22 +++++++++-----
4 files changed, 47 insertions(+), 69 deletions(-)
delete mode 100644 meta-networking/recipes-support/libtdb/libtdb/0001-Makefile-fix-problem-that-waf-cannot-found.patch
rename meta-networking/recipes-support/libtdb/{libtdb_1.3.17.bb => libtdb_1.4.0.bb} (69%)meta-networking/recipes-support/libtdb/libtdb/0001-Makefile-fix-problem-that-waf-cannot-found.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From 7205761d654636a6c1fad03a3ca40d38e253e192 Mon Sep 17 00:00:00 2001 -From: Changqing Li <[email protected]> -Date: Fri, 25 Jan 2019 16:01:07 +0800 -Subject: [PATCH] Makefile: fix problem that waf cannot found - -tdb is subfolder of samba, but it can also build independently. -so both path need to be added into PATH - -Upsteam-Status: Inappropriate [oe specific] - -Fix reject by upstream since upsteam need to support both python2/3, -so drop add append PATH. refer link: -https://gitlab.com/samba-team/samba/merge_requests/209 -https://gitlab.com/samba-team/samba/merge_requests/211 - -Signed-off-by: Changqing Li <[email protected]> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 3e70146..64bb393 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,6 +1,6 @@ - # simple makefile wrapper to run waf - --WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf -+WAF_BINARY=PATH=buildtools/bin:../../buildtools/bin:$$PATH waf - WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY) - - all: --- -2.7.4 -
meta-networking/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch +20 -6
@@ -1,15 +1,29 @@ -Don't check manpages for xsltproc. +From b397e1921e5df79bf5cfa158e73ecd2d26a72994 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Wed, 19 Jun 2019 17:42:51 +0800 +Subject: [PATCH] Don't check manpages for xsltproc. Signed-off-by: Bian Naimeng <[email protected]> ---- tdb-1.3.0.orig/wscript 2015-04-22 09:52:32.366000222 +0900 -+++ tdb-1.3.0/wscript 2015-04-22 09:51:57.720000205 +0900 -@@ -90,7 +90,7 @@ def configure(conf): +Update to version 1.4.0 +Signed-off-by: Changqing Li <[email protected]> +--- + wscript | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/wscript b/wscript +index 919004d..5598d02 100644 +--- a/wscript ++++ b/wscript +@@ -95,7 +95,7 @@ def configure(conf): not conf.env.disable_tdb_mutex_locking): conf.define('USE_TDB_MUTEX_LOCKING', 1) - conf.CHECK_XSLTPROC_MANPAGES() + conf.find_program('xsltproc', var='XSLTPROC') - if not conf.env.disable_python: - # also disable if we don't have the python libs installed + conf.SAMBA_CHECK_PYTHON() + conf.SAMBA_CHECK_PYTHON_HEADERS() +-- +2.7.4 +
meta-networking/recipes-support/libtdb/libtdb/tdb-Add-configure-options-for-packages.patch +13 -20
@@ -1,6 +1,6 @@ -From 13bbc851d9fd7396f087758e614abba60eeb2aad Mon Sep 17 00:00:00 2001 +From 71a10c176c34da898c0169371b3c1b032d2f88b1 Mon Sep 17 00:00:00 2001 From: Changqing Li <[email protected]> -Date: Wed, 23 Jan 2019 10:14:05 +0800 +Date: Wed, 19 Jun 2019 17:53:34 +0800 Subject: [PATCH] tdb: Add configure options for packages Add configure options for the following packages:
@@ -15,22 +15,16 @@ Upstream-Status: Inappropriate [oe deterministic build specific] Signed-off-by: Jackie Huang <[email protected]> -Update for libtdb_1.3.14. +Update to 1.4.0 -Signed-off-by: Huang Qiyu <[email protected]> - -Update for libtdb_1.3.16 -Signed-off-by: Changqing Li <[email protected]> - -Update for libtdb_1.3.17 Signed-off-by: Changqing Li <[email protected]> --- - lib/replace/wscript | 95 ++++++++++++++++++++++++++++++++++++++++------------- + lib/replace/wscript | 94 ++++++++++++++++++++++++++++++++++++++++------------- wscript | 6 ++++ - 2 files changed, 79 insertions(+), 22 deletions(-) + 2 files changed, 78 insertions(+), 22 deletions(-) diff --git a/lib/replace/wscript b/lib/replace/wscript -index 6cbae93..7aeaf46 100644 +index 1d01e1e..2336dc3 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -25,6 +25,41 @@ def options(opt):
@@ -104,26 +98,26 @@ index 6cbae93..7aeaf46 100644 + 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 sys/fs/vx/quota.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,10 @@ def configure(conf): +@@ -110,9 +158,10 @@ 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') - conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') - conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h') +- conf.CHECK_HEADERS('nss_common.h nsswitch.h ns_api.h') + if Options.options.enable_valgrind: + conf.CHECK_HEADERS('valgrind.h valgrind/valgrind.h') + conf.CHECK_HEADERS('valgrind/memcheck.h valgrind/helgrind.h') + - 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') -@@ -379,21 +429,22 @@ def configure(conf): - conf.CHECK_FUNCS('prctl dirname basename') + conf.CHECK_HEADERS('syscall.h sys/syscall.h inttypes.h') +@@ -380,20 +429,21 @@ def configure(conf): strlcpy_in_bsd = False -- + - # 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',
@@ -138,7 +132,6 @@ index 6cbae93..7aeaf46 100644 - - if not conf.CHECK_FUNCS('closefrom'): - conf.CHECK_FUNCS_IN('closefrom', 'bsd', headers='bsd/unistd.h') -+ + if Options.options.enable_libbsd: + # libbsd on some platforms provides strlcpy and strlcat + if not conf.CHECK_FUNCS('strlcpy strlcat'):
@@ -158,7 +151,7 @@ index 6cbae93..7aeaf46 100644 conf.CHECK_CODE(''' struct ucred cred; diff --git a/wscript b/wscript -index bc5ee26..9ac10b6 100644 +index 5598d02..8d47244 100644 --- a/wscript +++ b/wscript @@ -69,6 +69,12 @@ def options(opt):
meta-networking/recipes-support/libtdb/libtdb_1.4.0.bb renamed from meta-networking/recipes-support/libtdb/libtdb_1.3.17.bb +14 -8
@@ -7,14 +7,13 @@ LIC_FILES_CHKSUM = "file://tools/tdbdump.c;endline=18;md5=b59cd45aa8624578126a8c file://include/tdb.h;endline=27;md5=f5bb544641d3081821bcc1dd58310be6" SRC_URI = "https://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ - file://do-not-check-xsltproc-manpages.patch \ + file://do-not-check-xsltproc-manpages.patch\ file://tdb-Add-configure-options-for-packages.patch \ file://0001-waf-add-support-of-cross_compile.patch \ - file://0001-Makefile-fix-problem-that-waf-cannot-found.patch \ " -SRC_URI[md5sum] = "519d373ac72a66b0a2739dbb495de127" -SRC_URI[sha256sum] = "1cb4399394c60a773430ca54848359adcf54fb6f136afdcfcbbe62b5f4245614" +SRC_URI[md5sum] = "c4c2f8cf9e691244a7f2ecfa3baadecc" +SRC_URI[sha256sum] = "c1a0729c5400fb495465fa4bd953ae290db43c28dacd0506aef50dc482132d35" PACKAGECONFIG ??= "\ ${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)} \
@@ -42,11 +41,18 @@ EXTRA_OECONF += "--disable-rpath \ --with-libiconv=${STAGING_DIR_HOST}${prefix}\ " -PACKAGES += "tdb-tools python-tdb" +do_install_append() { + # add this link for cross check python module existence. eg: on x86-64 host, check python module + # under recipe-sysroot which is mips64. + cd ${D}${PYTHON_SITEPACKAGES_DIR}; ln -s tdb.*.so tdb.so +} -RPROVIDES_${PN}-dbg += "python-tdb-dbg" +PACKAGES += "tdb-tools python3-tdb" + +RPROVIDES_${PN}-dbg += "python3-tdb-dbg" FILES_${PN} = "${libdir}/*.so.*" FILES_tdb-tools = "${bindir}/*" -FILES_python-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" -RDEPENDS_python-tdb = "python" +FILES_python3-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +RDEPENDS_python3-tdb = "python3" +INSANE_SKIP_python3-tdb = "dev-so"
Signature · 1 line
2.7.4
PATCH 5/6 libtalloc: upgrade 2.1.14 -> 2.2.0
In reply to [email protected]From: Changqing Li <[email protected]>
1. switch to python3
2. fix cross-compile prolem caused by waf
3. refresh patch
---
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
.../{options-2.1.14.patch => options-2.2.0.patch} | 47 ++++++++--------
.../{libtalloc_2.1.14.bb => libtalloc_2.2.0.bb} | 13 +++--
3 files changed, 95 insertions(+), 27 deletions(-)
create mode 100644 meta-networking/recipes-support/libtalloc/libtalloc/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-support/libtalloc/libtalloc/{options-2.1.14.patch => options-2.2.0.patch} (87%)
rename meta-networking/recipes-support/libtalloc/{libtalloc_2.1.14.bb => libtalloc_2.2.0.bb} (80%)meta-networking/recipes-support/libtalloc/libtalloc/0001-waf-add-support-of-cross_compile.patch new file +62 -0
@@ -0,0 +1,62 @@ +From 4b8463ff43f8983a706b181c5292491f9f954be1 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 25 Jan 2019 15:00:59 +0800 +Subject: [PATCH] waf: add support of cross_compile + +After upgrade, waf also upgraded + +on 1.5.19, for cross_compile, subprocess.Popen is set to be +samba_cross.cross_Popen, which will not execute testprog on +host, but only read result from cross-answers.txt which is +passed by option --cross-answer + +part of old code: + args = Utils.to_list(kw.get('exec_args', [])) + proc = Utils.pproc.Popen([lastprog] + args, stdout=Utils.pproc.PIPE, stderr=Utils.pproc.PIPE) + +but on new version, exec_args is not used and cause do_configure +failed with Exec format error + +fixed by append cross anser related args to cmd + +Upstream-Status: Submitted [https://gitlab.com/samba-team/samba/merge_requests/211] + +Signed-off-by: Changqing Li <[email protected]> +--- + third_party/waf/waflib/Tools/c_config.py | 11 ++++++----- + 1 file changed, 6 insertions(+), 5 deletions(-) + +diff --git a/third_party/waf/waflib/Tools/c_config.py b/third_party/waf/waflib/Tools/c_config.py +index 7608215..767cf33 100644 +--- a/third_party/waf/waflib/Tools/c_config.py ++++ b/third_party/waf/waflib/Tools/c_config.py +@@ -660,20 +660,21 @@ class test_exec(Task.Task): + """ + color = 'PINK' + def run(self): ++ args = self.generator.bld.kw.get('exec_args', []) + if getattr(self.generator, 'rpath', None): + if getattr(self.generator, 'define_ret', False): +- self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()]) +- else: +- self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()]) ++ self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()] + args) ++ else: ++ self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()] + args) + else: + env = self.env.env or {} + env.update(dict(os.environ)) + for var in ('LD_LIBRARY_PATH', 'DYLD_LIBRARY_PATH', 'PATH'): + env[var] = self.inputs[0].parent.abspath() + os.path.pathsep + env.get(var, '') + if getattr(self.generator, 'define_ret', False): +- self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()], env=env) ++ self.generator.bld.retval = self.generator.bld.cmd_and_log([self.inputs[0].abspath()] + args, env=env) + else: +- self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()], env=env) ++ self.generator.bld.retval = self.generator.bld.exec_command([self.inputs[0].abspath()] + args, env=env) + + @feature('test_exec') + @after_method('apply_link') +-- +2.7.4 +
meta-networking/recipes-support/libtalloc/libtalloc/options-2.2.0.patch renamed from meta-networking/recipes-support/libtalloc/libtalloc/options-2.1.14.patch +24 -23
105 lines not on this page · raw message
meta-networking/recipes-support/libtalloc/libtalloc_2.2.0.bb renamed from meta-networking/recipes-support/libtalloc/libtalloc_2.1.14.bb +9 -4
@@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://talloc.h;beginline=3;endline=27;md5=a301712782cad6dd6 SRC_URI = "https://samba.org/ftp/talloc/talloc-${PV}.tar.gz \ - file://options-2.1.14.patch \ + file://options-2.2.0.patch \ + file://0001-waf-add-support-of-cross_compile.patch \ " -SRC_URI[md5sum] = "7478da02e309316231a497a9f17a980d" -SRC_URI[sha256sum] = "b185602756a628bac507fa8af8b9df92ace69d27c0add5dab93190ad7c3367ce" +SRC_URI[md5sum] = "b60781acc2fb42d7a1e08751e508d3df" +SRC_URI[sha256sum] = "5c6f6a45ef96b3fd0b28942673a68d0c6af5dcca9d676a2e4d57ce7e86c22ebc" inherit waf-samba
@@ -29,6 +30,10 @@ SRC_URI += "${@bb.utils.contains('PACKAGECONFIG', 'attr', '', 'file://avoid-attr S = "${WORKDIR}/talloc-${PV}" +#cross_compile cannot use preforked process, since fork process earlier than point subproces.popen +#to cross Popen +export WAF_NO_PREFORK="yes" + EXTRA_OECONF += "--disable-rpath \ --disable-rpath-install \ --bundled-libraries=NONE \
@@ -46,4 +51,4 @@ FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ ${libdir}/libpytalloc-util.so.2.1.1 \ " FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" -RDEPENDS_pytalloc = "python" +RDEPENDS_pytalloc = "python3"
Signature · 1 line
2.7.4
PATCH 6/6 samba: upgrade 4.8.12 -> 4.10.5
In reply to [email protected]From: Changqing Li <[email protected]>
1. switch to python3, from 4.10.x, samba support both python2 and python3, and from 4.11.x, python2 will be dropped.
2. fix cross-compile problem caused by waf
3. disable lmdb
4. refresh patch
---
...0001-pyldb-util-don-t-use-PYTHON-ABI-FLAG.patch | 35 ++++++++++++
.../0001-samba-fix-musl-lib-without-innetgr.patch | 42 +++++++++++++++
.../0001-waf-add-support-of-cross_compile.patch | 62 ++++++++++++++++++++++
...-import-target-module-while-cross-compile.patch | 59 +++++++++++---------
.../21-add-config-option-without-valgrind.patch | 48 ++++++-----------
.../samba/samba/glibc_only.patch | 29 +++++++---
.../samba/{samba_4.8.12.bb => samba_4.10.5.bb} | 42 ++++++++++-----
7 files changed, 240 insertions(+), 77 deletions(-)
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-pyldb-util-don-t-use-PYTHON-ABI-FLAG.patch
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-samba-fix-musl-lib-without-innetgr.patch
create mode 100644 meta-networking/recipes-connectivity/samba/samba/0001-waf-add-support-of-cross_compile.patch
rename meta-networking/recipes-connectivity/samba/{samba_4.8.12.bb => samba_4.10.5.bb} (88%)meta-networking/recipes-connectivity/samba/samba/0001-pyldb-util-don-t-use-PYTHON-ABI-FLAG.patch new file +35 -0
@@ -0,0 +1,35 @@ +From dfd1b9a1cd9d695abc4314d711a83373fd1c81e6 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Tue, 25 Jun 2019 15:12:26 +0800 +Subject: [PATCH] pyldb-util: don't use PYTHON ABI FLAG + +Signed-off-by: Changqing Li <[email protected]> +--- + lib/ldb/wscript | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/ldb/wscript b/lib/ldb/wscript +index b9d2980..f40fca9 100644 +--- a/lib/ldb/wscript ++++ b/lib/ldb/wscript +@@ -84,7 +84,7 @@ def configure(conf): + conf.define('USING_SYSTEM_LDB', 1) + else: + using_system_pyldb_util = True +- dflt_name = 'pyldb-util' + conf.all_envs['default']['PYTHON_SO_ABI_FLAG'] ++ dflt_name = 'pyldb-util' + if not conf.CHECK_BUNDLED_SYSTEM_PKG(dflt_name, + minversion=VERSION, + maxversion=max_ldb_version_dots, +@@ -95,7 +95,7 @@ def configure(conf): + # We need to get a pyldb-util for all the python versions + # we are building for + if conf.env['EXTRA_PYTHON']: +- name = 'pyldb-util' + conf.all_envs['extrapython']['PYTHON_SO_ABI_FLAG'] ++ name = 'pyldb-util' + if not conf.CHECK_BUNDLED_SYSTEM_PKG(name, + minversion=VERSION, + maxversion=max_ldb_version_dots, +-- +2.7.4 +
meta-networking/recipes-connectivity/samba/samba/0001-samba-fix-musl-lib-without-innetgr.patch new file +42 -0
42 lines not on this page · raw message
meta-networking/recipes-connectivity/samba/samba/0001-waf-add-support-of-cross_compile.patch new file +62 -0
62 lines not on this page · raw message
meta-networking/recipes-connectivity/samba/samba/20-do-not-import-target-module-while-cross-compile.patch +34 -25
89 lines not on this page · raw message
meta-networking/recipes-connectivity/samba/samba/21-add-config-option-without-valgrind.patch +17 -31
78 lines not on this page · raw message
meta-networking/recipes-connectivity/samba/samba/glibc_only.patch +21 -8
@@ -1,15 +1,28 @@ -Index: samba-4.6.2/ctdb/tests/src/test_mutex_raw.c -=================================================================== ---- samba-4.6.2.orig/ctdb/tests/src/test_mutex_raw.c -+++ samba-4.6.2/ctdb/tests/src/test_mutex_raw.c -@@ -166,8 +166,10 @@ int main(int argc, const char **argv) - if (ret == 0) { - pthread_mutex_unlock(mutex); +From 062cf74b498c1d12fd76f9d9bca926ac806e0b99 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Thu, 20 Jun 2019 14:15:18 +0800 +Subject: [PATCH] glibc only fix + +Signed-off-by: Changqing Li <[email protected]> +--- + ctdb/tests/src/test_mutex_raw.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/ctdb/tests/src/test_mutex_raw.c b/ctdb/tests/src/test_mutex_raw.c +index 926a525..814343f 100644 +--- a/ctdb/tests/src/test_mutex_raw.c ++++ b/ctdb/tests/src/test_mutex_raw.c +@@ -291,8 +291,10 @@ int main(int argc, const char **argv) + "failed\n"); + exit (EXIT_FAILURE); } +#ifdef __GLIBC__ } else if (ret == EBUSY) { - printf("pid=%u\n", mutex->__data.__owner); + printf("INFO: pid=%u\n", mutex->__data.__owner); +#endif } else if (ret == 0) { pthread_mutex_unlock(mutex); } +-- +2.7.4 +
meta-networking/recipes-connectivity/samba/samba_4.10.5.bb renamed from meta-networking/recipes-connectivity/samba/samba_4.8.12.bb +29 -13
116 lines not on this page · raw message
Signature · 1 line
2.7.4
Quoted 7 lines · On Fri, Jun 28, 2019 at 09:48:04AM +0800, [email protected] wrote:
...
Changqing Li (6):
...
libldb: upgrade 1.4.1 -> 1.6.3
...
samba: upgrade 4.8.12 -> 4.10.5
...
It was a mistake that required workarounds in both libldb and samba when libldb was upgraded to 1.4.1 (which doesn't work with samba 4.8).
Now that samba gets upgraded, all these workarounds should be removed and samba should use the external libldb again.
For samba 4.10 this also means that libldb has to be upgraded to 1.5, not to 1.6.
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedQuoted 11 lines · Adrian Bunk
Quoted 7 lines · On Fri, Jun 28, 2019 at 09:48:04AM +0800, [email protected] wrote:
...
Changqing Li (6):
...
libldb: upgrade 1.4.1 -> 1.6.3
...
samba: upgrade 4.8.12 -> 4.10.5
...It was a mistake that required workarounds in both libldb and samba when libldb was upgraded to 1.4.1 (which doesn't work with samba 4.8).
Quoted 8 lines
Now that samba gets upgraded, all these workarounds should be removed and samba should use the external libldb again.
For samba 4.10 this also means that libldb has to be upgraded to 1.5, not to 1.6.
cu
Adrian
Thanks, I will check this.
Quoted 1 line
Signature · 3 lines
BRs Sandy(Li Changqing)