diff options
author | Cy Schubert <cy@FreeBSD.org> | 2018-09-06 03:40:36 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2018-09-06 03:40:36 +0000 |
commit | 75e8e9b2da9a0318c82a3f6883bc056a0b5adfca (patch) | |
tree | 9a0a24ff2dbca604130f9f5a7ce815d1bdc157b5 /net/ntp | |
parent | 8d18ee393e091e4c5c8396e0e7c5eeccfeaf025f (diff) | |
download | ports-75e8e9b2da9a0318c82a3f6883bc056a0b5adfca.tar.gz ports-75e8e9b2da9a0318c82a3f6883bc056a0b5adfca.zip |
Also tell people how to enable ntpd and ntpdate from ports using
sysrc.
mat@ suggested this however as I'm not enamoured with sysrc, it has
been added as annother approach to add/edit rc.conf variables.
Reported by: mat@
MFH: 2018Q3
Notes
Notes:
svn path=/head/; revision=479083
Diffstat (limited to 'net/ntp')
-rw-r--r-- | net/ntp/Makefile | 2 | ||||
-rw-r--r-- | net/ntp/files/pkg-message.in | 8 |
2 files changed, 7 insertions, 3 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile index 96cc6b8a862d..e58c2dcf1bef 100644 --- a/net/ntp/Makefile +++ b/net/ntp/Makefile @@ -3,7 +3,7 @@ PORTNAME= ntp PORTVERSION= 4.2.8p12 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ \ diff --git a/net/ntp/files/pkg-message.in b/net/ntp/files/pkg-message.in index 9798b4e781b5..5c1aa1544488 100644 --- a/net/ntp/files/pkg-message.in +++ b/net/ntp/files/pkg-message.in @@ -3,5 +3,9 @@ Please add ntpd_program="%%PREFIX%%/sbin/ntpd" ntpdate_program="%%PREFIX%%/sbin/ntpdate" -to your /etc/rc.conf to enable ntp from ports/packages instead -of base ntp. +to your /etc/rc.conf or run + + sysrc ntpd_program="%%PREFIX%%/sbin/ntpd" + sysrc ntpdate_program="%%PREFIX%%/sbin/ntpdate" + +to enable ntp from ports/packages instead of base ntp. |