aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.in11
4 files changed, 24 insertions, 1 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index bb89e0966de5..72ab2d11ad25 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ntp
PORTVERSION= 4.3.93
-PORTREVISION= 8
+PORTREVISION= 10
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..9798b4e781b5
--- /dev/null
+++ b/net/ntp-devel/files/pkg-message.in
@@ -0,0 +1,7 @@
+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.
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index 7bc22ba211f2..3f0d184f1d68 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.8p12
+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/ \
@@ -29,6 +30,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..5c1aa1544488
--- /dev/null
+++ b/net/ntp/files/pkg-message.in
@@ -0,0 +1,11 @@
+Please add
+
+ ntpd_program="%%PREFIX%%/sbin/ntpd"
+ ntpdate_program="%%PREFIX%%/sbin/ntpdate"
+
+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.