Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2018 03:40:37 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r479083 - in head/net/ntp: . files
Message-ID:  <201809060340.w863ebL7077181@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809060340.w863ebL7077181>