Changeset b3dc2ba


Ignore:
Timestamp:
04/01/2017 02:39:25 PM (7 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6ebd029
Parents:
783108e
Message:

Fix update-leap script on NTP page

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18542 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r783108e rb3dc2ba  
    11<!-- $LastChangedBy$ $Date$ -->
    22
    3 <!ENTITY day          "31">                   <!-- Always 2 digits -->
    4 <!ENTITY month        "03">                   <!-- Always 2 digits -->
     3<!ENTITY day          "01">                   <!-- Always 2 digits -->
     4<!ENTITY month        "04">                   <!-- Always 2 digits -->
    55<!ENTITY year         "2017">
    66<!ENTITY copyrightdate "2001-&year;">
    77<!ENTITY copyholder   "The BLFS Development Team">
    88<!ENTITY version      "&year;-&month;-&day;">
    9 <!ENTITY releasedate  "March 31st &year;">
     9<!ENTITY releasedate  "April 1st &year;">
    1010<!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
    1111<!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
  • introduction/welcome/changelog.xml

    r783108e rb3dc2ba  
    4343-->
    4444    <listitem>
     45      <para>April 1st, 2017</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[pierre] - Fix the <command>update-leap</command> script
     49          on the NTP page. Fixes
     50          <ulink url="&blfs-ticket-root;9068">#9068</ulink>..</para>
     51        </listitem>
     52      </itemizedlist>
     53    </listitem>
     54
     55    <listitem>
    4556      <para>March 31st, 2017</para>
    4657      <itemizedlist>
  • networking/netprogs/ntp.xml

    r783108e rb3dc2ba  
    6262    <bridgehead renderas="sect3">ntp Dependencies</bridgehead>
    6363
    64     <bridgehead renderas="sect4">Required</bridgehead>
    65     <para role="required">
    66       <xref linkend="wget"/> (runtime, for <command>update-leap</command>) and
    67       <xref linkend="which"/>
     64    <bridgehead renderas="sect4">Recommended</bridgehead>
     65    <para role="recommended">
     66      <xref linkend="wget"/> (runtime, for <command>update-leap</command>)
     67<!-- The download code for update-leap uses the File::Fetch perl module,
     68     which may use wget, or lynx, or some core perle modules, so maybe move
     69     to optional -->
     70<!--      <xref linkend="which"/> does not seem to be used now -->
    6871    </para>
    6972
     
    97100        -g ntp -s /bin/false ntp</userinput></screen>
    98101
    99     <para>Install <application>ntp</application> by running
    100     the following commands:</para>
     102<!-- At least one of the issues has been reported upstream. The next para
     103     is valid for 4.8.2p10 -->
     104    <para>
     105      The <command>update-leap</command> command needs to be fixed in order
     106      to run properly:
     107    </para>
     108
     109<screen><userinput>sed -e "s/https/http/"              \
     110    -e 's/"(\\S+)"/"?([^\\s"]+)"?/' \
     111    -i scripts/update-leap/update-leap.in</userinput></screen>
     112
     113    <para>
     114      Install <application>ntp</application> by running
     115      the following commands:
     116    </para>
    101117
    102118<screen><userinput>./configure CFLAGS="-O2 -g -fPIC" \
     
    109125make</userinput></screen>
    110126
    111     <para>To test the results, issue: <command>make check</command>.</para>
    112 
    113     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     127    <para>
     128      To test the results, issue: <command>make check</command>.
     129    </para>
     130
     131    <para>
     132      Now, as the <systemitem class="username">root</systemitem> user:
     133    </para>
    114134
    115135<screen role="root"><userinput>make install &amp;&amp;
Note: See TracChangeset for help on using the changeset viewer.