Bug 178052 - New port submission: dns/mDNSResponder_nss
Summary: New port submission: dns/mDNSResponder_nss
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-22 14:00 UTC by Matthieu Volat
Modified: 2014-08-14 19:09 UTC (History)
2 users (show)

See Also:


Attachments
file.shar (7.78 KB, text/plain)
2013-04-22 14:00 UTC, Matthieu Volat
no flags Details
Shar for the port, with staging support. (8.07 KB, text/plain)
2014-08-08 12:56 UTC, Matthieu Volat
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Volat 2013-04-22 14:00:00 UTC
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:
Comment 1 John Marino freebsd_committer freebsd_triage 2014-08-07 14:23:34 UTC
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!
Comment 2 Matthieu Volat 2014-08-08 12:55:20 UTC
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.
Comment 3 Matthieu Volat 2014-08-08 12:56:35 UTC
Created attachment 145519 [details]
Shar for the port, with staging support.
Comment 4 John Marino freebsd_committer freebsd_triage 2014-08-08 13:09:41 UTC
I don't understand what you mean, are you saying there is another PR on this?  If so, what's the number?
Comment 5 Matthieu Volat 2014-08-08 13:16:24 UTC
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...
Comment 6 John Marino freebsd_committer freebsd_triage 2014-08-08 13:20:50 UTC
okay, got it.

Is a testlog / test output coming as well?
Comment 7 Matthieu Volat 2014-08-09 08:07:56 UTC
Yes, I'm waiting for my redport account validation, and will submit it when available.
Comment 8 Matthieu Volat 2014-08-13 14:40:04 UTC
Sorry for the delay, my redport account was validated, here is the build report:
https://redports.org/buildarchive/20140813120750-06161/
Comment 9 John Marino freebsd_committer freebsd_triage 2014-08-13 14:51:49 UTC
Nice, moving to patch-ready!
Comment 10 commit-hook freebsd_committer freebsd_triage 2014-08-14 19:08:12 UTC
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
Comment 11 Kurt Jaeger freebsd_committer freebsd_triage 2014-08-14 19:08:38 UTC
Committed, and thanks for your patience!