aboutsummaryrefslogtreecommitdiff
path: root/net/ntp
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-11-22 13:45:29 +0000
committerCy Schubert <cy@FreeBSD.org>2016-11-22 13:45:29 +0000
commit28a9fdda4139230f9c2447637fb96656377f9bc4 (patch)
treef34f21c9281397d985d91dfd6790e4add60e54f9 /net/ntp
parent4f511a59f3a72377c710e62d195e3a0c7d580839 (diff)
downloadports-28a9fdda4139230f9c2447637fb96656377f9bc4.tar.gz
ports-28a9fdda4139230f9c2447637fb96656377f9bc4.zip
Configure leap-second smearing (always).
Leap-second smearing is an experimental option that may be specified in ntp.conf(5) to spread the effect of a leap-second over an interval as specified by the leapsmearinterval config file statement. Recommended values are between 7200 (2 hours) and 86400 (24 hours). It is advised that leap-second smearing not be used for public NTP servers (https://www.meinbergglobal.com/download/burnicki/Leap\ %20Second%20Smearing%20With%20NTP.pdf). It is also advised that NTP clients not use a mix of NTP servers using leap-second smearing with NTP servers not using leap-second smearing as that could cause undefined client behaviour. Suggested by: des
Notes
Notes: svn path=/head/; revision=426825
Diffstat (limited to 'net/ntp')
-rw-r--r--net/ntp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index a83a80e731d6..7b844098c0ab 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.8p9
+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/ \
@@ -21,6 +22,7 @@ USES= cpe pathfix shebangfix libedit libtool localbase:ldflags \
pkgconfig ssl
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-leap-smear
TEST_TARGET= check