Index: head/net/ntp/Makefile =================================================================== --- head/net/ntp/Makefile (revision 375214) +++ head/net/ntp/Makefile (revision 375215) @@ -1,72 +1,68 @@ # Created by: andreas # $FreeBSD$ PORTNAME= ntp PORTVERSION= 4.2.8 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \ http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \ ftp://ftp.archive.de.uu.net/pub/unix/ntp/ntp4/ \ ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/P/p/:S/.r/-RC/} MAINTAINER= cy@FreeBSD.org COMMENT= The Network Time Protocol Distribution GNU_CONFIGURE= yes OPTIONS_SUB= yes USES= pathfix shebangfix libtool LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 NTP_SHEBANG_FILES= sbin/ntp-wait sbin/ntptrace .include "Makefile.inc" PERL_UTILS_USES= perl5 SSL_USE= OPENSSL=yes SSL_CONFIGURE_OFF= --without-crypto IPV6_CONFIGURE_ENABLE= ipv6 NTP_SIGND_CONFIGURE_ENABLE= ntp-signd NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd .include .if ${PORT_OPTIONS:MSSL} CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \ --with-openssl-libdir=${OPENSSLLIB} .endif .for D in ${NTP_DRIVERS} .if ${PORT_OPTIONS:M${D}} CONFIGURE_ARGS+= --enable-${D} .endif .endfor - -.if ${PORT_OPTIONS:MMX4200} -BROKEN= Fails to compile when MX4200 is enabled. -.endif DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}4 # XXX Temporary hack. Remember to remove this next commit. post-extract: @/usr/bin/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} @cd ${STAGEDIR}${PREFIX}; \ ${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} .include Index: head/net/ntp/files/patch-ntpd__refclock__mx4200.c =================================================================== --- head/net/ntp/files/patch-ntpd__refclock__mx4200.c (nonexistent) +++ head/net/ntp/files/patch-ntpd__refclock__mx4200.c (revision 375215) @@ -0,0 +1,25 @@ +--- 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 + * 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) + + 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; +- 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) Property changes on: head/net/ntp/files/patch-ntpd__refclock__mx4200.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property