aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/openntpd/Makefile1
-rw-r--r--net/openntpd/files/patch-ntpd.827
2 files changed, 25 insertions, 3 deletions
diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile
index a49a13c6faf2..b737e74d74fa 100644
--- a/net/openntpd/Makefile
+++ b/net/openntpd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openntpd
PORTVERSION= 3.6.1p1
+PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= net
MASTER_SITES= ftp://ftp.openbsd.org/pub/OpenBSD/OpenNTPD/ \
diff --git a/net/openntpd/files/patch-ntpd.8 b/net/openntpd/files/patch-ntpd.8
index a03a2ac8066c..27f3f8bf5a69 100644
--- a/net/openntpd/files/patch-ntpd.8
+++ b/net/openntpd/files/patch-ntpd.8
@@ -3,7 +3,28 @@ $FreeBSD$
--- ntpd.8.orig
+++ ntpd.8
-@@ -71,7 +71,7 @@
+@@ -52,6 +52,20 @@
+ .Xr adjtime 2
+ will be logged.
+ .Pp
++.Nm
++is usually started at boot time, and can be enabled by
++setting the following in
++.Pa /etc/rc.conf :
++.Pp
++.Dl openntpd_enable=\&"YES\&"
++.Pp
++See
++.Xr rc 8
++and
++.Xr rc.conf 5
++for more information on the boot process
++and enabling daemons.
++.Pp
+ When
+ .Nm
+ starts up, it reads settings from a configuration file,
+@@ -71,7 +85,7 @@
.Ar file
as the configuration file,
instead of the default
@@ -12,7 +33,7 @@ $FreeBSD$
.It Fl S
Do not set the time immediately at startup.
This is the default.
-@@ -83,22 +83,10 @@
+@@ -83,22 +97,10 @@
.Xr rdate 8
before starting
.Nm .
@@ -37,7 +58,7 @@ $FreeBSD$
default
.Nm
configuration file
-@@ -107,8 +95,8 @@
+@@ -107,8 +109,8 @@
.Xr date 1 ,
.Xr adjtime 2 ,
.Xr ntpd.conf 5 ,