From owner-svn-ports-head@freebsd.org Wed Dec 5 18:46:39 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB5AC1323FFF; Wed, 5 Dec 2018 18:46:38 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 808BD82FC6; Wed, 5 Dec 2018 18:46:38 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id ACEBA18585; Wed, 5 Dec 2018 18:46:36 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wB5IkaXi041160; Wed, 5 Dec 2018 18:46:36 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wB5IkZox041155; Wed, 5 Dec 2018 18:46:35 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201812051846.wB5IkZox041155@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 5 Dec 2018 18:46:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486689 - in head/net/mDNSResponder: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/net/mDNSResponder: . files X-SVN-Commit-Revision: 486689 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 808BD82FC6 X-Spamd-Result: default: False [-0.50 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-0.42)[-0.423,0]; NEURAL_HAM_SHORT(-0.02)[-0.021,0]; NEURAL_HAM_LONG(-0.05)[-0.054,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 18:46:39 -0000 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;