diff options
author | markd <markd@pkgsrc.org> | 2005-05-26 12:50:24 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2005-05-26 12:50:24 +0000 |
commit | bb471329ed3aff103c9fb9126d58a209852143b3 (patch) | |
tree | 81e2588913dd27232e7b2aada71e0978e43e6c0c /net/mDNSResponder | |
parent | 92695285223cc4277d3bfcf81cff12f8d7f2505f (diff) | |
download | pkgsrc-bb471329ed3aff103c9fb9126d58a209852143b3.tar.gz |
Update mDNSResponder to version 107.1.
Changes: bug fixes, portability
Also install the library and header file.
Diffstat (limited to 'net/mDNSResponder')
-rw-r--r-- | net/mDNSResponder/DESCR | 33 | ||||
-rw-r--r-- | net/mDNSResponder/Makefile | 44 | ||||
-rw-r--r-- | net/mDNSResponder/PLIST | 7 | ||||
-rw-r--r-- | net/mDNSResponder/buildlink3.mk | 18 | ||||
-rw-r--r-- | net/mDNSResponder/distinfo | 8 |
5 files changed, 95 insertions, 15 deletions
diff --git a/net/mDNSResponder/DESCR b/net/mDNSResponder/DESCR index 212234aea34..abbcfeb3aee 100644 --- a/net/mDNSResponder/DESCR +++ b/net/mDNSResponder/DESCR @@ -1 +1,32 @@ -Apple's mDNS Responder (part of "rendezvous" technology) +The mDNSResponder project is a component of Bonjour, +Apple's ease-of-use IP networking initiative: +<http://developer.apple.com/bonjour/> + +Apple's Bonjour software derives from the ongoing standardization +work of the IETF Zero Configuration Networking Working Group: +<http://zeroconf.org/> + +The Zeroconf Working Group has identified three requirements for Zero +Configuration Networking: +1. An IP address (even when there is no DHCP server to assign one) +2. Name-to-address translation (even when there is no DNS server) +3. Discovery of Services on the network (again, without infrastucture) + +Requirement 1 is met by self-assigned link-local addresses, as +described in "Dynamic Configuration of IPv4 Link-Local Addresses" +<http://files.zeroconf.org/draft-ietf-zeroconf-ipv4-linklocal.txt> + +Requirement 2 is met by sending DNS-like queries via Multicast (mDNS). + +Requirement 3 is met by DNS Service Dicsovery (DNS-SD). + +Self-assigned link-local address capability has been available since +1998, when it first appeared in Windows '98 and in Mac OS 8.5. +Implementations for other platforms also exist. + +The mDNSResponder project allows us to meet requirements 2 and 3. +It provides the ability for the user to identify hosts using names +instead of dotted-decimal IP addresses, even if the user doesn't have a +conventional DNS server set up. It also provides the ability for the +user to discover what services are being advertised on the network, +without having to know about them in advance, or configure the machines. diff --git a/net/mDNSResponder/Makefile b/net/mDNSResponder/Makefile index 5be7cb250aa..2ddc1a36909 100644 --- a/net/mDNSResponder/Makefile +++ b/net/mDNSResponder/Makefile @@ -1,23 +1,51 @@ -# $NetBSD: Makefile,v 1.2 2005/05/22 20:08:25 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2005/05/26 12:50:24 markd Exp $ -DISTNAME= mDNSResponder-62 +DISTNAME= mDNSResponder-107.1 CATEGORIES= net MASTER_SITES= http://darwinsource.opendarwin.org/tarballs/apsl/ MAINTAINER= tech-pkg@NetBSD.org -HOMEPAGE= http://developer.apple.com/darwin/projects/rendezvous/ -COMMENT= Apple's mDNS repsonder +HOMEPAGE= http://developer.apple.com/darwin/projects/bonjour/ +COMMENT= Apple's mDNS responder USE_TOOLS= gmake -MAKE_ARGS+= os=netbsd WRKSRC= ${WRKDIR}/${DISTNAME}/mDNSPosix +BUILDDIR= ${WRKSRC}/build/prod -BINARY= mDNSClientPosix mDNSIdentify mDNSNetMonitor mDNSProxyResponderPosix \ - mDNSResponderPosix mdnsd +.include "../../mk/bsd.prefs.mk" + +SO_SUFFIX= so +.if ${OPSYS} == "NetBSD" +MAKE_ENV+= os=netbsd +.elif ${OPSYS} == "FreeBSD" +MAKE_ENV+= os=freebsd +.elif ${OPSYS} == "OpenBSD" +MAKE_ENV+= os=openbsd +.elif ${OPSYS} == "SunOS" +MAKE_ENV+= os=solaris +.elif ${OPSYS} == "Linux" +MAKE_ENV+= os=linux +.elif ${OPSYS} == "Darwin" +MAKE_ENV+= os=jaguar +SO_SUFFIX= dylib +.else +MAKE_ENV+= os=netbsd +.endif +PLIST_SUBST+= SO_SUFFIX=${SO_SUFFIX} + +BINARY= mDNSClientPosix mDNSIdentify mDNSNetMonitor \ + mDNSProxyResponderPosix mDNSResponderPosix +SBINARY= mdnsd dnsextd do-install: for i in ${BINARY}; do \ - ${INSTALL_PROGRAM} ${WRKSRC}/build/prod/$$i ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/bin; \ + done + for i in ${SBINARY}; do \ + ${INSTALL_PROGRAM} ${BUILDDIR}/$$i ${PREFIX}/sbin; \ done + ${INSTALL_DATA} ${WRKSRC}/../mDNSShared/dns_sd.h ${PREFIX}/include + ${INSTALL_LIB} ${BUILDDIR}/libdns_sd.${SO_SUFFIX} ${PREFIX}/lib +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/net/mDNSResponder/PLIST b/net/mDNSResponder/PLIST index 6417c171ff5..e76bf6c481e 100644 --- a/net/mDNSResponder/PLIST +++ b/net/mDNSResponder/PLIST @@ -1,7 +1,10 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/13 08:22:58 itojun Exp $ +@comment $NetBSD: PLIST,v 1.2 2005/05/26 12:50:24 markd Exp $ bin/mDNSClientPosix bin/mDNSIdentify bin/mDNSNetMonitor bin/mDNSProxyResponderPosix bin/mDNSResponderPosix -bin/mdnsd +include/dns_sd.h +lib/libdns_sd.${SO_SUFFIX} +sbin/dnsextd +sbin/mdnsd diff --git a/net/mDNSResponder/buildlink3.mk b/net/mDNSResponder/buildlink3.mk new file mode 100644 index 00000000000..f3ce345fe21 --- /dev/null +++ b/net/mDNSResponder/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2005/05/26 12:50:24 markd Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +MDNSRESPONDER_BUILDLINK3_MK:= ${MDNSRESPONDER_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= mDNSResponder +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NmDNSResponder} +BUILDLINK_PACKAGES+= mDNSResponder + +.if !empty(MDNSRESPONDER_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.mDNSResponder+= mDNSResponder>=98 +BUILDLINK_PKGSRCDIR.mDNSResponder?= ../../net/mDNSResponder +.endif # MDNSRESPONDER_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/net/mDNSResponder/distinfo b/net/mDNSResponder/distinfo index 14089a6e65a..a54534e7b79 100644 --- a/net/mDNSResponder/distinfo +++ b/net/mDNSResponder/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:13:52 agc Exp $ +$NetBSD: distinfo,v 1.3 2005/05/26 12:50:24 markd Exp $ -SHA1 (mDNSResponder-62.tar.gz) = 977519f3bf883f8c8271917586242f81efca8145 -RMD160 (mDNSResponder-62.tar.gz) = a9f99daf252507a5f8726cd3ef106367f16e2909 -Size (mDNSResponder-62.tar.gz) = 767255 bytes +SHA1 (mDNSResponder-107.1.tar.gz) = 272c97dce83cea643a75ddd46a6e7d4c4e05d1ef +RMD160 (mDNSResponder-107.1.tar.gz) = 3415d6e17aa44ce1f25b15d5f57af67d48280d08 +Size (mDNSResponder-107.1.tar.gz) = 1325181 bytes |