aboutsummaryrefslogtreecommitdiff
path: root/net/openntpd
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2005-01-09 22:35:59 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2005-01-09 22:35:59 +0000
commit1d8b43d885d49a457e3868b0a5d5d67da90bfd6e (patch)
treee08471fcf8de659e711300af2b9c7214e062fd4a /net/openntpd
parente0f905c9d8cf9582b937bd28c90d958fee325c91 (diff)
downloadports-1d8b43d885d49a457e3868b0a5d5d67da90bfd6e.tar.gz
ports-1d8b43d885d49a457e3868b0a5d5d67da90bfd6e.zip
Add a paragraph to ntpd.8 about enabling ntpd in /etc/rc.conf.
Adapted from the equivalent text in the OpenBSD man page which has been removed from the portable version. Requested by: Don Sullivan <sullivan@gaia.arc.nasa.gov>
Notes
Notes: svn path=/head/; revision=126005
Diffstat (limited to 'net/openntpd')
-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 ,