Changeset c628659


Ignore:
Timestamp:
08/06/2004 11:16:37 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 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:
b2775d6
Parents:
6b267c3a
Message:

Added patches and modified the build instructions for Net-tools; updated Glossary

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • appendices/glossary.xml

    r6b267c3a rc628659  
    375375<glossdef><para>Musical Instrument Digital Interface</para></glossdef></glossentry>
    376376
     377<glossentry id="gMII"><glossterm><acronym>MII</acronym></glossterm>
     378<glossdef><para>Media Independent Interface</para></glossdef></glossentry>
     379
    377380<glossentry id="gMIME"><glossterm><acronym>MIME</acronym></glossterm>
    378381<glossdef><para>Multipurpose Internet Mail Extensions</para></glossdef></glossentry>
  • basicnet/netprogs/net-tools.xml

    r6b267c3a rc628659  
    66
    77  <!ENTITY net-tools-download-http "http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-&net-tools-version;.tar.bz2">
    8   <!ENTITY net-tools-download-ftp  " ">
     8  <!ENTITY net-tools-download-ftp  "ftp://ftp.ibiblio.org/pub/Linux/distributions/rootlinux/rootlinux-1.3/source/base/net-tools/net-tools-&net-tools-version;.tar.gz">
    99  <!ENTITY net-tools-size          "194 KB">
    10   <!ENTITY net-tools-buildsize     "9.4 MB">
     10  <!ENTITY net-tools-buildsize     "4.3 MB">
    1111  <!ENTITY net-tools-time          "0.10 SBU">
     12  <!ENTITY lfs-coreutils-version   "5.2.1">
    1213]>
    1314
    1415<sect1 id="net-tools" xreflabel="Net-tools-&net-tools-version;">
     16<sect1info>
     17<othername>$LastChangedBy$</othername>
     18<date>$Date$</date>
     19</sect1info>
    1520<?dbhtml filename="net-tools.html"?>
    1621<title>Net-tools-&net-tools-version;</title>
    17 
    1822
    1923<sect2>
     
    3337</sect3>
    3438
    35 <!--
    3639<sect3><title>Additional downloads</title>
    3740<itemizedlist spacing="compact">
    38 <listitem><para>Required Patch: <ulink
     41<listitem><para>Required Patch (if compiling using
     42<application>GCC</application>-3.4.x): <ulink
    3943url="&patch-root;/net-tools-&net-tools-version;-gcc34-3.patch"/></para></listitem>
    40 </itemizedlist></sect3>
    41 -->
     44<listitem><para>Required Patch (if using LFS >= 6.0): <ulink
     45url="&patch-root;/net-tools-&net-tools-version;-kernel_headers-2.patch"/></para>
     46</listitem></itemizedlist></sect3>
    4247
    4348</sect2>
     
    4550<sect2>
    4651<title>Installation of <application>Net-tools</application></title>
     52
     53<note><para>The <application>Net-tools</application> package installs a
     54<command>hostname</command> program which will overwrite the existing program
     55installed by <application>Coreutils</application> during a base
     56<acronym>LFS</acronym> installation. If, for whatever reason, you need to
     57reinstall the <application>Coreutils</application> package after installing
     58<application>Net-tools</application>, you should use the
     59<filename>coreutils-&lfs-coreutils-version;-suppress_hostname_uptime_kill_su-1.patch</filename>
     60patch if you wish to preserve the <application>Net-tools</application>
     61<command>hostname</command> program.</para></note>
    4762
    4863<para>If you don't know what to answer to all the questions asked during
    4964the <command>make config</command> phase below, then just accept the
    50 defaults. This will be just fine in the majority of cases. What you're
     65defaults (the build command below automates this). This will be just fine
     66in the majority of cases. What you're
    5167asked here is a bunch of questions about which network protocols you've
    5268enabled in your kernel. The default answers will enable the tools from
     
    5874protocols available.</para>
    5975
    60 <!--
    61 <para>This package has issues with being compiled by
    62 <application><acronym>GCC</acronym></application> 3.4, which we fix by
    63 applying the following patch:</para>
    64 
    65 <screen><userinput><command>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-3.patch</command></userinput></screen>
    66 
    67 <para>Fix an issue that arises when building against Linux 2.6:</para>
    68 
    69 <screen><userinput><command>sed -i 's@x25_address@struct &amp;@' lib/x25_sr.c</command></userinput></screen>
    70 -->
    71 
    7276<para>Install <application>Net-tools</application> by running the
    7377following commands:</para>
    7478
    75 <screen><userinput><command>yes "" | make config &amp;&amp;
     79<screen><userinput><command>patch -Np1 -i ../net-tools-&net-tools-version;-gcc34-3.patch &amp;&amp;
     80patch -Np1 -i ../net-tools-&net-tools-version;-kernel_headers-2.patch &amp;&amp;
     81yes "" | make config &amp;&amp;
     82sed -i -e 's|HAVE_IP_TOOLS 0|HAVE_IP_TOOLS 1|g' \
     83       -e 's|HAVE_MII 0|HAVE_MII 1|g' config.h &amp;&amp;
     84sed -i -e 's|# HAVE_IP_TOOLS=0|HAVE_IP_TOOLS=1|g' \
     85       -e 's|# HAVE_MII=0|HAVE_MII=1|g' config.make &amp;&amp;
    7686make &amp;&amp;
    7787make update</command></userinput></screen>
     
    8292<title>Command explanations</title>
    8393
    84 <para><command>yes "" | make config</command>:
    85 We skip all the questions and accept the defaults.
    86 </para>
    87 
     94<para><command>yes "" | make config</command>: Piping <command>yes</command>
     95to <command>make config</command> skips the interactive configuration and
     96accepts the defaults.</para>
     97
     98<para><command>sed -i -e ...</command>: These two <command>sed</command>s
     99change the configuration files to force building the
     100<command>ipmaddr</command>, <command>iptunnel</command> and
     101<command>mii-tool</command> programs.</para>
    88102</sect2>
    89103
     
    97111<command>hostname</command>,
    98112<command>ifconfig</command>,
     113<command>ipmaddr</command>,
     114<command>iptunnel</command>,
     115<command>mii-tool</command>,
    99116<command>nameif</command>,
    100117<command>netstat</command>,
     
    137154</para></sect3>
    138155
     156<sect3><title>ipmaddr</title>
     157<para><command>ipmaddr</command>
     158adds, deletes and shows an interface's multicast address.
     159</para></sect3>
     160
     161<sect3><title>iptunnel</title>
     162<para><command>iptunnel</command>
     163adds, changes, deletes and shows an interface's tunnels. 
     164</para></sect3>
     165
     166<sect3><title>mii-tool</title>
     167<para><command>mii-tool</command>
     168checks or sets the status of a network interface's Media Independent
     169Interface (<acronym>MII</acronym>) unit.
     170</para></sect3>
     171
    139172<sect3><title>nameif</title>
    140173<para><command>nameif</command>
  • introduction/welcome/changelog.xml

    r6b267c3a rc628659  
    2020
    2121<listitem><para>August 6th, 2004 [randy]: Updated to
    22 OpenLDAP-2.2.13 and Speex-1.0.4.</para></listitem>
     22OpenLDAP-2.2.13 and Speex-1.0.4; added patches and modified build
     23instructions for Net-tools; updated Glossary.</para></listitem>
    2324
    2425<listitem><para>August 5th, 2004 [igor]: Updated to
Note: See TracChangeset for help on using the changeset viewer.