Changeset 7b31c44 for BOOK/final-system
- Timestamp:
- Aug 31, 2008, 9:15:57 AM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- ea55a49
- Parents:
- 33bdb0d
- Location:
- BOOK/final-system
- Files:
-
- 5 deleted
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/alpha-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/common/coreutils.xml
r33bdb0d r7b31c44 26 26 <title>Installation of Coreutils</title> 27 27 28 <para os="a">Prevent Coreutils from installing binaries that will be29 installed by other packages:</para>30 31 <screen os="b"><userinput>patch -Np1 -i ../&coreutils-suppress-patch;</userinput></screen>32 33 28 <para os="p1">A known issue with the <command>uname</command> program from 34 29 this package is that the <option>-p</option> switch always … … 46 41 <para os="c">Now prepare Coreutils for compilation:</para> 47 42 48 <screen os="d"><userinput>./configure --prefix=/usr</userinput></screen> 43 <screen os="d"><userinput>./configure --prefix=/usr \ 44 --enable-no-install-program=arch,hostname,kill,su,uptime</userinput></screen> 49 45 50 46 <para os="e">Compile the package:</para> … … 114 110 echo, env, expand, expr, factor, false, fmt, fold, groups, head, 115 111 hostid, hostname, id, install, join, link, ln, logname, ls, md5sum, 116 mkdir, mkfifo, mknod, m v, nice, nl, nohup, od, paste, pathchk, pinky,117 p r, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, sha1sum,118 sha 224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep, sort,119 s plit, stat, stty, sum, sync, tac, tail, tee, test, touch, tr, true,120 t sort, tty, uname, unexpand, uniq, unlink, users, vdir, wc, who,121 who ami, and yes</seg>112 mkdir, mkfifo, mknod, mktemp, mv, nice, nl, nohup, od, paste, pathchk, 113 pinky, pr, printenv, printf, ptx, pwd, readlink, rm, rmdir, seq, 114 sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, 115 sleep, sort, split, stat, stty, sum, sync, tac, tail, tee, test, touch, 116 tr, true, tsort, tty, uname, unexpand, uniq, unlink, users, vdir, wc, 117 who, whoami, and yes</seg> 122 118 </seglistitem> 123 119 </segmentedlist> … … 573 569 </varlistentry> 574 570 571 <varlistentry id="mktemp"> 572 <term><command>mktemp</command></term> 573 <listitem> 574 <para>Creates temporary files in a secure manner; it is used in 575 scripts</para> 576 <indexterm zone="ch-system-coreutils mktemp"> 577 <primary sortas="b-mktemp">mktemp</primary> 578 </indexterm> 579 </listitem> 580 </varlistentry> 581 575 582 <varlistentry id="mv"> 576 583 <term><command>mv</command></term> -
BOOK/final-system/common/perl.xml
r33bdb0d r7b31c44 25 25 <sect2 role="installation"> 26 26 <title>Installation of Perl</title> 27 28 <para os="p1">The following patch causes makedepend.sh to also remove29 <literal><command-line></literal> as well as30 <literal><command line></literal>:</para>31 32 <screen os="p2"><userinput>patch -Np1 -i ../&perl-gcc42_fix-patch;</userinput></screen>33 34 <para os="p3">The following patch prevents perl from including asm/page.h35 which will no longer be available in headers provided by kernel 2.6.25 and36 forward:</para>37 38 <screen os="p4"><userinput>patch -Np1 -i ../&perl-no_page_h-patch;</userinput></screen>39 40 <para os="p5">The following patch fixes known vulnerabilities in perl:</para>41 42 <screen os="p6"><userinput>patch -Np1 -i ../&perl-security-patch;</userinput></screen>43 27 44 28 <para os="s1">The following sed causes <filename>DynaLoader.a</filename> -
BOOK/final-system/common/temp-perl.xml
r33bdb0d r7b31c44 22 22 <sect2 role="installation"> 23 23 <title>Installation of Perl</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/perl.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/perl.xml"35 xpointer="xpointer(//*[@os='p3'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"38 href="../common/perl.xml"39 xpointer="xpointer(//*[@os='p4'])"/>40 24 41 25 <para os="a">First adapt some hard-wired paths to the C library by applying -
BOOK/final-system/mips-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/mips64-64-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/mips64-chapter.xml
r33bdb0d r7b31c44 86 86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/> 87 87 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/man.xml"/> 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mips64/mktemp.xml"/>89 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/module-init-tools.xml"/> 90 89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/> -
BOOK/final-system/mips64/gmp-64bit.xml
r33bdb0d r7b31c44 60 60 <para os="j">Create the 64bit header file:</para> 61 61 62 <screen os="k"><userinput>mv /usr/include/gmp{,-64}.h</userinput></screen>62 <screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen> 63 63 64 64 <para os="l">Finally, Create a stub header in the place of the originals:</para> -
BOOK/final-system/multilib/coreutils.xml
r33bdb0d r7b31c44 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="../common/coreutils.xml" 26 xpointer="xpointer(//*[@os='a'])"/>27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"29 href="../common/coreutils.xml"30 xpointer="xpointer(//*[@os='b'])"/>31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"33 href="../common/coreutils.xml"34 26 xpointer="xpointer(//*[@os='p1'])"/> 35 27 … … 50 42 xpointer="xpointer(//*[@os='c'])"/> 51 43 52 <screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr</userinput></screen> 44 <screen os="d"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 45 --enable-no-install-program=arch,hostname,kill,su,uptime</userinput></screen> 53 46 54 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/gmp-64bit.xml
r33bdb0d r7b31c44 60 60 <para os="j">Create the 64bit header file:</para> 61 61 62 <screen os="k"><userinput>mv /usr/include/gmp{,-64}.h</userinput></screen>62 <screen os="k"><userinput>mv -v /usr/include/gmp{,-64}.h</userinput></screen> 63 63 64 64 <para os="l">Finally, Create a stub header in the place of the originals:</para> -
BOOK/final-system/multilib/gmp-n32.xml
r33bdb0d r7b31c44 61 61 <para os="j">Create the N32 header file:</para> 62 62 63 <screen os="k"><userinput>mv /usr/include/gmp{,-n32}.h</userinput></screen>63 <screen os="k"><userinput>mv -v /usr/include/gmp{,-n32}.h</userinput></screen> 64 64 65 65 </sect2> -
BOOK/final-system/multilib/gmp.xml
r33bdb0d r7b31c44 61 61 <para os="j">The header installed by GMP is architecture specific. Programs compiled as 32bit will require the header provided by the 32bit installation of GMP. The same applies for 64bit programs. Move the header so a wrapper can be put in its place later:</para> 62 62 63 <screen os="k"><userinput>mv /usr/include/gmp{,-32}.h</userinput></screen>63 <screen os="k"><userinput>mv -v /usr/include/gmp{,-32}.h</userinput></screen> 64 64 65 65 </sect2> -
BOOK/final-system/multilib/perl-64bit.xml
r33bdb0d r7b31c44 21 21 <sect2 role="installation"> 22 22 <title>Installation of Perl</title> 23 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"25 href="../common/perl.xml"26 xpointer="xpointer(//*[@os='p1'])"/>27 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"29 href="../common/perl.xml"30 xpointer="xpointer(//*[@os='p2'])"/>31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"33 href="../common/perl.xml"34 xpointer="xpointer(//*[@os='p3'])"/>35 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"37 href="../common/perl.xml"38 xpointer="xpointer(//*[@os='p4'])"/>39 40 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"41 href="../common/perl.xml"42 xpointer="xpointer(//*[@os='p5'])"/>43 44 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"45 href="../common/perl.xml"46 xpointer="xpointer(//*[@os='p6'])"/>47 23 48 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/perl-n32.xml
r33bdb0d r7b31c44 22 22 <sect2 role="installation"> 23 23 <title>Installation of Perl</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/perl.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/perl.xml"35 xpointer="xpointer(//*[@os='p3'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"38 href="../common/perl.xml"39 xpointer="xpointer(//*[@os='p4'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"42 href="../common/perl.xml"43 xpointer="xpointer(//*[@os='p5'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"46 href="../common/perl.xml"47 xpointer="xpointer(//*[@os='p6'])"/>48 24 49 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/perl.xml
r33bdb0d r7b31c44 22 22 <sect2 role="installation"> 23 23 <title>Installation of Perl</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/perl.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/perl.xml"35 xpointer="xpointer(//*[@os='p3'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"38 href="../common/perl.xml"39 xpointer="xpointer(//*[@os='p4'])"/>40 41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"42 href="../common/perl.xml"43 xpointer="xpointer(//*[@os='p5'])"/>44 45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"46 href="../common/perl.xml"47 xpointer="xpointer(//*[@os='p6'])"/>48 24 49 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/multilib/temp-perl.xml
r33bdb0d r7b31c44 22 22 <sect2 role="installation"> 23 23 <title>Installation of Perl</title> 24 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"26 href="../common/perl.xml"27 xpointer="xpointer(//*[@os='p1'])"/>28 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"30 href="../common/perl.xml"31 xpointer="xpointer(//*[@os='p2'])"/>32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"34 href="../common/perl.xml"35 xpointer="xpointer(//*[@os='p3'])"/>36 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"38 href="../common/perl.xml"39 xpointer="xpointer(//*[@os='p4'])"/>40 24 41 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" -
BOOK/final-system/ppc-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/ppc64-chapter.xml
r33bdb0d r7b31c44 71 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/man.xml"/> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ppc64/mktemp.xml"/>74 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/module-init-tools.xml"/> 75 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/> -
BOOK/final-system/sparc-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/sparc64-64-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/sparc64-chapter.xml
r33bdb0d r7b31c44 71 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/man.xml"/> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/mktemp.xml"/>74 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/module-init-tools.xml"/> 75 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/> -
BOOK/final-system/x86-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/x86_64-64-chapter.xml
r33bdb0d r7b31c44 55 55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/make.xml"/> 56 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/man.xml"/> 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/mktemp.xml"/>58 57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/module-init-tools.xml"/> 59 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/patch.xml"/> -
BOOK/final-system/x86_64-chapter.xml
r33bdb0d r7b31c44 71 71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/make.xml"/> 72 72 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/man.xml"/> 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/mktemp.xml"/>74 73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/module-init-tools.xml"/> 75 74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/patch.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.