Changeset 8470

Show
Ignore:
Timestamp:
02/07/08 12:47:39 (10 months ago)
Author:
matthew
Message:

Upgrade to Coreutils-6.10. Fixes #2133.

Files:

Legend:

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

    r8469 r8470  
    4141      <itemizedlist> 
    4242        <listitem> 
     43          <para>[matthew] - Upgraded to Coreutils-6.10. Removed Mktemp-1.5 as 
     44          Coreutils provides its own implementation now. Removed the coreutils 
     45          binary suppression patch as the configure script can now be given a 
     46          list of programs not to install. Fixes 
     47          <ulink url="&lfs-ticket-root;2133">#2133</ulink>.</para> 
     48        </listitem> 
     49        <listitem> 
    4350          <para>[matthew] - Upgraded to E2fsprogs-1.40.5. Fixes 
    4451          <ulink url="&lfs-ticket-root;2138">#2138</ulink>.</para> 
  • trunk/BOOK/chapter03/patches.xml

    r8457 r8470  
    5252 
    5353    <varlistentry> 
    54       <term>Coreutils Suppress Uptime, Kill, Su Patch - <token>&coreutils-suppress-patch-size;</token>:</term> 
    55       <listitem> 
    56         <para>Download: <ulink url="&patches-root;&coreutils-suppress-patch;"/></para> 
    57         <para>MD5 sum: <literal>&coreutils-suppress-patch-md5;</literal></para> 
    58       </listitem> 
    59     </varlistentry> 
    60  
    61     <varlistentry> 
    6254      <term>Coreutils Uname Patch - <token>&coreutils-uname-patch-size;</token>:</term> 
    6355      <listitem> 
  • trunk/BOOK/chapter05/coreutils.xml

    r8389 r8470  
    4444    <title>Installation of Coreutils</title> 
    4545 
    46     <para>The version of the function <quote>futimens</quote> used 
    47     by Coreutils is incompatible with the version that current 
    48     Glibc provides, so we'll rename the function:</para> 
    49  
    50 <screen><userinput remap="pre">for file in src/{copy,touch}.c lib/utimens.{c,h} ; do \ 
    51    cp -v $file{,.orig} 
    52    sed 's/futimens/gl_&amp;/' $file.orig &gt; $file 
    53 done</userinput></screen> 
    54  
    5546    <para>Prepare Coreutils for compilation:</para> 
    5647 
    57 <screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen> 
     48<screen><userinput remap="configure">./configure --prefix=/tools --enable-install-program=hostname</userinput></screen> 
     49 
     50    <variablelist> 
     51      <title>The meaning of the configure options:</title> 
     52 
     53      <varlistentry> 
     54        <term><envar>--enable-install-program=hostname</envar></term> 
     55        <listitem> 
     56          <para>This enables the <command>hostname</command> binary to be built 
     57          and installed &ndash; it is disabled by default but is required by the 
     58          Perl test suite.</para> 
     59        </listitem> 
     60      </varlistentry> 
     61    </variablelist> 
    5862 
    5963    <para>Compile the package:</para> 
  • trunk/BOOK/chapter05/perl.xml

    r8389 r8470  
    7474    </variablelist> 
    7575 
    76     <para>Only a few of the utilities contained in this package need to be 
    77     built:</para> 
     76    <para>Only a few of the utilities contained in this package, and one of its 
     77    libraries need to be built:</para> 
    7878 
    79 <screen><userinput remap="make">make perl utilities</userinput></screen> 
     79<screen><userinput remap="make">make perl utilities ext/Errno/pm_to_blib</userinput></screen> 
    8080 
    8181    <para>Although Perl comes with a test suite, it is not recommended to 
  • trunk/BOOK/chapter06/chapter06.xml

    r8458 r8470  
    5757  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="make.xml"/> 
    5858  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="man-db.xml"/> 
    59   <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mktemp.xml"/> 
    6059  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="module-init-tools.xml"/> 
    6160  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="patch.xml"/> 
  • trunk/BOOK/chapter06/coreutils.xml

    r8389 r8470  
    4242    <title>Installation of Coreutils</title> 
    4343 
    44     <para>The version of the function <quote>futimens</quote> used 
    45     by Coreutils is incompatible with the version that current 
    46     Glibc provides, so we'll rename the function:</para> 
    47  
    48 <screen><userinput remap="pre">sed -i 's/futimens/gl_&amp;/' src/{copy,touch}.c lib/utimens.{c,h}</userinput></screen> 
    49  
    5044    <para>A known issue with the <command>uname</command> program from 
    5145    this package is that the <parameter>-p</parameter> switch always 
     
    5448 
    5549<screen><userinput remap="pre">patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> 
    56  
    57     <para>Prevent Coreutils from installing binaries that will be installed by 
    58     other packages later:</para> 
    59  
    60 <screen><userinput remap="pre">patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen> 
    6150 
    6251    <para>POSIX requires that programs from Coreutils recognize character 
     
    7968    <para>Now prepare Coreutils for compilation:</para> 
    8069 
    81 <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> 
     70<screen><userinput remap="configure">./configure --prefix=/usr --enable-install-program=hostname --enable-no-install-program=kill</userinput></screen> 
     71 
     72    <variablelist> 
     73      <title>The meaning of the configure options:</title> 
     74 
     75      <varlistentry> 
     76        <term><parameter>--enable-no-install-program=kill</parameter></term> 
     77        <listitem> 
     78          <para>The purpose of this switch is to prevent Coreutils from 
     79          installing binaries that will be installed by other packages later. 
     80          </para> 
     81        </listitem> 
     82      </varlistentry> 
     83    </variablelist> 
    8284 
    8385    <para>Compile the package:</para> 
     
    100102 
    101103<screen><userinput remap="test">echo "dummy:x:1000:nobody" &gt;&gt; /etc/group</userinput></screen> 
     104 
     105    <para>Fix some of the permissions so that the non-root user can compile and 
     106    run the tests:</para> 
     107 
     108<screen><userinput remap="test">chown -v nobody gnulib-tests/.deps</userinput></screen> 
    102109 
    103110    <para>Now run the tests:</para> 
  • trunk/BOOK/packages.ent

    r8469 r8470  
    7373<!ENTITY bzip2-ch6-sbu "less than 0.1 SBU"> 
    7474 
    75 <!ENTITY coreutils-version "6.9"> 
    76 <!ENTITY coreutils-size "5,258 KB"> 
    77 <!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.bz2"> 
    78 <!ENTITY coreutils-md5 "c9607d8495f16e98906e7ed2d9751a06"> 
     75<!ENTITY coreutils-version "6.10"> 
     76<!ENTITY coreutils-size "8,978 KB"> 
     77<!ENTITY coreutils-url "&gnu;coreutils/coreutils-&coreutils-version;.tar.gz"> 
     78<!ENTITY coreutils-md5 "eca0de1bf7389694305d7e52cd76a472"> 
    7979<!ENTITY coreutils-home "&gnu-software;coreutils/"> 
    8080<!ENTITY coreutils-ch5-du "67.6 MB"> 
  • trunk/BOOK/patches.ent

    r8457 r8470  
    1818 
    1919<!ENTITY coreutils-i18n-patch "coreutils-&coreutils-version;-i18n-1.patch"> 
    20 <!ENTITY coreutils-i18n-patch-md5 "806ce5bcb16a763a77bea411ec5ff637"> 
    21 <!ENTITY coreutils-i18n-patch-size "101 KB"> 
    22  
    23 <!ENTITY coreutils-suppress-patch "coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch"> 
    24 <!ENTITY coreutils-suppress-patch-md5 "e8ae92cdec364ca2a318f5c4c77bf032"> 
    25 <!ENTITY coreutils-suppress-patch-size "13 KB"> 
     20<!ENTITY coreutils-i18n-patch-md5 "791df67d25a45d846c1af4dadf2612c8"> 
     21<!ENTITY coreutils-i18n-patch-size "102 KB"> 
    2622 
    2723<!ENTITY coreutils-uname-patch "coreutils-&coreutils-version;-uname-1.patch">