Changeset 6e50755


Ignore:
Timestamp:
05/11/2003 03:09:30 PM (21 years ago)
Author:
Timothy Bauscher <timothy@…>
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:
0e1c091
Parents:
7972fe0
Message:

Applied Zack's patches. Untested at the moment, will do a build in a few minutes.

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

Files:
2 added
17 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r7972fe0 r6e50755  
    1010<itemizedlist>
    1111<listitem><para>automake-1.7.4</para></listitem>
     12<listitem><para>bash-2.05b</para></listitem>
    1213<listitem><para>e2fsprogs-1.33</para></listitem>
    1314<listitem><para>file-4.02</para></listitem>
     
    3637<listitem><para>Added:
    3738<itemizedlist>
     39<listitem><para>bash-2.05b.patch</para></listitem>
    3840<listitem><para>binutils-2.13.2-libc.patch</para></listitem>
    3941<listitem><para>coreutils-5.0</para></listitem>
     
    5052<listitem><para>perl-5.8.0-libc.patch</para></listitem>
    5153<listitem><para>tcl-8.4.2</para></listitem>
     54<listitem><para>zlib-1.1.4-vsnprintf.patch</para></listitem>
    5255</itemizedlist>
    5356</para></listitem>
     
    6366</itemizedlist>
    6467</para></listitem>
     68
     69<listitem><para>May 11th, 2003 [winkie]: Upgraded to Bash 2.05b and
     70added its patch</para></listitem>
     71
     72<listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Installing Zlib:
     73Apply a patch to fix the buffer overflow in gzprintf().</para></listitem>
     74
     75<listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Configuring system
     76compoents: Moved the creation of the btmp, wtmp, lastlog, and utmp to
     77just before Shadow, so that they are detected at their proper locations.</para></listitem>
     78
     79<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Automake:
     80Run "make" before installing. This is needed now with the newer releases
     81of Automake.</para></listitem>
     82
     83<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Vim:
     84Removed the patch. It hasn't been required since GCC 3.2.1.</para></listitem>
     85
     86<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Creating the mtab
     87file: Removed. Mounting /proc has the side effect of creating /etc/mtab
     88for us.</para></listitem>
     89
     90<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Make:
     91Removed modification of /usr/bin/make file. It is no longer mistakenly
     92installed with strange ownership or permissions.</para></listitem>
     93
     94<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Glibc:
     95Made /etc/localtime a file instead of a symlink. The symlink method breaks
     96on systems where /usr is a separate partition.</para></listitem>
     97
     98<listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing E2fsprogs:
     99Removed install-info commands for e2fsprogs. The "make install" target
     100handles this for us.</para></listitem>
    65101
    66102<listitem><para>May 10th, 2003 [gerard]: Removed all CFLAGS and LDFLAGS
  • chapter04/packages.xml

    r7972fe0 r6e50755  
    99&c4-automake;
    1010&c4-bash;
     11&c4-bash-patch;
    1112&c4-bin86;
    1213&c4-binutils;
     
    7071&c4-utillinux;
    7172&c4-vim;
    72 &c4-vim-patch;
    7373&c4-zlib;
     74&c4-zlib-patch;
    7475
    7576Total size of all packages: &all-size-kb; (&all-size-mb;)
  • chapter05/bash-inst.xml

    r7972fe0 r6e50755  
    33<sect2>
    44<title>Installation of Bash</title>
     5
     6<para>Bash has a number of bugs in it that cause it to not behave the
     7way it is expected at times. Fix this behaviour with the following
     8patch:</para>
     9
     10<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
    511
    612<para><screen><userinput>./configure --prefix=/stage1 \
  • chapter06/automake-inst.xml

    r7972fe0 r6e50755  
    88<para><screen><userinput>./configure --prefix=/usr</userinput></screen></para>
    99
    10 <para>Continue with compiling and installing the package:</para>
     10<para>Continue with compiling the package:</para>
     11
     12<para><screen><userinput>make</userinput></screen></para>
     13
     14<para>And finish off installing the package:</para>
    1115
    1216<para><screen><userinput>make install</userinput></screen></para>
  • chapter06/bash-inst.xml

    r7972fe0 r6e50755  
    33<sect2>
    44<title>Installation of Bash</title>
     5
     6<para>Bash has a number of bugs in it that cause it to not behave the
     7way it is expected at times. Fix this behaviour with the following
     8patch:</para>
     9
     10<para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para>
    511
    612<para>Prepare Bash to be compiled:</para>
  • chapter06/chapter06.xml

    r7972fe0 r6e50755  
    99&c6-creatingdirs;
    1010&c6-mountproc;
    11 &c6-mtablink;
    1211&c6-createfiles;
    1312&c6-pwdgroup;
  • chapter06/config-glibc.xml

    r7972fe0 r6e50755  
    4040output the name of your timezone, something like <emphasis>EST5EDT</emphasis>
    4141or <emphasis>Canada/Eastern</emphasis>. Then create the
    42 <filename>/etc/localtime</filename> symlink by running:</para>
     42<filename>/etc/localtime</filename> file by running:</para>
    4343
    44 <para><screen><userinput>ln -sf ../usr/share/zoneinfo/Canada/Eastern /etc/localtime </userinput></screen></para>
     44<para><screen><userinput>cp ../usr/share/zoneinfo/Canada/Eastern /etc/localtime </userinput></screen></para>
    4545
    4646<para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in
  • chapter06/configure.xml

    r7972fe0 r6e50755  
    77
    88&c6-cf-keyboard;
    9 &c6-cf-utmp;
    109&c6-cf-password;
    1110
  • chapter06/e2fsprogs-inst.xml

    r7972fe0 r6e50755  
    4747<para><screen><userinput>make install-libs</userinput></screen></para>
    4848
    49 <para>Update the <filename>/usr/share/info/dir</filename> file to
    50 include E2fsprogs' info pages in the index:</para>
    51 
    52 <para><screen><userinput>install-info /usr/share/info/libext2fs.info /usr/share/info/dir</userinput></screen></para>
    53 
    5449</sect2>
    5550
  • chapter06/make-inst.xml

    r7972fe0 r6e50755  
    1616<para><screen><userinput>make install</userinput></screen></para>
    1717
    18 <para>By default, <filename>/usr/bin/make</filename> is installed setgid
    19 kmem. This is needed on some systems so it can check the load average by
    20 using <filename>/dev/kmem</filename>. However, on Linux systems, setgid
    21 kmem is not needed, so we remove this from our <filename>make</filename>
    22 binary. This also fixes problems with <filename>make</filename>
    23 ignoring certain variables like <emphasis>LD_LIBRARY_PATH</emphasis>.</para>
    24 
    25 <para><screen><userinput>chgrp root /usr/bin/make &amp;&amp;
    26 chmod 755 /usr/bin/make</userinput></screen></para>
    27 
    2818</sect2>
    2919
  • chapter06/shadowpwd-inst.xml

    r7972fe0 r6e50755  
    99and how to get the most out of this Shadow package. The Shadow hint can
    1010be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para>
     11
     12<para>Programs like login, shutdown, uptime, and others want to read
     13from and to the /var/run/utmp, /var/log/btmp and /var/log/wtmp. These
     14files contain information about who is currently logged in. They also
     15contain information about when the conmputer was last booted and
     16shutdown and a record of bas login attempts.</para>
     17
     18<para>Create these files with their proper permissions by running the
     19following commands:</para>
     20
     21<para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} &amp;&amp;
     22chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp)</userinput></screen></para>
    1123
    1224<para>Prepare Shadow to be compiled:</para>
  • chapter06/vim-inst.xml

    r7972fe0 r6e50755  
    33<sect2>
    44<title>Installation of Vim</title>
    5 
    6 <para>This package requires its patch to be applied before you can
    7 install it. This patch fixes a compile problem with GCC-3.2:</para>
    8 
    9 <para><screen><userinput>patch -Np1 -i ../vim-&vim-patch-version;.patch</userinput></screen></para>
    105
    116<para>Prepare Vim to be compiled:</para>
  • chapter06/zlib-inst.xml

    r7972fe0 r6e50755  
    33<sect2>
    44<title>Installation of Zlib</title>
     5
     6<para>Zlib has a potential buffer overflow in its gzprintf() function,
     7that, though difficult to take advantage of, should be taken care of. Do
     8so by applying this patch:</para>
     9
     10<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;</userinput></screen></para>
    511
    612<para>Prepare Zlib to be compiled:</para>
  • entities/bash.ent

    r7972fe0 r6e50755  
    11<!ENTITY c4-bash SYSTEM "../chapter04/bash.xml">
     2<!ENTITY c4-bash-patch SYSTEM "../chapter04/bash-patch.xml">
    23
    34<!ENTITY c5-bash SYSTEM "../chapter05/bash.xml">
     
    1314<!ENTITY aa-bash-down SYSTEM "../appendixa/bash-down.xml">
    1415
    15 <!ENTITY bash-version "2.05a">
     16<!ENTITY bash-version "2.05b">
    1617<!ENTITY bash-depversion "2.05a">
    1718<!ENTITY bash-contversion "2.05a">
     
    1920<!ENTITY bash-dir "bash-&bash-version;">
    2021<!ENTITY bash-size "1,766 KB">
     22<!ENTITY bash-patch-version "2.05b">
     23<!ENTITY bash-patch-size "4 KB">
    2124
    2225<!ENTITY bash-compsize-static "24 MB">
  • entities/chapter06.ent

    r7972fe0 r6e50755  
    77<!ENTITY c6-creatingdirs SYSTEM "../chapter06/creatingdirs.xml">
    88<!ENTITY c6-pwdgroup SYSTEM "../chapter06/pwdgroup.xml">
    9 <!ENTITY c6-mtablink SYSTEM "../chapter06/mtablink.xml">
    109<!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml">
    1110<!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml">
     
    1413<!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml">
    1514<!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml">
    16 <!ENTITY c6-cf-utmp SYSTEM "../chapter06/create-utmp.xml">
    1715<!ENTITY c6-cf-password SYSTEM "../chapter06/create-password.xml">
  • entities/vim.ent

    r7972fe0 r6e50755  
    11<!ENTITY c4-vim SYSTEM "../chapter04/vim.xml">
    2 <!ENTITY c4-vim-patch SYSTEM "../chapter04/vim-patch.xml">
    32
    43<!ENTITY c6-vim SYSTEM "../chapter06/vim.xml">
     
    1716<!ENTITY vim-contversion "6.1">
    1817<!ENTITY vim-size "2,822 KB">
    19 <!ENTITY vim-patch-size "1 KB">
    20 <!ENTITY vim-patch-version "6.1">
    2118<!ENTITY vim-dir "vim&vim-version;">
    2219<!ENTITY vim-package "vim-&vim-version;.tar.bz2">
  • entities/zlib.ent

    r7972fe0 r6e50755  
    11<!ENTITY c4-zlib SYSTEM "../chapter04/zlib.xml">
     2<!ENTITY c4-zlib-patch SYSTEM "../chapter04/zlib-patch.xml">
    23
    34<!ENTITY c6-zlib SYSTEM "../chapter06/zlib.xml">
     
    1617<!ENTITY zlib-dir "zlib-&zlib-version;">
    1718<!ENTITY zlib-package "zlib-&zlib-version;.tar.bz2">
     19<!ENTITY zlib-patch-version "1.1.4-vsnprintf">
     20<!ENTITY zlib-patch-size "10 KB">
    1821
    1922<!ENTITY zlib-compsize "1 MB">
Note: See TracChangeset for help on using the changeset viewer.