Move all to deprecated folder.
This commit is contained in:
19
deprecated/firmware/buildroot/package/nss-mdns/Config.in
Normal file
19
deprecated/firmware/buildroot/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 an (e)glibc toolchain"
|
||||
depends on BR2_USE_MMU && BR2_PACKAGE_AVAHI_DAEMON
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 1e683c2e7c3921814706d62fbbd3e9cbf493a75fa00255e0e715508d8134fa6d nss-mdns-0.10.tar.gz
|
||||
22
deprecated/firmware/buildroot/package/nss-mdns/nss-mdns.mk
Normal file
22
deprecated/firmware/buildroot/package/nss-mdns/nss-mdns.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# nss-mdns
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NSS_MDNS_VERSION = 0.10
|
||||
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
|
||||
NSS_MDNS_LICENSE = LGPLv2.1+
|
||||
NSS_MDNS_LICENSE_FILES = LICENSE
|
||||
|
||||
define NSS_MDNS_INSTALL_CONFIG
|
||||
if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
|
||||
$(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
|
||||
fi
|
||||
sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
|
||||
$(TARGET_DIR)/etc/nsswitch.conf
|
||||
endef
|
||||
|
||||
NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user