Skip to contentSkip to conversation

samba: disable check fcntl RW_HINTS when configure

PATCH New Yi Zhao 1 participant 2 messages Jun 8, 2021

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/2 samba: disable check fcntl RW_HINTS when configure

This fails on cross-compilation for musl and clang.

Fixes configure error:
Checking whether fcntl supports setting/geting hints: UNKNOWN

---
 ... => 0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch} | 0
 meta-networking/recipes-connectivity/samba/samba_4.14.4.bb      | 2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-networking/recipes-connectivity/samba/samba/{source3-wscript-disable-check-fcntl-RW_HINTS.patch => 0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch} (100%)
meta-networking/recipes-connectivity/samba/samba/0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch renamed from meta-networking/recipes-connectivity/samba/samba/source3-wscript-disable-check-fcntl-RW_HINTS.patch +0 -0
similarity index 100%
rename from meta-networking/recipes-connectivity/samba/samba/source3-wscript-disable-check-fcntl-RW_HINTS.patch
rename to meta-networking/recipes-connectivity/samba/samba/0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch
meta-networking/recipes-connectivity/samba/samba_4.14.4.bb +1 -1
index 2e0bdceab..0e6f134c2 100644
@@ -23,6 +23,7 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
            file://0006-samba-defeat-iconv-test.patch \
            file://0007-wscript_configure_system_gnutls-disable-check-gnutls.patch \
            file://0008-source3-wscript-disable-check-fcntl-F_OWNER_EX.patch \
+           file://0009-source3-wscript-disable-check-fcntl-RW_HINTS.patch \
            "
 
 SRC_URI_append_libc-musl = " \
@@ -31,7 +32,6 @@ SRC_URI_append_libc-musl = " \
            file://samba-4.3.9-remove-getpwent_r.patch \
            file://cmocka-uintptr_t.patch \
            file://samba-fix-musl-lib-without-innetgr.patch \
-           file://source3-wscript-disable-check-fcntl-RW_HINTS.patch \
            "
 
 SRC_URI[md5sum] = "171629ad42b4b303107e8b0fff942a1f"
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 samba: upgrade 4.14.4 -> 4.14.5

Changelog:
https://www.samba.org/samba/history/samba-4.14.5.html

---
 .../samba/{samba_4.14.4.bb => samba_4.14.5.bb}                | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-networking/recipes-connectivity/samba/{samba_4.14.4.bb => samba_4.14.5.bb} (98%)
meta-networking/recipes-connectivity/samba/samba_4.14.5.bb renamed from meta-networking/recipes-connectivity/samba/samba_4.14.4.bb +2 -2
similarity index 98%
rename from meta-networking/recipes-connectivity/samba/samba_4.14.4.bb
rename to meta-networking/recipes-connectivity/samba/samba_4.14.5.bb
index 0e6f134c2..bc4c615a7 100644
@@ -34,8 +34,8 @@ SRC_URI_append_libc-musl = " \
            file://samba-fix-musl-lib-without-innetgr.patch \
            "
 
-SRC_URI[md5sum] = "171629ad42b4b303107e8b0fff942a1f"
-SRC_URI[sha256sum] = "89af092a0b00f5354ed287f0aa37b8c2cf9ba2ce67ea6464192e2c18528f89b9"
+SRC_URI[md5sum] = "96d275e31387e6c403d6c16465d15b7e"
+SRC_URI[sha256sum] = "bb6ef5d2f16b85288d823578abc453d9a80514c42e5a2ea2c4e3c60dc42335c3"
 
 UPSTREAM_CHECK_REGEX = "samba\-(?P<pver>4\.14(\.\d+)+).tar.gz"
 
Signature · 1 line
2.25.1