Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/avahi

Buildroot jacmet at uclibc.org 1 participant 1 message May 9, 2007

lore
Share & tools
lore
#0 lore raw

Author: jacmet
Date: 2007-05-09 06:38:37 -0700 (Wed, 09 May 2007) New Revision: 18591

Log:
avahi-daemon support

Added:
trunk/buildroot/package/avahi/S50avahi-daemon

Modified:
trunk/buildroot/package/avahi/Config.in
trunk/buildroot/package/avahi/avahi.mk

Changeset:
Modified: trunk/buildroot/package/avahi/Config.in
===================================================================

buildroot/package/avahi/Config.in +25 -2
@@ -2,7 +2,30 @@
 	bool "avahi"
 	default n
 	help
-	  Avahi is a system which facilitates service 
-	  discovery on a local network. 
+	  Avahi is a system which facilitates service
+	  discovery on a local network.
 
 	  http://www.avahi.org/
+
+config BR2_PACKAGE_AVAHI_AUTOIPD
+	bool "  IPv4LL network address configuration daemon"
+	default y
+	depends on BR2_PACKAGE_AVAHI
+	help
+	  Avahi-autoipd implements IPv4LL, "Dynamic Configuration of
+	  IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for
+	  automatic IP address configuration from the link-local
+	  169.254.0.0/16 range without the need for a central server.
+	  It is primarily intended to be used in ad-hoc networks which
+	  lack a DHCP server.
+
+config BR2_PACKAGE_AVAHI_DAEMON
+	bool "  mDNS/DNS-SD daemon"
+	default n
+	depends on BR2_PACKAGE_AVAHI
+	select BR2_PACKAGE_EXPAT
+	help
+	  The Avahi mDNS/DNS-SD daemon implementing Apple's ZeroConf
+	  architecture (also known as "Rendezvous" or "Bonjour").
+	  The daemon registers local IP addresses and services using
+	  mDNS/DNS-SD.

Added: trunk/buildroot/package/avahi/S50avahi-daemon
===================================================================

buildroot/package/avahi/S50avahi-daemon +20 -0
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# avahi-daemon init script
+
+DAEMON=/usr/sbin/avahi-daemon
+case "$1" in
+    start)
+	$DAEMON -c || $DAEMON -D
+	;;
+    stop)
+	$DAEMON -c && $DAEMON -k
+	;;
+    reload)
+	$DAEMON -c && $DAEMON -r
+	;;
+    *)
+	echo "Usage: S50avahi-daemon {start|stop|reload}" >&2
+	exit 1
+	;;
+esac

Modified: trunk/buildroot/package/avahi/avahi.mk
===================================================================

buildroot/package/avahi/avahi.mk +42 -4

82 lines not on this page · raw message