diff --git a/recipes/wip/samba/answers.txt b/recipes/wip/samba/answers.txt index f9dc37fb6..54c200d0f 100644 --- a/recipes/wip/samba/answers.txt +++ b/recipes/wip/samba/answers.txt @@ -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 diff --git a/recipes/wip/samba/recipe.toml b/recipes/wip/samba/recipe.toml index b4cc087bd..68ba87be7 100644 --- a/recipes/wip/samba/recipe.toml +++ b/recipes/wip/samba/recipe.toml @@ -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 """