Changeset c9858bb


Ignore:
Timestamp:
08/12/2005 09:12:42 PM (19 years ago)
Author:
Matthew Burgess <matthew@…>
Children:
1b45909
Parents:
1238cc49
Message:

Mainline merge as of 2005-08-12

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

Files:
15 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1238cc49 rc9858bb  
    9999<listitem><para>&tar-gcc4_fix-patch;</para></listitem>
    100100<listitem><para>&mktemp-tempfile-patch;</para></listitem>
     101<listitem><para>&vim-security_fix-patch;</para></listitem>
    101102</itemizedlist>
    102103</listitem>
     
    112113<listitem><para>mktemp-1.5-add_tempfile-2.patch</para></listitem>
    113114<listitem><para>perl-5.8.6-libc-1.patch</para></listitem>
     115<listitem><para>vim-6.3-security_fix-1.patch</para></listitem>
    114116<listitem><para>zlib-1.2.2-security_fix-1.patch</para></listitem>
    115117</itemizedlist>
    116118</listitem>
     119
     120<listitem><para>August 12th, 2005 [matt]: Explain that libiconv isn't required
     121on an LFS system (fixes bug 1614).</para></listitem>
     122
     123<listitem><para>August 12th, 2005 [matt]: Fix ownership of libtool's libltdl
     124data files (fixes bug 1601).</para></listitem>
     125
     126<listitem><para>August 12th, 2005 [matt]: Change findutils and vim's configure
     127switch explanations to the convention used in the rest of the book (Bug
     1281613).</para></listitem>
     129
     130<listitem><para>August 12th, 2005 [matt]: Expand explanation of device node
     131creation at the start of chapter 6.</para></listitem>
     132
     133<listitem><para>August 12th, 2005 [matt]: Fix incorrect version number for
     134expect's installed library (Bug 1608)</para></listitem>
     135
     136<listitem><para>August 7th, 2005 [archaic]: Added note in Shadow regarding
     137building Cracklib from BLFS first.</para></listitem>
     138
     139<listitem><para>August 6th, 2005 [matt]: Add texi2pdf to list of Texinfo's
     140installed files.</para></listitem>
     141
     142<listitem><para>August 6th, 2005 [matt]: Updated Vim's security patch to address
     143the latest modeline vulnerability.</para></listitem>
    117144
    118145<listitem><para>July  30th, 2005 [matt]: Added instructions for installing Bash
  • chapter03/patches.xml

    r1238cc49 rc9858bb  
    178178
    179179<varlistentry>
    180 <term>Vim Security Patch - 8 KB:</term><listitem>
     180<term>Vim Security Patch - 9 KB:</term><listitem>
    181181<para><ulink url="&patches-root;&vim-security_fix-patch;"/></para>
    182182</listitem>
  • chapter05/expect.xml

    r1238cc49 rc9858bb  
    106106<segtitle>Installed program</segtitle>
    107107<segtitle>Installed library</segtitle>
    108 <seglistitem><seg>expect</seg><seg>libexpect-5.42.a</seg></seglistitem>
     108<seglistitem><seg>expect</seg><seg>libexpect-&expect-lib-version;.a</seg></seglistitem>
    109109</segmentedlist>
    110110
     
    123123
    124124<varlistentry id="libexpect">
    125 <term><filename class="libraryfile">libexpect-5.42.a</filename></term>
     125<term><filename class="libraryfile">libexpect-&expect-lib-version;.a</filename></term>
    126126<listitem>
    127127<para>Contains functions that allow Expect to be used as a Tcl extension or to
    128128be used directly from C or C++ (without Tcl)</para>
    129129<indexterm zone="ch-tools-expect libexpect"><primary
    130 sortas="c-libexpect-5.42">libexpect-5.42</primary></indexterm>
     130sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary></indexterm>
    131131</listitem>
    132132</varlistentry>
  • chapter05/glibc.xml

    r1238cc49 rc9858bb  
    4141risk.</para>
    4242
    43 <para>Glibc has two tests which fail when the running kernel is 2.6.11.x The
    44 problem has been determined to be with the tests themselves, not with the libc
    45 nor the kernel. If you plan to run the testsuite apply this patch:</para>
     43<para>Glibc has two tests which fail when the running kernel is 2.6.11 or later.
     44The problem has been determined to be with the tests themselves, not with the C libarary or the kernel.  If you plan to run the testsuite apply this patch:</para>
    4645
    4746<screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen>
  • chapter06/bash.xml

    r1238cc49 rc9858bb  
    5858<varlistentry>
    5959<term><parameter>--with-installed-readline</parameter></term>
    60 <listitem><para>This options tells Bash to use the
     60<listitem><para>This option tells Bash to use the
    6161<filename class="libraryfile">readline</filename> library that is already installed
    6262on the system rather than using its own readline version.</para></listitem>
  • chapter06/devices.xml

    r1238cc49 rc9858bb  
    1515<para>When the kernel boots the system, it requires the presence of a few device
    1616nodes, in particular the <filename class="devicefile">console</filename> and
    17 <filename class="devicefile">null</filename> devices. Create these by
    18 running the following commands:</para>
     17<filename class="devicefile">null</filename> devices.  The device nodes will
     18be created on the hard disk so that they are available before
     19<command>udev</command> has been started, and additionally when Linux is started
     20in single user mode (hence the restrictive permissions on
     21<filename class="devicefile">console</filename>).  Create the devices by running
     22the following commands:</para>
    1923
    2024<screen><userinput>mknod -m 600 /dev/console c 5 1
     
    4953mknod -m 444 /dev/urandom c 1 9
    5054chown root:tty /dev/{console,ptmx,tty}</userinput></screen>
    51 <!-- -->
    5255
    5356<para>There are some symlinks and directories required by LFS that are created
  • chapter06/findutils.xml

    r1238cc49 rc9858bb  
    3939    --localstatedir=/var/lib/locate</userinput></screen>
    4040
    41 <para>The <parameter>localstatedir</parameter> option above changes the
    42 location of the <command>locate</command> database to be in <filename
    43 class="directory">/var/lib/locate</filename>, which is FHS-compliant.</para>
     41<para>The meaning of the configure options:</para>
     42
     43<variablelist>
     44<varlistentry>
     45<term><parameter>--localstatedir</parameter></term>
     46<listitem><para>This option changes the location of the <command>locate</command>
     47database to be in <filename class="directory">/var/lib/locate</filename>, which
     48is FHS-compliant.</para></listitem>
     49</varlistentry>
     50</variablelist>
    4451
    4552<para>Compile the package:</para>
  • chapter06/glibc.xml

    r1238cc49 rc9858bb  
    3333<sect2 role="installation">
    3434<title>Installation of Glibc</title>
     35
     36<note><para>Some packages outside of LFS suggest installing GNU libiconv in
     37order to translate data from one encoding to another.  The project's home page
     38(<ulink url="http://www.gnu.org/software/libiconv/"/>) says <quote>This library
     39provides an <function>iconv()</function> implementation, for use on systems
     40which don't have one, or whose implementation cannot convert from/to Unicode.
     41</quote>  Glibc provides an <function>iconv()</function> implementation and can
     42convert from/to Unicode, therefore libiconv is not required on an LFS
     43system.</para></note>
    3544
    3645<para>This package is known to have issues when its default
  • chapter06/libtool.xml

    r1238cc49 rc9858bb  
    4848<screen><userinput>make install</userinput></screen>
    4949
     50<para>Correct the ownership of the libltdl data files:</para>
     51
     52<screen><userinput>chown -R root:root /usr/share/libtool/libltdl</userinput></screen>
     53
    5054</sect2>
    5155
  • chapter06/perl.xml

    r1238cc49 rc9858bb  
    4343<varlistentry>
    4444<term><parameter>-Dpager="/bin/less -isR"</parameter></term>
    45 <listitem><para>This corrects an error in the <command>perldoc</command> code with the invocation
    46 of the <command>less</command> program.</para></listitem>
     45<listitem><para>This corrects an error in the way that
     46<command>perldoc</command> invokes the <command>less</command> program.</para>
     47</listitem>
    4748</varlistentry>
    4849</variablelist>
  • chapter06/shadow.xml

    r1238cc49 rc9858bb  
    3232<title>Installation of Shadow</title>
    3333
     34<note><para>If you would like to enforce the use of strong passwords, refer to
     35<ulink url="&blfs-root;view/svn/postlfs/cracklib.html"/> for installing Cracklib
     36prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the
     37<command>configure</command> command below.</para></note>
     38
    3439<para>Prepare Shadow for compilation:</para>
    3540
    3641<screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen>
    3742
    38 <para>Remove the installation of the <command>groups</command> program, and its man page as
    39 Coreutils provides a better version:</para>
     43<para>Disable the installation of the <command>groups</command> program and its man page, as Coreutils provides a better version:</para>
    4044
    4145<screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
     
    7074
    7175<indexterm zone="shadow-login_defs"><primary sortas="e-/etc/login.defs">/etc/login.defs</primary></indexterm>
     76
     77<note><para>If you built Shadow with Cracklib support, insert the following into
     78the <command>sed</command> given below:</para>
     79
     80<screen><literal>-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@'</literal></screen>
     81</note>
    7282
    7383<screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
  • chapter06/texinfo.xml

    r1238cc49 rc9858bb  
    8484<segtitle>Installed programs</segtitle>
    8585<seglistitem><seg>info, infokey, install-info,
    86 makeinfo, texi2dvi, and texindex</seg></seglistitem>
     86makeinfo, texi2dvi, texi2pdf, and texindex</seg></seglistitem>
    8787</segmentedlist>
    8888
     
    137137</varlistentry>
    138138
     139<varlistentry id="texi2pdf">
     140<term><command>texi2pdf</command></term>
     141<listitem>
     142<para>Used to format the given Texinfo document into a
     143Portable Document Format (PDF) file</para>
     144<indexterm zone="ch-system-texinfo texi2pdf"><primary sortas="b-texi2pdf">texi2pdf</primary></indexterm>
     145</listitem>
     146</varlistentry>
     147
    139148<varlistentry id="texindex">
    140149<term><command>texindex</command></term>
  • chapter06/vim.xml

    r1238cc49 rc9858bb  
    4141<filename>vim-&vim-version;.tar.bz2</filename> and (optionally)
    4242<filename>vim-&vim-version;-lang.tar.gz</filename> archives into the
    43 same directory. Then, change the default locations of the
     43same directory. Then, change the default location of the
    4444<filename>vimrc</filename> configuration file to <filename
    4545class="directory">/etc</filename>:</para>
     
    4747<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
    4848
    49 <para>Vim has a security vulnerability already addressed upstream.  The
    50 following patch fixes the problem:</para>
     49<para>Vim has two known security vulnerabilities that have already been
     50addressed upstream.  The following patch fixes the problems:</para>
    5151
    5252<screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen>
     
    5656<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
    5757
    58 <para>The optional but highly recommended
    59 <parameter>--enable-multibyte</parameter> switch includes support for
    60 editing files in multibyte character encodings into
    61 <command>vim</command>.  This is needed if using a locale with
    62 a multibyte character set. This switch is also helpful to be able to
    63 edit text files initially created in Linux distributions like Fedora
    64 Core that use UTF-8 as a default character set.</para>
     58<para>The meaning of the configure options:</para>
     59
     60<variablelist>
     61<varlistentry>
     62<term><parameter>--enable-multibyte</parameter></term>
     63<listitem><para>This optional but highly recommended switch enables support for
     64editing files in multibyte character encodings.  This is needed if using a
     65locale with a multibyte character set. This switch is also helpful to be able to
     66edit text files initially created in Linux distributions like Fedora Core that
     67use UTF-8 as a default character set.</para>
     68</listitem>
     69</varlistentry>
     70</variablelist>
    6571
    6672<para>Compile the package:</para>
  • general.ent

    r1238cc49 rc9858bb  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "GCC4-20050730">
    3 <!ENTITY releasedate "July 30, 2005">
     2<!ENTITY version "GCC4-20050812">
     3<!ENTITY releasedate "August 12, 2005">
    44<!ENTITY milestone "6.2">
    55<!ENTITY generic-version "gcc4"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" -->
     
    3636<!ENTITY e2fsprogs-version "1.38">
    3737<!ENTITY expect-version "5.43.0">
     38<!ENTITY expect-lib-version "5.43">
    3839<!ENTITY file-version "4.14">
    3940<!ENTITY findutils-version "4.2.23">
  • patches.ent

    r1238cc49 rc9858bb  
    4040<!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch">
    4141
    42 <!ENTITY vim-security_fix-patch "vim-&vim-version;-security_fix-1.patch">
     42<!ENTITY vim-security_fix-patch "vim-&vim-version;-security_fix-2.patch">
    4343
    4444<!ENTITY zlib-security_fix-patch "zlib-&zlib-version;-security_fix-1.patch">
Note: See TracChangeset for help on using the changeset viewer.