Commit 28943cf0 authored by Marek Belisko's avatar Marek Belisko Committed by Peter Korsgaard
Browse files

Add package nss-mdns.

parent 8ac6a2f9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -426,6 +426,7 @@ source "package/libsoup/Config.in"
source "package/libtorrent/Config.in"
source "package/libupnp/Config.in"
source "package/libvncserver/Config.in"
source "package/nss-mdns/Config.in"
source "package/ortp/Config.in"
source "package/zeromq/Config.in"
endmenu
+13 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_NSS_MDNS
	bool "nss-mdns"
	depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC || BR2_TOOLCHAIN_CTNG_eglibc || BR2_TOOLCHAIN_CTNG_glibc
	depends on BR2_PACKAGE_AVAHI_DAEMON
	help
	  nss-mdns is a plugin for the GNU Name Service Switch (NSS)
	  functionality of the GNU C Library (glibc) providing host
	  name resolution via Multicast DNS (aka Zeroconf, aka Apple
	  Rendezvous, aka Apple Bonjour), effectively allowing name
	  resolution by common Unix/Linux programs in the ad-hoc
	  mDNS domain .local.

	  http://0pointer.de/lennart/projects/nss-mdns/
+15 −0
Original line number Diff line number Diff line
#############################################################
#
# nss_mdns
#
#############################################################
NSS_MDNS_VERSION=0.10
NSS_MDNS_SITE=http://0pointer.de/lennart/projects/nss-mdns

define NSS_MDNS_INSTALL_CONFIG
	$(INSTALL) -D -m 0664 package/nss-mdns/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf
endef

NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG

$(eval $(call AUTOTARGETS))
+15 −0
Original line number Diff line number Diff line
# /etc/nsswitch.conf

passwd:         compat
group:          compat
shadow:         compat

hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis