Make progress on samba

This commit is contained in:
Jeremy Soller 2024-01-12 15:16:49 -07:00
parent 098bc5ce15
commit 8281a16572
No known key found for this signature in database
GPG Key ID: DCFCA852D3906975
2 changed files with 30 additions and 7 deletions

View File

@ -0,0 +1,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

View File

@ -1,11 +1,30 @@
#TODO probably wrong tarball
# filesystem support - https://wiki.samba.org/index.php/File_System_Support
#TODO: needs gnutls3 to compile
[source]
tar = "https://download.samba.org/pub/samba/samba-4.19.3.tar.gz"
git = "https://gitlab.redox-os.org/redox-os/samba.git"
upstream = "https://github.com/samba-team/samba.git"
[build]
template = "configure"
template = "custom"
dependencies = [
"gnutls",
"zlib",
"kerberos5",
"gnutls3"
]
script = """
rsync -av --delete --exclude .git "${COOKBOOK_SOURCE}/" ./
cp -v "${COOKBOOK_RECIPE}/answers.txt" answers.txt
COOKBOOK_CONFIGURE_FLAGS=(
--builtin-libraries=ALL
--cross-compile
--cross-answers=answers.txt
--disable-python
--disable-rpath
--enable-fhs
--host="${TARGET}"
--localstatedir=/var
--prefix=/usr
--sysconfdir=/etc
--with-static-modules=ALL
--without-ad-dc
)
cookbook_configure
"""