[Midnightbsd-cvs] mports [23035] trunk/net/ntp: ntp 4.2.8p10

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Feb 18 12:35:20 EST 2018


Revision: 23035
          http://svnweb.midnightbsd.org/mports/?rev=23035
Author:   laffer1
Date:     2018-02-18 12:35:20 -0500 (Sun, 18 Feb 2018)
Log Message:
-----------
ntp 4.2.8p10

Modified Paths:
--------------
    trunk/net/ntp/Makefile
    trunk/net/ntp/distinfo
    trunk/net/ntp/files/patch-ntpd__refclock__mx4200.c

Modified: trunk/net/ntp/Makefile
===================================================================
--- trunk/net/ntp/Makefile	2018-02-18 17:09:49 UTC (rev 23034)
+++ trunk/net/ntp/Makefile	2018-02-18 17:35:20 UTC (rev 23035)
@@ -1,8 +1,7 @@
 # $MidnightBSD$
 
 PORTNAME=	ntp
-PORTVERSION=	4.2.8p8
-PORTREVISION=	1
+PORTVERSION=	4.2.8p10
 CATEGORIES=	net ipv6
 MASTER_SITES=	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
 		http://archive.ntp.org/ntp4/ntp-4.2/ \

Modified: trunk/net/ntp/distinfo
===================================================================
--- trunk/net/ntp/distinfo	2018-02-18 17:09:49 UTC (rev 23034)
+++ trunk/net/ntp/distinfo	2018-02-18 17:35:20 UTC (rev 23035)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1464934880
-SHA256 (ntp-4.2.8p8.tar.gz) = 2ab3d0b5f0456e6311dda1cc27ab75da108762773a19e46abd938bd9407b97ee
-SIZE (ntp-4.2.8p8.tar.gz) = 7205710
+TIMESTAMP = 1518973842
+SHA256 (ntp-4.2.8p10.tar.gz) = ddd2366e64219b9efa0f7438e06800d0db394ac5c88e13c17b70d0dcdf99b99f
+SIZE (ntp-4.2.8p10.tar.gz) = 6998648

Modified: trunk/net/ntp/files/patch-ntpd__refclock__mx4200.c
===================================================================
--- trunk/net/ntp/files/patch-ntpd__refclock__mx4200.c	2018-02-18 17:09:49 UTC (rev 23034)
+++ trunk/net/ntp/files/patch-ntpd__refclock__mx4200.c	2018-02-18 17:35:20 UTC (rev 23035)
@@ -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	2017-03-21 06:04:19.000000000 -0700
++++ ntpd/refclock_mx4200.c	2017-03-22 22:34:58.631582000 -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)



More information about the Midnightbsd-cvs mailing list