Changeset 8461

Show
Ignore:
Timestamp:
01/26/08 16:35:18 (10 months ago)
Author:
jhuntwork
Message:

Merged revisions from trunk to jh branch:
r8410, r8411, r8412, r8413, r8414, r8415, r8416, r8417, r8418, r8419, r8420,
r8421, r8422, r8423, r8424, r8426, r8427, r8429, r8430, r8431, r8432, r8433,
r8434, r8435, r8436, r8437, r8438, r8439, r8440, r8441, r8442, r8443, r8444,
r8445, r8446, r8447, r8448, r8449, r8450, r8451, r8452, r8453, r8454, r8455,
r8456, r8457, r8458, r8459, r8460

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/jh/BOOK/chapter01/changelog.xml

    r8405 r8461  
    3737--> 
    3838 
     39    <listitem> 
     40      <para>2008-01-22</para> 
     41      <itemizedlist> 
     42        <listitem> 
     43          <para>[matthew] - Replaced Util-Linux-2.12r, with 
     44          Util-Linux-NG-2.13.1. Fixes 
     45          <ulink url="&lfs-ticket-root;2077">#2077</ulink>.</para> 
     46        </listitem> 
     47        <listitem> 
     48          <para>[matthew] - Upgraded to Tcl-8.4.17. Fixes 
     49          <ulink url="&lfs-ticket-root;2131">#2131</ulink>.</para> 
     50        </listitem> 
     51        <listitem> 
     52          <para>[matthew] - Upgraded to Man-Pages-2.76. Fixes 
     53          <ulink url="&lfs-ticket-root;2129">#2129</ulink>.</para> 
     54        </listitem> 
     55        <listitem> 
     56          <para>[matthew] - Upgraded to Linux-2.6.23.14. Fixes 
     57          <ulink url="&lfs-ticket-root;2128">#2128</ulink>.</para> 
     58        </listitem> 
     59      </itemizedlist> 
     60    </listitem> 
     61 
     62    <listitem> 
     63      <para>2008-01-19</para> 
     64      <itemizedlist> 
     65        <listitem> 
     66          <para>[matthew] - Add Perl to the list of host requirements, as it is 
     67          required by Glibc.  Thanks to Ben Collver for the report.  Fixes 
     68          <ulink url="&lfs-ticket-root;2112">#2112</ulink>.</para> 
     69        </listitem> 
     70        <listitem> 
     71          <para>[matthew] - Mention <command>strace</command> as another means 
     72          of logging installed files, and correct the URL of the Linux Standard 
     73          Base specifications. Fixes 
     74          <ulink url="&lfs-ticket-root;2073">#2073</ulink> and 
     75          <ulink url="&lfs-ticket-root;2130">#2130</ulink>.</para> 
     76        </listitem> 
     77      </itemizedlist> 
     78    </listitem> 
     79 
     80    <listitem> 
     81      <para>2008-01-04</para> 
     82      <itemizedlist> 
     83        <listitem> 
     84          <para>[matthew] - Upgraded to latest upstream fixes for Vim.</para> 
     85        </listitem> 
     86        <listitem> 
     87          <para>[matthew] - Upgraded to Less-418.  Fixes 
     88          <ulink url="&lfs-ticket-root;2124">#2124</ulink>.</para> 
     89        </listitem> 
     90        <listitem> 
     91          <para>[matthew] - Upgraded to File-4.23.  Fixes 
     92          <ulink url="&lfs-ticket-root;2125">#2125</ulink>.</para> 
     93        </listitem> 
     94        <listitem> 
     95          <para>[matthew] - Upgraded to E2fsprogs-1.40.4.  Fixes 
     96          <ulink url="&lfs-ticket-root;2123">#2123</ulink>.</para> 
     97        </listitem> 
     98      </itemizedlist> 
     99    </listitem> 
     100 
     101    <listitem> 
     102      <para>2007-12-23</para> 
     103      <itemizedlist> 
     104        <listitem> 
     105          <para>[matthew] - Upgraded to latest upstream fixes for Readline. 
     106          Fixes <ulink url="&lfs-ticket-root;2122">#2122</ulink>.</para> 
     107        </listitem> 
     108        <listitem> 
     109          <para>[matthew] - Upgraded to Man-Pages-2.74. Fixes 
     110          <ulink url="&lfs-ticket-root;2119">#2119</ulink>.</para> 
     111        </listitem> 
     112        <listitem> 
     113          <para>[matthew] - Upgraded to Linux-2.6.23.12. Fixes 
     114          <ulink url="&lfs-ticket-root;2118">#2118</ulink>.</para> 
     115        </listitem> 
     116        <listitem> 
     117          <para>[matthew] - Upgraded to latest upstream fixes for Bash. Fixes 
     118          <ulink url="&lfs-ticket-root;2121">#2121</ulink>.</para> 
     119        </listitem> 
     120      </itemizedlist> 
     121    </listitem> 
     122 
     123    <listitem> 
     124      <para>2007-12-08</para> 
     125      <itemizedlist> 
     126        <listitem> 
     127          <para>[matthew] - Upgraded to latest upstream fixes for Vim. Fixes 
     128          <ulink url="&lfs-ticket-root;2108">#2108</ulink>.</para> 
     129        </listitem> 
     130        <listitem> 
     131          <para>[matthew] - Upgraded to Texinfo-4.11. Fixes 
     132          <ulink url="&lfs-ticket-root;2074">#2074</ulink>.</para> 
     133        </listitem> 
     134        <listitem> 
     135          <para>[matthew] - Upgraded to Psmisc-22.6. Fixes 
     136          <ulink url="&lfs-ticket-root;2104">#2104</ulink>.</para> 
     137        </listitem> 
     138        <listitem> 
     139          <para>[matthew] - Upgraded to Man-Pages-2.70. Fixes 
     140          <ulink url="&lfs-ticket-root;2110">#2110</ulink>.</para> 
     141        </listitem> 
     142        <listitem> 
     143          <para>[matthew] - Upgraded to Man-DB-2.5.0. Fixes 
     144          <ulink url="&lfs-ticket-root;2109">#2109</ulink>.</para> 
     145        </listitem> 
     146        <listitem> 
     147          <para>[matthew] - Upgraded to Linux-2.6.23.9. Fixes 
     148          <ulink url="&lfs-ticket-root;2106">#2106</ulink>.</para> 
     149        </listitem> 
     150        <listitem> 
     151          <para>[matthew] - Upgraded to Less-416. Fixes 
     152          <ulink url="&lfs-ticket-root;2105">#2105</ulink>.</para> 
     153        </listitem> 
     154        <listitem> 
     155          <para>[matthew] - Upgraded to Gettext-0.17. Fixes 
     156          <ulink url="&lfs-ticket-root;2103">#2103</ulink>.</para> 
     157        </listitem> 
     158        <listitem> 
     159          <para>[matthew] - Removed the modifications to Gawk's config.h as 
     160          Gawk-3.1.6 fixes the bug that they were working around.  Fixes 
     161          <ulink url="&lfs-ticket-root;2107">#2107</ulink>. Thanks to Erik-Jan 
     162          for the report.</para> 
     163        </listitem> 
     164        <listitem> 
     165          <para>[matthew] - Removed the modifications to Gawk's config.h as 
     166          Gawk-3.1.6 fixes the bug that they were working around.  Fixes 
     167          <ulink url="&lfs-ticket-root;2107">#2107</ulink>. Thanks to Erik-Jan 
     168          for the report.</para> 
     169        </listitem> 
     170        <listitem> 
     171          <para>[matthew] - Upgraded to E2fsprogs-1.40.3.  Fixes 
     172          <ulink url="&lfs-ticket-root;2116">#2116</ulink>.</para> 
     173        </listitem> 
     174      </itemizedlist> 
     175    </listitem> 
     176 
     177     <listitem> 
     178      <para>2007-11-25</para> 
     179      <itemizedlist> 
     180        <listitem> 
     181          <para>[bdubbs] - Fixed test for Debian binutils.</para> 
     182        </listitem> 
     183      </itemizedlist> 
     184    </listitem> 
     185 
     186    <listitem> 
     187      <para>2007-10-29</para> 
     188      <itemizedlist> 
     189        <listitem> 
     190          <para>[bdubbs] - Removed obsolete note from Creating Symlinks section 
     191          about continuation lines in udev rules.  Changed dailout group 
     192          to uucp for udev rule compatability.</para> 
     193        </listitem> 
     194        <listitem> 
     195          <para>[matthew] - Upgrade to the latest upstream patches for 
     196          Vim.</para> 
     197        </listitem> 
     198        <listitem> 
     199          <para>[matthew] - Add a patch to fix a segfault in usb_id.</para> 
     200        </listitem> 
     201        <listitem> 
     202          <para>[matthew] - Upgrade to Tcl-8.4.16. Fixes 
     203          <ulink url="&lfs-ticket-root;2084">#2084</ulink>.</para> 
     204        </listitem> 
     205        <listitem> 
     206          <para>[matthew] - Upgrade to Tar-1.19. Fixes 
     207          <ulink url="&lfs-ticket-root;2090">#2090</ulink>.</para> 
     208        </listitem> 
     209        <listitem> 
     210          <para>[matthew] - Upgrade to Man-Pages-2.67. Fixes 
     211          <ulink url="&lfs-ticket-root;2078">#2078</ulink>.</para> 
     212        </listitem> 
     213        <listitem> 
     214          <para>[matthew] - Upgrade to Linux-2.6.23.1. Fixes 
     215          <ulink url="&lfs-ticket-root;2088">#2088</ulink>.</para> 
     216        </listitem> 
     217        <listitem> 
     218          <para>[matthew] - Upgrade to Less-409. Fixes 
     219          <ulink url="&lfs-ticket-root;2087">#2087</ulink>.</para> 
     220        </listitem> 
     221        <listitem> 
     222          <para>[matthew] - Upgrade to IPRoute2-2.6.23. Fixes 
     223          <ulink url="&lfs-ticket-root;2091">#2091</ulink>.</para> 
     224        </listitem> 
     225        <listitem> 
     226          <para>[matthew] - Upgrade to Glibc-2.7. Fixes 
     227          <ulink url="&lfs-ticket-root;2095">#2095</ulink>.</para> 
     228        </listitem> 
     229        <listitem> 
     230          <para>[matthew] - Upgrade to GCC-4.2.2. Fixes 
     231          <ulink url="&lfs-ticket-root;2089">#2089</ulink>.</para> 
     232        </listitem> 
     233        <listitem> 
     234          <para>[matthew] - Upgrade to Gawk-3.1.6. Fixes 
     235          <ulink url="&lfs-ticket-root;2098">#2098</ulink>.</para> 
     236        </listitem> 
     237        <listitem> 
     238          <para>[matthew] - Upgrade to DB-4.6.21. Fixes 
     239          <ulink url="&lfs-ticket-root;2086">#2086</ulink>.</para> 
     240        </listitem> 
     241      </itemizedlist> 
     242    </listitem> 
     243 
    39244     <listitem> 
    40245      <para>2007-10-06</para> 
  • branches/jh/BOOK/chapter01/whatsnew.xml

    r8388 r8461  
    6060      <para>Diffutils &diffutils-version;</para> 
    6161    </listitem>--> 
    62     <!--<listitem> 
     62    <listitem> 
    6363      <para>E2fsprogs &e2fsprogs-version;</para> 
    64     </listitem>--> 
     64    </listitem> 
    6565    <!--<listitem> 
    6666      <para>Expect &expect-version;</para> 
    6767    </listitem>--> 
    68     <!--<listitem> 
     68    <listitem> 
    6969      <para>File &file-version;</para> 
    70     </listitem>--> 
     70    </listitem> 
    7171    <!--<listitem> 
    7272      <para>Findutils &findutils-version;</para> 
     
    7575      <para>Flex &flex-version;</para> 
    7676    </listitem>--> 
    77     <!--<listitem> 
     77    <listitem> 
    7878      <para>Gawk &gawk-version;</para> 
    79     </listitem>--> 
     79    </listitem> 
    8080    <listitem> 
    8181      <para>GCC &gcc-version;</para> 
    8282    </listitem> 
    83     <!--<listitem> 
     83    <listitem> 
    8484      <para>Gettext &gettext-version;</para> 
    85     </listitem>--> 
     85    </listitem> 
    8686    <listitem> 
    8787      <para>Glibc &glibc-version;</para> 
     
    105105      <para>Inetutils &inetutils-version;</para> 
    106106    </listitem>--> 
    107     <!--<listitem> 
     107    <listitem> 
    108108      <para>IPRoute2 &iproute2-version;</para> 
    109     </listitem>--> 
     109    </listitem> 
    110110    <!--<listitem> 
    111111      <para>Kbd &kbd-version;</para> 
    112112    </listitem>--> 
    113     <!--<listitem> 
     113    <listitem> 
    114114      <para>Less &less-version;</para> 
    115     </listitem>--> 
     115    </listitem> 
    116116    <listitem> 
    117117      <para>LFS-Bootscripts &lfs-bootscripts-version;</para> 
     
    129129      <para>Make &make-version;</para> 
    130130    </listitem>--> 
    131     <!--<listitem> 
     131    <listitem> 
    132132      <para>Man-DB &man-db-version;</para> 
    133     </listitem>--> 
     133    </listitem> 
    134134    <listitem> 
    135135      <para>Man-pages &man-pages-version;</para> 
     
    153153      <para>Procps &procps-version;</para> 
    154154    </listitem>--> 
    155     <!--<listitem> 
     155    <listitem> 
    156156      <para>Psmisc &psmisc-version;</para> 
    157     </listitem>--> 
     157    </listitem> 
    158158    <!--<listitem> 
    159159      <para>Readline &readline-version;</para> 
     
    171171      <para>SysVinit &sysvinit-version;</para> 
    172172    </listitem>--> 
    173     <!--<listitem> 
     173    <listitem> 
    174174      <para>Tar &tar-version;</para> 
    175175    </listitem> 
    176176    <listitem> 
    177177      <para>TCL &tcl-version;</para> 
    178     </listitem>--> 
    179     <!--<listitem> 
     178    </listitem> 
     179    <listitem> 
    180180      <para>Texinfo &texinfo-version;</para> 
    181     </listitem>--> 
     181    </listitem> 
    182182    <!--<listitem> 
    183183      <para>Udev &udev-version;</para> 
     
    186186      <para>&udev-config;</para> 
    187187    </listitem> 
    188     <!--<listitem> 
    189       <para>Util-Linux &util-linux-version;</para> 
    190     </listitem>--> 
     188    <listitem> 
     189      <para>Util-Linux-NG &util-linux-ng-version;</para> 
     190    </listitem> 
    191191    <!--<listitem> 
    192192      <para>Vim &vim-version;</para> 
     
    218218 
    219219    <listitem> 
     220      <para>&udev-usbid-patch;</para> 
     221    </listitem> 
     222 
     223    <listitem> 
    220224      <para>&vim-fixes-patch;</para> 
    221225    </listitem> 
     
    235239 
    236240    <listitem> 
     241      <para>gawk-3.1.5-segfault_fix-1.patch</para> 
     242    </listitem> 
     243 
     244    <listitem> 
    237245      <para>gcc-4.1.2-specs-1.patch</para> 
    238246    </listitem> 
    239247 
    240248    <listitem> 
     249      <para>man-db-2.4.4-fixes-1.patch</para> 
     250    </listitem> 
     251 
     252    <listitem> 
    241253      <para>readline-5.4-fixes-4.patch</para> 
    242254    </listitem> 
  • branches/jh/BOOK/chapter03/packages.xml

    r8352 r8461  
    544544 
    545545    <varlistentry> 
    546       <term>Util-linux (&util-linux-version;) - <token>&util-linux-size;</token>:</term> 
    547       <listitem> 
    548         <para>Home page: <ulink url="&util-linux-home;"/></para> 
    549         <para>Download: <ulink url="&util-linux-url;"/></para> 
    550         <para>MD5 sum: <literal>&util-linux-md5;</literal></para> 
     546      <term>Util-linux-ng (&util-linux-ng-version;) - <token>&util-linux-ng-size;</token>:</term> 
     547      <listitem> 
     548        <para>Home page: <ulink url="&util-linux-ng-home;"/></para> 
     549        <para>Download: <ulink url="&util-linux-ng-url;"/></para> 
     550        <para>MD5 sum: <literal>&util-linux-ng-md5;</literal></para> 
    551551      </listitem> 
    552552    </varlistentry> 
  • branches/jh/BOOK/chapter03/patches.xml

    r8382 r8461  
    2828 
    2929    <varlistentry> 
     30      <term>Binutils Texinfo Version Patch - <token>&binutils-configure-patch-size;</token>:</term> 
     31      <listitem> 
     32        <para>Download: <ulink url="&patches-root;&binutils-configure-patch;"/></para> 
     33        <para>MD5 sum: <literal>&binutils-configure-patch-md5;</literal></para> 
     34      </listitem> 
     35    </varlistentry> 
     36 
     37    <varlistentry> 
    3038      <term>Bzip2 Documentation Patch - <token>&bzip2-docs-patch-size;</token>:</term> 
    3139      <listitem> 
     
    7684 
    7785    <varlistentry> 
    78       <term>Gawk Segfault Patch - <token>&gawk-segfault-patch-size;</token>:</term> 
    79       <listitem> 
    80         <para>Download: <ulink url="&patches-root;&gawk-segfault-patch;"/></para> 
    81         <para>MD5 sum: <literal>&gawk-segfault-patch-md5;</literal></para> 
    82       </listitem> 
    83     </varlistentry> 
    84  
    85     <varlistentry> 
    8686      <term>Grep RedHat Fixes Patch - <token>&grep-fixes-patch-size;</token>:</term> 
    8787      <listitem> 
     
    132132 
    133133    <varlistentry> 
    134       <term>Man-DB Fix Patch - <token>&man-db-fixes-patch-size;</token>:</term> 
    135       <listitem> 
    136         <para>Download: <ulink url="&patches-root;&man-db-fixes-patch;"/></para> 
    137         <para>MD5 sum: <literal>&man-db-fixes-patch-md5;</literal></para> 
    138       </listitem> 
    139     </varlistentry> 
    140  
    141     <varlistentry> 
    142134      <term>Mktemp Tempfile Patch - <token>&mktemp-tempfile-patch-size;</token>:</term> 
    143135      <listitem> 
     
    187179    </varlistentry> 
    188180 
    189     <varlistentry> 
    190       <term>Texinfo Multibyte Fixes Patch - <token>&texinfo-multibyte-patch-size;</token>:</term> 
    191       <listitem> 
    192         <para>Download: <ulink url="&patches-root;&texinfo-multibyte-patch;"/></para> 
    193         <para>MD5 sum: <literal>&texinfo-multibyte-patch-md5;</literal></para> 
    194       </listitem> 
    195     </varlistentry> 
    196  
    197  
    198     <varlistentry> 
    199       <term>Texinfo Tempfile Fix Patch - <token>&texinfo-tempfile_fix-patch-size;</token>:</term> 
    200       <listitem> 
    201         <para>Download: <ulink url="&patches-root;&texinfo-tempfile_fix-patch;"/></para> 
    202         <para>MD5 sum: <literal>&texinfo-tempfile_fix-patch-md5;</literal></para> 
    203       </listitem> 
    204     </varlistentry> 
    205  
    206     <varlistentry> 
    207       <term>Util-linux Cramfs Patch - <token>&util-linux-cramfs-patch-size;</token>:</term> 
    208       <listitem> 
    209         <para>Download: <ulink url="&patches-root;&util-linux-cramfs-patch;"/></para> 
    210         <para>MD5 sum: <literal>&util-linux-cramfs-patch-md5;</literal></para> 
    211       </listitem> 
    212     </varlistentry> 
    213  
    214     <varlistentry> 
    215       <term>Util-linux Lseek Patch - <token>&util-linux-lseek-patch-size;</token>:</term> 
    216       <listitem> 
    217         <para>Download: <ulink url="&patches-root;&util-linux-lseek-patch;"/></para> 
    218         <para>MD5 sum: <literal>&util-linux-lseek-patch-md5;</literal></para> 
     181 
     182    <varlistentry> 
     183      <term>Udev usb_id Segfault Patch - <token>&udev-usbid-patch-size;</token>:</term> 
     184      <listitem> 
     185        <para>Download: <ulink url="&patches-root;&udev-usbid-patch;"/></para> 
     186        <para>MD5 sum: <literal>&udev-usbid-md5;</literal></para> 
    219187      </listitem> 
    220188    </varlistentry> 
  • branches/jh/BOOK/chapter05/adjusting.xml

    r8402 r8461  
    112112  </caution> 
    113113 
    114   <note><para>Building TCL in the next section will serve as an additional check that 
    115   the toolchain has been built properly.  If TCL fails to build, it is an 
     114  <note><para>Building Tcl in the next section will serve as an additional check that 
     115  the toolchain has been built properly.  If Tcl fails to build, it is an 
    116116  indication that something has gone wrong with the Binutils, GCC, or Glibc 
    117   installation, but not with TCL itself.</para></note> 
     117  installation, but not with Tcl itself.</para></note> 
    118118 
    119119</sect1> 
  • branches/jh/BOOK/chapter05/binutils-pass1.xml

    r8392 r8461  
    4848    linker and assembler to determine which of their own features to 
    4949    enable.</para> 
     50 
     51    <para>Binutils does not recognize versions of Texinfo newer than 4.9.  Fix 
     52    this issue by applying the following patch:</para> 
     53 
     54<screen><userinput remap="pre">patch -Np1 -i ../&binutils-configure-patch;</userinput></screen> 
    5055 
    5156    <para>The Binutils documentation recommends building Binutils outside of the 
  • branches/jh/BOOK/chapter05/binutils-pass2.xml

    r8392 r8461  
    4343  <sect2 role="installation"> 
    4444    <title>Re-installation of Binutils</title> 
     45 
     46    <para>Binutils does not recognize versions of Texinfo newer than 4.9.  Fix 
     47    this issue by applying the following patch:</para> 
     48 
     49<screen><userinput remap="pre">patch -Np1 -i ../&binutils-configure-patch;</userinput></screen> 
    4550 
    4651    <para>Create a separate build directory again:</para> 
  • branches/jh/BOOK/chapter05/chapter05.xml

    r8356 r8461  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="coreutils.xml"/> 
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="diffutils.xml"/> 
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="e2fsprogs.xml"/> 
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="findutils.xml"/> 
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gawk.xml"/> 
     
    4344  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tar.xml"/> 
    4445  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/> 
    45   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/> 
     46  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux-ng.xml"/> 
    4647  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="stripping.xml"/> 
    4748  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="changingowner.xml"/> 
  • branches/jh/BOOK/chapter05/gawk.xml

    r8392 r8461  
    4848<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 
    4949 
    50     <para>Due to a bug in the <command>configure</command> script, Gawk fails 
    51     to detect certain aspects of locale support in Glibc. This bug leads to, 
    52     e.g., Gettext testsuite failures. Work around this issue by appending the 
    53     missing macro definitions to <filename>config.h</filename>:</para> 
    54  
    55 <screen><userinput remap="configure">cat &gt;&gt; config.h &lt;&lt; "EOF" 
    56 <literal>#define HAVE_LANGINFO_CODESET 1 
    57 #define HAVE_LC_MESSAGES 1</literal> 
    58 EOF</userinput></screen> 
    59  
    6050    <para>Compile the package:</para> 
    6151 
  • branches/jh/BOOK/chapter05/util-linux.xml

    r8392 r8461  
    66]> 
    77 
    8 <sect1 id="ch-tools-util-linux" role="wrap"> 
    9   <?dbhtml filename="util-linux.html"?> 
     8<sect1 id="ch-tools-util-linux-ng" role="wrap"> 
     9  <?dbhtml filename="util-linux-ng.html"?> 
    1010 
    1111  <sect1info condition="script"> 
    12     <productname>util-linux</productname> 
    13     <productnumber>&util-linux-version;</productnumber> 
    14     <address>&util-linux-url;</address> 
     12    <productname>util-linux-ng</productname> 
     13    <productnumber>&util-linux-ng-version;</productnumber> 
     14    <address>&util-linux-ng-url;</address> 
    1515  </sect1info> 
    1616 
    17   <title>Util-linux-&util-linux-version;</title> 
     17  <title>Util-linux-ng-&util-linux-ng-version;</title> 
    1818 
    19   <indexterm zone="ch-tools-util-linux"> 
    20     <primary sortas="a-Util-linux">Util-linux</primary> 
     19  <indexterm zone="ch-tools-util-linux-ng"> 
     20    <primary sortas="a-Util-linux-ng">Util-linux-ng</primary> 
    2121    <secondary>tools</secondary> 
    2222  </indexterm> 
     
    3434 
    3535      <seglistitem> 
    36         <seg>&util-linux-ch5-sbu;</seg> 
    37         <seg>&util-linux-ch5-du;</seg> 
     36        <seg>&util-linux-ng-ch5-sbu;</seg> 
     37        <seg>&util-linux-ng-ch5-du;</seg> 
    3838      </seglistitem> 
    3939    </segmentedlist> 
     
    4242 
    4343  <sect2 role="installation"> 
    44     <title>Installation of Util-linux</title> 
    45  
    46     <para>Util-linux does not use the freshly installed headers and libraries 
    47     from the <filename class="directory">/tools</filename> directory by default. 
    48     This is fixed by altering the configure script:</para> 
    49  
    50 <screen><userinput remap="pre">sed -i 's@/usr/include@/tools/include@g' configure</userinput></screen> 
     44    <title>Installation of Util-linux-ng</title> 
    5145 
    5246    <para>Prepare Util-linux for compilation:</para> 
    5347 
    54 <screen><userinput remap="configure">./configure</userinput></screen> 
    55  
    56     <para>Compile some support routines:</para> 
    57  
    58 <screen><userinput remap="make">make -C lib</userinput></screen> 
     48<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 
    5949 
    6050    <para>Only a few of the utilities contained in this package need to be 
     
    6454make -C text-utils more</userinput></screen> 
    6555 
    66     <para>This package does not come with a test suite.</para> 
     56    <para>This package comes with a test suite, but running it will cause all of 
     57    the binaries to be built and tested.  If you still wish to run the tests, 
     58    issue:</para> 
     59 
     60<screen><userinput remap="test">make check</userinput></screen> 
    6761 
    6862    <para>Copy these programs to the temporary tools directory:</para> 
  • branches/jh/BOOK/chapter06/binutils.xml

    r8392 r8461  
    5656    <para>This issue needs to be resolved before running the test suites 
    5757    for Binutils and GCC.</para> 
     58 
     59    <para>Binutils does not recognize versions of Texinfo newer than 4.9.  Fix 
     60    this issue by applying the following patch:</para> 
     61 
     62<screen><userinput remap="pre">patch -Np1 -i ../&binutils-configure-patch;</userinput></screen> 
    5863 
    5964    <para>The Binutils documentation recommends building Binutils outside of the 
  • branches/jh/BOOK/chapter06/chapter06.xml

    r8229 r8461  
    6767  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="texinfo.xml"/> 
    6868  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="udev.xml"/> 
    69   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux.xml"/> 
     69  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="util-linux-ng.xml"/> 
    7070  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="vim.xml"/> 
    7171  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="aboutdebug.xml"/> 
  • branches/jh/BOOK/chapter06/createfiles.xml

    r8247 r8461  
    8484disk:x:8: 
    8585lp:x:9: 
    86 dialout:x:10: 
     86uucp:x:10: 
    8787audio:x:11: 
    8888video:x:12: 
  • branches/jh/BOOK/chapter06/gawk.xml

    r8392 r8461  
    4141    <title>Installation of Gawk</title> 
    4242 
    43     <para>Under some circumstances, Gawk-&gawk-version;  attempts to free a 
    44     chunk of memory that was not allocated. This bug is fixed by the following 
    45     patch:</para> 
    46  
    47 <screen><userinput remap="pre">patch -Np1 -i ../&gawk-segfault-patch;</userinput></screen> 
    48  
    4943    <para>Prepare Gawk for compilation:</para> 
    5044 
    5145<screen><userinput remap="configure">./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> 
    52  
    53     <para>Due to a bug in the <command>configure</command> script, Gawk fails 
    54     to detect certain aspects of locale support in Glibc. This bug leads to, 
    55     e.g., Gettext testsuite failures. Work around this issue by appending the 
    56     missing macro definitions to <filename>config.h</filename>:</para> 
    57  
    58 <screen><userinput remap="configure">cat &gt;&gt; config.h &lt;&lt; "EOF" 
    59 <literal>#define HAVE_LANGINFO_CODESET 1 
    60 #define HAVE_LC_MESSAGES 1</literal> 
    61 EOF</userinput></screen> 
    6246 
    6347    <para>Compile the package:</para> 
  • branches/jh/BOOK/chapter06/iproute2.xml

    r8392 r8461  
    4242    <title>Installation of IPRoute2</title> 
    4343 
    44     <para>The installation of two manual pages is broken and results in 
    45     dangling symlinks. Fix this with the following command:</para> 
    46  
    47 <screen><userinput remap="pre">sed -i -e '/tc-bfifo.8/d' -e '/tc-pfifo.8/s/pbfifo/bfifo/' Makefile</userinput></screen> 
    48  
    4944    <para>Compile the package:</para> 
    5045 
     
    6661    </variablelist> 
    6762 
    68     <para>This package does not come with a test suite.</para> 
     63    <para>This package comes with a testsuite, but due to assumptions it makes, 
     64    it is not possible to reliably run these tests from within the chroot 
     65    environment. If you wish to run these tests after booting into your new LFS 
     66    system, ensure you select <filename>/proc/config.gz</filename> 
     67    CONFIG_IKCONFIG_PROC (&quot;General setup&quot; -> &quot;Enable access to 
     68    .config through /proc/config.gz&quot;) support into your kernel then run 
     69    'make alltests' from the <filename class="directory">testsuite/</filename> 
     70    subdirectory.</para> 
    6971 
    7072    <para>Install the package:</para> 
  • branches/jh/BOOK/chapter06/linux-headers.xml

    r8392 r8461  
    8585          <indexterm zone="ch-system-linux-headers linux-headers"> 
    8686            <!-- No /*.h here to prevent a PDF line overflow --> 
    87             <primary sortas="e-/usr/include/{asm{,-generic},linux,mtd,rdma,sound}">/usr/include/{asm{,-generic},linux,mtd,rdma,sound}</primary> 
     87            <primary sortas="e-/usr/include/{asm{,-generic},linux,mtd,rdma,sound}">/usr/include/{asm{,-generic},linux,mtd,rdma,sound,video}</primary> 
    8888          </indexterm> 
    8989        </listitem> 
  • branches/jh/BOOK/chapter06/man-db.xml

    r8392 r8461  
    4242    <title>Installation of Man-DB</title> 
    4343 
    44     <para>Four adjustments need to be made to the sources of Man-DB.</para> 
    45  
    46     <para>The first one changes the location of translated manual pages that come 
    47     with Man-DB, in order for them to be accessible in both traditional and 
    48     UTF-8 locales:</para> 
    49  
    50 <screen><userinput remap="pre">mv man/de{_DE.88591,} 
    51 mv man/es{_ES.88591,} 
    52 mv man/it{_IT.88591,} 
    53 mv man/ja{_JP.eucJP,} 
    54 sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen> 
    55  
    56     <para>The second change is a <command>sed</command> substitution to delete 
     44    <para>Two adjustments need to be made to the sources of Man-DB.</para> 
     45 
     46    <para>The first change is a <command>sed</command> substitution to delete 
    5747    the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in 
    5848    the <filename>man_db.conf</filename> file to prevent redundant results 
     
    6151<screen><userinput remap="pre">sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen> 
    6252 
    63     <para>The third change accounts for programs that Man-DB should be able 
     53    <para>The second change accounts for programs that Man-DB should be able 
    6454    to find at runtime, but that haven't been installed yet:</para> 
    6555 
     
    7969    manual pages. They are not part of LFS or BLFS, but you should be able 
    8070    to install them yourself after finishing LFS if you wish to do so.</para> 
    81  
    82     <para>Finally, patch the sources to fix output errors if the man page is 
    83     prematurely aborted by pressing the 'q' key:</para> 
    84  
    85 <screen><userinput remap="pre">patch -Np1 -i ../&man-db-fixes-patch;</userinput></screen> 
    8671 
    8772    <para>Prepare Man-DB for compilation:</para> 
  • branches/jh/BOOK/chapter06/pkgmgt.xml

    r8303 r8461  
    1313  <para>Package Management is an often requested addition to the LFS Book. A 
    1414  Package Manager allows tracking the installation of files making it easy to 
    15   remove and upgrade packages. Before you begin to wonder, NO&mdash;this section 
    16   will not talk about nor recommend any particular package manager. What it 
    17   provides is a roundup of the more popular techniques and how they work. The 
    18   perfect package manager for you may be among these techniques or may be a 
    19   combination of two or more of these techniques. This section briefly mentions 
    20   issues that may arise when upgrading packages.</para> 
     15  remove and upgrade packages. As well as the binary and library files, a 
     16  package manager will handle the installation of configuration files.  Before 
     17  you begin to wonder, NO&mdash;this section will not talk about nor recommend 
     18  any particular package manager. What it provides is a roundup of the more 
     19  popular techniques and how they work. The perfect package manager for you may 
     20  be among these techniques or may be a combination of two or more of these 
     21  techniques. This section briefly mentions issues that may arise when upgrading 
     22  packages.</para> 
    2123 
    2224  <para>Some reasons why no package manager is mentioned in LFS or BLFS 
     
    183185 
    184186    <sect3> 
    185       <title>LD_PRELOAD Based</title> 
    186  
    187       <para>In this approach, a library is preloaded before installation. During 
     187      <title>Tracing Installation Scripts</title> 
     188 
     189      <para>In this approach, the commands that the installation scripts perform 
     190      are recorded.  There are two techniques that one can use:</para> 
     191 
     192      <para>The <envar>LD_PRELOAD</envar> environment variable can be set to 
     193      point to a library to be preloaded before installation.  During 
    188194      installation, this library tracks the packages that are being installed by 
    189195      attaching itself to various executables such as <command>cp</command>, 
     
    196202      appropriate files.</para> 
    197203 
     204      <para>The second technique is to use <command>strace</command>, which 
     205      logs all system calls made during the execution of the installation 
     206      scripts.</para> 
    198207    </sect3> 
    199208 
     
    210219      commercial distributions. Examples of package managers that follow this 
    211220      approach are RPM (which, incidentally, is required by the <ulink 
    212       url="http://lsbbook.gforge.freestandards.org/package.html#RPM">Linux 
     221      url="http://www.linux-foundation.