aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/samba36
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2017-08-13 20:36:56 +0200
committerJohn Crispin <john@phrozen.org>2017-08-23 15:08:39 +0200
commitf099803eb50f40c27cababb9674ea0841216868a (patch)
treef4fc9dd7e36fb8e12611b9da05afc05aa04453e7 /package/network/services/samba36
parent6e283cdc0da25928f8148805ebef7f8f2b769ee8 (diff)
downloadupstream-f099803eb50f40c27cababb9674ea0841216868a.tar.gz
upstream-f099803eb50f40c27cababb9674ea0841216868a.tar.bz2
upstream-f099803eb50f40c27cababb9674ea0841216868a.zip
samba36-net: new package
Samba could also be usefull for sending commands to windows pc (like shoutdown command). This new package add the bin to include this kind of command to the samba package. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'package/network/services/samba36')
-rw-r--r--package/network/services/samba36/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index 24d3f03001..0762dd9307 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -46,12 +46,19 @@ define Package/samba36-client
DEPENDS:=+libreadline +libncurses
endef
+define Package/samba36-net
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=Samba 3.6 SMB/CIFS net commands
+ URL:=https://www.samba.org/
+ DEPENDS:=+libreadline +libncurses
+endef
+
define Package/samba36-server/config
config PACKAGE_SAMBA_MAX_DEBUG_LEVEL
int "Maximum level of compiled-in debug messages"
depends on PACKAGE_samba36-server || PACKAGE_samba36-client
default -1
-
endef
define Package/samba36-server/description
@@ -156,6 +163,12 @@ define Package/samba36-client/install
$(INSTALL_BIN) $(PKG_BUILD_BIN)/nmblookup $(1)/usr/sbin
endef
+define Package/samba36-net/install
+ $(INSTALL_DIR) $(1)/usr/sbin
+ $(INSTALL_BIN) $(PKG_BUILD_BIN)/net $(1)/usr/sbin
+endef
+
$(eval $(call BuildPackage,samba36-client))
$(eval $(call BuildPackage,samba36-server))
+$(eval $(call BuildPackage,samba36-net))