Ignore:
Timestamp:
10/20/2023 08:22:45 PM (7 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
819ef3e
Parents:
babb39d4
Message:

Removed most references to the update-leap script in ntp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/ntp.xml

    rbabb39d4 ra99fd228  
    114114
    115115<!-- At least one of the issues has been reported upstream. The next para
    116      is valid for 4.8.2p10 -->
     116     is valid for 4.8.2p10.
     117
     118     Leap secongs have been deprecated as of November 2022.
     119     https://en.wikipedia.org/wiki/Leap_second
     120
    117121    <para>
    118122      The <command>update-leap</command> command needs to be fixed in order
     
    122126<screen><userinput>sed -e 's/"(\\S+)"/"?([^\\s"]+)"?/' \
    123127    -i scripts/update-leap/update-leap.in</userinput></screen>
    124 
    125     <para>
    126       Now fix an issue introduced with glibc-2.34:
    127     </para>
    128 
    129 <screen><userinput>sed -e 's/#ifndef __sun/#if !defined(__sun) \&amp;\&amp; !defined(__GLIBC__)/' \
    130     -i libntp/work_thread.c</userinput></screen>
     128-->
    131129
    132130    <para>
     
    143141make</userinput></screen>
    144142
    145     <!-- https://bugs.ntp.org/show_bug.cgi?id=3688
    146          It should be fixed in the next ntp release. -->
    147     <!--<para>The test suite of this package is broken with GCC 10 or later.</para>
    148          Now works OK-->
    149 
    150143    <para>
    151144      To test the results, issue: <command>make check</command>.
     
    215208        creates a drift file where <command>ntpd</command> stores the
    216209        frequency offset and a pid file to store the
    217         <command>ntpd</command> process ID. Third, it defines the location
     210        <command>ntpd</command> process ID. <!--Third, it defines the location
    218211        for the leap-second definition file
    219212        <filename>/etc/ntp.leapseconds</filename>, that the
     
    221214        necessary. This script can be run as a cron job and the
    222215        <application>ntp</application> developers recommend a frequency of
    223         about three weeks for the updates. Since the documentation included
     216        about three weeks for the updates.--> Since the documentation included
    224217        with the package is sparse, visit the ntp website at
    225218        <ulink url="https://www.ntp.org/"/> and
     
    244237
    245238driftfile /var/lib/ntp/ntp.drift
    246 pidfile   /run/ntpd.pid
    247 
    248 leapfile  /var/lib/ntp/ntp.leapseconds</literal>
     239pidfile   /run/ntpd.pid</literal>
    249240EOF</userinput></screen>
    250241
     
    332323      <seglistitem>
    333324        <seg>calc_tickadj, ntp-keygen, ntp-wait, ntpd, ntpdate, ntpdc, ntpq,
    334         ntptime, ntptrace, sntp, tickadj and update-leap</seg>
     325        ntptime, ntptrace, sntp, tickadj, and update-leap</seg>
    335326        <seg>None</seg>
    336327        <seg>/usr/share/ntp,
     
    491482          <para>
    492483            is a script to verify and, if necessary, update the leap-second
    493             definition file
     484            definition file. 
     485
     486            <note>
     487              <para>
     488                 In November 2022, at the 27th General Conference on Weights and
     489                 Measures, it was decided to abandon the leap second.  In addition
     490                 this script hardcodes a URL for an update file that no longer
     491                 exists.  The last time a leap second was declared was January 2017.
     492                 This script will probably be removed in a future release.
     493              </para>
     494            </note>
    494495          </para>
    495496          <indexterm zone="ntp update-leap">
Note: See TracChangeset for help on using the changeset viewer.