Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2018 18:46:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486689 - in head/net/mDNSResponder: . files
Message-ID:  <201812051846.wB5IkZox041155@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Dec  5 18:46:35 2018
New Revision: 486689
URL: https://svnweb.freebsd.org/changeset/ports/486689

Log:
  Update to 878.200.35

Modified:
  head/net/mDNSResponder/Makefile
  head/net/mDNSResponder/distinfo
  head/net/mDNSResponder/files/patch-mDNSPosix-Makefile
  head/net/mDNSResponder/files/patch-mDNSPosix-mDNSPosix.c
  head/net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c

Modified: head/net/mDNSResponder/Makefile
==============================================================================
--- head/net/mDNSResponder/Makefile	Wed Dec  5 18:46:26 2018	(r486688)
+++ head/net/mDNSResponder/Makefile	Wed Dec  5 18:46:35 2018	(r486689)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mDNSResponder
-PORTVERSION=	878.70.2
+PORTVERSION=	878.200.35
 CATEGORIES=	net dns
 MASTER_SITES=	https://opensource.apple.com/tarballs/mDNSResponder/
 
@@ -17,6 +17,8 @@ CONFLICTS_INSTALL=	avahi-libdns openmdns
 
 OPTIONS_DEFINE=	IPV6
 
+USES=		cpe gmake
+
 ALL_TARGET=	all dnsextd
 BUILD_WRKSRC=	${WRKSRC}/mDNSPosix
 INSTALL_WRKSRC=	${WRKSRC}/mDNSPosix
@@ -24,7 +26,6 @@ MAKE_ARGS=	LDCONFIG=${TRUE} LOCALBASE=${PREFIX} MAN_PA
 MAKE_JOBS_UNSAFE=	yes
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	mdnsd mdnsresponderposix
-USES=		cpe gmake
 
 CPE_VENDOR=	apple
 CPE_PRODUCT=	${PORTNAME:tl}

Modified: head/net/mDNSResponder/distinfo
==============================================================================
--- head/net/mDNSResponder/distinfo	Wed Dec  5 18:46:26 2018	(r486688)
+++ head/net/mDNSResponder/distinfo	Wed Dec  5 18:46:35 2018	(r486689)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1538591479
-SHA256 (mDNSResponder-878.70.2.tar.gz) = cdd03171ca05f16ea987bba1f8b0c4847d3035283ea0f5fa0ade75f64ec83ed5
-SIZE (mDNSResponder-878.70.2.tar.gz) = 2497624
+TIMESTAMP = 1544007043
+SHA256 (mDNSResponder-878.200.35.tar.gz) = e777b4d7dbf5eb1552cb80090ad1ede319067ab6e45e3990d68aabf6e8b3f5a0
+SIZE (mDNSResponder-878.200.35.tar.gz) = 2537410

Modified: head/net/mDNSResponder/files/patch-mDNSPosix-Makefile
==============================================================================
--- head/net/mDNSResponder/files/patch-mDNSPosix-Makefile	Wed Dec  5 18:46:26 2018	(r486688)
+++ head/net/mDNSResponder/files/patch-mDNSPosix-Makefile	Wed Dec  5 18:46:35 2018	(r486689)
@@ -24,7 +24,7 @@
  # FreeBSD 4 requires threaded code to be compiled and linked using the "-pthread" option,
  # and requires that the "-lpthread" link option NOT be used
  # This appies only to FreeBSD -- "man cc" on FreeBSD says:
-@@ -185,12 +185,7 @@
+@@ -185,12 +185,7 @@ CFLAGS_OS += -DHAVE_IPV6=0
  endif
  endif
  
@@ -38,7 +38,7 @@
  
  # If directories /etc/init.d/rc*.d exist, then we install into that (Suse)
  ifeq ($(wildcard /etc/init.d/rc2.d/), /etc/init.d/rc2.d/)
-@@ -219,7 +219,7 @@ CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_OS) $
+@@ -219,7 +214,7 @@ CFLAGS = $(CFLAGS_COMMON) $(CFLAGS_OS) $
  
  all: setup Daemon libdns_sd Clients SAClient SAResponder SAProxyResponder Identify NetMonitor $(OPTIONALTARG)
  
@@ -47,7 +47,7 @@
  
  # 'setup' sets up the build directory structure the way we want
  setup:
-@@ -259,13 +259,13 @@ libdns_sd: setup $(BUILDDIR)/libdns_sd.$
+@@ -259,13 +254,13 @@ libdns_sd: setup $(BUILDDIR)/libdns_sd.$
  CLIENTLIBOBJS = $(OBJDIR)/dnssd_clientlib.c.so.o $(OBJDIR)/dnssd_clientstub.c.so.o $(OBJDIR)/dnssd_ipc.c.so.o
  
  $(BUILDDIR)/libdns_sd.$(LDSUFFIX): $(CLIENTLIBOBJS)
@@ -64,7 +64,7 @@
  	@$(MAKE) -C ../Clients
  
  # nss_mdns target builds the Name Service Switch module
