[Lunar-commits] r24621 - in moonbase/trunk: kde3/base/kdelibs3 net net/mDNSResponder net/mDNSResponder/init.d

Dennis Veatch stumbles at lunar-linux.org
Wed May 30 13:31:01 CEST 2007


Author: stumbles
Date: 2007-05-30 13:31:01 +0200 (Wed, 30 May 2007)
New Revision: 24621

Added:
   moonbase/trunk/net/mDNSResponder/
   moonbase/trunk/net/mDNSResponder/BUILD
   moonbase/trunk/net/mDNSResponder/CONFLICTS
   moonbase/trunk/net/mDNSResponder/DETAILS
   moonbase/trunk/net/mDNSResponder/POST_INSTALL
   moonbase/trunk/net/mDNSResponder/POST_REMOVE
   moonbase/trunk/net/mDNSResponder/init.d/
   moonbase/trunk/net/mDNSResponder/init.d/mdnsd
Modified:
   moonbase/trunk/kde3/base/kdelibs3/DEPENDS
Log:

Initial import for mDNSResponder. This is the Apple one that
was adopted by KDE in loo of howl or avahi (sigh). Anyway, 
kdelibs3 will make use of it. You might have to recompile 
kdenetwork3, I didn't have to but just in case you have
difficulty getting it to work.

To kick it all off. Right click on the kicker panel, click on
"add applet to panel", look for Public File Server and click on 
it. Then on the new icon you have in kicker, right click and start
configuring, you'll need a ~/public_html folder. Umm don't forget
to start the service.


Modified: moonbase/trunk/kde3/base/kdelibs3/DEPENDS
===================================================================
--- moonbase/trunk/kde3/base/kdelibs3/DEPENDS	2007-05-30 01:58:33 UTC (rev 24620)
+++ moonbase/trunk/kde3/base/kdelibs3/DEPENDS	2007-05-30 11:31:01 UTC (rev 24621)
@@ -10,4 +10,5 @@
 optional_depends "aspell"   "--with-aspell"  "--without-aspell"  "Aspell support"    &&
 optional_depends "openssl"  "--with-ssl"     "--without-ssl"     "SSL support"       &&
 optional_depends "OpenEXR"  "--with-openexr" "--without-openexr" "EXR image support" &&
-optional_depends "jasper"   "--with-jasper"  "--without-jasper"  "jpeg2k support"
+optional_depends "jasper"   "--with-jasper"  "--without-jasper"  "jpeg2k support"    &&
+optional_depends "mDNSResponder" "--enable-dnssd" "--disable-dnssd" "for zeroconf support"

Added: moonbase/trunk/net/mDNSResponder/BUILD
===================================================================
--- moonbase/trunk/net/mDNSResponder/BUILD	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/BUILD	2007-05-30 11:31:01 UTC (rev 24621)
@@ -0,0 +1,8 @@
+(
+
+  patch_it $SOURCE1 0
+  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/trunk/net/mDNSResponder/CONFLICTS
===================================================================
--- moonbase/trunk/net/mDNSResponder/CONFLICTS	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/CONFLICTS	2007-05-30 11:31:01 UTC (rev 24621)
@@ -0,0 +1,2 @@
+conflicts howl &&
+conflicts avahi

Added: moonbase/trunk/net/mDNSResponder/DETAILS
===================================================================
--- moonbase/trunk/net/mDNSResponder/DETAILS	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/DETAILS	2007-05-30 11:31:01 UTC (rev 24621)
@@ -0,0 +1,23 @@
+          MODULE=mDNSResponder
+         VERSION=107.6
+          SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE1=mdns.makeifile.107.6.patch
+      SOURCE_URL=ftp://ftp.x.org/pub/X11R7.0/src/everything/
+      SOURCE_URL=http://www.opensource.apple.com/darwinsource/tarballs/other/
+     SOURCE1_URL=$PATCH_URL
+      SOURCE_VFY=sha1:fe6e59ec703eb5af455335a42951f334b48af262
+     SOURCE1_VFY=sha1:cd0cbf8e9f111f57556a7d7c0de6f8efecbad036
+        WEB_SITE=http://developer.apple.com/opensource/internet/bonjour.html
+         ENTERED=20070530
+         UPDATED=20070530
+           SHORT="Apple's Bonjour service discovery implementation"
+           PSAFE=no
+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/trunk/net/mDNSResponder/POST_INSTALL
===================================================================
--- moonbase/trunk/net/mDNSResponder/POST_INSTALL	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/POST_INSTALL	2007-05-30 11:31:01 UTC (rev 24621)
@@ -0,0 +1 @@
+sedit '/mdns/!s/^\(hosts:.*\)dns\(.*\)/\1mdns dns\2/' /etc/nsswitch.conf

Added: moonbase/trunk/net/mDNSResponder/POST_REMOVE
===================================================================
--- moonbase/trunk/net/mDNSResponder/POST_REMOVE	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/POST_REMOVE	2007-05-30 11:31:01 UTC (rev 24621)
@@ -0,0 +1 @@
+sedit 's: mdns::' /etc/nsswitch.conf

Added: moonbase/trunk/net/mDNSResponder/init.d/mdnsd
===================================================================
--- moonbase/trunk/net/mDNSResponder/init.d/mdnsd	                        (rev 0)
+++ moonbase/trunk/net/mDNSResponder/init.d/mdnsd	2007-05-30 11:31:01 UTC (rev 24621)
@@ -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



More information about the Lunar-commits mailing list