diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-09-09 12:39:42 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-09-09 15:14:36 +0200 |
commit | 8d8b994cf9fd6f288ad5cb25ae707e014db0ae10 (patch) | |
tree | 99bef93aecf52df254386a7707588bc9da5e124b | |
parent | cff98f977c207fe86b99927a8810a250fa5fd807 (diff) | |
download | ptxdist-8d8b994cf9fd6f288ad5cb25ae707e014db0ae10.tar.gz ptxdist-8d8b994cf9fd6f288ad5cb25ae707e014db0ae10.tar.xz |
nss-mdns: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/nss-mdns.in | 13 | ||||
-rw-r--r-- | rules/nss-mdns.make | 66 |
2 files changed, 79 insertions, 0 deletions
diff --git a/rules/nss-mdns.in b/rules/nss-mdns.in new file mode 100644 index 000000000..4360b96ff --- /dev/null +++ b/rules/nss-mdns.in @@ -0,0 +1,13 @@ +## SECTION=networking + +config NSS_MDNS + tristate + select AVAHI + select AVAHI_DAEMON + prompt "nss-mdns" + 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. diff --git a/rules/nss-mdns.make b/rules/nss-mdns.make new file mode 100644 index 000000000..9e9c70f67 --- /dev/null +++ b/rules/nss-mdns.make @@ -0,0 +1,66 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Michael Olbrich <m.olbrich@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_NSS_MDNS) += nss-mdns + +# +# Paths and names +# +NSS_MDNS_VERSION := 0.10 +NSS_MDNS_MD5 := 03938f17646efbb50aa70ba5f99f51d7 +NSS_MDNS := nss-mdns-$(NSS_MDNS_VERSION) +NSS_MDNS_SUFFIX := tar.gz +NSS_MDNS_URL := http://0pointer.de/lennart/projects/nss-mdns/$(NSS_MDNS).$(NSS_MDNS_SUFFIX) +NSS_MDNS_SOURCE := $(SRCDIR)/$(NSS_MDNS).$(NSS_MDNS_SUFFIX) +NSS_MDNS_DIR := $(BUILDDIR)/$(NSS_MDNS) +NSS_MDNS_LICENSE := LGPLv2.1+ + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +# +# autoconf +# +NSS_MDNS_CONF_TOOL := autoconf +NSS_MDNS_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --disable-lynx \ + --enable-avahi \ + --disable-legacy + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/nss-mdns.targetinstall: + @$(call targetinfo) + + @$(call install_init, nss-mdns) + @$(call install_fixup, nss-mdns,PRIORITY,optional) + @$(call install_fixup, nss-mdns,SECTION,base) + @$(call install_fixup, nss-mdns,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>") + @$(call install_fixup, nss-mdns,DESCRIPTION,missing) + + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns) + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns4) + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns6) + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns_minimal) + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns4_minimal) + @$(call install_lib, nss-mdns, 0, 0, 0644, libnss_mdns6_minimal) + + @$(call install_finish, nss-mdns) + + @$(call touch) + +# vim: syntax=make |