summaryrefslogtreecommitdiff
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
parentFix build with Qt 5.11 (diff)
Add a package message instructing the user how to use ports ntp
instead of base ntp. Reported by: adamw MFH: 2018Q3
-rw-r--r--net/ntp-devel/Makefile4
-rw-r--r--net/ntp-devel/files/pkg-message.in7
-rw-r--r--net/ntp/Makefile3
-rw-r--r--net/ntp/files/pkg-message.in7
4 files changed, 20 insertions, 1 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index bb89e0966de5..4722b7df0ba2 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ntp
PORTVERSION= 4.3.93
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= net ipv6
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ \
http://archive.ntp.org/ntp4/ntp-dev/
@@ -33,6 +33,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-devel/files/pkg-message.in b/net/ntp-devel/files/pkg-message.in
new file mode 100644
index 000000000000..6d72a6bd979a
--- /dev/null
+++ b/net/ntp-devel/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.
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.