From ede8ca0019974fc999c6e9f20dfbedfeb9649c60 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Mon, 1 Aug 2011 23:46:16 +0200 Subject: [PATCH] samba: make installation of smbd configurable It may be desirable to compile samba but not actually install the smbd binary. This is the case if you need libsmbclient but don't want to run a samba server. Make this possible by allowing to disable installation of smbd. Signed-off-by: Sven Neumann Signed-off-by: Peter Korsgaard --- package/samba/Config.in | 7 +++++++ package/samba/samba.mk | 1 + 2 files changed, 8 insertions(+) diff --git a/package/samba/Config.in b/package/samba/Config.in index 58a84f3d62..3a777766a8 100644 --- a/package/samba/Config.in +++ b/package/samba/Config.in @@ -122,6 +122,13 @@ config BR2_PACKAGE_SAMBA_SMBCQUOTAS help Set or get QUOTAs of NTFS 5 shares +config BR2_PACKAGE_SAMBA_SMBD + bool "smbd" + default y + depends on BR2_PACKAGE_SAMBA + help + The server daemon that provides filesharing and printing services + config BR2_PACKAGE_SAMBA_SMBGET bool "smbget" default y diff --git a/package/samba/samba.mk b/package/samba/samba.mk index dfc7636846..621d13c6aa 100644 --- a/package/samba/samba.mk +++ b/package/samba/samba.mk @@ -111,6 +111,7 @@ SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCACLS) += usr/bin/smbcacls SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCLIENT) += usr/bin/smbclient SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCONTROL) += usr/bin/smbcontrol SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBCQUOTAS) += usr/bin/smbcquotas +SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBD) += usr/sbin/smbd SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBGET) += usr/bin/smbget SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBLDBTOOLS) += usr/bin/ldbadd SAMBA_BINTARGETS_$(BR2_PACKAGE_SAMBA_SMBLDBTOOLS) += usr/bin/ldbdel -- 2.30.2