FreeBSD Bugzilla – Attachment 194970 Details for
Bug 229620
net/samba48: If avahi support is enabled have samba_server rc require avahi_daemon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net/samba48 patch to require avahi_daemon
0001-If-avahi-is-enabled-require-avahi_daemon-in-rc.patch (text/plain), 2.00 KB, created by
Derek Schrock
on 2018-07-09 00:59:13 UTC
(
hide
)
Description:
net/samba48 patch to require avahi_daemon
Filename:
MIME Type:
Creator:
Derek Schrock
Created:
2018-07-09 00:59:13 UTC
Size:
2.00 KB
patch
obsolete
>From d38968ce7c9ac8a6b74346de8898f6752715fbcd Mon Sep 17 00:00:00 2001 >From: Derek Schrock <dereks@lifeofadishwasher.com> >Date: Sat, 7 Jul 2018 06:04:23 -0400 >Subject: [PATCH] If avahi is enabled require avahi_daemon in rc > >If samba is built with avahi support then it should be expected that >samba is started after avahi-daemon. Otherwise samba and its services >won't be advertise with avahi until samba is restarted. > >It is useful if you're using samba 4.8 Time Machine feature however it's >possible this could extend back to net/samba46 and 47 if you want >non-Time-Machine samba services to show up on reboot. >--- > net/samba48/Makefile | 5 ++++- > net/samba48/files/samba_server.in | 2 +- > 2 files changed, 5 insertions(+), 2 deletions(-) > >diff --git a/net/samba48/Makefile b/net/samba48/Makefile >index da89db58d363..de6bdb044916 100644 >--- a/net/samba48/Makefile >+++ b/net/samba48/Makefile >@@ -273,6 +273,8 @@ NSUPDATE_RUN_DEPENDS= samba-nsupdate:dns/samba-nsupdate > > AVAHI_CONFIGURE_ENABLE= avahi > AVAHI_LIB_DEPENDS= libavahi-client.so:net/avahi-app >+SAMBA4_AVAHI= >+AVAHI_VARS= SAMBA4_AVAHI=avahi_daemon > > MDNSRESPONDER_CONFIGURE_ENABLE= dnssd > MDNSRESPONDER_LIB_DEPENDS= libdns_sd.so:net/mDNSResponder >@@ -501,7 +503,8 @@ SAMBA4_SUB= SAMBA4_LOGDIR="${SAMBA4_LOGDIR}" \ > SAMBA4_BINDDNSDIR="${SAMBA4_BINDDNSDIR}" \ > SAMBA4_PRIVATEDIR="${SAMBA4_PRIVATEDIR}" \ > SAMBA4_CONFDIR="${SAMBA4_CONFDIR}" \ >- SAMBA4_CONFIG="${SAMBA4_CONFIG}" >+ SAMBA4_CONFIG="${SAMBA4_CONFIG}" \ >+ SAMBA4_AVAHI="${SAMBA4_AVAHI}" > > PLIST_SUB+= ${SAMBA4_SUB} > SUB_LIST+= ${SAMBA4_SUB} >diff --git a/net/samba48/files/samba_server.in b/net/samba48/files/samba_server.in >index 629b550f0f37..d44eb89e00db 100644 >--- a/net/samba48/files/samba_server.in >+++ b/net/samba48/files/samba_server.in >@@ -4,7 +4,7 @@ > # > > # PROVIDE: samba_server >-# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd >+# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd %%SAMBA4_AVAHI%% > # BEFORE: LOGIN > # KEYWORD: shutdown > # >-- >2.18.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 229620
: 194970