This is an ebuild and related files for Apple's mDNSResponder. This ebuild improves upon previous releases by: cleaning up the ebuild to fix some symlinks, tighten file perms where it makes sense, including the mDNSResponderPosix utility and example config from Andrew de Quincey, including the dnsextd wide area service discovery helper daemon and init scritps for those wanting to run wide area service discovery enabled DNS servers on gentoo, adds debug use flag support, patched the Clients/Makefile so everything can be compliled and installed in one pass, and added a post install message about how to make multicast dns lookups work with existing non-multicast dns software. This enables all features provided by Apple that work on gentoo. The only part missing compared to OS X/Win32 is an interface to enable wide area service
Created attachment 61859 [details] mDNSResponder-107.1.ebuild Package also available from http://nersp.nerdc.ufl.edu/~sandymac/gentoo/net-misc/ as a tarball or individual files.
Created attachment 61860 [details, diff] mDNSResponder-107.1-Makefiles.patch
Created attachment 61861 [details] mdnsd.init.d
Created attachment 61862 [details] mDNSResponder.init.d
Created attachment 61863 [details] mDNSResponder.conf.d
Created attachment 61864 [details] dnsextd.init.d
Created attachment 61865 [details] dnsextd.conf.d
Created attachment 61866 [details] mdnsresponder.conf.sample
This obsoletes: Bug #87845
I've updated my mDNSResponder-107.1 ebuild with support for building the java binding and generally improved the init scripts. As before a tarball of the most recent gentoo package is available at http://nersp.nerdc.ufl.edu/~sandymac/gentoo/net-misc/ and I will update the attached files shortly.
Created attachment 66697 [details] mDNSResponder-107.1.ebuild Adds java, and source use flag support. Fixes the LICENSE to include BSD. Corrects some of the install parts.
Created attachment 66698 [details, diff] mDNSResponder-107.1-Makefiles.patch Improves on the previous patch to allow java binding to be compiled on the first install of the package.
Created attachment 66699 [details] mdnsd.init.d Improves on previous mdnsd.init.d init script by adding reload and dump operations.
Created attachment 66700 [details] mDNSResponderPosix.init.d Renamed the init script to reflect the binary name and added reload and debug operations.
Created attachment 66703 [details] dnsextd.init.d added dump operation
Created attachment 66704 [details] mDNSResponderPosix.conf.d Basicly just a rename to match the new init script name.
Created attachment 66713 [details] mDNSResponder-107.1.ebuild fixes a silly typo in the licenses
Thanks for your work, I was just looking at it the other day. A couple of things: the tarball should be available somewhere, the best we have until now is http://helios.et.put.poznan.pl/~jstachow/, which has version 107 but not 107.1. Are there big differences between the two? Or is there any official place where this can be directly downloaded? Using DEBUG=1 moves the built objects from prod/ to debug/, are you sure the ebuild works in this case? Changing file permissions is not strictly necessary, right? I was also concerned that the mDNSResponder service could conflict with the one from howl, but I see this is not an issue anymore if it is renamed to mDNSResponderPosix, so that's ok...
> tarball should be available somewhere My ebuild fetchs it from: http://nersp.nerdc.ufl.edu/~sandymac/gentoo/distfiles/ Apple requires you to have a login and then click though the APSL licence. I see nothing in the APSL which prevents me from rehosting the tarball. I'm 70% sure 107.1 came out shortly after 107 because a signinificant bug or two was found. I don't know the specific differenes w/o compareing the tarballs. > DEBUG=1 moves the built objects from prod/ to debug/, are you sure the ebuild works in this case? I was unaware of this effect. I'll try to test and fix if needed any DEBUG=1 related things by the end of this weekend. > Changing file permissions is not strictly necessary, right? I don't think so, I belive I only made the perms more restrictive than the default install.
By this weekend I guess I meant lunch today. :-) I've fixed DEBUG=1. Use of the debug use flag was broken and the change of the build dirs broke part of the compile which required a Makefile fix. I also renamed /etc/mdnsresponder.conf to match the binary and init script to /etc/mDNSResponder.conf . I've updated the package files at: http://nersp.nerdc.ufl.edu/ ~sandymac/gentoo/net-misc/ and I'll update the attached files to this bug report shortly.
Created attachment 66918 [details] mDNSResponder-107.1.ebuild This version fixes use of the debug use flag and any DEBUG=1 related compile problems. It also moves /etc/mdnsresponder.conf to /etc/mDNSResponderPosix.conf
Created attachment 66919 [details, diff] mDNSResponder-107.1-Makefiles.patch This update to the patch fixes a problem when compiling the clients and using DEBUG=1 with this libs.
Created attachment 66920 [details] mDNSResponderPosix.conf.sample Simple file rename.
Created attachment 66922 [details] mDNSResponderPosix.init.d Update for the /etc/mDNSResponderPosix.conf rename
Created attachment 66923 [details] mDNSResponderPosix.init.d This quick update fixes a problem with the pid file which broke restart and stop commands. The tarball and files at http://nersp.nerdc.ufl.edu/~sandymac/gentoo/net-misc/ have already been updated.
I committed the ebuild for 107.1 with almost all changes, thanks a lot for your work. I just left out java support for now because I wanted to have the ebuild in portage and I'm running out of time to work on it at the moment...