mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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 <vortexilation@gmail.com>