[Bug 267651] net/samba416: fix rc.d script for MDNSRESPONDER option

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Nov 2022 20:02:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267651

            Bug ID: 267651
           Summary: net/samba416: fix rc.d script for MDNSRESPONDER option
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

Something that apparently got lost in the update from samba413 to samba416 is
the patching of the /usr/local/etc/rc.d script to put in the right dependency,
if you select something different from the default AVAHI zeroconf option, e.g.
MDNSRESPONDER or NONE.

So /usr/local/etc/rc.d/samba_server has:

# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd avahi_daemon

but in the port's net/samba416/files/samba_server.in this should be:

# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv ntpd %%SAMBA4_SERVICES%%

-- 
You are receiving this mail because:
You are the assignee for the bug.