• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/nss-mdns/nss-mdns.mk
Jerzy GrzegorekJerzy Grzegorek committed e800531761227 Oct 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
################################################################################
2
#
3
# nss-mdns
4
#
5
################################################################################
6
​
7
NSS_MDNS_VERSION = 0.10
8
NSS_MDNS_SITE = http://0pointer.de/lennart/projects/nss-mdns
9
NSS_MDNS_LICENSE = LGPLv2.1+
10
NSS_MDNS_LICENSE_FILES = LICENSE
11
​
12
define NSS_MDNS_INSTALL_CONFIG
13
    if [ ! -f "$(TARGET_DIR)/etc/nsswitch.conf" ]; then \
14
        $(INSTALL) -D -m 0644 package/glibc/nsswitch.conf $(TARGET_DIR)/etc/nsswitch.conf ; \
15
    fi
16
    sed -r -i -e 's/^(hosts:[[:space:]]+).*/\1files mdns4_minimal [NOTFOUND=return] dns mdns4/' \
17
        $(TARGET_DIR)/etc/nsswitch.conf
18
endef
19
​
20
NSS_MDNS_POST_INSTALL_TARGET_HOOKS += NSS_MDNS_INSTALL_CONFIG
21
​
22
$(eval $(autotools-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.