Changeset 6e50755
- Timestamp:
- 05/11/2003 03:09:30 PM (21 years ago)
- 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
- Files:
-
- 2 added
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r7972fe0 r6e50755 10 10 <itemizedlist> 11 11 <listitem><para>automake-1.7.4</para></listitem> 12 <listitem><para>bash-2.05b</para></listitem> 12 13 <listitem><para>e2fsprogs-1.33</para></listitem> 13 14 <listitem><para>file-4.02</para></listitem> … … 36 37 <listitem><para>Added: 37 38 <itemizedlist> 39 <listitem><para>bash-2.05b.patch</para></listitem> 38 40 <listitem><para>binutils-2.13.2-libc.patch</para></listitem> 39 41 <listitem><para>coreutils-5.0</para></listitem> … … 50 52 <listitem><para>perl-5.8.0-libc.patch</para></listitem> 51 53 <listitem><para>tcl-8.4.2</para></listitem> 54 <listitem><para>zlib-1.1.4-vsnprintf.patch</para></listitem> 52 55 </itemizedlist> 53 56 </para></listitem> … … 63 66 </itemizedlist> 64 67 </para></listitem> 68 69 <listitem><para>May 11th, 2003 [winkie]: Upgraded to Bash 2.05b and 70 added its patch</para></listitem> 71 72 <listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Installing Zlib: 73 Apply a patch to fix the buffer overflow in gzprintf().</para></listitem> 74 75 <listitem><para>May 11th, 2003 [winkie]: Chapter 06 - Configuring system 76 compoents: Moved the creation of the btmp, wtmp, lastlog, and utmp to 77 just 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: 80 Run "make" before installing. This is needed now with the newer releases 81 of Automake.</para></listitem> 82 83 <listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Vim: 84 Removed 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 87 file: Removed. Mounting /proc has the side effect of creating /etc/mtab 88 for us.</para></listitem> 89 90 <listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Make: 91 Removed modification of /usr/bin/make file. It is no longer mistakenly 92 installed with strange ownership or permissions.</para></listitem> 93 94 <listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing Glibc: 95 Made /etc/localtime a file instead of a symlink. The symlink method breaks 96 on systems where /usr is a separate partition.</para></listitem> 97 98 <listitem><para>May 10th, 2003 [winkie]: Chapter 06 - Installing E2fsprogs: 99 Removed install-info commands for e2fsprogs. The "make install" target 100 handles this for us.</para></listitem> 65 101 66 102 <listitem><para>May 10th, 2003 [gerard]: Removed all CFLAGS and LDFLAGS -
chapter04/packages.xml
r7972fe0 r6e50755 9 9 &c4-automake; 10 10 &c4-bash; 11 &c4-bash-patch; 11 12 &c4-bin86; 12 13 &c4-binutils; … … 70 71 &c4-utillinux; 71 72 &c4-vim; 72 &c4-vim-patch;73 73 &c4-zlib; 74 &c4-zlib-patch; 74 75 75 76 Total size of all packages: &all-size-kb; (&all-size-mb;) -
chapter05/bash-inst.xml
r7972fe0 r6e50755 3 3 <sect2> 4 4 <title>Installation of Bash</title> 5 6 <para>Bash has a number of bugs in it that cause it to not behave the 7 way it is expected at times. Fix this behaviour with the following 8 patch:</para> 9 10 <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para> 5 11 6 12 <para><screen><userinput>./configure --prefix=/stage1 \ -
chapter06/automake-inst.xml
r7972fe0 r6e50755 8 8 <para><screen><userinput>./configure --prefix=/usr</userinput></screen></para> 9 9 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> 11 15 12 16 <para><screen><userinput>make install</userinput></screen></para> -
chapter06/bash-inst.xml
r7972fe0 r6e50755 3 3 <sect2> 4 4 <title>Installation of Bash</title> 5 6 <para>Bash has a number of bugs in it that cause it to not behave the 7 way it is expected at times. Fix this behaviour with the following 8 patch:</para> 9 10 <para><screen><userinput>patch -Np1 -i ../bash-&bash-patch-version;.patch</userinput></screen></para> 5 11 6 12 <para>Prepare Bash to be compiled:</para> -
chapter06/chapter06.xml
r7972fe0 r6e50755 9 9 &c6-creatingdirs; 10 10 &c6-mountproc; 11 &c6-mtablink;12 11 &c6-createfiles; 13 12 &c6-pwdgroup; -
chapter06/config-glibc.xml
r7972fe0 r6e50755 40 40 output the name of your timezone, something like <emphasis>EST5EDT</emphasis> 41 41 or <emphasis>Canada/Eastern</emphasis>. Then create the 42 <filename>/etc/localtime</filename> symlinkby running:</para>42 <filename>/etc/localtime</filename> file by running:</para> 43 43 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> 45 45 46 46 <para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in -
chapter06/configure.xml
r7972fe0 r6e50755 7 7 8 8 &c6-cf-keyboard; 9 &c6-cf-utmp;10 9 &c6-cf-password; 11 10 -
chapter06/e2fsprogs-inst.xml
r7972fe0 r6e50755 47 47 <para><screen><userinput>make install-libs</userinput></screen></para> 48 48 49 <para>Update the <filename>/usr/share/info/dir</filename> file to50 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 54 49 </sect2> 55 50 -
chapter06/make-inst.xml
r7972fe0 r6e50755 16 16 <para><screen><userinput>make install</userinput></screen></para> 17 17 18 <para>By default, <filename>/usr/bin/make</filename> is installed setgid19 kmem. This is needed on some systems so it can check the load average by20 using <filename>/dev/kmem</filename>. However, on Linux systems, setgid21 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 &&26 chmod 755 /usr/bin/make</userinput></screen></para>27 28 18 </sect2> 29 19 -
chapter06/shadowpwd-inst.xml
r7972fe0 r6e50755 9 9 and how to get the most out of this Shadow package. The Shadow hint can 10 10 be found at <ulink url="&hints-root;shadowpasswd_plus.txt"/>.</para> 11 12 <para>Programs like login, shutdown, uptime, and others want to read 13 from and to the /var/run/utmp, /var/log/btmp and /var/log/wtmp. These 14 files contain information about who is currently logged in. They also 15 contain information about when the conmputer was last booted and 16 shutdown and a record of bas login attempts.</para> 17 18 <para>Create these files with their proper permissions by running the 19 following commands:</para> 20 21 <para><screen><userinput>touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && 22 chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp)</userinput></screen></para> 11 23 12 24 <para>Prepare Shadow to be compiled:</para> -
chapter06/vim-inst.xml
r7972fe0 r6e50755 3 3 <sect2> 4 4 <title>Installation of Vim</title> 5 6 <para>This package requires its patch to be applied before you can7 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>10 5 11 6 <para>Prepare Vim to be compiled:</para> -
chapter06/zlib-inst.xml
r7972fe0 r6e50755 3 3 <sect2> 4 4 <title>Installation of Zlib</title> 5 6 <para>Zlib has a potential buffer overflow in its gzprintf() function, 7 that, though difficult to take advantage of, should be taken care of. Do 8 so by applying this patch:</para> 9 10 <para><screen><userinput>patch -Np1 -i ../zlib-&zlib-patch-version;</userinput></screen></para> 5 11 6 12 <para>Prepare Zlib to be compiled:</para> -
entities/bash.ent
r7972fe0 r6e50755 1 1 <!ENTITY c4-bash SYSTEM "../chapter04/bash.xml"> 2 <!ENTITY c4-bash-patch SYSTEM "../chapter04/bash-patch.xml"> 2 3 3 4 <!ENTITY c5-bash SYSTEM "../chapter05/bash.xml"> … … 13 14 <!ENTITY aa-bash-down SYSTEM "../appendixa/bash-down.xml"> 14 15 15 <!ENTITY bash-version "2.05 a">16 <!ENTITY bash-version "2.05b"> 16 17 <!ENTITY bash-depversion "2.05a"> 17 18 <!ENTITY bash-contversion "2.05a"> … … 19 20 <!ENTITY bash-dir "bash-&bash-version;"> 20 21 <!ENTITY bash-size "1,766 KB"> 22 <!ENTITY bash-patch-version "2.05b"> 23 <!ENTITY bash-patch-size "4 KB"> 21 24 22 25 <!ENTITY bash-compsize-static "24 MB"> -
entities/chapter06.ent
r7972fe0 r6e50755 7 7 <!ENTITY c6-creatingdirs SYSTEM "../chapter06/creatingdirs.xml"> 8 8 <!ENTITY c6-pwdgroup SYSTEM "../chapter06/pwdgroup.xml"> 9 <!ENTITY c6-mtablink SYSTEM "../chapter06/mtablink.xml">10 9 <!ENTITY c6-mountproc SYSTEM "../chapter06/mountproc.xml"> 11 10 <!ENTITY c6-createfiles SYSTEM "../chapter06/createfiles.xml"> … … 14 13 <!ENTITY c6-cf-ldso SYSTEM "../chapter06/config-ldso.xml"> 15 14 <!ENTITY c6-cf-keyboard SYSTEM "../chapter06/config-keyboard.xml"> 16 <!ENTITY c6-cf-utmp SYSTEM "../chapter06/create-utmp.xml">17 15 <!ENTITY c6-cf-password SYSTEM "../chapter06/create-password.xml"> -
entities/vim.ent
r7972fe0 r6e50755 1 1 <!ENTITY c4-vim SYSTEM "../chapter04/vim.xml"> 2 <!ENTITY c4-vim-patch SYSTEM "../chapter04/vim-patch.xml">3 2 4 3 <!ENTITY c6-vim SYSTEM "../chapter06/vim.xml"> … … 17 16 <!ENTITY vim-contversion "6.1"> 18 17 <!ENTITY vim-size "2,822 KB"> 19 <!ENTITY vim-patch-size "1 KB">20 <!ENTITY vim-patch-version "6.1">21 18 <!ENTITY vim-dir "vim&vim-version;"> 22 19 <!ENTITY vim-package "vim-&vim-version;.tar.bz2"> -
entities/zlib.ent
r7972fe0 r6e50755 1 1 <!ENTITY c4-zlib SYSTEM "../chapter04/zlib.xml"> 2 <!ENTITY c4-zlib-patch SYSTEM "../chapter04/zlib-patch.xml"> 2 3 3 4 <!ENTITY c6-zlib SYSTEM "../chapter06/zlib.xml"> … … 16 17 <!ENTITY zlib-dir "zlib-&zlib-version;"> 17 18 <!ENTITY zlib-package "zlib-&zlib-version;.tar.bz2"> 19 <!ENTITY zlib-patch-version "1.1.4-vsnprintf"> 20 <!ENTITY zlib-patch-size "10 KB"> 18 21 19 22 <!ENTITY zlib-compsize "1 MB">
Note:
See TracChangeset
for help on using the changeset viewer.