Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2018 16:28:27 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r487182 - in head/dns/nsd: . files
Message-ID:  <201812101628.wBAGSRh1016139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Dec 10 16:28:27 2018
New Revision: 487182
URL: https://svnweb.freebsd.org/changeset/ports/487182

Log:
  dns/nsd: Fix build with DNSTAP option enabled
  
  PR:		233890
  Submitted by:	jaap@NLnetLabs.nl (maintainer)
  Reported by:	r00t@kaba1ah.org

Added:
  head/dns/nsd/files/patch-dnstap_dnstap.c   (contents, props changed)
Modified:
  head/dns/nsd/Makefile   (contents, props changed)

Modified: head/dns/nsd/Makefile
==============================================================================
--- head/dns/nsd/Makefile	Mon Dec 10 16:20:21 2018	(r487181)
+++ head/dns/nsd/Makefile	Mon Dec 10 16:28:27 2018	(r487182)
@@ -3,6 +3,7 @@
 
 PORTNAME=	nsd
 PORTVERSION=	4.1.26
+PORTREVISION=	1
 CATEGORIES=	dns ipv6
 MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
 		ftp://ftp.rhnet.is/pub/nsd/

Added: head/dns/nsd/files/patch-dnstap_dnstap.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/dns/nsd/files/patch-dnstap_dnstap.c	Mon Dec 10 16:28:27 2018	(r487182)
@@ -0,0 +1,11 @@
+--- dnstap/dnstap.c.orig	2018-12-09 20:25:39 UTC
++++ dnstap/dnstap.c
+@@ -319,7 +319,7 @@ dt_msg_fill_net(struct dt_msg *dm,
+ 		*has_port = 1;
+ 	} else if (ss->ss_family == AF_INET) {
+ #else
+-	if (ss->ss_family == AF_INET) {
++	if (ss->sin_family == AF_INET) {
+ #endif /* INET6 */
+ 		struct sockaddr_in *s = (struct sockaddr_in *) ss;
+ 



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