summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-05 01:18:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-06 11:53:41 +0100
commitedb8317be0fd56b8894d03bf6a7df4be8be694b6 (patch)
tree0e0c6cc72fc159bde57a9b1bcfdbaf65f4959f48
parent868600c7dae64fb8af62d3914199ffba0dd643fb (diff)
package: samba: Fix for large files on 32bit target
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>
-rw-r--r--package/samba/Makefile5
-rw-r--r--package/samba/files/cache.txt2
2 files changed, 4 insertions, 3 deletions
diff --git a/package/samba/Makefile b/package/samba/Makefile
index e47d34af3..63085b06a 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 @@ pre-configure:
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 9ab9fcd5b..e08011165 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