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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.