2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-06-18 13:32:51 +02:00
|
|
|
#
|
2013-07-22 07:30:22 +02:00
|
|
|
# nss-mdns
|
2012-06-18 13:32:51 +02:00
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
NSS_MDNS_VERSION = 0.10
|
|
|
|
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
|
2017-03-30 15:43:34 +02:00
|
|
|
NSS_MDNS_LICENSE = LGPL-2.1+
|
2014-06-26 21:21:06 +02:00
|
|
|
NSS_MDNS_LICENSE_FILES = LICENSE
|
2013-07-18 23:24:13 +02:00
|
|
|
|
2018-10-20 23:41:07 +02:00
|
|
|
# add mdns4_minimal / mdns around the dns provider if missing
|
2012-06-18 13:32:51 +02:00
|
|
|
define NSS_MDNS_INSTALL_CONFIG
|
2018-10-20 23:41:07 +02:00
|
|
|
$(SED) '/^hosts:/ {/mdns4/! s/dns/mdns4_minimal [NOTFOUND=return] dns mdns4/}' \
|
2014-10-27 09:25:28 +01:00
|
|
|
$(TARGET_DIR)/etc/nsswitch.conf
|
2012-06-18 13:32:51 +02:00
|
|
|
endef
|
|
|
|
|
2018-05-29 10:00:11 +02:00
|
|
|
NSS_MDNS_TARGET_FINALIZE_HOOKS += NSS_MDNS_INSTALL_CONFIG
|
2012-06-18 13:32:51 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|