[source] samba36-net: new package
LEDE Commits
lede-commits at lists.infradead.org
Wed Aug 23 10:30:28 PDT 2017
blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/f099803eb50f40c27cababb9674ea0841216868a
commit f099803eb50f40c27cababb9674ea0841216868a
Author: Ansuel Smith <ansuelsmth at gmail.com>
AuthorDate: Sun Aug 13 20:36:56 2017 +0200
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 at gmail.com>
---
package/network/services/samba36/Makefile | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index 24d3f03..0762dd9 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))
More information about the lede-commits
mailing list