CVS commit: src/external/bsd/ntp/bin

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:25:21 UTC 2020

Removed Files:
src/external/bsd/ntp/bin/ntp-keygen: ntp-keygen.8
src/external/bsd/ntp/bin/ntpd: ntp.conf.5 ntp.keys.5 ntpd.8
src/external/bsd/ntp/bin/ntpdc: ntpdc.8
src/external/bsd/ntp/bin/ntpq: ntpq.8
src/external/bsd/ntp/bin/sntp: sntp.1

Log Message:
PR/55710: Kimmo Suominen: Delete manual pages so that they get copy from the
imported, already generated ones.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntp-keygen/ntp-keygen.8
cvs rdiff -u -r1.1 -r0 src/external/bsd/ntp/bin/ntpd/ntp.conf.5
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpd/ntp.keys.5 \
src/external/bsd/ntp/bin/ntpd/ntpd.8
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpdc/ntpdc.8
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpq/ntpq.8
cvs rdiff -u -r1.1 -r0 src/external/bsd/ntp/bin/sntp/sntp.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:25:21 UTC 2020

Removed Files:
src/external/bsd/ntp/bin/ntp-keygen: ntp-keygen.8
src/external/bsd/ntp/bin/ntpd: ntp.conf.5 ntp.keys.5 ntpd.8
src/external/bsd/ntp/bin/ntpdc: ntpdc.8
src/external/bsd/ntp/bin/ntpq: ntpq.8
src/external/bsd/ntp/bin/sntp: sntp.1

Log Message:
PR/55710: Kimmo Suominen: Delete manual pages so that they get copy from the
imported, already generated ones.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntp-keygen/ntp-keygen.8
cvs rdiff -u -r1.1 -r0 src/external/bsd/ntp/bin/ntpd/ntp.conf.5
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpd/ntp.keys.5 \
src/external/bsd/ntp/bin/ntpd/ntpd.8
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpdc/ntpdc.8
cvs rdiff -u -r1.2 -r0 src/external/bsd/ntp/bin/ntpq/ntpq.8
cvs rdiff -u -r1.1 -r0 src/external/bsd/ntp/bin/sntp/sntp.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:23:48 UTC 2020

Modified Files:
src/external/bsd/ntp/bin: Makefile.inc

Log Message:
Use .PARSEDIR


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/Makefile.inc

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/Makefile.inc
diff -u src/external/bsd/ntp/bin/Makefile.inc:1.3 src/external/bsd/ntp/bin/Makefile.inc:1.4
--- src/external/bsd/ntp/bin/Makefile.inc:1.3	Sat Dec  4 18:08:33 2010
+++ src/external/bsd/ntp/bin/Makefile.inc	Sat Oct 10 10:23:48 2020
@@ -1,3 +1,3 @@
-#	$NetBSD: Makefile.inc,v 1.3 2010/12/04 23:08:33 christos Exp $
+#	$NetBSD: Makefile.inc,v 1.4 2020/10/10 14:23:48 christos Exp $
 
-.include "../Makefile.inc"
+.include "${.PARSEDIR}/../Makefile.inc"



CVS commit: src/external/bsd/ntp/bin

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:23:48 UTC 2020

Modified Files:
src/external/bsd/ntp/bin: Makefile.inc

Log Message:
Use .PARSEDIR


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/sntp

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:23:05 UTC 2020

Modified Files:
src/external/bsd/ntp/bin/sntp: Makefile

Log Message:
include bsd.own.mk so that ../../Makefile.inc does not do it...


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/bin/sntp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/sntp

2020-10-10 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Oct 10 14:23:05 UTC 2020

Modified Files:
src/external/bsd/ntp/bin/sntp: Makefile

Log Message:
include bsd.own.mk so that ../../Makefile.inc does not do it...


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/bin/sntp/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/sntp/Makefile
diff -u src/external/bsd/ntp/bin/sntp/Makefile:1.7 src/external/bsd/ntp/bin/sntp/Makefile:1.8
--- src/external/bsd/ntp/bin/sntp/Makefile:1.7	Sun Oct 13 03:28:07 2019
+++ src/external/bsd/ntp/bin/sntp/Makefile	Sat Oct 10 10:23:05 2020
@@ -1,7 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2019/10/13 07:28:07 mrg Exp $
+# $NetBSD: Makefile,v 1.8 2020/10/10 14:23:05 christos Exp $
 
 USE_FORT?= yes	# network client/server
 
