]> git.99rst.org Git - openwrt-packages.git/commit
samba4: bump to 4.24.5
authorAditya Nugraha <redacted>
Tue, 30 Jun 2026 21:04:47 +0000 (04:04 +0700)
committerHannu Nyman <redacted>
Mon, 10 Aug 2026 17:07:20 +0000 (20:07 +0300)
commit17d0ee687e3433629a922eec17ae31bf2d1c4d4b
treeb932e0017fa6228ce1ea634cbee174fadafa38ff
parent99a2de54f592faef7caa56c80e86510d51d1dd11
samba4: bump to 4.24.5

https://www.samba.org/samba/history/samba-4.24.5.html

Patch removed due to fixed in Makefile:
  012-fix-gnutls-version-check.patch

Patch removed because of no longer needed:
  005-musl_uintptr.patch

Makefile:
  Fixed gnutls sed related things.
  Fixed compile_et & asn1_compile linkage at build time to fixes build error
  Dropped NONE from bundled-libraries as to fix compilation errors, NONE
  now seems meaning not to bundle any libraries.
  Added RSTRIP from gcc Makefile to reduce compiled samba4 binaries and
  libraries filesize by around 15%, tested, --private-libraries rpath
  seems intact or identical with not-stripped binaries and libraries
  one.
  samba's cross_answer() returns on the *first* message matching a check in
  cross-answers.txt, and Build/Configure copies the per-arch answers file
  before appending its own answers.  Up to samba 4.16 the check message
  itself carried a "setting/geting hints" typo, which the generated answers
  files inherited; samba fixed its spelling later, so the file entries
  stopped matching and configure started aborting with

  Cross answers file ... is incomplete

  The 'Checking whether fcntl supports setting/getting hints: OK' line
  appended by Build/Configure was added to paper over that, not because the
  targets answer OK.

  Now that the spelling in the answers files is fixed, the generated
  (-11, "") entry matches first and the appended OK is dead code.  Keep the
  generated answer -- samba's test uses F_SET_FILE_RW_HINT/F_GET_FILE_RW_HINT,
  which the kernel no longer implements, so the check legitimately fails on
  every target -- and drop the unreachable echo so each check has exactly
  one answer.

smb.conf.template:
  Added SMB2 as default minimum protocol for client, also enabled server
  & client encryption by default. Use smbpasswd -a username to add a
  username & password for samba. To connect into samba from Windows 10
  and above, it need to be done by this guide : https://www.asus.com/support/faq/1054736/ .

Build system: x86/64
Build-tested: x86/64-glibc
Build-tested: x86/64-musl
Run-tested: x86/64-glibc

Signed-off-by: Aditya Nugraha <redacted>
21 files changed:
net/samba4/Makefile
net/samba4/files/smb.conf.template
net/samba4/patches/005-musl_uintptr.patch [deleted file]
net/samba4/patches/011-samba-4-14-disable-python-module-host-check.patch
net/samba4/patches/012-fix-gnutls-version-check.patch [deleted file]
net/samba4/patches/102-samba-4.11-unbundle-libbsd.patch
net/samba4/patches/104-fix-build-on-aarch64-and-risc.patch [deleted file]
net/samba4/patches/104-fix-build-on-aarch64-and-riscv64.patch [new file with mode: 0644]
net/samba4/waf-cross-answers/aarch64.txt
net/samba4/waf-cross-answers/arc.txt
net/samba4/waf-cross-answers/arm.txt
net/samba4/waf-cross-answers/armeb.txt
net/samba4/waf-cross-answers/i386.txt
net/samba4/waf-cross-answers/mips.txt
net/samba4/waf-cross-answers/mips64.txt
net/samba4/waf-cross-answers/mips64el.txt
net/samba4/waf-cross-answers/mipsel.txt
net/samba4/waf-cross-answers/powerpc.txt
net/samba4/waf-cross-answers/powerpc64.txt
net/samba4/waf-cross-answers/riscv64.txt
net/samba4/waf-cross-answers/x86_64.txt
git clone https://git.99rst.org/PROJECT