Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96966 - mDNSResponder 107.1 from Apple ebuild
Summary: mDNSResponder 107.1 from Apple ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL: http://nersp.nerdc.ufl.edu/~sandymac/...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-06-24 11:33 UTC by Sandy McArthur
Modified: 2005-08-27 09:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mDNSResponder-107.1.ebuild (mDNSResponder-107.1.ebuild,2.08 KB, text/plain)
2005-06-24 11:38 UTC, Sandy McArthur
Details
mDNSResponder-107.1-Makefiles.patch (mDNSResponder-107.1-Makefiles.patch,4.02 KB, patch)
2005-06-24 11:39 UTC, Sandy McArthur
Details | Diff
mdnsd.init.d (mdnsd.init.d,609 bytes, text/plain)
2005-06-24 11:40 UTC, Sandy McArthur
Details
mDNSResponder.init.d (mDNSResponder.init.d,859 bytes, text/plain)
2005-06-24 11:40 UTC, Sandy McArthur
Details
mDNSResponder.conf.d (mDNSResponder.conf.d,68 bytes, text/plain)
2005-06-24 11:40 UTC, Sandy McArthur
Details
dnsextd.init.d (dnsextd.init.d,637 bytes, text/plain)
2005-06-24 11:41 UTC, Sandy McArthur
Details
dnsextd.conf.d (dnsextd.conf.d,167 bytes, text/plain)
2005-06-24 11:41 UTC, Sandy McArthur
Details
mdnsresponder.conf.sample (mdnsresponder.conf.sample,424 bytes, text/plain)
2005-06-24 11:41 UTC, Sandy McArthur
Details
mDNSResponder-107.1.ebuild (mDNSResponder-107.1.ebuild,2.96 KB, text/plain)
2005-08-23 17:35 UTC, Sandy McArthur
Details
mDNSResponder-107.1-Makefiles.patch (mDNSResponder-107.1-Makefiles.patch,4.35 KB, patch)
2005-08-23 17:38 UTC, Sandy McArthur
Details | Diff
mdnsd.init.d (mdnsd.init.d,984 bytes, text/plain)
2005-08-23 17:42 UTC, Sandy McArthur
Details
mDNSResponderPosix.init.d (mDNSResponderPosix.init.d,1.17 KB, text/plain)
2005-08-23 17:45 UTC, Sandy McArthur
Details
dnsextd.init.d (dnsextd.init.d,817 bytes, text/plain)
2005-08-23 18:16 UTC, Sandy McArthur
Details
mDNSResponderPosix.conf.d (mDNSResponderPosix.conf.d,67 bytes, text/plain)
2005-08-23 18:18 UTC, Sandy McArthur
Details
mDNSResponder-107.1.ebuild (mDNSResponder-107.1.ebuild,2.96 KB, text/plain)
2005-08-23 21:14 UTC, Sandy McArthur
Details
mDNSResponder-107.1.ebuild (mDNSResponder-107.1.ebuild,3.09 KB, text/plain)
2005-08-26 09:11 UTC, Sandy McArthur
Details
mDNSResponder-107.1-Makefiles.patch (mDNSResponder-107.1-Makefiles.patch,4.46 KB, patch)
2005-08-26 09:12 UTC, Sandy McArthur
Details | Diff
mDNSResponderPosix.conf.sample (mDNSResponderPosix.conf.sample,424 bytes, text/plain)
2005-08-26 09:14 UTC, Sandy McArthur
Details
mDNSResponderPosix.init.d (mDNSResponderPosix.init.d,1.06 KB, text/plain)
2005-08-26 09:15 UTC, Sandy McArthur
Details
mDNSResponderPosix.init.d (mDNSResponderPosix.init.d,1.10 KB, text/plain)
2005-08-26 09:30 UTC, Sandy McArthur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandy McArthur 2005-06-24 11:33:07 UTC
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
Comment 1 Sandy McArthur 2005-06-24 11:38:35 UTC
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.
Comment 2 Sandy McArthur 2005-06-24 11:39:54 UTC
Created attachment 61860 [details, diff]
mDNSResponder-107.1-Makefiles.patch
Comment 3 Sandy McArthur 2005-06-24 11:40:14 UTC
Created attachment 61861 [details]
mdnsd.init.d
Comment 4 Sandy McArthur 2005-06-24 11:40:36 UTC
Created attachment 61862 [details]
mDNSResponder.init.d
Comment 5 Sandy McArthur 2005-06-24 11:40:59 UTC
Created attachment 61863 [details]
mDNSResponder.conf.d
Comment 6 Sandy McArthur 2005-06-24 11:41:16 UTC
Created attachment 61864 [details]
dnsextd.init.d
Comment 7 Sandy McArthur 2005-06-24 11:41:34 UTC
Created attachment 61865 [details]
dnsextd.conf.d
Comment 8 Sandy McArthur 2005-06-24 11:41:59 UTC
Created attachment 61866 [details]
mdnsresponder.conf.sample
Comment 9 Sandy McArthur 2005-06-24 11:44:29 UTC
This obsoletes: Bug #87845 
Comment 10 Sandy McArthur 2005-08-23 17:32:19 UTC
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.
Comment 11 Sandy McArthur 2005-08-23 17:35:21 UTC
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.
Comment 12 Sandy McArthur 2005-08-23 17:38:59 UTC
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.
Comment 13 Sandy McArthur 2005-08-23 17:42:18 UTC
Created attachment 66699 [details]
mdnsd.init.d

Improves on previous mdnsd.init.d init script by adding reload and dump
operations.
Comment 14 Sandy McArthur 2005-08-23 17:45:24 UTC
Created attachment 66700 [details]
mDNSResponderPosix.init.d

Renamed the init script to reflect the binary name and added reload and debug
operations.
Comment 15 Sandy McArthur 2005-08-23 18:16:05 UTC
Created attachment 66703 [details]
dnsextd.init.d

added dump operation
Comment 16 Sandy McArthur 2005-08-23 18:18:01 UTC
Created attachment 66704 [details]
mDNSResponderPosix.conf.d

Basicly just a rename to match the new init script name.
Comment 17 Sandy McArthur 2005-08-23 21:14:01 UTC
Created attachment 66713 [details]
mDNSResponder-107.1.ebuild

fixes a silly typo in the licenses
Comment 18 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-26 03:03:11 UTC
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... 
Comment 19 Sandy McArthur 2005-08-26 07:32:23 UTC
> 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.
Comment 20 Sandy McArthur 2005-08-26 09:09:27 UTC
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.
Comment 21 Sandy McArthur 2005-08-26 09:11:32 UTC
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
Comment 22 Sandy McArthur 2005-08-26 09:12:45 UTC
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.
Comment 23 Sandy McArthur 2005-08-26 09:14:04 UTC
Created attachment 66920 [details]
mDNSResponderPosix.conf.sample

Simple file rename.
Comment 24 Sandy McArthur 2005-08-26 09:15:12 UTC
Created attachment 66922 [details]
mDNSResponderPosix.init.d

Update for the /etc/mDNSResponderPosix.conf rename
Comment 25 Sandy McArthur 2005-08-26 09:30:35 UTC
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.
Comment 26 Gregorio Guidi (RETIRED) gentoo-dev 2005-08-27 09:50:28 UTC
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...