net/samba425: restore missing FreeBSD mDNS/dns_sd support (MDNSRESPONDER)
Same gap identified for net/samba424: three FreeBSD-local patches
providing dns_sd/mDNSResponder support (present identically in
net/samba419, 420, 422, and 423) were missing, gated behind the
non-default MDNSRESPONDER port option (default is AVAHI).
- source3/wscript/wscript_build: restore the --enable-dnssd waf option (dns_sd.h/DNSServiceRegister detection, WITH_DNSSD_SUPPORT define, dns_sd library linkage into smbd_base and smbclient). Regenerated against the real samba-4.25.0 upstream source (which has diverged from 4.24.7 in these two files, e.g. ceph rgw and rate-limiting daemon additions) rather than copied verbatim from samba424.
- source3/smbd/dnsregister.c: restore the FreeNAS-authored mDNS advertise-per-interface fixes. This file is byte-identical between 4.24.7 and 4.25.0 upstream, so the samba424 patch applies verbatim.
- Makefile: MDNSRESPONDER_CONFIGURE_ENABLE=dnssd.
Verified by diffing the patch sets of samba419/420/422/423 against
samba425, and confirmed all three restored patches apply cleanly
(offset-only, no fuzz) against the real samba-4.25.0 upstream source.
PR: 299196 (comment 11 reported this gap on net/samba425)
PR: 299352
Approved by: kiwi (samba team)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>