aboutsummaryrefslogtreecommitdiff
path: root/net/ntp
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-08-31 03:11:41 +0000
committerCy Schubert <cy@FreeBSD.org>2018-08-31 03:11:41 +0000
commit3a1e900c8c91b82c72c0669088731416395b3085 (patch)
tree7290bba87c5f11a1cc05bf971152e4c2f30c0b44 /net/ntp
parentc82a1099a648c39cb1dba6d15897d82a35bb1cc7 (diff)
downloadports-3a1e900c8c91b82c72c0669088731416395b3085.tar.gz
ports-3a1e900c8c91b82c72c0669088731416395b3085.zip
Add a package message instructing the user how to use ports ntp
instead of base ntp. Reported by: adamw MFH: 2018Q3
Notes
Notes: svn path=/head/; revision=478512
Diffstat (limited to 'net/ntp')
-rw-r--r--net/ntp/Makefile3
-rw-r--r--net/ntp/files/pkg-message.in7
2 files changed, 10 insertions, 0 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index ace12f936339..468f312ce248 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.8p12
+PORTREVISION= 1
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/ \
@@ -30,6 +31,8 @@ SHEBANG_FILES= scripts/ntptrace/ntptrace.in \
scripts/update-leap/update-leap.in
perl_OLD_CMD= @PATH_PERL@
+SUB_FILES= pkg-message
+
.include "Makefile.inc"
OPTIONS_DEFINE+= DEBUG NLS THREADS
diff --git a/net/ntp/files/pkg-message.in b/net/ntp/files/pkg-message.in
new file mode 100644
index 000000000000..6d72a6bd979a
--- /dev/null
+++ b/net/ntp/files/pkg-message.in
@@ -0,0 +1,7 @@
+Please add
+
+ ntpd_program="%%PREFIX%%/sbin/ntpd"
+ ntpddate_program="%%PREFIX%%/sbin/ntpdate"
+
+to your /etc/rc.conf to enable ntp from ports/packages instead
+of base ntp.