+.include 
+
 PROG=	sntp
 MAN=	sntp.1
 SRCS= \



Re: CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Kamil Rytarowski
On 29.05.2020 16:15, Tobias Nygren wrote:
> On Fri, 29 May 2020 16:08:30 +0200
> Joerg Sonnenberger  wrote:
> 
>> On Fri, May 29, 2020 at 10:53:02AM +, Kamil Rytarowski wrote:
>>> 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
>>
>> Please fix this properly by adding the appropiate format string
>> annotation.
> 
> I have these in my local tree. Can't reach cvs.
> Feel free to commit them if appropriate.
> 

I will do it once the CVS server will be back.

> Index: external/bsd/ntp/dist/libntp/timexsup.c
> ===
> RCS file: /cvsroot/src/external/bsd/ntp/dist/libntp/timexsup.c,v
> retrieving revision 1.2
> diff -p -u -r1.2 timexsup.c
> --- external/bsd/ntp/dist/libntp/timexsup.c   25 May 2020 20:47:24 -  
> 1.2
> +++ external/bsd/ntp/dist/libntp/timexsup.c   29 May 2020 14:13:35 -
> @@ -30,8 +30,8 @@ clamp_rounded(
>   dval = floor(dval + 0.5);
>  
>   /* clamp / saturate */
> - if (dval >= LONG_MAX)
> - return LONG_MAX;
> + if (dval >= (double)LONG_MAX)
> + return (double)LONG_MAX;
>   if (dval <= LONG_MIN)
>   return LONG_MIN;
>   return (long)dval;
> Index: external/bsd/ntp/dist/ntpd/ntp_refclock.c
> ===
> RCS file: /cvsroot/src/external/bsd/ntp/dist/ntpd/ntp_refclock.c,v
> retrieving revision 1.13
> diff -p -u -r1.13 ntp_refclock.c
> --- external/bsd/ntp/dist/ntpd/ntp_refclock.c 25 May 2020 20:47:25 -  
> 1.13
> +++ external/bsd/ntp/dist/ntpd/ntp_refclock.c 29 May 2020 14:13:37 -
> @@ -1737,7 +1737,7 @@ refclock_save_lcode(
>  }
>  
>  /* format data into a_lastcode */
> -void
> +void __printflike(2, 0)
>  refclock_vformat_lcode(
>   struct refclockproc *   pp,
>   char const *fmt,
> @@ -1757,7 +1757,7 @@ refclock_vformat_lcode(
>   /* !note! the NUL byte is needed in case vsnprintf() really fails */
>  }
>  
> -void
> +void __printflike(2, 0)
>  refclock_format_lcode(
>   struct refclockproc *   pp,
>   char const *fmt,
> 




signature.asc
Description: OpenPGP digital signature


Re: CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Tobias Nygren
On Fri, 29 May 2020 16:08:30 +0200
Joerg Sonnenberger  wrote:

> On Fri, May 29, 2020 at 10:53:02AM +, Kamil Rytarowski wrote:
> > 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
> 
> Please fix this properly by adding the appropiate format string
> annotation.

I have these in my local tree. Can't reach cvs.
Feel free to commit them if appropriate.

Index: external/bsd/ntp/dist/libntp/timexsup.c
===
RCS file: /cvsroot/src/external/bsd/ntp/dist/libntp/timexsup.c,v
retrieving revision 1.2
diff -p -u -r1.2 timexsup.c
--- external/bsd/ntp/dist/libntp/timexsup.c 25 May 2020 20:47:24 -  
1.2
+++ external/bsd/ntp/dist/libntp/timexsup.c 29 May 2020 14:13:35 -
@@ -30,8 +30,8 @@ clamp_rounded(
dval = floor(dval + 0.5);
 
/* clamp / saturate */
-   if (dval >= LONG_MAX)
-   return LONG_MAX;
+   if (dval >= (double)LONG_MAX)
+   return (double)LONG_MAX;
if (dval <= LONG_MIN)
return LONG_MIN;
return (long)dval;
Index: external/bsd/ntp/dist/ntpd/ntp_refclock.c
===
RCS file: /cvsroot/src/external/bsd/ntp/dist/ntpd/ntp_refclock.c,v
retrieving revision 1.13
diff -p -u -r1.13 ntp_refclock.c
--- external/bsd/ntp/dist/ntpd/ntp_refclock.c   25 May 2020 20:47:25 -  
1.13
+++ external/bsd/ntp/dist/ntpd/ntp_refclock.c   29 May 2020 14:13:37 -
@@ -1737,7 +1737,7 @@ refclock_save_lcode(
 }
 
 /* format data into a_lastcode */
-void
+void __printflike(2, 0)
 refclock_vformat_lcode(
struct refclockproc *   pp,
char const *fmt,
@@ -1757,7 +1757,7 @@ refclock_vformat_lcode(
/* !note! the NUL byte is needed in case vsnprintf() really fails */
 }
 
-void
+void __printflike(2, 0)
 refclock_format_lcode(
struct refclockproc *   pp,
char const *fmt,


Re: CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Joerg Sonnenberger
On Fri, May 29, 2020 at 10:53:02AM +, Kamil Rytarowski wrote:
> 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

Please fix this properly by adding the appropiate format string
annotation.

Joerg


CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Kamil Rytarowski
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

2020-05-29 Thread Kamil Rytarowski
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2020-02-08 Thread Santhosh Raju
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

2020-02-08 Thread Santhosh Raju
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2017-03-27 Thread Abhinav Upadhyay
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2017-03-27 Thread Abhinav Upadhyay
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

2016-06-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 29 23:03:24 UTC 2016

Modified Files:
src/external/bsd/ntp/bin: Makefile

Log Message:
always build ntp_keygen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/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/Makefile
diff -u src/external/bsd/ntp/bin/Makefile:1.2 src/external/bsd/ntp/bin/Makefile:1.3
--- src/external/bsd/ntp/bin/Makefile:1.2	Sat Aug 28 11:42:46 2010
+++ src/external/bsd/ntp/bin/Makefile	Wed Jun 29 19:03:24 2016
@@ -1,9 +1,8 @@
-#	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:46 kardel Exp $
+#	$NetBSD: Makefile,v 1.3 2016/06/29 23:03:24 christos Exp $
 
 SUBDIR= ntp-keygen ntpd ntpdate ntpdc ntpq ntptime ntptrace sntp 
 
 .if ("${MKCRYPTO}" != "no")
-SUBDIR+= ntp-keygen
 CPPFLAGS+=-DOPENSSL
 .endif
 



CVS commit: src/external/bsd/ntp/bin

2016-06-29 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Jun 29 23:03:24 UTC 2016

Modified Files:
src/external/bsd/ntp/bin: Makefile

Log Message:
always build ntp_keygen


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpd

2016-03-23 Thread matthew green
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

2016-03-23 Thread matthew green
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2014-01-19 Thread Christos Zoulas
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

2014-01-19 Thread Christos Zoulas
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2013-12-30 Thread Christos Zoulas
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

2013-12-30 Thread Christos Zoulas
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.



CVS commit: src/external/bsd/ntp/bin/ntptrace

2012-11-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Nov 14 08:26:29 UTC 2012

Modified Files:
src/external/bsd/ntp/bin/ntptrace: ntptrace.8

Log Message:
Use mdoc macro for literal block display.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/ntp/bin/ntptrace/ntptrace.8

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/ntptrace/ntptrace.8
diff -u src/external/bsd/ntp/bin/ntptrace/ntptrace.8:1.1 src/external/bsd/ntp/bin/ntptrace/ntptrace.8:1.2
--- src/external/bsd/ntp/bin/ntptrace/ntptrace.8:1.1	Sat Aug 28 15:42:45 2010
+++ src/external/bsd/ntp/bin/ntptrace/ntptrace.8	Wed Nov 14 08:26:29 2012
@@ -1,4 +1,4 @@
-.\	$NetBSD: ntptrace.8,v 1.1 2010/08/28 15:42:45 kardel Exp $
+.\	$NetBSD: ntptrace.8,v 1.2 2012/11/14 08:26:29 njoly Exp $
 .\ Converted from HTML to mandoc by ntp-html2mdoc.pl
 .\
 .Dd March 29, 2000
@@ -21,13 +21,12 @@ their master time source. If given no ar
 .Pa localhost .
 Here is an example of the output from
 .Nm :
-.Pp
-.nf
+.Bd -literal
 % ntptrace
 localhost: stratum 4, offset 0.0019529, synch distance 0.144135
 server2ozo.com: stratum 2, offset 0.0124263, synch distance 0.115784
 usndh.edu: stratum 1, offset 0.0019298, synch distance 0.011993, refid 'WWVB'
-.fi
+.Ed
 .Pp
 On each line, the fields are (left to right): the host name, the host stratum,
 the time offset between that host and the local host (as measured by



CVS commit: src/external/bsd/ntp/bin/ntptrace

2012-11-14 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Wed Nov 14 08:26:29 UTC 2012

Modified Files:
src/external/bsd/ntp/bin/ntptrace: ntptrace.8

Log Message:
Use mdoc macro for literal block display.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/ntp/bin/ntptrace/ntptrace.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpd

2012-08-09 Thread Joerg Sonnenberger
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

2012-08-09 Thread Joerg Sonnenberger
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.



CVS commit: src/external/bsd/ntp/bin/sntp

2012-02-01 Thread Frank Kardel
Module Name:src
Committed By:   kardel
Date:   Wed Feb  1 21:22:19 UTC 2012

Modified Files:
src/external/bsd/ntp/bin/sntp: Makefile

Log Message:
use WARNS=0 until const issue is resolved


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/sntp/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/sntp/Makefile
diff -u src/external/bsd/ntp/bin/sntp/Makefile:1.3 src/external/bsd/ntp/bin/sntp/Makefile:1.4
--- src/external/bsd/ntp/bin/sntp/Makefile:1.3	Wed Feb  1 07:46:21 2012
+++ src/external/bsd/ntp/bin/sntp/Makefile	Wed Feb  1 21:22:19 2012
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2012/02/01 07:46:21 kardel Exp $
+# $NetBSD: Makefile,v 1.4 2012/02/01 21:22:19 kardel Exp $
 
 USE_FORT?= yes	# network client/server
 
@@ -9,6 +9,8 @@ BINDIR=	/usr/sbin
 
 .include ${.CURDIR}/../Makefile.inc
 
+WARNS=0
+
 DIST=${IDIST}/sntp
 
 CPPFLAGS+=-I${IDIST}/sntp -I${IDIST}/sntp/libopts



CVS commit: src/external/bsd/ntp/bin/sntp

2012-02-01 Thread Frank Kardel
Module Name:src
Committed By:   kardel
Date:   Wed Feb  1 21:22:19 UTC 2012

Modified Files:
src/external/bsd/ntp/bin/sntp: Makefile

Log Message:
use WARNS=0 until const issue is resolved


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/sntp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpq

2011-02-27 Thread Greg Troxel
Module Name:src
Committed By:   gdt
Date:   Sun Feb 27 12:42:44 UTC 2011

Modified Files:
src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
Don't copy ntpq.1 to ntpq.8 before overwriting it.

foo  bar fails when bar is mode 444, and files copied from the
source tree should be expected to perhaps be read only.  However, the
copy should have been removed when the sed was added.  And, it never
should have been @; suppressing it made debugging this harder than
it should have been.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/ntp/bin/ntpq/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/ntpq/Makefile
diff -u src/external/bsd/ntp/bin/ntpq/Makefile:1.4 src/external/bsd/ntp/bin/ntpq/Makefile:1.5
--- src/external/bsd/ntp/bin/ntpq/Makefile:1.4	Sat Feb 26 19:17:38 2011
+++ src/external/bsd/ntp/bin/ntpq/Makefile	Sun Feb 27 12:42:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2011/02/26 19:17:38 plunky Exp $
+#	$NetBSD: Makefile,v 1.5 2011/02/27 12:42:44 gdt Exp $
 
 # NOGCCERROR=yes
 
@@ -24,7 +24,6 @@
 .PATH: ${DIST}
 
 ntpq.8:	ntpq.1
-	@cp $? $@
 	${_MKTARGET_BUILD}
 	${TOOL_SED} -e s,NTPQ 1,NTPQ 8, $?  $@
 



CVS commit: src/external/bsd/ntp/bin

2011-02-26 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat Feb 26 19:17:38 UTC 2011

Modified Files:
src/external/bsd/ntp/bin/ntp-keygen: Makefile
src/external/bsd/ntp/bin/ntpd: Makefile
src/external/bsd/ntp/bin/ntpdc: Makefile
src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
clean up man files copied during build

also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntp-keygen/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/bin/ntpd/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpdc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpq/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/ntp-keygen/Makefile
diff -u src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.2 src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.3
--- src/external/bsd/ntp/bin/ntp-keygen/Makefile:1.2	Sat Aug 28 15:42:46 2010
+++ src/external/bsd/ntp/bin/ntp-keygen/Makefile	Sat Feb 26 19:17:37 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:46 kardel Exp $
+#	$NetBSD: Makefile,v 1.3 2011/02/26 19:17:37 plunky Exp $
 
 NOGCCERROR=yes
 
@@ -24,6 +24,9 @@
 .PATH: ${DIST}
 
 ntp-keygen.8:	ntp-keygen.1
-	@cp $? $@
+	${_MKTARGET_BUILD}
+	${TOOL_SED} -e s,NTP-KEYGEN 1,NTP-KEYGEN 8, $?  $@
+
+CLEANFILES+=ntp-keygen.8
 
 .include bsd.prog.mk

Index: src/external/bsd/ntp/bin/ntpd/Makefile
diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.7 src/external/bsd/ntp/bin/ntpd/Makefile:1.8
--- src/external/bsd/ntp/bin/ntpd/Makefile:1.7	Sat Dec  4 23:08:33 2010
+++ src/external/bsd/ntp/bin/ntpd/Makefile	Sat Feb 26 19:17:37 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.7 2010/12/04 23:08:33 christos Exp $
+#	$NetBSD: Makefile,v 1.8 2011/02/26 19:17:37 plunky Exp $
 
 #NOGCCERROR=yes
 
@@ -86,7 +86,10 @@
 .PATH: ${DIST}
 
 ntpd.8: ntpd.1
-	@cp $? $@
+	${_MKTARGET_BUILD}
+	${TOOL_SED} -e s,NTPD 1,NTPD 8, $?  $@
+
+CLEANFILES+=ntpd.8
 
 .include bsd.prog.mk
 

Index: src/external/bsd/ntp/bin/ntpdc/Makefile
diff -u src/external/bsd/ntp/bin/ntpdc/Makefile:1.3 src/external/bsd/ntp/bin/ntpdc/Makefile:1.4
--- src/external/bsd/ntp/bin/ntpdc/Makefile:1.3	Wed Sep  1 16:26:11 2010
+++ src/external/bsd/ntp/bin/ntpdc/Makefile	Sat Feb 26 19:17:38 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2010/09/01 16:26:11 he Exp $
+#	$NetBSD: Makefile,v 1.4 2011/02/26 19:17:38 plunky Exp $
 
 .include bsd.own.mk
 
@@ -23,6 +23,9 @@
 .PATH: ${DIST}
 
 ntpdc.8:	ntpdc.1
-	@cp $? $@
+	${_MKTARGET_BUILD}
+	${TOOL_SED} -e s,NTPDC 1,NTPDC 8, $?  $@
+
+CLEANFILES+=ntpdc.8
 
 .include bsd.prog.mk

Index: src/external/bsd/ntp/bin/ntpq/Makefile
diff -u src/external/bsd/ntp/bin/ntpq/Makefile:1.3 src/external/bsd/ntp/bin/ntpq/Makefile:1.4
--- src/external/bsd/ntp/bin/ntpq/Makefile:1.3	Wed Sep  1 16:43:39 2010
+++ src/external/bsd/ntp/bin/ntpq/Makefile	Sat Feb 26 19:17:38 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.3 2010/09/01 16:43:39 he Exp $
+#	$NetBSD: Makefile,v 1.4 2011/02/26 19:17:38 plunky Exp $
 
 # NOGCCERROR=yes
 
@@ -25,5 +25,9 @@
 
 ntpq.8:	ntpq.1
 	@cp $? $@
+	${_MKTARGET_BUILD}
+	${TOOL_SED} -e s,NTPQ 1,NTPQ 8, $?  $@
+
+CLEANFILES+=ntpq.8
 
 .include bsd.prog.mk



CVS commit: src/external/bsd/ntp/bin

2011-02-26 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Sat Feb 26 19:17:38 UTC 2011

Modified Files:
src/external/bsd/ntp/bin/ntp-keygen: Makefile
src/external/bsd/ntp/bin/ntpd: Makefile
src/external/bsd/ntp/bin/ntpdc: Makefile
src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
clean up man files copied during build

also.. while we are putting the pages into different sections,
lets change the manpage contents to reflect that


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntp-keygen/Makefile
cvs rdiff -u -r1.7 -r1.8 src/external/bsd/ntp/bin/ntpd/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpdc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/bin/ntpq/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpdc

2010-09-01 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Sep  1 16:26:11 UTC 2010

Modified Files:
src/external/bsd/ntp/bin/ntpdc: Makefile

Log Message:
Add -lterminfo after -ledit, so that this links when doing static
linking as well (found when building for the sun2 target).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpdc/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/ntpdc/Makefile
diff -u src/external/bsd/ntp/bin/ntpdc/Makefile:1.2 src/external/bsd/ntp/bin/ntpdc/Makefile:1.3
--- src/external/bsd/ntp/bin/ntpdc/Makefile:1.2	Sat Aug 28 15:42:45 2010
+++ src/external/bsd/ntp/bin/ntpdc/Makefile	Wed Sep  1 16:26:11 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:45 kardel Exp $
+#	$NetBSD: Makefile,v 1.3 2010/09/01 16:26:11 he Exp $
 
 .include bsd.own.mk
 
@@ -11,8 +11,8 @@
 	ntpdc-opts.c
 
 
-LDADD+=		-L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm -ledit
-DPADD+=		${LIBISC}/libiscntp.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} ${LIBEDIT}
+LDADD+=		-L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm -ledit -lterminfo
+DPADD+=		${LIBISC}/libiscntp.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL} ${LIBEDIT} ${LIBTERMINFO}
 
 .include ${.CURDIR}/../Makefile.inc
 



CVS commit: src/external/bsd/ntp/bin/ntpq

2010-09-01 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Sep  1 16:43:39 UTC 2010

Modified Files:
src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
Another addition of -lterminfo after -ledit, so this links statically as well.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpq/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/ntpq/Makefile
diff -u src/external/bsd/ntp/bin/ntpq/Makefile:1.2 src/external/bsd/ntp/bin/ntpq/Makefile:1.3
--- src/external/bsd/ntp/bin/ntpq/Makefile:1.2	Sat Aug 28 15:42:45 2010
+++ src/external/bsd/ntp/bin/ntpq/Makefile	Wed Sep  1 16:43:39 2010
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:45 kardel Exp $
+#	$NetBSD: Makefile,v 1.3 2010/09/01 16:43:39 he Exp $
 
 # NOGCCERROR=yes
 
@@ -12,8 +12,8 @@
 	ntpq-subs.c\
 	ntpq-opts.c
 
-LDADD+=		-L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lm 
-#DPADD+=		${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a  ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
+LDADD+=		-L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -lterminfo -lm 
+#DPADD+=		${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a  ${LIBNTP}/libntp.a ${LIBEDIT} ${LIBTERMINFO} ${LIBM}
 
 .include ${.CURDIR}/../Makefile.inc
 



CVS commit: src/external/bsd/ntp/bin/ntpdc

2010-09-01 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Sep  1 16:26:11 UTC 2010

Modified Files:
src/external/bsd/ntp/bin/ntpdc: Makefile

Log Message:
Add -lterminfo after -ledit, so that this links when doing static
linking as well (found when building for the sun2 target).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpdc/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpq

2010-09-01 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Wed Sep  1 16:43:39 UTC 2010

Modified Files:
src/external/bsd/ntp/bin/ntpq: Makefile

Log Message:
Another addition of -lterminfo after -ledit, so this links statically as well.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/bin/ntpq/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/bsd/ntp/bin/ntpd

2010-08-29 Thread Frank Kardel
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

2010-08-29 Thread Frank Kardel
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.



CVS commit: src/external/bsd/ntp/bin/ntpd

2010-08-28 Thread Frank Kardel
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:
+