CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: kamil Date: Fri May 29 10:53:02 UTC 2020 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: Fix the ntpd build with Clang/LLVM Set -Wno-format-nonliteral for ntp_refclock.c To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.25 src/external/bsd/ntp/bin/ntpd/Makefile:1.26 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.25 Sat Feb 8 13:20:10 2020 +++ src/external/bsd/ntp/bin/ntpd/Makefile Fri May 29 10:53:02 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2020/02/08 13:20:10 fox Exp $ +# $NetBSD: Makefile,v 1.26 2020/05/29 10:53:02 kamil Exp $ .include @@ -78,7 +78,7 @@ LDADD+= -L${LIBPARSE} -lparse -L${LIBIS DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} COPTS.ntp_control.c+= ${${ACTIVE_CC} == "gcc":? -Wno-format-nonliteral :} - +COPTS.ntp_refclock.c+= -Wno-format-nonliteral DIST=${IDIST}/ntpd
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: fox Date: Sat Feb 8 13:20:10 UTC 2020 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: external/bsd/ntp: Suppress -Werror=stringop-truncation error. Add GCC_NO_STRINGOP_TRUNCATION to refclock_jjy.c to prevent build failure. Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag. Reviewed by: kamil@ To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.24 src/external/bsd/ntp/bin/ntpd/Makefile:1.25 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.24 Sun Oct 13 07:28:07 2019 +++ src/external/bsd/ntp/bin/ntpd/Makefile Sat Feb 8 13:20:10 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2019/10/13 07:28:07 mrg Exp $ +# $NetBSD: Makefile,v 1.25 2020/02/08 13:20:10 fox Exp $ .include @@ -95,6 +95,7 @@ COPTS.ntp_control.c+= -Wno-error=maybe- COPTS.ntp_loopfilter.c+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} == 8:? -Wno-error=restrict :} COPTS.ntp_loopfilter.c+= ${GCC_NO_FORMAT_TRUNCATION} COPTS.ntp_crypto.c+= ${GCC_NO_FORMAT_TRUNCATION} +COPTS.refclock_jjy.c+= ${GCC_NO_STRINGOP_TRUNCATION} COPTS.refclock_parse.c+= ${GCC_NO_FORMAT_TRUNCATION} COPTS.refclock_leitch.c+= ${GCC_NO_FORMAT_TRUNCATION} COPTS.refclock_neoclock4x.c+= ${GCC_NO_FORMAT_TRUNCATION}
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: abhinav Date: Tue Mar 28 04:27:26 UTC 2017 Modified Files: src/external/bsd/ntp/bin/ntpd: ntp.keys.5 Log Message: Remove duplicated NAME section Remove hardcoded argument to .Os Remove extra arguments to .Dt The extra arguments to .Dt were being parsed as the machine architecture for the man page by mandoc parser, because of which the output of apropos(1) would show it as file/ntp.keys(5). Same problem exists with other ntp man pages as well. Committing with approval from Christos, we will investigate and fix the problems in the source when regenerating the man pages next time. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/bsd/ntp/bin/ntpd/ntp.keys.5 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/ntp.keys.5 diff -u src/external/bsd/ntp/bin/ntpd/ntp.keys.5:1.1 src/external/bsd/ntp/bin/ntpd/ntp.keys.5:1.2 --- src/external/bsd/ntp/bin/ntpd/ntp.keys.5:1.1 Sat Dec 28 03:19:43 2013 +++ src/external/bsd/ntp/bin/ntpd/ntp.keys.5 Tue Mar 28 04:27:26 2017 @@ -1,6 +1,6 @@ .Dd December 24 2013 -.Dt NTP_KEYS 5 File Formats -.Os SunOS 5.10 +.Dt NTP_KEYS 5 +.Os .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" .\" It has been AutoGen-ed December 24, 2013 at 11:38:26 AM by AutoGen 5.18.3pre5 @@ -9,10 +9,6 @@ .Sh NAME .Nm ntp.keys .Nd NTP symmetric key file format - -.Sh NAME -.Nm ntp.keys -.Nd NTP symmetric key file format .Sh SYNOPSIS .Sy /etc/ntp.keys .Pp
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: mrg Date: Wed Mar 23 09:00:31 UTC 2016 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: apply -Wno-error=maybe-uninitialized with GCC 5.3. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.19 src/external/bsd/ntp/bin/ntpd/Makefile:1.20 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.19 Fri Jul 10 14:20:28 2015 +++ src/external/bsd/ntp/bin/ntpd/Makefile Wed Mar 23 09:00:31 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2015/07/10 14:20:28 christos Exp $ +# $NetBSD: Makefile,v 1.20 2016/03/23 09:00:31 mrg Exp $ .include @@ -86,4 +86,9 @@ CPPFLAGS+=-I${IDIST}/include -I${IDIST}/ .PATH: ${DIST} YHEADER=1 +# XXXGCC5 +.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc" +COPTS.ntp_control.c+= -Wno-error=maybe-uninitialized +.endif + .include
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: christos Date: Mon Jan 20 01:52:54 UTC 2014 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: use the old style no-error for gcc-4.1 To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.15 src/external/bsd/ntp/bin/ntpd/Makefile:1.16 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.15 Thu Jan 2 16:38:38 2014 +++ src/external/bsd/ntp/bin/ntpd/Makefile Sun Jan 19 20:52:54 2014 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2014/01/02 21:38:38 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2014/01/20 01:52:54 christos Exp $ .include bsd.own.mk @@ -73,7 +73,7 @@ SRCS= cmd_args.c\ LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} -COPTS.ntp_control.c+= ${${ACTIVE_CC} == gcc:? -Wno-error=format-nonliteral :} +COPTS.ntp_control.c+= ${${ACTIVE_CC} == gcc:? -Wno-format-nonliteral :} .include ${.CURDIR}/../Makefile.inc
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: christos Date: Mon Dec 30 17:48:13 UTC 2013 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: find ntp_scanner.h To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.13 src/external/bsd/ntp/bin/ntpd/Makefile:1.14 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.13 Fri Dec 27 22:19:43 2013 +++ src/external/bsd/ntp/bin/ntpd/Makefile Mon Dec 30 12:48:13 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2013/12/28 03:19:43 christos Exp $ +# $NetBSD: Makefile,v 1.14 2013/12/30 17:48:13 christos Exp $ .include bsd.own.mk @@ -79,7 +79,7 @@ CWARNFLAGS.clang+= -Wno-strncat-size DIST=${IDIST}/ntpd -CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts +CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts -I${IDIST}/ntpd .PATH: ${DIST}
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: joerg Date: Thu Aug 9 14:40:52 UTC 2012 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: Disable warning about broken strncat usage from clang for now. The code is technically not going to overflow, but completely messed up. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.11 src/external/bsd/ntp/bin/ntpd/Makefile:1.12 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.11 Wed Feb 1 07:46:21 2012 +++ src/external/bsd/ntp/bin/ntpd/Makefile Thu Aug 9 14:40:52 2012 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2012/02/01 07:46:21 kardel Exp $ +# $NetBSD: Makefile,v 1.12 2012/08/09 14:40:52 joerg Exp $ #NOGCCERROR=yes @@ -77,6 +77,8 @@ SRCS= cmd_args.c\ LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} +CWARNFLAGS.clang+= -Wno-strncat-size + .include ${.CURDIR}/../Makefile.inc DIST=${IDIST}/ntpd
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: kardel Date: Sun Aug 29 11:15:33 UTC 2010 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: only refer to libdns_sd when mDNS is compiled in To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.4 src/external/bsd/ntp/bin/ntpd/Makefile:1.5 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.4 Sun Aug 29 10:13:07 2010 +++ src/external/bsd/ntp/bin/ntpd/Makefile Sun Aug 29 11:15:32 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2010/08/29 10:13:07 kardel Exp $ +# $NetBSD: Makefile,v 1.5 2010/08/29 11:15:32 kardel Exp $ NOGCCERROR=yes @@ -74,7 +74,7 @@ refclock_wwvb.c\ refclock_zyfer.c -LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil -ldns_sd +LDADD+= -L${LIBPARSE} -lparse -L${LIBISC} -liscntp -lm -lutil DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} .include ${.CURDIR}/../Makefile.inc @@ -85,6 +85,7 @@ .if (${MKMDNS} != no) CPPFLAGS+=-DUSE_MDNS +LDADD+=-ldns_sd .endif .PATH: ${DIST}
CVS commit: src/external/bsd/ntp/bin/ntpd
Module Name:src Committed By: kardel Date: Sat Aug 28 20:51:08 UTC 2010 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: disable .y.c rule - ntp_parser.y needs bison which is not part of the tool chain To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.2 src/external/bsd/ntp/bin/ntpd/Makefile:1.3 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.2 Sat Aug 28 15:42:46 2010 +++ src/external/bsd/ntp/bin/ntpd/Makefile Sat Aug 28 20:51:08 2010 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2010/08/28 15:42:46 kardel Exp $ +# $NetBSD: Makefile,v 1.3 2010/08/28 20:51:08 kardel Exp $ NOGCCERROR=yes @@ -89,3 +89,7 @@ @cp $? $@ .include bsd.prog.mk + +# kill default .y.c rule - to rebuild ntp_parser.c we need bison which is not part of the toolchain +.y.c: +