-@@ -273,7 +273,7 @@ nss_mdns: setup $(BUILDDIR)/$(NSSLIBFILE
+@@ -273,7 +268,7 @@ nss_mdns: setup $(BUILDDIR)/$(NSSLIBFILE
  	@echo "Name Service Switch module done"
  
  $(BUILDDIR)/$(NSSLIBFILE): $(CLIENTLIBOBJS) $(OBJDIR)/nss_mdns.c.so.o
@@ -73,7 +73,7 @@
  	@$(STRIP) $@
  
  #############################################################################
-@@ -298,14 +298,12 @@ InstalledNSS: $(NSSINSTPATH)/$(NSSLINKNA
+@@ -298,14 +293,12 @@ InstalledNSS: $(NSSINSTPATH)/$(NSSLINKNA
  	@echo $+ " installed"
  
  # Note: If daemon already installed, we make sure it's stopped before overwriting it
@@ -90,7 +90,7 @@
  ifdef LDCONFIG
      # -m means 'merge into existing database', -R means 'rescan directories'
  	$(LDCONFIG) -mR
-@@ -338,7 +336,7 @@ $(MANPATH)/man8/%.8: %.8
+@@ -338,7 +331,7 @@ $(MANPATH)/man8/%.8: %.8
  	cp $< $@
  	chmod 444 $@
  
@@ -99,7 +99,7 @@
  	cp $< $@
  	chmod 444 $@
  
-@@ -491,6 +489,8 @@ $(OBJDIR)/NetMonitor.c.o:            $(C
+@@ -491,6 +484,8 @@ $(OBJDIR)/NetMonitor.c.o:            $(C
  $(BUILDDIR)/dnsextd:                 $(DNSEXTDOBJ) $(OBJDIR)/dnsextd.c.threadsafe.o
  	$(CC) $+ -o $@ $(LINKOPTS) $(LINKOPTS_PTHREAD)
  

Modified: head/net/mDNSResponder/files/patch-mDNSPosix-mDNSPosix.c
==============================================================================
--- head/net/mDNSResponder/files/patch-mDNSPosix-mDNSPosix.c	Wed Dec  5 18:46:26 2018	(r486688)
+++ head/net/mDNSResponder/files/patch-mDNSPosix-mDNSPosix.c	Wed Dec  5 18:46:35 2018	(r486689)
@@ -1,6 +1,6 @@
---- mDNSPosix/mDNSPosix.c.orig	2016-09-13 22:37:18 UTC
+--- mDNSPosix/mDNSPosix.c.orig	2017-04-20 05:25:37 UTC
 +++ mDNSPosix/mDNSPosix.c
-@@ -654,7 +654,7 @@ mDNSlocal int SetupSocket(struct sockadd
+@@ -648,7 +648,7 @@ mDNSlocal int SetupSocket(struct sockadd
          // to bind to the socket. Our suggestion was to switch the order in which
          // SO_REUSEPORT and SO_REUSEADDR was tested so that SO_REUSEADDR stays on
          // top and SO_REUSEPORT to be used only if SO_REUSEADDR doesn't exist.
@@ -9,7 +9,7 @@
          err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn));
          #elif defined(SO_REUSEPORT)
          err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEPORT, &kOn, sizeof(kOn));
-@@ -755,7 +755,13 @@ mDNSlocal int SetupSocket(struct sockadd
+@@ -749,7 +749,13 @@ mDNSlocal int SetupSocket(struct sockadd
      {
          struct ipv6_mreq imr6;
          struct sockaddr_in6 bindAddr6;
@@ -24,7 +24,7 @@
          if (err == 0)
          {
              err = setsockopt(*sktPtr, IPPROTO_IPV6, IPV6_2292_PKTINFO, &kOn, sizeof(kOn));
-@@ -764,7 +770,13 @@ mDNSlocal int SetupSocket(struct sockadd
+@@ -758,7 +764,13 @@ mDNSlocal int SetupSocket(struct sockadd
      #else
          #warning This platform has no way to get the destination interface information for IPv6 -- will only work for single-homed hosts
      #endif

Modified: head/net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c
==============================================================================
--- head/net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c	Wed Dec  5 18:46:26 2018	(r486688)
+++ head/net/mDNSResponder/files/patch-mDNSPosix-mDNSUNP.c	Wed Dec  5 18:46:35 2018	(r486689)
@@ -1,6 +1,6 @@
---- mDNSPosix/mDNSUNP.c.orig	2011-12-02 00:39:45 UTC
+--- mDNSPosix/mDNSUNP.c.orig	2018-06-05 21:34:11 UTC
 +++ mDNSPosix/mDNSUNP.c
-@@ -449,6 +449,8 @@ struct ifi_info *get_ifi_info(int family
+@@ -460,6 +460,8 @@ struct ifi_info *get_ifi_info(int family
                      ifi->ifi_netmask = (struct sockaddr*)calloc(1, sizeof(struct sockaddr_in6));
                      if (ifi->ifi_netmask == NULL) goto gotError;
                      sinptr6 = (struct sockaddr_in6 *) &ifr6.ifr_ifru.ifru_addr;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812051846.wB5IkZox041155>