Configure script incorrectly "detected" no flags are necessary. The odd result is that 'ls <largefile>' prints huge file size (16E) for files larger than 2GB while 'du <largefile>' is correct in mounted shares.
Signed-off-by: Phil Sutter phil@nwl.cc --- package/samba/Makefile | 5 ++++- package/samba/files/cache.txt | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/package/samba/Makefile b/package/samba/Makefile index e47d34af3f83e..63085b06a21dd 100644 --- a/package/samba/Makefile +++ b/package/samba/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= samba PKG_VERSION:= 4.19.4 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_HASH:= 4026d93b866db198c8ca1685b0f5d52793f65c6e63cb364163af661fdff0968c PKG_DESCR:= file and print server PKG_SECTION:= net/fs @@ -68,8 +68,11 @@ CONFIGURE_ENV+= PYTHON_CONFIG="$(STAGING_TARGET_DIR)/usr/bin/python-config" \ echo 'Checking uname machine type: "$(ADK_TARGET_ARCH)"' >>$(WRKSRC)/cache.txt ifneq ($(ADK_LINUX_64),) echo 'Checking for a 64-bit host to support lmdb: OK' >>$(WRKSRC)/cache.txt + echo 'Checking for large file support without additional flags: OK' >>$(WRKSRC)/cache.txt else echo 'Checking for a 64-bit host to support lmdb: NO' >>$(WRKSRC)/cache.txt + echo 'Checking for large file support without additional flags: NO' >>$(WRKSRC)/cache.txt + echo 'Checking for -D_FILE_OFFSET_BITS=64: OK' >>$(WRKSRC)/cache.txt endif
samba-install: diff --git a/package/samba/files/cache.txt b/package/samba/files/cache.txt index 9ab9fcd5bf600..e08011165d508 100644 --- a/package/samba/files/cache.txt +++ b/package/samba/files/cache.txt @@ -2,8 +2,6 @@ Checking simple C program: OK rpath library support: OK -Wl,--version-script support: OK Checking getconf LFS_CFLAGS: NO -Checking for large file support without additional flags: OK -Checking for -D_LARGE_FILES: OK Checking correct behavior of strtoll: NO Checking for working strptime: OK Checking for C99 vsnprintf: OK