Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jun 2019 11:54:02 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r503628 - in head/net/ntp-devel: . files
Message-ID:  <201906071154.x57Bs2PG094162@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Fri Jun  7 11:54:01 2019
New Revision: 503628
URL: https://svnweb.freebsd.org/changeset/ports/503628

Log:
  Update  4.3.95 --> 4.3.97
  
  Reported by:	portscout

Modified:
  head/net/ntp-devel/Makefile
  head/net/ntp-devel/distinfo
  head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c

Modified: head/net/ntp-devel/Makefile
==============================================================================
--- head/net/ntp-devel/Makefile	Fri Jun  7 09:24:18 2019	(r503627)
+++ head/net/ntp-devel/Makefile	Fri Jun  7 11:54:01 2019	(r503628)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	ntp
-PORTVERSION=	4.3.95
+PORTVERSION=	4.3.97
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ \
 		http://archive.ntp.org/ntp4/ntp-dev/
@@ -18,6 +18,8 @@ CONFLICTS=	ntp-[0-9].* openntpd-*
 
 USES=		cpe pathfix shebangfix libedit libtool localbase:ldflags \
 		pkgconfig gettext-runtime
+
+LIB_DEPENDS+=	libdns_sd.so:net/mDNSResponder
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-leap-smear

Modified: head/net/ntp-devel/distinfo
==============================================================================
--- head/net/ntp-devel/distinfo	Fri Jun  7 09:24:18 2019	(r503627)
+++ head/net/ntp-devel/distinfo	Fri Jun  7 11:54:01 2019	(r503628)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1559789621
-SHA256 (ntp-dev-4.3.95.tar.gz) = d603a46c84ec4994c415a6127356c21e4f2f2c385304c3be94ef6889f6d846e3
-SIZE (ntp-dev-4.3.95.tar.gz) = 6962732
+TIMESTAMP = 1559907650
+SHA256 (ntp-dev-4.3.97.tar.gz) = f075b15d50a0f25f1864221ac868195549944be40a45d7eb75fa53964ffe6c6d
+SIZE (ntp-dev-4.3.97.tar.gz) = 7010616

Modified: head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c
==============================================================================
--- head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c	Fri Jun  7 09:24:18 2019	(r503627)
+++ head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c	Fri Jun  7 11:54:01 2019	(r503628)
@@ -1,6 +1,6 @@
---- ntpd/refclock_mx4200.c.orig	2014-12-19 11:56:52 UTC
-+++ ntpd/refclock_mx4200.c
-@@ -1572,7 +1572,7 @@ mx4200_debug(struct peer *peer, char *fm
+--- ntpd/refclock_mx4200.c.orig	2019-06-06 17:17:04.000000000 -0700
++++ ntpd/refclock_mx4200.c	2019-06-07 04:44:07.786152000 -0700
+@@ -1572,7 +1572,7 @@
  		 * Print debug message to stdout
  		 * In the future, we may want to get get more creative...
  		 */
@@ -9,17 +9,20 @@
  
  		va_end(ap);
  	}
-@@ -1613,11 +1613,11 @@ mx4200_send(peer, fmt, va_alist)
+@@ -1614,14 +1614,14 @@
+ #else
+ 	va_start(ap);
+ #endif /* __STDC__ */
+-	n = VSNPRINTF((cp, (size_t)(ep - cp), fmt, ap));
++	n = vsnprintf((cp, (size_t)(ep - cp), fmt, ap));
+ 	va_end(ap);
+ 	if (n < 0 || (size_t)n >= (size_t)(ep - cp))
+ 		goto overflow;
  
- 	cp = buf;
- 	*cp++ = '$';
--	n = VSNPRINTF((cp, sizeof(buf) - 1, fmt, ap));
-+	n = vsnprintf(cp, sizeof(buf) - 1, fmt, ap);
  	ck = mx4200_cksum(cp, n);
+ 	cp += n;	    
+-	n = SNPRINTF((cp, (size_t)(ep - cp), "*%02X\r\n", ck));
++	n = snprintf((cp, (size_t)(ep - cp), "*%02X\r\n", ck));
+ 	if (n < 0 || (size_t)n >= (size_t)(ep - cp))
+ 		goto overflow;
  	cp += n;
- 	++n;
--	n += SNPRINTF((cp, sizeof(buf) - n - 5, "*%02X\r\n", ck));
-+	n += snprintf(cp, sizeof(buf) - n - 5, "*%02X\r\n", ck);
- 
- 	m = write(pp->io.fd, buf, (unsigned)n);
- 	if (m < 0)



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