Changeset c9858bb
- Timestamp:
- 08/12/2005 09:12:42 PM (19 years ago)
- Children:
- 1b45909
- Parents:
- 1238cc49
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r1238cc49 rc9858bb 99 99 <listitem><para>&tar-gcc4_fix-patch;</para></listitem> 100 100 <listitem><para>&mktemp-tempfile-patch;</para></listitem> 101 <listitem><para>&vim-security_fix-patch;</para></listitem> 101 102 </itemizedlist> 102 103 </listitem> … … 112 113 <listitem><para>mktemp-1.5-add_tempfile-2.patch</para></listitem> 113 114 <listitem><para>perl-5.8.6-libc-1.patch</para></listitem> 115 <listitem><para>vim-6.3-security_fix-1.patch</para></listitem> 114 116 <listitem><para>zlib-1.2.2-security_fix-1.patch</para></listitem> 115 117 </itemizedlist> 116 118 </listitem> 119 120 <listitem><para>August 12th, 2005 [matt]: Explain that libiconv isn't required 121 on an LFS system (fixes bug 1614).</para></listitem> 122 123 <listitem><para>August 12th, 2005 [matt]: Fix ownership of libtool's libltdl 124 data files (fixes bug 1601).</para></listitem> 125 126 <listitem><para>August 12th, 2005 [matt]: Change findutils and vim's configure 127 switch explanations to the convention used in the rest of the book (Bug 128 1613).</para></listitem> 129 130 <listitem><para>August 12th, 2005 [matt]: Expand explanation of device node 131 creation at the start of chapter 6.</para></listitem> 132 133 <listitem><para>August 12th, 2005 [matt]: Fix incorrect version number for 134 expect's installed library (Bug 1608)</para></listitem> 135 136 <listitem><para>August 7th, 2005 [archaic]: Added note in Shadow regarding 137 building Cracklib from BLFS first.</para></listitem> 138 139 <listitem><para>August 6th, 2005 [matt]: Add texi2pdf to list of Texinfo's 140 installed files.</para></listitem> 141 142 <listitem><para>August 6th, 2005 [matt]: Updated Vim's security patch to address 143 the latest modeline vulnerability.</para></listitem> 117 144 118 145 <listitem><para>July 30th, 2005 [matt]: Added instructions for installing Bash -
chapter03/patches.xml
r1238cc49 rc9858bb 178 178 179 179 <varlistentry> 180 <term>Vim Security Patch - 8KB:</term><listitem>180 <term>Vim Security Patch - 9 KB:</term><listitem> 181 181 <para><ulink url="&patches-root;&vim-security_fix-patch;"/></para> 182 182 </listitem> -
chapter05/expect.xml
r1238cc49 rc9858bb 106 106 <segtitle>Installed program</segtitle> 107 107 <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> 109 109 </segmentedlist> 110 110 … … 123 123 124 124 <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> 126 126 <listitem> 127 127 <para>Contains functions that allow Expect to be used as a Tcl extension or to 128 128 be used directly from C or C++ (without Tcl)</para> 129 129 <indexterm zone="ch-tools-expect libexpect"><primary 130 sortas="c-libexpect- 5.42">libexpect-5.42</primary></indexterm>130 sortas="c-libexpect-&expect-lib-version;">libexpect-&expect-lib-version;</primary></indexterm> 131 131 </listitem> 132 132 </varlistentry> -
chapter05/glibc.xml
r1238cc49 rc9858bb 41 41 risk.</para> 42 42 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. 44 The 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> 46 45 47 46 <screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen> -
chapter06/bash.xml
r1238cc49 rc9858bb 58 58 <varlistentry> 59 59 <term><parameter>--with-installed-readline</parameter></term> 60 <listitem><para>This option stells Bash to use the60 <listitem><para>This option tells Bash to use the 61 61 <filename class="libraryfile">readline</filename> library that is already installed 62 62 on the system rather than using its own readline version.</para></listitem> -
chapter06/devices.xml
r1238cc49 rc9858bb 15 15 <para>When the kernel boots the system, it requires the presence of a few device 16 16 nodes, 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 18 be created on the hard disk so that they are available before 19 <command>udev</command> has been started, and additionally when Linux is started 20 in single user mode (hence the restrictive permissions on 21 <filename class="devicefile">console</filename>). Create the devices by running 22 the following commands:</para> 19 23 20 24 <screen><userinput>mknod -m 600 /dev/console c 5 1 … … 49 53 mknod -m 444 /dev/urandom c 1 9 50 54 chown root:tty /dev/{console,ptmx,tty}</userinput></screen> 51 <!-- -->52 55 53 56 <para>There are some symlinks and directories required by LFS that are created -
chapter06/findutils.xml
r1238cc49 rc9858bb 39 39 --localstatedir=/var/lib/locate</userinput></screen> 40 40 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> 47 database to be in <filename class="directory">/var/lib/locate</filename>, which 48 is FHS-compliant.</para></listitem> 49 </varlistentry> 50 </variablelist> 44 51 45 52 <para>Compile the package:</para> -
chapter06/glibc.xml
r1238cc49 rc9858bb 33 33 <sect2 role="installation"> 34 34 <title>Installation of Glibc</title> 35 36 <note><para>Some packages outside of LFS suggest installing GNU libiconv in 37 order 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 39 provides an <function>iconv()</function> implementation, for use on systems 40 which don't have one, or whose implementation cannot convert from/to Unicode. 41 </quote> Glibc provides an <function>iconv()</function> implementation and can 42 convert from/to Unicode, therefore libiconv is not required on an LFS 43 system.</para></note> 35 44 36 45 <para>This package is known to have issues when its default -
chapter06/libtool.xml
r1238cc49 rc9858bb 48 48 <screen><userinput>make install</userinput></screen> 49 49 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 50 54 </sect2> 51 55 -
chapter06/perl.xml
r1238cc49 rc9858bb 43 43 <varlistentry> 44 44 <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> 47 48 </varlistentry> 48 49 </variablelist> -
chapter06/shadow.xml
r1238cc49 rc9858bb 32 32 <title>Installation of Shadow</title> 33 33 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 36 prior to building Shadow. Then add <parameter>--with-libcrack</parameter> to the 37 <command>configure</command> command below.</para></note> 38 34 39 <para>Prepare Shadow for compilation:</para> 35 40 36 41 <screen><userinput>./configure --libdir=/lib --enable-shared</userinput></screen> 37 42 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> 40 44 41 45 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile … … 70 74 71 75 <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 78 the <command>sed</command> given below:</para> 79 80 <screen><literal>-e 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@'</literal></screen> 81 </note> 72 82 73 83 <screen><userinput>sed -e's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \ -
chapter06/texinfo.xml
r1238cc49 rc9858bb 84 84 <segtitle>Installed programs</segtitle> 85 85 <seglistitem><seg>info, infokey, install-info, 86 makeinfo, texi2dvi, and texindex</seg></seglistitem>86 makeinfo, texi2dvi, texi2pdf, and texindex</seg></seglistitem> 87 87 </segmentedlist> 88 88 … … 137 137 </varlistentry> 138 138 139 <varlistentry id="texi2pdf"> 140 <term><command>texi2pdf</command></term> 141 <listitem> 142 <para>Used to format the given Texinfo document into a 143 Portable Document Format (PDF) file</para> 144 <indexterm zone="ch-system-texinfo texi2pdf"><primary sortas="b-texi2pdf">texi2pdf</primary></indexterm> 145 </listitem> 146 </varlistentry> 147 139 148 <varlistentry id="texindex"> 140 149 <term><command>texindex</command></term> -
chapter06/vim.xml
r1238cc49 rc9858bb 41 41 <filename>vim-&vim-version;.tar.bz2</filename> and (optionally) 42 42 <filename>vim-&vim-version;-lang.tar.gz</filename> archives into the 43 same directory. Then, change the default location sof the43 same directory. Then, change the default location of the 44 44 <filename>vimrc</filename> configuration file to <filename 45 45 class="directory">/etc</filename>:</para> … … 47 47 <screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h</userinput></screen> 48 48 49 <para>Vim has a security vulnerability already addressed upstream. The50 following patch fixes the problem:</para>49 <para>Vim has two known security vulnerabilities that have already been 50 addressed upstream. The following patch fixes the problems:</para> 51 51 52 52 <screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen> … … 56 56 <screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen> 57 57 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 64 editing files in multibyte character encodings. This is needed if using a 65 locale with a multibyte character set. This switch is also helpful to be able to 66 edit text files initially created in Linux distributions like Fedora Core that 67 use UTF-8 as a default character set.</para> 68 </listitem> 69 </varlistentry> 70 </variablelist> 65 71 66 72 <para>Compile the package:</para> -
general.ent
r1238cc49 rc9858bb 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!ENTITY version "GCC4-20050 730">3 <!ENTITY releasedate " July 30, 2005">2 <!ENTITY version "GCC4-20050812"> 3 <!ENTITY releasedate "August 12, 2005"> 4 4 <!ENTITY milestone "6.2"> 5 5 <!ENTITY generic-version "gcc4"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" --> … … 36 36 <!ENTITY e2fsprogs-version "1.38"> 37 37 <!ENTITY expect-version "5.43.0"> 38 <!ENTITY expect-lib-version "5.43"> 38 39 <!ENTITY file-version "4.14"> 39 40 <!ENTITY findutils-version "4.2.23"> -
patches.ent
r1238cc49 rc9858bb 40 40 <!ENTITY util-linux-cramfs-patch "util-linux-&util-linux-version;-cramfs-1.patch"> 41 41 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"> 43 43 44 44 <!ENTITY zlib-security_fix-patch "zlib-&zlib-version;-security_fix-1.patch">
Note:
See TracChangeset
for help on using the changeset viewer.