samba4: bump to 4.22.2
authorJohn Audia <[email protected]>
Mon, 2 Jun 2025 19:19:14 +0000 (15:19 -0400)
committerHannu Nyman <[email protected]>
Wed, 18 Jun 2025 14:51:32 +0000 (17:51 +0300)
commit192ca00bce6360bf718154a9f69f4dea36ecbda7
treea9201836f8bb72cb6888c3426e4235f828eed51d
parent01fafd69ef276cd3ae80e9a633391d5f7a8d7dfe
samba4: bump to 4.22.2

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

Removed upstreamed:
  101-do-not-check-xsltproc-manpages.patch
  105-perl-json-pp.patch

Removed due to build failure:
  104-samba-4.12-unbundle-icu.patch

Added:
  104-fix-build-on-aarch64-and-risc.patch[1]

Makefile:
  Removed section on --accel-aes due to upstream dropping support
  Added line to correct fcntl check in cross-answers.txt

1. For aarch64 and risc64, the discard_const macro is used to remove
const qualifiers from string literals, but casting a string literal’s
address to uintptr_t and then to void * is not a constant expression in
some compilers or environments e.g. the musl libc and aarch64/risc64
combination seems to enforce stricter rules for constant initializers
or pointer/integer size handling compared to glibc-based systems.

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

Signed-off-by: John Audia <[email protected]>
net/samba4/Makefile
net/samba4/patches/009-samba-4-11-fix-host-tools-checks.patch.patch
net/samba4/patches/012-fix-gnutls-version-check.patch [new file with mode: 0644]
net/samba4/patches/020-source3-msgsock-nvram-fix.patch
net/samba4/patches/021-source4-msgsock-nvram-fix.patch
net/samba4/patches/101-do-not-check-xsltproc-manpages.patch
net/samba4/patches/102-samba-4.11-unbundle-libbsd.patch
net/samba4/patches/104-fix-build-on-aarch64-and-risc.patch [new file with mode: 0644]
net/samba4/patches/104-samba-4.12-unbundle-icu.patch [deleted file]
net/samba4/patches/105-perl-json-pp.patch [deleted file]