- Timestamp:
- 10/15/2005 12:01:06 AM (19 years ago)
- Branches:
- 6.1.1
- Children:
- 1ec69ac5
- Parents:
- 8f192d8
- Location:
- chapter06
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/bash.xml
r8f192d8 re9f3e85 33 33 will sometimes only show 33 characters on a line, then wrap to the next:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../ bash-&bash-version;-fixes-3.patch</userinput></screen>35 <screen><userinput>patch -Np1 -i ../&bash-fixes-patch;</userinput></screen> 36 36 37 37 <para>Bash also has issues when compiled against newer versions of Glibc. The 38 38 following patch resolves this problem:</para> 39 39 40 <screen><userinput>patch -Np1 -i ../ bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>40 <screen><userinput>patch -Np1 -i ../&bash-avoid_WCONTINUED-patch;</userinput></screen> 41 41 42 42 <para>Prepare Bash for compilation:</para> -
chapter06/bzip2.xml
r8f192d8 re9f3e85 33 33 <para>Apply a patch to install the documentation for this package:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../ bzip2-&bzip2-version;-install_docs-1.patch</userinput></screen>35 <screen><userinput>patch -Np1 -i ../&bzip2-docs-patch;</userinput></screen> 36 36 37 37 <para>The <command>bzgrep</command> command does not escape '|' and '&' in … … 40 40 address this:</para> 41 41 42 <screen><userinput>patch -Np1 -i ../ bzip2-&bzip2-version;-bzgrep_security-1.patch</userinput></screen>42 <screen><userinput>patch -Np1 -i ../&bzip2-bzgrep-patch;</userinput></screen> 43 43 44 44 <para>Prepare Bzip2 for compilation with:</para> -
chapter06/coreutils.xml
r8f192d8 re9f3e85 35 35 fixes this behavior for Intel architectures:</para> 36 36 37 <screen><userinput>patch -Np1 -i ../ coreutils-&coreutils-version;-uname-2.patch</userinput></screen>37 <screen><userinput>patch -Np1 -i ../&coreutils-uname-patch;</userinput></screen> 38 38 39 39 <para>Prevent Coreutils from installing binaries that will be installed by 40 40 other packages later:</para> 41 41 42 <screen><userinput>patch -Np1 -i \ 43 ../coreutils-&coreutils-version;-suppress_uptime_kill_su-1.patch</userinput></screen> 42 <screen><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen> 44 43 45 44 <para>Now prepare Coreutils for compilation:</para> -
chapter06/flex.xml
r8f192d8 re9f3e85 32 32 <para>Flex contains several known bugs. Fix these with the following patch:</para> 33 33 34 <screen><userinput>patch -Np1 -i ../ flex-&flex-version;-debian_fixes-3.patch</userinput></screen>34 <screen><userinput>patch -Np1 -i ../&flex-fixes-patch;</userinput></screen> 35 35 36 36 <para>The GNU autotools detects that the Flex source code has been -
chapter06/gcc.xml
r8f192d8 re9f3e85 40 40 used in the previous chapter:</para> 41 41 42 <screen><userinput>patch -Np1 -i ../ gcc-&gcc-version;-no_fixincludes-1.patch</userinput></screen>42 <screen><userinput>patch -Np1 -i ../&gcc-no_fixincludes-patch;</userinput></screen> 43 43 44 44 <para>GCC fails to compile some packages outside of a base Linux From Scratch … … 46 46 versions of Binutils. Apply the following patch to fix this issue:</para> 47 47 48 <screen><userinput>patch -Np1 -i ../ gcc-&gcc-version;-linkonce-1.patch</userinput></screen>48 <screen><userinput>patch -Np1 -i ../&gcc-linkonce-patch;</userinput></screen> 49 49 50 50 <para>Apply a <command>sed</command> substitution that will suppress the -
chapter06/glibc.xml
r8f192d8 re9f3e85 50 50 within the Glibc source directory:</para> 51 51 52 <screen><userinput>tar -xjvf /sources/glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen>52 <screen><userinput>tar -xjvf ../glibc-linuxthreads-&glibc-version;.tar.bz2</userinput></screen> 53 53 54 54 <para>In certain rare circumstances, Glibc can segfault when no standard search 55 55 directories exist. The following patch prevents this:</para> 56 56 57 <screen><userinput>patch -Np1 -i ../ glibc-&glibc-version;-rtld_search_dirs-1.patch</userinput></screen>57 <screen><userinput>patch -Np1 -i ../&glibc-rtld-patch;</userinput></screen> 58 58 59 59 <para>Glibc has two tests which fail when the running kernel is 2.6.11.x The … … 61 61 nor the kernel. This patch fixes the problem:</para> 62 62 63 <screen><userinput>patch -Np1 -i ../ glibc-&glibc-version;-fix_test-1.patch</userinput></screen>63 <screen><userinput>patch -Np1 -i ../&glibc-testfix-patch;</userinput></screen> 64 64 65 65 <para>The Glibc documentation recommends building Glibc outside of the source -
chapter06/gzip.xml
r8f192d8 re9f3e85 33 33 addresses both of them:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../ gzip-&gzip-version;-security_fixes-1.patch</userinput></screen>35 <screen><userinput>patch -Np1 -i ../&gzip-security_fix-patch;</userinput></screen> 36 36 37 37 <para>Prepare Gzip for compilation:</para> -
chapter06/inetutils.xml
r8f192d8 re9f3e85 32 32 issues by applying the following patch:</para> 33 33 34 <screen><userinput>patch -Np1 -i ../ inetutils-&inetutils-version;-kernel_headers-1.patch</userinput></screen>34 <screen><userinput>patch -Np1 -i ../&inetutils-kernel_headers-patch;</userinput></screen> 35 35 36 36 <para>All programs that come with Inetutils will not be installed. … … 39 39 situation:</para> 40 40 41 <screen><userinput>patch -Np1 -i ../ inetutils-&inetutils-version;-no_server_man_pages-1.patch</userinput></screen>41 <screen><userinput>patch -Np1 -i ../&inetutils-man_pages-patch;</userinput></screen> 42 42 43 43 <para>Prepare Inetutils for compilation:</para> -
chapter06/iproute2.xml
r8f192d8 re9f3e85 41 41 </para> 42 42 43 <screen><userinput>patch -Np1 -i ../ iproute2-&iproute2-patch-version;-remove_db-1.patch</userinput></screen>43 <screen><userinput>patch -Np1 -i ../&iproute2-remove_db-patch;</userinput></screen> 44 44 45 45 <para>Prepare IPRoute2 for compilation:</para> -
chapter06/mktemp.xml
r8f192d8 re9f3e85 34 34 <command>tempfile</command> wrapper:</para> 35 35 36 <screen><userinput>patch -Np1 -i ../ mktemp-&mktemp-version;-add_tempfile-2.patch</userinput></screen>36 <screen><userinput>patch -Np1 -i ../&mktemp-tempfile-patch;</userinput></screen> 37 37 38 38 <para>Prepare Mktemp for compilation:</para> -
chapter06/readline.xml
r8f192d8 re9f3e85 34 34 includes other fixes recommended by the Readline author.</para> 35 35 36 <screen><userinput>patch -Np1 -i ../ readline-&readline-version;-fixes-1.patch</userinput></screen>36 <screen><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen> 37 37 38 38 <para>Prepare Readline for compilation:</para> -
chapter06/sysklogd.xml
r8f192d8 re9f3e85 32 32 Sysklogd with Linux 2.6 series kernels</para> 33 33 34 <screen><userinput>patch -Np1 -i ../ sysklogd-&sysklogd-version;-fixes-1.patch</userinput></screen>34 <screen><userinput>patch -Np1 -i ../&sysklogd-fixes-patch;</userinput></screen> 35 35 36 36 <para>Compile the package:</para> -
chapter06/tar.xml
r8f192d8 re9f3e85 32 32 with files larger than 4 GB. The following patch properly fixes this issue:</para> 33 33 34 <screen><userinput>patch -Np1 -i ../ tar-&tar-version;-sparse_fix-1.patch</userinput></screen>34 <screen><userinput>patch -Np1 -i ../&tar-sparse_fix-patch;</userinput></screen> 35 35 36 36 <para>Prepare Tar for compilation:</para> -
chapter06/texinfo.xml
r8f192d8 re9f3e85 33 33 on temporary files. Apply the following patch to fix this:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../ texinfo-&texinfo-version;-tempfile_fix-1.patch</userinput></screen>35 <screen><userinput>patch -Np1 -i ../&texinfo-tempfile_fix-patch;</userinput></screen> 36 36 37 37 <para>Prepare Texinfo for compilation:</para> -
chapter06/util-linux.xml
r8f192d8 re9f3e85 50 50 The following patch properly fixes this issue:</para> 51 51 52 <screen><userinput>patch -Np1 -i ../ util-linux-&util-linux-version;-cramfs-1.patch</userinput></screen>52 <screen><userinput>patch -Np1 -i ../&util-linux-cramfs-patch;</userinput></screen> 53 53 54 54 <para>Util-linux has a security vulnerability that could allow a user to remount 55 55 a volume without the nosuid option. The following patch fixes this issue:</para> 56 56 57 <screen><userinput>patch -Np1 -i ../ util-linux-&util-linux-version;-umount_fix-1.patch</userinput></screen>57 <screen><userinput>patch -Np1 -i ../&util-linux-umount-patch;</userinput></screen> 58 58 59 59 <para>Prepare Util-linux for compilation:</para> -
chapter06/vim.xml
r8f192d8 re9f3e85 50 50 following patch fixes the problem:</para> 51 51 52 <screen><userinput>patch -Np1 -i ../ vim-&vim-version;-security_fix-2.patch</userinput></screen>52 <screen><userinput>patch -Np1 -i ../&vim-security_fix-patch;</userinput></screen> 53 53 54 54 <para>Now prepare Vim for compilation:</para>
Note:
See TracChangeset
for help on using the changeset viewer.