View | Details | Raw Unified | Return to bug 195422
Collapse All | Expand All

(-)Makefile (-3 / +8 lines)
Lines 1-8 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	mDNSResponder_nss
3
PORTNAME=	mDNSResponder_nss
4
PORTVERSION=	544
4
PORTVERSION=	561.1.1
5
PORTREVISION=	1
6
CATEGORIES=	dns net
5
CATEGORIES=	dns net
7
MASTER_SITES=	http://opensource.apple.com/tarballs/mDNSResponder/
6
MASTER_SITES=	http://opensource.apple.com/tarballs/mDNSResponder/
8
DISTNAME=	${PORTNAME:S/_nss//}-${PORTVERSION}
7
DISTNAME=	${PORTNAME:S/_nss//}-${PORTVERSION}
Lines 19-24 Link Here
19
18
20
WRKSRC=		${WRKDIR}/${PORTNAME:S/_nss//}-${PORTVERSION}
19
WRKSRC=		${WRKDIR}/${PORTNAME:S/_nss//}-${PORTVERSION}
21
20
21
.include <bsd.port.pre.mk>
22
23
.if ${ARCH:C/^(...).*/\1/} == "arm"
24
LD=${CC}
25
.endif
26
22
post-extract:
27
post-extract:
23
	@${CP} ${FILESDIR}/nss_mdns_freebsd.c ${WRKSRC}/mDNSPosix
28
	@${CP} ${FILESDIR}/nss_mdns_freebsd.c ${WRKSRC}/mDNSPosix
24
29
Lines 47-50 Link Here
47
	${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \
52
	${INSTALL_DATA} ${WRKSRC}/mDNSPosix/nss_mdns.conf \
48
		${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample
53
		${STAGEDIR}${PREFIX}/etc/nss_mdns.conf.sample
49
54
50
.include <bsd.port.mk>
55
.include <bsd.port.post.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mDNSResponder-544.tar.gz) = c6ad1d53c28d28c0e3689bdf5efd9ce6f5c4c3692e8ad76e5eeb4d0c248929ac
1
SHA256 (mDNSResponder-561.1.1.tar.gz) = 217ca717149b999a34c568913e4721beef96ac7ab93db8a012e68ffe816530d9
2
SIZE (mDNSResponder-544.tar.gz) = 2153326
2
SIZE (mDNSResponder-561.1.1.tar.gz) = 2153693
(-)pkg-message (+6 lines)
Line 0 Link Here
1
================================================================================
2
To enable the mDNSResponder NSS module, update the hosts entry in 
3
/etc/nsswitch.conf by adding mdns, preferably between file and dns:
4
5
hosts: file mdns dns
6
================================================================================

Return to bug 195422