Changeset 49b241a for networking


Ignore:
Timestamp:
03/01/2014 06:00:12 AM (10 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
283854e4
Parents:
43bb741
Message:

Added a patch to avoid net-tools from overwriting LFS versions of
ifconfig and hostname.
Tag a few more files.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/netprogs/net-tools.xml

    r43bb741 r49b241a  
    5858    </itemizedlist>
    5959
     60    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     61    <itemizedlist spacing="compact">
     62      <listitem>
     63        <para>
     64          Required patch:
     65          <ulink url="&patch-root;/net-tools-&net-tools-version;-remove_dups-1.patch"/>
     66        </para>
     67      </listitem>
     68    </itemizedlist>
     69
     70
    6071    <para condition="html" role="usernotes">User Notes:
    6172    <ulink url="&blfs-wiki;/net-tools"/></para>
     
    6576  <sect2 role="installation">
    6677    <title>Installation of Net-tools</title>
    67 
    68     <note>
    69       <para>The <application>Net-tools</application> package installs a
    70       <command>hostname</command> program which will overwrite the existing
    71       program installed by <application>Inetutils</application> during a base
    72       LFS installation. If, for whatever reason, you need to reinstall the
    73       <application>Inetutils</application> package after installing
    74       <application>Net-tools</application>, you should add
    75       <command>--disable-hostname</command> to the Inetutils
    76       <command>configure</command> command in LFS if you wish to preserve the
    77       <application>Net-tools</application> <command>hostname</command>
    78       program.</para>
    79     </note>
    8078
    8179    <para id="net-tools-automate-example" xreflabel="Net-tools">The
     
    9997    family' and 'INET (TCP/IP) protocol family'.</para></note>
    10098
     99    <para>The patch below cleans up the installation so that it does not
     100    overwrite the <application>ifconfig</application> and
     101    <application>hostname</application> programs that were installed in LFS.</para>
     102
    101103    <para>Install <application>Net-tools</application> by running the
    102104    following commands:</para>
    103105
    104 <screen><userinput>sed -i -e '/Token/s/y$/n/'        config.in &amp;&amp;
    105 sed -i -e '/HAVE_HWSTRIP/s/y$/n/' config.in &amp;&amp;
    106 yes "" | make config                 &amp;&amp;
     106<screen><userinput>patch -Np1 -i ../net-tools-&net-tools-version;-remove_dups-1.patch &amp;&amp;
     107
     108yes "" | make config &amp;&amp;
    107109make</userinput></screen>
    108110
     
    117119  <sect2 role="commands">
    118120    <title>Command Explanations</title>
    119 
     121<!--
    120122    <para><command>sed -i -e '/Token/s/y$/n/' config.in</command>: Change the
    121123    default for building obsolete token ring support to no.  This is a
     
    126128    Removes obsolete Metricom radio support that requires a header no longer
    127129    included in the kernel.  </para>
    128 
     130-->
    129131    <para><command>yes "" | make config</command>: Piping <command>yes</command>
    130132    to <command>make config</command> skips the interactive configuration and
     
    142144
    143145      <seglistitem>
    144         <seg>arp, dnsdomainname, domainname, hostname,
    145         ifconfig, ipmaddr, iptunnel, mii-tool, nameif, netstat,
    146         nisdomainname, plipconfig, rarp, route, slattach, and
    147         ypdomainname</seg>
     146        <seg>arp,
     147        ipmaddr, iptunnel, mii-tool, nameif, netstat,
     148        plipconfig, rarp, route, and slattach
     149        </seg>
    148150        <seg>None</seg>
    149151        <seg>None</seg>
     
    166168        </listitem>
    167169      </varlistentry>
    168 
     170<!--
    169171      <varlistentry id="dnsdomainname">
    170172        <term><command>dnsdomainname</command></term>
     
    206208        </listitem>
    207209      </varlistentry>
    208 
     210-->
    209211      <varlistentry id="ipmaddr">
    210212        <term><command>ipmaddr</command></term>
     
    258260        </listitem>
    259261      </varlistentry>
    260 
     262<!--
    261263      <varlistentry id="nisdomainname">
    262264        <term><command>nisdomainname</command></term>
     
    268270        </listitem>
    269271      </varlistentry>
    270 
     272-->
    271273      <varlistentry id="plipconfig">
    272274        <term><command>plipconfig</command></term>
     
    310312        </listitem>
    311313      </varlistentry>
    312 
     314<!--
    313315      <varlistentry id="ypdomainname">
    314316        <term><command>ypdomainname</command></term>
     
    320322        </listitem>
    321323      </varlistentry>
    322 
     324-->
    323325    </variablelist>
    324326
Note: See TracChangeset for help on using the changeset viewer.