From owner-svn-src-all@freebsd.org Thu Jun 28 23:52:52 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EABB4102D0B9; Thu, 28 Jun 2018 23:52:51 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D462746BB; Thu, 28 Jun 2018 23:52:51 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id YgaLf8W6IOFAwYgaMf5PQW; Thu, 28 Jun 2018 17:44:24 -0600 X-Authority-Analysis: v=2.3 cv=Y4XWTCWN c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=7mUfYlMuFuIA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=783UlPZrYWJ2bDqMZHsA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 2B04D717; Thu, 28 Jun 2018 16:44:16 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w5SNi0OW085398; Thu, 28 Jun 2018 16:44:00 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w5SNi0ok085390; Thu, 28 Jun 2018 16:44:00 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201806282344.w5SNi0ok085390@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Ian Lepore cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r335787 - head/etc/rc.d In-Reply-To: Message from Ian Lepore of "Thu, 28 Jun 2018 22:13:32 -0000." <201806282213.w5SMDWta093160@repo.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 28 Jun 2018 16:43:59 -0700 X-CMAE-Envelope: MS4wfDIgy1N9i41TCnW+TpeL6zXdmN9y/hp/6IvQabsrb+LMhY37vwzhlk/f+iOIS1Ic/z3WwFqq5QTMVOPKmJGBRf/5FfcuooymutgZ+EIK8Jo8EvLkJBkp nKHXfh3uoja+fLYb1yHr8TVNUoSyzvWNf5jTqEBl/6Xm83CpUkyranyPjbaINN9xWYiu1GLRoYq96+y2gae+FUMK6PEuzsIhbTGqPCYNTj325N04gDM0gApu BXwBtoFKJ1uteJ0sq+YEWxrTdhbNpLVXCyNOaYTSbCpdRMPqCfe3eQwgn6fG+mXE X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 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, 28 Jun 2018 23:52:52 -0000 In message <201806282213.w5SMDWta093160@repo.freebsd.org>, Ian Lepore writes: > Author: ian > Date: Thu Jun 28 22:13:32 2018 > New Revision: 335787 > URL: https://svnweb.freebsd.org/changeset/base/335787 > > Log: > When being verbose about various leapfile versions, also mention expiration > . > > The expiration date is actually more of a version number than the version > date, because expiration changes twice a year, whereas the version only > changes when actual leap second events occur (except in USNO leapfiles, > which inappropriately bump the version with every expiration date change). > > Modified: > head/etc/rc.d/ntpd > > Modified: head/etc/rc.d/ntpd > ============================================================================= > = > --- head/etc/rc.d/ntpd Thu Jun 28 22:05:29 2018 (r335786) > +++ head/etc/rc.d/ntpd Thu Jun 28 22:13:32 2018 (r335787) > @@ -106,8 +106,8 @@ ntpd_needfetch_leapfile() { > ntp_expiry_src=$(get_ntp_leapfile_expiry $ntp_src_leapfile) > ntp_ver_no_db=$(get_ntp_leapfile_ver $ntp_db_leapfile) > ntp_expiry_db=$(get_ntp_leapfile_expiry $ntp_db_leapfile) > - $verbose ntp_src_leapfile version is $ntp_ver_no_src > - $verbose ntp_db_leapfile version is $ntp_ver_no_db > + $verbose ntp_src_leapfile version is $ntp_ver_no_src expires $ntp_expir > y_src > + $verbose ntp_db_leapfile version is $ntp_ver_no_db expires $ntp_expiry_ > db > > if [ "$ntp_ver_no_src" -gt "$ntp_ver_no_db" -o \ > "$ntp_ver_no_src" -eq "$ntp_ver_no_db" -a \ > Thanks. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.