Initial Commit
- initial default booting image
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.
|
||||
|
||||
https://github.com/lathiat/nss-mdns
|
||||
|
||||
comment "nss-mdns needs a glibc toolchain"
|
||||
depends on BR2_USE_MMU && BR2_PACKAGE_AVAHI_DAEMON
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
3
package/nss-mdns/nss-mdns.hash
Normal file
3
package/nss-mdns/nss-mdns.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ddf71453d7a7cdc5921fe53ef387b24fd0c3c49f4dcf94a2a437498596761a21 nss-mdns-0.15.1.tar.gz
|
||||
sha256 a9bdde5616ecdd1e980b44f360600ee8783b1f99b8cc83a2beb163a0a390e861 LICENSE
|
||||
22
package/nss-mdns/nss-mdns.mk
Normal file
22
package/nss-mdns/nss-mdns.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# nss-mdns
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NSS_MDNS_VERSION = 0.15.1
|
||||
NSS_MDNS_SITE = \
|
||||
https://github.com/lathiat/nss-mdns/releases/download/v$(NSS_MDNS_VERSION)
|
||||
NSS_MDNS_LICENSE = LGPL-2.1+
|
||||
NSS_MDNS_LICENSE_FILES = LICENSE
|
||||
NSS_MDNS_CONF_OPTS = --disable-tests
|
||||
|
||||
# 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