[Lunar-commits] r22124 - in moonbase/branches/submissions/new: . mDNSResponder mDNSResponder/init.d
Dave Brown
dagbrown at lunar-linux.org
Thu Nov 9 02:27:40 CET 2006
Author: dagbrown
Date: 2006-11-09 02:27:40 +0100 (Thu, 09 Nov 2006)
New Revision: 22124
Added:
moonbase/branches/submissions/new/mDNSResponder/
moonbase/branches/submissions/new/mDNSResponder/BUILD
moonbase/branches/submissions/new/mDNSResponder/CONFLICTS
moonbase/branches/submissions/new/mDNSResponder/DETAILS
moonbase/branches/submissions/new/mDNSResponder/POST_INSTALL
moonbase/branches/submissions/new/mDNSResponder/POST_REMOVE
moonbase/branches/submissions/new/mDNSResponder/init.d/
moonbase/branches/submissions/new/mDNSResponder/init.d/mdnsd
moonbase/branches/submissions/new/mDNSResponder/makefile.patch
Log:
This is Apple's official mDNS responder daemon.
Added: moonbase/branches/submissions/new/mDNSResponder/BUILD
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/BUILD (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/BUILD 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1,6 @@
+(
+ patch -p0 < $SCRIPT_DIRECTORY/makefile.patch &&
+ cd mDNSPosix && make os=linux INSTBASE=/usr STARTUPSCRIPTDIR=/etc/init.d &&
+ prepare_install &&
+ make install os=linux INSTBASE=/usr STARTUPSCRIPTDIR=/etc/init.d
+) > $C_FIFO 2>&1
Added: moonbase/branches/submissions/new/mDNSResponder/CONFLICTS
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/CONFLICTS (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/CONFLICTS 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1,2 @@
+conflicts howl &&
+conflicts avahi
Added: moonbase/branches/submissions/new/mDNSResponder/DETAILS
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/DETAILS (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/DETAILS 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1,20 @@
+ MODULE=mDNSResponder
+ VERSION=107.6
+ SOURCE=$MODULE-$VERSION.tar.gz
+ SOURCE_URL=ftp://ftp.x.org/pub/X11R7.0/src/everything/
+ SOURCE_URL=http://www.opensource.apple.com/darwinsource/tarballs/other/
+ SOURCE_VFY=sha1:fe6e59ec703eb5af455335a42951f334b48af262
+ WEB_SITE=http://developer.apple.com/opensource/internet/bonjour.html
+ ENTERED=20061104
+ UPDATED=20061104
+ SHORT="Apple's Bonjour service discovery implementation"
+
+cat << EOF
+Bonjour is a networking technology that lets you create an instant network of
+computers and devices without any configuration. It allows the services and
+capabilities of each device to be registered on the network, and allows these
+services to be dynamically discoverable by other devices on the network.
+
+The open source mDNSResponder project contains the Bonjour service discovery
+implemenation that's built into Mac OS X and Bonjour for Windows.
+EOF
Added: moonbase/branches/submissions/new/mDNSResponder/POST_INSTALL
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/POST_INSTALL (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/POST_INSTALL 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1 @@
+sedit '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf
Added: moonbase/branches/submissions/new/mDNSResponder/POST_REMOVE
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/POST_REMOVE (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/POST_REMOVE 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1 @@
+sedit 's: mdns::' /etc/nsswitch.conf
Added: moonbase/branches/submissions/new/mDNSResponder/init.d/mdnsd
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/init.d/mdnsd (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/init.d/mdnsd 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Startup file for the mdns responder
+#
+# chkconfig: 345 85 15
+# description: mdnsd is Apple's zeroconf responder daemon
+# processname: mdnsd
+# pidfile: /var/run/mdnsd.pid
+
+. /lib/lsb/init-functions $1
Property changes on: moonbase/branches/submissions/new/mDNSResponder/init.d/mdnsd
___________________________________________________________________
Name: svn:executable
+ *
Added: moonbase/branches/submissions/new/mDNSResponder/makefile.patch
===================================================================
--- moonbase/branches/submissions/new/mDNSResponder/makefile.patch (rev 0)
+++ moonbase/branches/submissions/new/mDNSResponder/makefile.patch 2006-11-09 01:27:40 UTC (rev 22124)
@@ -0,0 +1,30 @@
+*** mDNSPosix/Makefile.orig 2006-11-04 14:22:19.000000000 +0900
+--- mDNSPosix/Makefile 2006-11-04 14:25:33.000000000 +0900
+***************
+*** 438,442 ****
+ all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG)
+
+! install: setup InstalledDaemon InstalledStartup InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
+
+ # 'setup' sets up the build directory structure the way we want
+--- 438,442 ----
+ all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG)
+
+! install: setup InstalledDaemon InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
+
+ # 'setup' sets up the build directory structure the way we want
+***************
+*** 575,580 ****
+ # Check the nsswitch.conf file.
+ # If 'mdns' does not already appear on the "hosts:" line, then add it right before 'dns'
+! cp -f /etc/nsswitch.conf /etc/nsswitch.conf.pre-mdns
+! sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf.pre-mdns > /etc/nsswitch.conf
+
+ #############################################################################
+--- 575,580 ----
+ # Check the nsswitch.conf file.
+ # If 'mdns' does not already appear on the "hosts:" line, then add it right before 'dns'
+! # cp -f /etc/nsswitch.conf /etc/nsswitch.conf.pre-mdns
+! # sed -e '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf.pre-mdns > /etc/nsswitch.conf
+
+ #############################################################################
More information about the Lunar-commits
mailing list