Summary: | net/netatalk3: meson does not find dns_sd (mDNS) and disables zeroconf support | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | John Marshall <john> |
Component: | Individual Port(s) | Assignee: | Joe Marcus Clarke <marcus> |
Status: | New --- | ||
Severity: | Affects Some People | CC: | john |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(marcus) |
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
John Marshall
2024-07-01 00:35:12 UTC
Environment: FreeBSD 14-STABLE amd64 3.2.0 and 3.2.1 both fail to enable the selected mDNSResponder option. Reverting to 3.1.18 results in working zeroconf (_afpovertcp service is advertised via mDNS). Without this advertisement, macOS clients cannot find their backup server. The difference appears to be the meson build. 'make -v PORT_OPTIONS' confirms that MDNSRESPONDER is set. 'make configure' and reviewing the meson output shows the following: ---- Run-time dependency avahi-client found: NO (tried pkgconfig and cmake) Library dns_sd found: NO Library system found: NO meson.build:782: WARNING: Zeroconf (Bonjour) support requested but required libraries not found Please install Avahi or mDNS ---- The mDNSResponder dns_sd library and header files are both in the standard locations under ${LOCALBASE}. Without attempting to learn meson from scratch, this is as far as I could go. Thank you for maintaining this port! A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2d62a8b47d0aa5478b62c8b862401882319963a commit e2d62a8b47d0aa5478b62c8b862401882319963a Author: Joe Marcus Clarke <marcus@FreeBSD.org> AuthorDate: 2024-07-01 12:09:04 +0000 Commit: Joe Marcus Clarke <marcus@FreeBSD.org> CommitDate: 2024-07-01 12:09:04 +0000 net/netatalk3: Fix some packaging issues * Use library search dirs to find mDNSResponder [1] * Properly disable LDAP when not requested [2] PR: 280064 [1] 280067 [2] net/netatalk3/Makefile | 2 ++ net/netatalk3/files/patch-meson.build | 40 +++++++++++++++++++++++++++++------ net/netatalk3/pkg-plist | 2 +- 3 files changed, 37 insertions(+), 7 deletions(-) Fixed in 3.2.1_1. (In reply to Joe Marcus Clarke from comment #3) 3.2.1_1 'works for me' :-) Builds and runs fine for my purposes. Service is advertised properly via mDNS. Thanks Joe! |