mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
19
package/nss-mdns/Config.in
Normal file
19
package/nss-mdns/Config.in
Normal 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
|
||||
2
package/nss-mdns/nss-mdns.hash
Normal file
2
package/nss-mdns/nss-mdns.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d nss-mdns-0.10.tar.gz
|
||||
20
package/nss-mdns/nss-mdns.mk
Normal file
20
package/nss-mdns/nss-mdns.mk
Normal 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))
|
||||
Reference in New Issue
Block a user