From 46cf51632b184579d0792827601fd11bb1fe361d Mon Sep 17 00:00:00 2001
From: Christian Weisgerber <naddy@FreeBSD.org>
Date: Fri, 10 Dec 2004 17:05:46 +0000
Subject: Update to 3.6.1p1.  Many enhancements, among these: * -s option to
 set the time immediately at startup if the local   clock is off by more than
 180 seconds. * Adjustments smaller than 128ms are no longer logged.

---
 net/openntpd/Makefile           |  2 +-
 net/openntpd/distinfo           |  4 ++--
 net/openntpd/files/patch-ntpd.8 | 53 +++++++++++++++++++++++++----------------
 3 files changed, 35 insertions(+), 24 deletions(-)

(limited to 'net/openntpd')

diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index 294de51df83a..eeaf97df1ac8 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	openntpd
-PORTVERSION=	3.6p1
+PORTVERSION=	3.6.1p1
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
diff --git a/net/openntpd/distinfo b/net/openntpd/distinfo
index ab8f16f4b8b7..413167a2880b 100644
--- a/net/openntpd/distinfo
+++ b/net/openntpd/distinfo
@@ -1,2 +1,2 @@
-MD5 (openntpd-3.6p1.tar.gz) = ba69427e83a9a8080410261af116cdbe
-SIZE (openntpd-3.6p1.tar.gz) = 114924
+MD5 (openntpd-3.6.1p1.tar.gz) = 4584f226523776a3cdd2fb6f8212ba8d
+SIZE (openntpd-3.6.1p1.tar.gz) = 123811
diff --git a/net/openntpd/files/patch-ntpd.8 b/net/openntpd/files/patch-ntpd.8
index 7edfa684137f..a03a2ac8066c 100644
--- a/net/openntpd/files/patch-ntpd.8
+++ b/net/openntpd/files/patch-ntpd.8
@@ -1,32 +1,33 @@
 
 $FreeBSD$
 
---- ntpd.8.orig	Thu Jul 15 12:16:28 2004
-+++ ntpd.8	Sun Jul 18 16:53:12 2004
-@@ -40,14 +40,14 @@
- .Nm
- is usually started at boot time, and can be enabled by
- setting the following in
--.Pa /etc/rc.conf.local :
-+.Pa /etc/rc.conf :
- .Pp
--.Dl ntpd_flags=\&"\&"
-+.Dl openntpd_enable=\&"YES\&"
- .Pp
- See
- .Xr rc 8
- and
--.Xr rc.conf 8
-+.Xr rc.conf 5
- for more information on the boot process
- and enabling daemons.
- .Pp
-@@ -70,11 +70,11 @@
+--- ntpd.8.orig
++++ ntpd.8
+@@ -71,7 +71,7 @@
  .Ar file
  as the configuration file,
  instead of the default
 -.Pa /etc/ntpd.conf .
 +.Pa %%PREFIX%%/etc/ntpd.conf .
+ .It Fl S
+ Do not set the time immediately at startup.
+ This is the default.
+@@ -83,22 +83,10 @@
+ .Xr rdate 8
+ before starting
+ .Nm .
+-Currently, the
+-.Fl s
+-option is added unconditionally in
+-.Xr rc 8 .
+-Make sure to specify the
+-.Fl S
+-option
+-(add/edit
+-.Va ntpd_flags
+-in
+-.Xr rc.conf.local 8 )
+-if this behaviour is not desired.
  .El
  .Sh FILES
 -.Bl -tag -width "/etc/ntpd.confXXX" -compact
@@ -36,3 +37,13 @@ $FreeBSD$
  default
  .Nm
  configuration file
+@@ -107,8 +95,8 @@
+ .Xr date 1 ,
+ .Xr adjtime 2 ,
+ .Xr ntpd.conf 5 ,
++.Xr rc.conf 5 ,
+ .Xr rc 8 ,
+-.Xr rc.conf 8 ,
+ .Xr rdate 8 ,
+ .Xr timed 8
+ .Rs
-- 
cgit v1.2.3