samba: update recipe and answers

This commit is contained in:
Jeremy Soller 2024-01-12 20:37:15 -07:00
parent 536650c50f
commit 66ef28905a
No known key found for this signature in database
GPG Key ID: DCFCA852D3906975
2 changed files with 14 additions and 3 deletions

View File

@ -2,3 +2,4 @@ Checking for HAVE_LITTLE_ENDIAN - runtime: OK
Checking for large file support without additional flags: OK
Checking for HAVE_SECURE_MKSTEMP: OK
Checking for HAVE_MREMAP: OK
Checking whether setreuid is available: OK

View File

@ -1,4 +1,4 @@
#TODO: needs gnutls3 to compile
#TODO: needs libmodule-build-parse-yapp-perl dependency
[source]
git = "https://gitlab.redox-os.org/redox-os/samba.git"
upstream = "https://github.com/samba-team/samba.git"
@ -6,7 +6,11 @@ upstream = "https://github.com/samba-team/samba.git"
[build]
template = "custom"
dependencies = [
"gnutls3"
"gnutls3",
"libarchive",
"libnettle",
"jansson",
"zlib",
]
script = """
rsync -av --delete --exclude .git "${COOKBOOK_SOURCE}/" ./
@ -23,8 +27,14 @@ COOKBOOK_CONFIGURE_FLAGS=(
--localstatedir=/var
--prefix=/usr
--sysconfdir=/etc
--with-static-modules=ALL
--with-static-modules=ALL,!vfs_snapper
--without-acl-support
--without-ad-dc
--without-ads
--without-gettext
--without-ldap
--without-libunwind
--without-pam
)
cookbook_configure
"""