From owner-svn-src-all@freebsd.org Thu Apr 6 06:11:05 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C171AD317B2; Thu, 6 Apr 2017 06:11:05 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 930C290F; Thu, 6 Apr 2017 06:11:05 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v366B450095044; Thu, 6 Apr 2017 06:11:04 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v366B41m095043; Thu, 6 Apr 2017 06:11:04 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201704060611.v366B41m095043@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Thu, 6 Apr 2017 06:11:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r316559 - in stable: 10/usr.sbin/ntp 11/usr.sbin/ntp X-SVN-Group: stable-11 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2017 06:11:05 -0000 Author: cy Date: Thu Apr 6 06:11:04 2017 New Revision: 316559 URL: https://svnweb.freebsd.org/changeset/base/316559 Log: MFC r314946: Configure leap-second smearing (always). Leap-second smearing is an experimental option that may be specified in ntp.conf(5) and the -x option on the command line 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. Leap-second smearing was committed to ports net/ntp and net/ntp-devel by r426825 on 2016-11-22. Suggested by: des Modified: stable/11/usr.sbin/ntp/config.h Directory Properties: stable/11/ (props changed) Changes in other areas also in this revision: Modified: stable/10/usr.sbin/ntp/config.h Directory Properties: stable/10/ (props changed) Modified: stable/11/usr.sbin/ntp/config.h ============================================================================== --- stable/11/usr.sbin/ntp/config.h Thu Apr 6 05:36:35 2017 (r316558) +++ stable/11/usr.sbin/ntp/config.h Thu Apr 6 06:11:04 2017 (r316559) @@ -1336,7 +1336,7 @@ #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1 /* leap smear mechanism */ -/* #undef LEAP_SMEAR */ +#define LEAP_SMEAR 1 /* Define to any value to include libseccomp sandboxing. */ /* #undef LIBSECCOMP */