Changeset a77c2ca


Ignore:
Timestamp:
05/12/2003 11:25:21 PM (21 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
4baf491
Parents:
8f85ee87
Message:

upgraded to latest tar, findutils and gzip

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2593 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
16 edited

Legend:

Unmodified
Added
Removed
  • appendixa/findutils-down.xml

    r8f85ee87 ra77c2ca  
    33
    44<para><literallayout>Findutils (&findutils-version;):
    5 <ulink url="ftp://ftp.gnu.org/gnu/findutils/"/>
    6 
    7 Findutils Patch (&findutils-patch-version;):
    8 <ulink url="&ftp;/"/>
    9 <ulink url="&http;/"/>
    10 
    11 Findutils Segfault Patch (&findutils-segfault-patch-version;):
    12 <ulink url="&ftp;/"/>
    13 <ulink url="&http;/"/></literallayout></para>
     5<ulink url="ftp://ftp.gnu.org/gnu/findutils/"/></literallayout></para>
    146
    157</sect2>
  • appendixa/gzip-down.xml

    r8f85ee87 ra77c2ca  
    33
    44<para><literallayout>Gzip (&gzip-version;):
    5 <ulink url="ftp://ftp.gnu.org/gnu/gzip/"/>
     5<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/></literallayout></para>
    66
    7 Gzip Patch (&gzip-patch-version;):
    8 <ulink url="&ftp;/"/>
    9 <ulink url="&http;/"/></literallayout></para>
    107</sect2>
  • appendixa/tar-down.xml

    r8f85ee87 ra77c2ca  
    33
    44<para><literallayout>Tar (&tar-version;):
    5 <ulink url="ftp://ftp.gnu.org/gnu/tar/"/>
     5<ulink url="ftp://alpha.gnu.org/gnu/tar/"/></literallayout></para>
    66
    7 Tar Patch (&tar-version;):
    8 <ulink url="&ftp;/"/>
    9 <ulink url="&http;/"/></literallayout></para>
    107</sect2>
  • chapter01/changelog.xml

    r8f85ee87 ra77c2ca  
    1313<listitem><para>e2fsprogs-1.33</para></listitem>
    1414<listitem><para>file-4.02</para></listitem>
     15<listitem><para>findutils-4.1.7</para></listitem>
    1516<listitem><para>gawk-3.1.2</para></listitem>
    1617<listitem><para>gcc-3.2.3</para></listitem>
     
    1819<listitem><para>grep-2.5.1</para></listitem>
    1920<listitem><para>groff-1.19</para></listitem>
     21<listitem><para>gzip-1.3.5</para></listitem>
    2022<listitem><para>less-381</para></listitem>
    2123<listitem><para>libtool-1.5</para></listitem>
     
    3032<listitem><para>sed-4.0.7</para></listitem>
    3133<listitem><para>sysvinit-2.85</para></listitem>
     34<listitem><para>tar-1.13.25</para></listitem>
    3235<listitem><para>texinfo-4.5</para></listitem>
    3336<listitem><para>util-linux-2.11z</para></listitem>
     
    7477<listitem><para>May 12th, 2003 [gerard]: Chapter 06 - Basic Network: Added
    7578$(hostname) to /etc/hosts, without it perl's test doesn't pass.</para></listitem>
     79
     80<listitem><para>May 12th, 2003 [gerard]: Chapter 06 - Installing GCC:
     81Don't try to remove /usr/include/libiberty.h. It isn't installed in the
     82first place.</para></listitem>
     83
     84<listitem><para>May 12th, 2003 [winkie]: Upgraded to findutils-4.1.7,
     85gzip-1.3.5, and tar-1.13.25.</para></listitem>
    7686
    7787<listitem><para>May 12th, 2003 [winkie]: Chapter 05 - Installing Perl:
  • chapter04/findutils.xml

    r8f85ee87 ra77c2ca  
    11Findutils (&findutils-version;) - &findutils-size;:
    2 <ulink url="http://freshmeat.net/projects/findutils/"/>
     2<ulink url="http://netsw.org/system/tools/fileutils/find/"/>
  • chapter04/gzip.xml

    r8f85ee87 ra77c2ca  
    11Gzip (&gzip-version;) - &gzip-size;:
    2 <ulink url="http://freshmeat.net/projects/gzip/"/>
     2<ulink url="ftp://alpha.gnu.org/gnu/gzip/"/>
  • chapter04/packages.xml

    r8f85ee87 ra77c2ca  
    2525&c4-file;
    2626&c4-findutils;
    27 &c4-findutils-patch;
    2827&c4-flex;
    2928&c4-gawk;
     
    3837&c4-groff;
    3938&c4-gzip;
    40 &c4-gzip-patch;
    4139&c4-inetutils;
    4240&c4-kbd;
     
    6967&c4-sysvinit;
    7068&c4-tar;
    71 &c4-tar-patch;
    7269&c4-tcl;
    7370&c4-texinfo;
  • chapter04/tar.xml

    r8f85ee87 ra77c2ca  
    11Tar (&tar-version;) - &tar-size;:
    2 <ulink url="http://freshmeat.net/projects/tar/"/>
     2<ulink url="ftp://alpha.gnu.org/gnu/tar/"/>
  • chapter05/findutils-inst.xml

    r8f85ee87 ra77c2ca  
    33<sect2>
    44<title>Installing Findutils</title>
    5 
    6 <para>The Findutils package is quite old and it has problems compiling
    7 against newer Glibc versions (Glibc-2.0.x and up). You need to apply the
    8 patch, which fixes the following issues:</para>
    9 
    10 <itemizedlist>
    11 <listitem><para>Findutils declares a function called basename, but this
    12 function name is already used by the C standard libraries. This patch
    13 changes the Findutils version of basename function so that it is called
    14 basename2 instead.</para></listitem>
    15 
    16 <listitem><para>Findutils uses library files in an incorrect way. It
    17 declares library functions, to tell the compiler what the name of the
    18 function will be when the libraries are linked in. This syntax is invalid
    19 and causes compiler warnings/errors. This patch removes this improper
    20 syntax.</para></listitem>
    21 
    22 <listitem><para>Every GNU package is supposed use a macro called _GNU_SOURCE.
    23 This macro enables declarations of GNU library extension functions so the
    24 compiler will be able to detect name conflicts between functions more easily.
    25 This patch adds this macro to the source code.</para></listitem>
    26 </itemizedlist>
    27 
    28 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
    295
    306<para>Prepare Findutils to be compiled:</para>
  • chapter05/tar-inst.xml

    r8f85ee87 ra77c2ca  
    33<sect2>
    44<title>Installation of Tar</title>
    5 
    6 <para>A patch may be applied to give tar direct support for
    7 bzip2 files. This patch adds the <emphasis>-j</emphasis> option
    8 to tar, which is similar to the <emphasis>-z</emphasis> option
    9 used for gzip files.</para>
    10 
    11 <para>Apply the patch by running the following command:</para>
    12 
    13 <para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
    145
    156<para><screen><userinput>./configure --prefix=/stage1
  • chapter06/findutils-inst.xml

    r8f85ee87 ra77c2ca  
    44<title>Installing Findutils</title>
    55
    6 <para>The Findutils package is quite old and it has problems compiling
    7 against newer Glibc versions (Glibc-2.0.x and up). You need to apply the
    8 patch, which fixes the following issues:</para>
    9 
    10 <itemizedlist>
    11 <listitem><para>Findutils declares a function called basename, but this
    12 function name is already used by the C standard libraries. This patch
    13 changes the Findutils version of basename function so that it is called
    14 basename2 instead.</para></listitem>
    15 
    16 <listitem><para>Findutils uses library files in an incorrect way. It
    17 declares library functions, to tell the compiler what the name of the
    18 function will be when the libraries are linked in. This syntax is invalid
    19 and causes compiler warnings/errors. This patch removes this improper
    20 syntax.</para></listitem>
    21 
    22 <listitem><para>Every GNU package is supposed use a macro called _GNU_SOURCE.
    23 This macro enables declarations of GNU library extension functions and so the
    24 compiler will be able to detect name conflicts between functions more easily.
    25 This patch adds this macro to the source code.</para></listitem>
    26 </itemizedlist>
    27 
    28 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-patch-version;.patch</userinput></screen></para>
    29 
    30 <para>There is a bug in locate.c of Findutils that causes a segmentation
    31 fault to occur on very long path names. The problem is caused by the
    32 get_short() function calculating negative numbers incorrectly. This patch
    33 corrects this bug.</para>
    34 
    35 <para><screen><userinput>patch -Np1 -i ../findutils-&findutils-segfault-patch-version;-segfault.patch</userinput></screen></para>
    36 
    376<para>Prepare Findutils to be compiled:</para>
    387
    39 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
     8<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/bin</userinput></screen></para>
    409
    4110<para>By default, the location of the updatedb database is in /usr/var.
    4211To make the location of <filename>/var/lib/misc/locatedb</filename> file
    43 FHS compliant, pass the <emphasis>localstatedir=/var/lib/misc</emphasis>
    44 option to both <userinput>make</userinput> commands below.</para>
     12FHS compliant, pass the <emphasis>--localstatedir=/var/lib/misc</emphasis>
     13option to <userinput>configure</userinput>.</para>
    4514
    4615<para>Continue with compiling the package:</para>
    4716
    48 <para><screen><userinput>make libexecdir=/usr/bin</userinput></screen></para>
     17<para><screen><userinput>make</userinput></screen></para>
    4918
    5019<para>Finish installing the package:</para>
    5120
    52 <para><screen><userinput>make libexecdir=/usr/bin install</userinput></screen></para>
     21<para><screen><userinput>make install</userinput></screen></para>
    5322
    5423</sect2>
  • chapter06/gzip-inst.xml

    r8f85ee87 ra77c2ca  
    33<sect2>
    44<title>Installation of Gzip</title>
    5 
    6 <para>The following patch fixes a buffer overflow that occurs when a
    7 filename is longer than 1020 characters. It does this by inserting a check
    8 that the buffer is large enough for the given filename. The program exits
    9 with the message "Filename too long" if the buffer is not large enough.</para>
    10 
    11 <para><screen><userinput>patch -Np1 -i ../gzip-&gzip-patch-version;.patch</userinput></screen></para>
    125
    136<para>Prepare Gzip to be compiled:</para>
  • chapter06/tar-inst.xml

    r8f85ee87 ra77c2ca  
    33<sect2>
    44<title>Installation of Tar</title>
    5 
    6 <para>A patch may be applied to give tar direct support for bzip2
    7 files. This patch adds the <emphasis>-j</emphasis> option to tar,
    8 which is similar to the <emphasis>-z</emphasis> option used for
    9 gzip files.</para>
    10  
    11 <para>Apply the patch by running the following command:</para>
    12 
    13 <para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
    145
    156<para>Prepare Tar to be compiled:</para>
  • entities/findutils.ent

    r8f85ee87 ra77c2ca  
    11<!ENTITY c4-findutils SYSTEM "../chapter04/findutils.xml">
    2 <!ENTITY c4-findutils-patch SYSTEM "../chapter04/findutils-patch.xml">
    3 <!ENTITY c4-findutils-segfault-patch SYSTEM "../chapter04/findutils-patch.xml">
    42
    53<!ENTITY c5-findutils SYSTEM "../chapter05/findutils.xml">
     
    1513<!ENTITY aa-findutils-down SYSTEM "../appendixa/findutils-down.xml">
    1614
    17 <!ENTITY findutils-version "4.1">
     15<!ENTITY findutils-version "4.1.7">
    1816<!ENTITY findutils-depversion "4.1">
    1917<!ENTITY findutils-contversion "4.1">
    20 <!ENTITY findutils-size "288 KB">
    21 <!ENTITY findutils-patch-size "1 KB">
    22 <!ENTITY findutils-patch-version "4.1">
    23 <!ENTITY findutils-segfault-patch-size "1 KB">
    24 <!ENTITY findutils-segfault-patch-version "4.1">
     18<!ENTITY findutils-size "619 KB">
    2519<!ENTITY findutils-dir "findutils-&findutils-version;">
    2620<!ENTITY findutils-package "findutils-&findutils-version;.tar.bz2">
  • entities/gzip.ent

    r8f85ee87 ra77c2ca  
    11<!ENTITY c4-gzip SYSTEM "../chapter04/gzip.xml">
    2 <!ENTITY c4-gzip-patch SYSTEM "../chapter04/gzip-patch.xml">
    32
    43<!ENTITY c5-gzip SYSTEM "../chapter05/gzip.xml">
     
    1413<!ENTITY aa-gzip-down SYSTEM "../appendixa/gzip-down.xml">
    1514
    16 <!ENTITY gzip-version "1.2.4a">
     15<!ENTITY gzip-version "1.3.5">
    1716<!ENTITY gzip-depversion "1.2.4a">
    1817<!ENTITY gzip-contversion "1.2.4a">
    19 <!ENTITY gzip-size "216 KB">
    20 <!ENTITY gzip-patch-size "1 KB">
    21 <!ENTITY gzip-patch-version "1.2.4b">
     18<!ENTITY gzip-size "323 KB">
    2219<!ENTITY gzip-package "gzip-&gzip-version;.tar.bz2">
    2320<!ENTITY gzip-dir "gzip-&gzip-version;">
  • entities/tar.ent

    r8f85ee87 ra77c2ca  
    11<!ENTITY c4-tar SYSTEM "../chapter04/tar.xml">
    2 <!ENTITY c4-tar-patch SYSTEM "../chapter04/tar-patch.xml">
    32
    43<!ENTITY c5-tar SYSTEM "../chapter05/tar.xml">
     
    1312<!ENTITY aa-tar-shortdesc SYSTEM "../appendixa/tar-shortdesc.xml">
    1413
    15 <!ENTITY tar-version "1.13">
     14<!ENTITY tar-version "1.13.25">
    1615<!ENTITY tar-depversion "1.13">
    1716<!ENTITY tar-contversion "1.13">
    18 <!ENTITY tar-size "1028 KB">
    19 <!ENTITY tar-patch-size "1 KB">
    20 <!ENTITY tar-patch-version "1.13">
     17<!ENTITY tar-size "1281 KB">
    2118<!ENTITY tar-package "tar-&tar-version;.tar.bz2">
    2219<!ENTITY tar-dir "tar-&tar-version;">
Note: See TracChangeset for help on using the changeset viewer.