From ff6a35e0741401079d4a6d4e05dfb6e3e4247caa67ee5e6ade5e4ca27fb6de78 Mon Sep 17 00:00:00 2001 From: sisungo Date: Thu, 29 Oct 2026 07:41:10 +0000 Subject: [PATCH] feat: add package samba Signed-off-by: sisungo --- packages/samba/pkgbuild.py | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/samba/pkgbuild.py diff --git a/packages/samba/pkgbuild.py b/packages/samba/pkgbuild.py new file mode 100644 index 0000000..2206e20 --- /dev/null +++ b/packages/samba/pkgbuild.py @@ -0,0 +1,30 @@ +from lib import cpp +from lib.make import * + + +version("4.25.0") +description("the most feature-rich Open Source implementation of the SMB and Active Directory protocols for Linux and UNIX-like systems") +maintainer("sisungo ") +source_url("https://download.samba.org/pub/samba/samba-4.25.1.tar.gz") + +builddep("shortcut/c") +builddep("shortcut/autotools") +builddep("gettext") +builddep("libintl-dev @target") +builddep("cups-dev @target") +builddep("libpam-dev @target") +builddep("libarchive-dev @target") +builddep("libpython-dev @target") +builddep("pkgconf @target") + + +def build(): + cpp.configure([ + "--without-lttng", + "--without-smb1-server", + "--without-systemd-userdb", + ]) + cpp.make() + cpp.make_install() + +on_build(build)