aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-08-16 19:32:59 -0700
committerJo-Philipp Wich <jo@mein.io>2018-12-18 11:28:11 +0100
commite005beec2d02ae0ab227b6de55d0670106255799 (patch)
tree759e6539257c01b1a9d0ac410b929a29b454081d /package/network/services
parent57f3a57abde3c7ef2f81f88243982a585365e7ac (diff)
downloadupstream-e005beec2d02ae0ab227b6de55d0670106255799.tar.gz
upstream-e005beec2d02ae0ab227b6de55d0670106255799.tar.bz2
upstream-e005beec2d02ae0ab227b6de55d0670106255799.zip
samba36: Enable umdnsd support
Allows discovery without having to use NetBIOS. Useful for mobile devices. Could eventually throw nbmd away. But that requires Windows 10... Tested on Fedora 28 with avahi-discover. Signed-off-by: Rosen Penev <rosenp@gmail.com> (backported from 499773f8efe3357a2076c75c503ebcb42e41dbe6)
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/samba36/Makefile2
-rwxr-xr-xpackage/network/services/samba36/files/samba.init1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/samba36/Makefile b/package/network/services/samba36/Makefile
index 75705d0b37..b4322f04f4 100644
--- a/package/network/services/samba36/Makefile
+++ b/package/network/services/samba36/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=samba
PKG_VERSION:=3.6.25
-PKG_RELEASE:=11
+PKG_RELEASE:=12
PKG_SOURCE_URL:=https://download.samba.org/pub/samba \
https://download.samba.org/pub/samba/stable
diff --git a/package/network/services/samba36/files/samba.init b/package/network/services/samba36/files/samba.init
index ae0e0e230d..1c5bb3b3c4 100755
--- a/package/network/services/samba36/files/samba.init
+++ b/package/network/services/samba36/files/samba.init
@@ -101,6 +101,7 @@ start_service() {
init_config
procd_open_instance
+ procd_add_mdns "smb" "tcp" "445"
procd_set_param command /usr/sbin/smbd -F
procd_set_param respawn
procd_set_param file /var/etc/smb.conf