mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
- Update to 107.5 (fixes broken mDNSProxyResponderPosix utility) [1]
- Install mDNSResponder.8 manpage as mDNSResponderPosix.8 to avoid conflict with net/howl [2] - Unquote COMMENT. PR: ports/94303 [1], ports/96126 [2] Submitted by: Bruce Walker <bmw@borderware.com> [1] Eric P. Scott <eps+pbug0604@ana.com> [2]
This commit is contained in:
parent
88e2f7c15a
commit
dcc108eb89
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=162329
@ -7,14 +7,13 @@
|
||||
#
|
||||
|
||||
PORTNAME= mDNSResponder
|
||||
PORTVERSION= 107.1
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 107.5
|
||||
CATEGORIES= net dns
|
||||
MASTER_SITES= http://darwinsource.opendarwin.org/tarballs/apsl/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= "Apple's mDNSResponder"
|
||||
COMMENT= Apple's mDNSResponder
|
||||
|
||||
INSTALLS_SHLIB= YES
|
||||
|
||||
@ -30,18 +29,22 @@ EXTRA_PROGS_BIN=mDNSClientPosix \
|
||||
mDNSResponderPosix
|
||||
EXTRA_PROGS_SBIN=dnsextd
|
||||
|
||||
EXTRAMAN8= dnsextd.8 mDNSResponder.8
|
||||
EXTRAMAN8= dnsextd.8 mDNSResponderPosix.8
|
||||
|
||||
MAN8= mdnsd.8 ${EXTRAMAN8}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "alpha"
|
||||
BROKEN= "Does not compile on alpha"
|
||||
BROKEN= Does not compile on alpha
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/mDNSShared/mDNSResponder.8 \
|
||||
${WRKSRC}/mDNSShared/mDNSResponderPosix.8
|
||||
pre-build:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
||||
-e 's|mDNSResponder.8|mDNSResponderPosix.8|g' \
|
||||
${WRKSRC}/mDNSPosix/Makefile
|
||||
|
||||
post-install:
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (mDNSResponder-107.1.tar.gz) = 0182d100b3f7929649bfc6c29715d4d7
|
||||
SHA256 (mDNSResponder-107.1.tar.gz) = e977f077bb9e6b339a5e075e55b22dcfa86e392f0fdac4e424b87cf64283b8ab
|
||||
SIZE (mDNSResponder-107.1.tar.gz) = 1325181
|
||||
MD5 (mDNSResponder-107.5.tar.gz) = ec345a16649ecb5b6e50096f2b5cbdaf
|
||||
SHA256 (mDNSResponder-107.5.tar.gz) = 8703e4a72108a8ed89194af7658cac348592e84fa67bd2d3794da4d81a610cf5
|
||||
SIZE (mDNSResponder-107.5.tar.gz) = 1379397
|
||||
|
@ -1,14 +1,11 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- mDNSPosix/Makefile.orig
|
||||
+++ mDNSPosix/Makefile
|
||||
@@ -369,7 +369,7 @@
|
||||
--- mDNSPosix/Makefile.orig Fri Mar 10 14:35:15 2006
|
||||
+++ mDNSPosix/Makefile Fri Mar 10 14:35:31 2006
|
||||
@@ -407,7 +407,7 @@
|
||||
|
||||
all: setup Daemon libdns_sd Client Responder ProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG)
|
||||
all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor dnsextd $(OPTIONALTARG)
|
||||
|
||||
-install: setup InstalledDaemon InstalledLib InstalledStartup InstalledManPages $(OPTINSTALL)
|
||||
+install: setup InstalledDaemon InstalledLib InstalledManPages $(OPTINSTALL)
|
||||
-install: setup InstalledDaemon InstalledStartup InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
|
||||
+install: setup InstalledDaemon InstalledLib InstalledManPages InstalledClients $(OPTINSTALL)
|
||||
|
||||
# 'setup' sets up the build directory structure the way we want
|
||||
setup:
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- mDNSPosix/mDNSUNP.c.orig Fri Apr 8 23:43:59 2005
|
||||
+++ mDNSPosix/mDNSUNP.c Tue May 10 21:16:46 2005
|
||||
@@ -331,7 +331,7 @@
|
||||
ifr = (struct ifreq *) ptr;
|
||||
|
||||
len = GET_SA_LEN(ifr->ifr_addr);
|
||||
- ptr += sizeof(struct ifreq); /* for next one in buffer */
|
||||
+ ptr += sizeof(ifr->ifr_name) + len; /* for next one in buffer */
|
||||
|
||||
// fprintf(stderr, "intf %d name=%s AF=%d\n", index, ifr->ifr_name, ifr->ifr_addr.sa_family);
|
||||
|
@ -1,10 +1,10 @@
|
||||
--- mDNSShared/dns_sd.h.orig Sat Dec 18 04:14:23 2004
|
||||
+++ mDNSShared/dns_sd.h Mon Feb 14 13:52:41 2005
|
||||
@@ -39,6 +39,7 @@
|
||||
#define DNSSD_API
|
||||
--- mDNSShared/dns_sd.h.orig Tue Dec 20 22:24:58 2005
|
||||
+++ mDNSShared/dns_sd.h Fri Mar 10 14:41:32 2006
|
||||
@@ -42,6 +42,7 @@
|
||||
#endif
|
||||
|
||||
/* stdint.h does not exist on FreeBSD 4.x; its types are defined in sys/types.h instead */
|
||||
+#include <osreldate.h>
|
||||
#if defined(__FreeBSD_version) && (__FreeBSD_version < 500000)
|
||||
/* stdint.h does not exist on FreeBSD 4.x; its types are defined in sys/types.h instead */
|
||||
#include <sys/types.h>
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
bin/dns-sd
|
||||
bin/mDNSClientPosix
|
||||
bin/mDNSIdentify
|
||||
bin/mDNSNetMonitor
|
||||
|
Loading…
Reference in New Issue
Block a user