Index: head/net/ntp-devel/Makefile =================================================================== --- head/net/ntp-devel/Makefile (revision 503627) +++ head/net/ntp-devel/Makefile (revision 503628) @@ -1,83 +1,85 @@ # Created by: andreas # $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/ PKGNAMESUFFIX= -devel DISTNAME= ${PORTNAME}-dev-${PORTVERSION:S/P/p/:S/r/-RC/:S/b/-beta/} MAINTAINER= cy@FreeBSD.org COMMENT= The Network Time Protocol Distribution LIB_DEPENDS= libevent.so:devel/libevent 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 TEST_TARGET= check SHEBANG_FILES= scripts/ntptrace/ntptrace.in \ scripts/ntp-wait/ntp-wait.in \ scripts/update-leap/update-leap.in perl_OLD_CMD= @PATH_PERL@ SUB_FILES= pkg-message .include "Makefile.inc" OPTIONS_DEFINE+= DEBUG NLS THREADS OPTIONS_DEFAULT+= THREADS OPTIONS_SUB= yes IPV6_CONFIGURE_ENABLE= ipv6 NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_OFF= ac_cv_lib_intl_gettext=no NLS_USES= gettext-runtime NTP_SIGND_CONFIGURE_ENABLE= ntp-signd NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd PERL_UTILS_USES= perl5 SSL_CONFIGURE_ON= --with-openssl-incdir=${OPENSSLINC} \ --with-openssl-libdir=${OPENSSLLIB} SSL_CONFIGURE_OFF= --without-crypto SSL_USES= ssl SSL_BROKEN_OFF= Includes OpenSSL when deselected DEBUG_CONFIGURE_ON= --enable-debug THREADS_CONFIGURE_ENABLE= thread-support THREADS_CONFIGURE_WITH= threads .for D in ${NTP_DRIVERS} ${D}_CONFIGURE_ENABLE= ${D} .endfor .include # XXX Temporary hack. Remember to remove this next commit. post-extract: @${TOUCH} ${WRKSRC}/scripts/build/checkHtmlFileDates @${CHMOD} +x ${WRKSRC}/scripts/build/checkHtmlFileDates post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @cd ${WRKSRC}/html && ${FIND} . -print | \ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR} .include Index: head/net/ntp-devel/distinfo =================================================================== --- head/net/ntp-devel/distinfo (revision 503627) +++ head/net/ntp-devel/distinfo (revision 503628) @@ -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 Index: head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c =================================================================== --- head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c (revision 503627) +++ head/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c (revision 503628) @@ -1,25 +1,28 @@ ---- 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... */ - mvprintf(fmt, ap); + vprintf(fmt, ap); 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)