This commit is contained in:
TriForceX
2019-09-25 20:51:37 -03:00
commit 6203ff3e7c
11215 changed files with 428258 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
config BR2_PACKAGE_NSS_MDNS
bool "nss-mdns"
# libdaemon->avahi uses fork()
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_USES_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/
comment "nss-mdns needs a glibc toolchain"
depends on BR2_USE_MMU && BR2_PACKAGE_AVAHI_DAEMON
depends on !BR2_TOOLCHAIN_USES_GLIBC

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d nss-mdns-0.10.tar.gz

View File

@@ -0,0 +1,20 @@
################################################################################
#
# nss-mdns
#
################################################################################
NSS_MDNS_VERSION = 0.10
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
NSS_MDNS_LICENSE = LGPL-2.1+
NSS_MDNS_LICENSE_FILES = LICENSE
# add mdns4_minimal / mdns around the dns provider if missing
define NSS_MDNS_INSTALL_CONFIG
$(SED) '/^hosts:/ {/mdns4/! s/dns/mdns4_minimal [NOTFOUND=return] dns mdns4/}' \
$(TARGET_DIR)/etc/nsswitch.conf
endef
NSS_MDNS_TARGET_FINALIZE_HOOKS += NSS_MDNS_INSTALL_CONFIG
$(eval $(autotools-package))