Hello all, I have ported the (Linux) NSS module of the mDNSResponder project to FreeBSD libc and would like to propose the result for inclusion in ports. It allows to use mDNSResponder for hostname resolution as a libc instead of using the dns/nss_mdns port that relies on the Avahi stack (both project creates a nss_mdns.so.1 file). I am volunteering to maintain this port. Fix: Patch attached with submission follows:
Hi, if you are still interested in having this port in FreeBSD, it may need to be reworked to support stage, and it could need updating to other newer conventions such as "USES" which is expanding all time. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html Additionally, you need to provide some sort of quality assurance. In order of preference, we are looking for: 1) "poudriere testport" or "poudriere bulk -t" logs 2) Redports or tinderbox logs Please provide an updated shar file and attach a test log. Alternatively, please indicate if you are no longer interested in having this software in the Ports Collection and that we can close the PR. Thanks!
Hi, Hmm, that's strange, we had quite a followup on this topic, including an updated and staged version, I'll reupload it here. I'll do the build report a bit later, I am traveling right now.
Created attachment 145519 [details] Shar for the port, with staging support.
I don't understand what you mean, are you saying there is another PR on this? If so, what's the number?
No, there is no other bug report, but there were a few comments (which carried updates) to this one that seems to have been lost somehow during the migration to bugzilla...
okay, got it. Is a testlog / test output coming as well?
Yes, I'm waiting for my redport account validation, and will submit it when available.
Sorry for the delay, my redport account was validated, here is the build report: https://redports.org/buildarchive/20140813120750-06161/
Nice, moving to patch-ready!
A commit references this bug: Author: pi Date: Thu Aug 14 19:07:27 UTC 2014 New revision: 364862 URL: http://svnweb.freebsd.org/changeset/ports/364862 Log: New port: dns/mDNSResponder_nss This is a nsswitch plugin from Apple's mDNSResponder code, adapted for FreeBSD's nsswitch and libc. WWW: https://developer.apple.com/bonjour/ WWW: http://opensource.apple.com/tarballs/mDNSResponder/ PR: 178052 Submitted by: Matthieu Volat <mazhe@alkumuna.eu> Changes: head/dns/Makefile head/dns/mDNSResponder_nss/ head/dns/mDNSResponder_nss/Makefile head/dns/mDNSResponder_nss/distinfo head/dns/mDNSResponder_nss/files/ head/dns/mDNSResponder_nss/files/nss_mdns_freebsd.c head/dns/mDNSResponder_nss/files/patch-mDNSPosix__nss_mdns.c head/dns/mDNSResponder_nss/pkg-descr head/dns/mDNSResponder_nss/pkg-plist
Committed, and thanks for your patience!