svn commit: r479083 - in head/net/ntp: . files

Cy Schubert cy at FreeBSD.org
Thu Sep 6 03:40:37 UTC 2018


Author: cy
Date: Thu Sep  6 03:40:36 2018
New Revision: 479083
URL: https://svnweb.freebsd.org/changeset/ports/479083

Log:
  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

Modified:
  head/net/ntp/Makefile   (contents, props changed)
  head/net/ntp/files/pkg-message.in   (contents, props changed)

Modified: head/net/ntp/Makefile
==============================================================================
--- head/net/ntp/Makefile	Thu Sep  6 03:40:19 2018	(r479082)
+++ head/net/ntp/Makefile	Thu Sep  6 03:40:36 2018	(r479083)
@@ -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/ \

Modified: head/net/ntp/files/pkg-message.in
==============================================================================
--- head/net/ntp/files/pkg-message.in	Thu Sep  6 03:40:19 2018	(r479082)
+++ head/net/ntp/files/pkg-message.in	Thu Sep  6 03:40:36 2018	(r479083)
@@ -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.


More information about the svn-ports-head mailing list