Subversion Repositories svn LFS-FR

Compare Revisions

Ignore whitespace Rev 6648 → Rev 6649

/trunk/clfs/final-system/common/perl.xml
27,20 → 27,17
<sect2 role="installation">
<title>Installation de Perl</title>
 
<para os="s3">Par défaut, le module Compress::Raw::Zlib de Perl se construis et se lie à sa propre copie de de Zlib. La commande
suivante lui dit d'utiliser la Zlib installée sur le système&nbsp;:</para>
<para os="s3">Par défaut, les modules Compress::Raw::Zlib et Compress::Raw::Bzip2 de Perl se construisent
et se lient à leurs propres copies de Zlib et Bzip2. La commande
suivante fait que Perl utilisera les copies installées sur le système de ces bibliothèquese&nbsp;:</para>
 
<screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \
-e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
-e '/^LIB/s,\./zlib-src,/usr/lib,' \
cpan/Compress-Raw-Zlib/config.in</userinput></screen>
<screen os="s4"><userinput>export BUILD_ZLIB=False
export BUILD_BZIP2=0</userinput></screen>
 
<note os="a00">
<para>Si vous suivez la méthode du démarrage, vous aurez besoin d'activer le périphérique loopback et de paramétrer le
nom de l'hôte (<foreignphrase>hostname</foreignphrase>) pour certains des tests&nbsp;:</para>
<para>Si vous suivez la méthode du démarrage, vous aurez besoin d'activer le périphérique loopback &nbsp;:</para>
 
<screen><userinput remap="test">ip link set lo up
hostname clfs</userinput></screen>
<screen><userinput remap="test">ip link set lo up</userinput></screen>
</note>
 
<para os="a01">Avant de lancer la configuration, créez un fichier <filename>/etc/hosts</filename> basique qui va être
64,19 → 61,18
<title>Voici la signification de l'option de configure&nbsp;:</title>
 
<varlistentry os="c1">
<term><parameter>-Dpager="/usr/bin/less -isR"</parameter></term>
<term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
<listitem>
<para>Ceci corrige une erreur dans la façon dont <command>perldoc</command>
fait appel au programme <command>less</command>.</para>
<para>Comme Groff n'est pas installé, <command>configure.gnu</command> pense que nous ne
voulons pas les pages de man de Perl. Ces paramètres changent cette
décision.</para>
</listitem>
</varlistentry>
<varlistentry os="c2">
<term><parameter>-Dman1dir=/usr/share/man/man1
-Dman3dir=/usr/share/man/man3</parameter></term>
<term><parameter>-Dpager="/bin/less -isR"</parameter></term>
<listitem>
<para>Comme Groff n'est pas installé, <command>configure.gnu</command> pense que nous ne
voulons pas les pages de man de Perl. Ces paramètres changent cette
décision.</para>
<para>Ceci corrige une erreur dans la façon dont <command>perldoc</command>
fait appel au programme <command>less</command>.</para>
</listitem>
</varlistentry>
<varlistentry os="c3">
102,9 → 98,10
 
<screen os="h2"><userinput remap="test">make test</userinput></screen>
 
<para os="j">Installez le paquet&nbsp;:</para>
<para os="j">Installez le paquet et effacez les variables initialisez précédement&nbsp;:</para>
 
<screen os="k"><userinput>make install</userinput></screen>
<screen os="k"><userinput>make install
unset BUILD_ZLIB BUILD_BZIP2</userinput></screen>
 
</sect2>
 
/trunk/clfs/final-system/common/sed.xml
26,7 → 26,8
 
<para os="a">Préparez la compilation de Sed&nbsp;:</para>
 
<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
--docdir=/usr/share/doc/sed-&sed-version;</userinput></screen>
 
<para os="c">Compilez le paquet&nbsp;:</para>
 
59,7 → 60,7
 
<seglistitem>
<seg>sed</seg>
<seg>/usr/share/doc/sed</seg>
<seg>/usr/share/doc/sed-&sed-version;</seg>
</seglistitem>
</segmentedlist>
 
/trunk/clfs/final-system/common/psmisc.xml
29,31 → 29,16
 
<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
 
<variablelist os="c">
<title>Voici la signification de l'option de configure&nbsp;:</title>
<variablelist os="c"> Compilez le paquet:</para>
 
<varlistentry>
<term><parameter>--exec-prefix=""</parameter></term>
<listitem>
<para>Ceci nous assure que les binaires de Psmisc sont installés dans
<filename class="directory">/bin</filename> au lieu de
<filename class="directory">/usr/bin</filename>. D'après le FHS, il
s'agit du bon emplacement car certains binaires de Psmisc sont
utilisés dans le paquet CLFS-Bootscripts.</para>
</listitem>
</varlistentry>
</variablelist>
<screen os="d"><userinput>make</userinput></screen>
 
<para os="d">Compilez le paquet&nbsp;:</para>
<para os="e">Ce paquet n'a pas de suite de tests.</para>
 
<screen os="e"><userinput>make</userinput></screen>
<para os="f">Installez le paquet:</para>
 
<para os="f">Ce paquet ne fournit pas de suite de tests.</para>
<screen os="g"><userinput>make install</userinput></screen>
 
<para os="g">Installez le paquet&nbsp;:</para>
 
<screen os="h"><userinput>make install</userinput></screen>
 
<para os="i">Il n'existe aucune raison pour que les programmes
<command>pstree</command> et <command>pstree.x11</command> résident
dans <filename class="directory">/bin</filename>. Du coup,
/trunk/clfs/final-system/common/pkg-config-lite.xml
28,7 → 28,7
 
<para os="a">Préparez la compilation de Pkg-config-lite&nbsp;:</para>
 
<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/pkg-config-&pkg-config-lite-version;</userinput></screen>
 
<para os="c">Compilez le paquet&nbsp;:</para>
 
53,7 → 53,7
 
<seglistitem>
<seg>pkg-config</seg>
<seg>/usr/share/doc/pkg-config</seg>
<seg>/usr/share/doc/pkg-config-&pkg-config-lite-version;</seg>
</seglistitem>
</segmentedlist>
 
/trunk/clfs/final-system/common/readline.xml
33,7 → 33,8
 
<para os="a">Préparez la compilation de Readline:</para>
 
<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
--docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
 
<para os="c">Compilez le paquet&nbsp;:</para>
 
43,24 → 44,19
 
<para os="f">Installez le paquet&nbsp;:</para>
 
<screen os="g"><userinput>make install</userinput></screen>
<screen os="g"><userinput>make SHLIB_LIBS=-lncurses htmldir=/usr/share/doc/readline-&readline-version; install/userinput></screen>
 
<para os="h">Installez la documentation&nbsp;:</para>
<para os="h">Maintenant déplacez les bibliothèques statiques dans un endroit plus approprié:</para>
 
<screen os="i"><userinput>make install-doc</userinput></screen>
<screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
 
<para os="j">Maintenant, déplacez les bibliothèques statiques vers un endroit plus approprié&nbsp;:</para>
<para os="j">Ensuite, reliez les bibliothèque dynamique dans <filename class="directory">/usr/lib</filename>
et effacez les fichiers <filename class="extension">.so</filename> dans <filename class="directory">/lib</filename>.</para>
 
<screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
<screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so
ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so
rm -v /lib/lib{readline,history}.so</userinput></screen>
 
<para os="l">Ensuite, supprimez les fichiers the <filename class="extension">.so</filename>
dans <filename class="directory">/lib</filename> et liez-les à nouveau dans
<filename class="directory">/usr/lib</filename>.</para>
<screen os="m"><userinput>rm -v /lib/lib{readline,history}.so
ln -svf ../../lib/libreadline.so.&readline-version2; /usr/lib/libreadline.so
ln -svf ../../lib/libhistory.so.&readline-version2; /usr/lib/libhistory.so</userinput></screen>
 
</sect2>
 
<sect2 id="contents-readline" role="content">
72,7 → 68,7
 
<seglistitem>
<seg>libhistory.[a,so] et libreadline.[a,so]</seg>
<seg>/usr/include/readline, /usr/share/readline</seg>
<seg>/usr/include/readline, /usr/share/doc/readline-&readline-version;, /usr/share/readline</seg>
</seglistitem>
</segmentedlist>
 
/trunk/clfs/final-system/common/shadow.xml
29,11 → 29,18
<para>Si vous aimeriez multiplier l'usage des mots de passe efficaces,
reportez-vous à
<ulink url="&cblfs-root;index.php/Cracklib"/> pour l'installation
de CrackLib avant de compiler Shadow. Puis ajoutez
<parameter>--with-libcrack</parameter> à la commande <command>configure</command>
ci-dessous.</para>
</note>
de CrackLib avant de compiler Shadow. Après que Cracklib soit installé,
exécutez ce <command>sed</command> dnas le répertoire des sources de shadow
pour corriger le chemin du dictionnaire de Cracklib:
</para>
<screen role="nodump"><userinput>sed -i 's@\(DICTPATH.\).*@\1/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
 
<para> Puis ajoutez
<parameter>--with-libcrack</parameter> à la commande <command>configure</command>.</para>
 
</note>
 
<para os="b">Désactivez l'installation des programmes <command>groups</command>
et <command>nologin</command> ainsi que leur pages de man, vu que Coreutils
et Util-linux fournissent une version meilleure de ces programmes&nbsp;:</para>
47,7 → 54,7
 
<screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen>
 
<para os="f">Voici la signification des options de configure&nbsp;:</para>
<para os="f">Voici la signification des nouvelles options de configure&nbsp;:</para>
 
<variablelist os="g">
<varlistentry>
69,7 → 76,7
<screen os="l"><userinput>make install</userinput></screen>
 
<para os="m" id="shadow-login_defs">Au lieu d'utiliser la méthode
<emphasis>crypt</emphasis> par défaut, utilisez la méthode
<emphasis>DES</emphasis> par défaut, utilisez la méthode
<emphasis>SHA512</emphasis> plus sécurisée du chiffrement de mot de
passe, qui autorise aussi les mots de passe plus longs que huit
caractères. Il est également nécessaire de changer l'endroit
86,19 → 93,21
-e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \
-e 's@/var/spool/mail@/var/mail@'</userinput></screen>
 
<note os="t">
<para>Si vous avez construit Shadow avec le support pour Cracklib, exécutez ce
<command>sed</command> pour corriger le chemin vers le dictionnaire de Cracklib&nbsp;:</para>
<para os="t">Déplacez un programme mal placé vers le bon endroit&nbsp;:</para>
 
<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</userinput></screen>
</note>
<screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
 
<para os="u">Déplacez un programme mal placé vers le bon endroit&nbsp;:</para>
<para os="v">Le programme <command>login</command> écrira dans
<filename>/var/log/lastlog</filename>, s'il existe, pour enregistrer la date et le temps du dernier
login réussi pour chaque utilisateur. Ce fichier de log n'est pas créé automatiquement s'il n'existe
pas, donc nous devons le créer maintenant et lui donner le propriètaire et les permissions appropriées:
</para>
 
<screen os="v"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
<screen os="w"><userinput>touch /var/log/lastlog
chgrp -v utmp /var/log/lastlog
chmod -v 664 /var/log/lastlog</userinput></screen>
</sect2>
 
</sect2>
 
<sect2 id="conf-shadow" role="configuration">
<title>Configurer Shadow</title>
 
/trunk/clfs/final-system/common/tar.xml
47,8 → 47,12
 
<para os="h">Générez la page de man et mettez-la au bon endroit&nbsp;:</para>
 
<screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen>
<screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
 
<para os="j">Installez la documentation:</para>
 
<screen os="k"><userinput>make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
 
</sect2>
 
<sect2 id="contents-tar" role="content">
56,9 → 60,11
 
<segmentedlist>
<segtitle>Programmes installés</segtitle>
<segtitle>Répertoire installé</segtitle>
 
<seglistitem>
<seg>rmt and tar</seg>
<seg>/usr/share/doc/tar-&tar-version;</seg>
</seglistitem>
</segmentedlist>
 
/trunk/clfs/maj
1,355 → 1,3
diff -ru /home/jp/a/BOOK/final-system/common/perl.xml BOOK/final-system/common/perl.xml
--- /home/jp/a/BOOK/final-system/common/perl.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/perl.xml 2014-10-03 20:44:43.916339261 +0200
@@ -25,26 +25,24 @@
<sect2 role="installation">
<title>Installation of Perl</title>
- <para os="s3">By default, Perl's Compress::Raw::Zlib module builds and
- links against its own internal copy of Zlib. The following command will
- tell it to use the system-installed Zlib:</para>
-
-<screen os="s4"><userinput>sed -i -e '/^BUILD_ZLIB/s/True/False/' \
- -e '/^INCLUDE/s,\./zlib-src,/usr/include,' \
- -e '/^LIB/s,\./zlib-src,/usr/lib,' \
- cpan/Compress-Raw-Zlib/config.in</userinput></screen>
+ <para os="s3">By default, Perl's Compress::Raw::Zlib and
+ Compress::Raw::Bzip2 modules build and link against internal copies of
+ Zlib and Bzip2. The following command will make Perl use the
+ system-installed copies of these libraries:</para>
+
+<screen os="s4"><userinput>export BUILD_ZLIB=False
+export BUILD_BZIP2=0</userinput></screen>
<note os="a00">
<para>If you are following the boot method you will need to enable the
- loopback device as well as set a hostname for some of the tests:</para>
+ loopback device:</para>
-<screen><userinput remap="test">ip link set lo up
-hostname clfs</userinput></screen>
+<screen><userinput remap="test">ip link set lo up</userinput></screen>
</note>
@@ -64,19 +62,21 @@
<title>The meaning of the configure option:</title>
<varlistentry os="c1">
- <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
+ <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
<listitem>
- <para>This corrects an error in the way that <command>perldoc</command>
- invokes the <command>less</command> program.</para>
+ <para>Since Groff is not installed yet,
+ <command>configure.gnu</command> thinks that we do not want
+ man pages for Perl. Issuing these parameters overrides this decision.</para>
</listitem>
</varlistentry>
<varlistentry os="c2">
- <term><parameter>-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3</parameter></term>
+ <term><parameter>-Dpager="/bin/less -isR"</parameter></term>
<listitem>
- <para>Since Groff is not installed yet,
- <command>configure.gnu</command> thinks that we do not want
- man pages for Perl. Issuing these parameters overrides this decision.</para>
+ <para>Less has not yet been installed, so by default
+ <command>perldoc</command> will invoke the <command>more</command>
+ program for viewing documentation. This option ensures that it will
+ use <command>less</command> instead.</para>
</listitem>
</varlistentry>
@@ -104,9 +104,10 @@
<screen os="h2"><userinput remap="test">make test</userinput></screen>
- <para os="j">Install the package:</para>
+ <para os="j">Install the package and remove the variables set previously:</para>
-<screen os="k"><userinput>make install</userinput></screen>
+<screen os="k"><userinput>make install
+unset BUILD_ZLIB BUILD_BZIP2</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/final-system/common/pkg-config-lite.xml BOOK/final-system/common/pkg-config-lite.xml
--- /home/jp/a/BOOK/final-system/common/pkg-config-lite.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/pkg-config-lite.xml 2014-10-03 20:44:43.916339261 +0200
@@ -27,7 +27,7 @@
<para os="a">Prepare Pkg-config-lite for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/pkg-config-&pkg-config-lite-version;</userinput></screen>
<para os="c">Compile the package:</para>
@@ -52,7 +52,7 @@
<seglistitem>
<seg>pkg-config</seg>
- <seg>/usr/share/doc/pkg-config</seg>
+ <seg>/usr/share/doc/pkg-config-&pkg-config-lite-version;</seg>
</seglistitem>
</segmentedlist>
diff -ru /home/jp/a/BOOK/cross-tools/common/cloog.xml BOOK/cross-tools/common/cloog.xml
--- /home/jp/a/BOOK/cross-tools/common/cloog.xml 2014-05-11 16:24:52.642516678 +0200
+++ BOOK/cross-tools/common/cloog.xml 2014-10-03 20:44:43.904339261 +0200
@@ -12,7 +12,7 @@
<indexterm zone="ch-cross-tools-cloog">
<primary sortas="a-CLooG">CLooG</primary>
- <secondary>cross-tools</secondary>
+ <secondary>cross tools</secondary>
</indexterm>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
@@ -32,9 +32,8 @@
href="../../final-system/common/cloog.xml"
xpointer="xpointer(//*[@os='s1'])"/>
- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
- href="../../final-system/common/cloog.xml"
- xpointer="xpointer(//*[@os='s2'])"/>
+<screen os="s2"><userinput>cp -v Makefile{,.orig}
+sed '/cmake/d' Makefile.orig &gt; Makefile</userinput></screen>
<para os="c">Compile the package:</para>
diff -ru /home/jp/a/BOOK/final-system/common/psmisc.xml BOOK/final-system/common/psmisc.xml
--- /home/jp/a/BOOK/final-system/common/psmisc.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/psmisc.xml 2014-10-03 20:44:43.916339261 +0200
@@ -27,47 +27,17 @@
<para os="a">Prepare Psmisc for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr --exec-prefix=""</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
- <variablelist os="c">
- <title>The meaning of the configure option:</title>
+ <para os="c">Compile the package:</para>
- <varlistentry>
- <term><parameter>--exec-prefix=""</parameter></term>
- <listitem>
- <para>This ensures that the Psmisc binaries will install into
- <filename class="directory">/bin</filename> instead of
- <filename class="directory">/usr/bin</filename>. This is the
- correct location according to the FHS, because some of the Psmisc
- binaries are used by the CLFS-Bootscripts package.</para>
- </listitem>
- </varlistentry>
- </variablelist>
+<screen os="d"><userinput>make</userinput></screen>
- <para os="d">Compile the package:</para>
+ <para os="e">This package does not come with a test suite.</para>
-<screen os="e"><userinput>make</userinput></screen>
+ <para os="f">Install the package:</para>
- <para os="f">This package does not come with a test suite.</para>
-
- <para os="g">Install the package:</para>
-
-<screen os="h"><userinput>make install</userinput></screen>
-
- <para os="i">There is no reason for the <command>pstree</command> and
- <command>pstree.x11</command> programs to reside in <filename
- class="directory">/bin</filename>. Therefore, move them to <filename
- class="directory">/usr/bin</filename>:</para>
-
-<screen os="j"><userinput>mv -v /bin/pstree* /usr/bin</userinput></screen>
-
- <para os="k">By default, Psmisc's <command>pidof</command> program is not installed.
- This usually is not a problem because it is installed later in the Sysvinit
- package, which provides a better <command>pidof</command> program. If
- Sysvinit will not be used for a particular system, complete the installation
- of Psmisc by creating the following symlink:</para>
-
-<screen os="l" role="nodump"><userinput>ln -sv killall /bin/pidof</userinput></screen>
+<screen os="g"><userinput>make install</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/final-system/common/readline.xml BOOK/final-system/common/readline.xml
--- /home/jp/a/BOOK/final-system/common/readline.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/readline.xml 2014-10-03 20:44:43.916339261 +0200
@@ -32,7 +32,8 @@
<para os="a">Prepare Readline for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib \
+ --docdir=/usr/share/doc/readline-&readline-version;</userinput></screen>
<para os="c">Compile the package:</para>
@@ -42,23 +43,17 @@
<para os="f">Install the package:</para>
-<screen os="g"><userinput>make install</userinput></screen>
+<screen os="g"><userinput>make SHLIB_LIBS=-lncurses htmldir=/usr/share/doc/readline-&readline-version; install</userinput></screen>
- <para os="h">Install the documentation:</para>
+ <para os="h">Now move the static libraries to a more appropriate location:</para>
-<screen os="i"><userinput>make install-doc</userinput></screen>
+<screen os="i"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
- <para os="j">Now move the static libraries to a more appropriate location:</para>
+ <para os="j">Next, relink the dynamic libraries into <filename class="directory">/usr/lib</filename> and remove the <filename class="extension">.so</filename> files in <filename class="directory">/lib</filename>.</para>
-<screen os="k"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
-
- <para os="l">Next, remove the <filename class="extension">.so</filename>
- files in <filename class="directory">/lib</filename> and relink them into
- <filename class="directory">/usr/lib</filename>.</para>
-
-<screen os="m"><userinput>rm -v /lib/lib{readline,history}.so
-ln -svf ../../lib/libreadline.so.&readline-version2; /usr/lib/libreadline.so
-ln -svf ../../lib/libhistory.so.&readline-version2; /usr/lib/libhistory.so</userinput></screen>
+<screen os="k"><userinput>ln -svf ../../lib/$(readlink /lib/libreadline.so) /usr/lib/libreadline.so
+ln -svf ../../lib/$(readlink /lib/libhistory.so) /usr/lib/libhistory.so
+rm -v /lib/lib{readline,history}.so</userinput></screen>
</sect2>
@@ -70,8 +65,8 @@
<segtitle>Installed directories</segtitle>
<seglistitem>
<seg>libhistory.[a,so], and libreadline.[a,so]</seg>
- <seg>/usr/include/readline, /usr/share/readline</seg>
+ <seg>/usr/include/readline, /usr/share/doc/readline-&readline-version;, /usr/share/readline</seg>
</seglistitem>
</segmentedlist>
diff -ru /home/jp/a/BOOK/final-system/common/sed.xml BOOK/final-system/common/sed.xml
--- /home/jp/a/BOOK/final-system/common/sed.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/sed.xml 2014-10-03 20:44:43.916339261 +0200
@@ -26,7 +26,8 @@
<para os="a">Prepare Sed for compilation:</para>
-<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin</userinput></screen>
+<screen os="b"><userinput>./configure --prefix=/usr --bindir=/bin \
+ --docdir=/usr/share/doc/sed-&sed-version;</userinput></screen>
<para os="c">Compile the package:</para>
@@ -59,7 +60,7 @@
<seglistitem>
<seg>sed</seg>
- <seg>/usr/share/doc/sed</seg>
+ <seg>/usr/share/doc/sed-&sed-version;</seg>
</seglistitem>
</segmentedlist>
diff -ru /home/jp/a/BOOK/final-system/common/shadow.xml BOOK/final-system/common/shadow.xml
--- /home/jp/a/BOOK/final-system/common/shadow.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/shadow.xml 2014-10-03 20:44:43.916339261 +0200
@@ -28,11 +28,16 @@
<note os="a">
<para>If you would like to enforce the use of strong passwords,
refer to <ulink url="&cblfs-root;index.php/Cracklib"/>
- for installing Cracklib prior to building Shadow. Then add
- <parameter>--with-libcrack</parameter> to the <command>configure</command>
- command below.</para>
- </note>
+ for installing Cracklib prior to building Shadow. After Cracklib is
+ installed, execute this <command>sed</command> in Shadow's source
+ directory to correct the path to the Cracklib dictionary:</para>
+
+<screen role="nodump"><userinput>sed -i 's@\(DICTPATH.\).*@\1/lib/cracklib/pw_dict@' etc/login.defs</userinput></screen>
+ <para>Finally, add <parameter>--with-libcrack</parameter> to the
+ <command>configure</command> command below.</para>
+
+ </note>
<para os="b">Disable the installation of the <command>groups</command> and
<command>nologin</command> programs and their man pages, as better versions
@@ -47,7 +52,7 @@
<screen os="e"><userinput>./configure --sysconfdir=/etc</userinput></screen>
-<para os="f">The meaning of the configure options:</para>
+<para os="f">The meaning of the new configure option:</para>
<variablelist os="g">
<varlistentry>
@@ -71,7 +75,7 @@
<screen os="l"><userinput>make install</userinput></screen>
<para os="m" id="shadow-login_defs">Instead of using the default
- <emphasis>crypt</emphasis> method, use the more secure
+ <emphasis>DES</emphasis> method, use the more secure
<emphasis>SHA512</emphasis> method of password encryption, which also allows
passwords longer than 8 characters. It is also necessary to change the
obsolete <filename class="directory">/var/spool/mail</filename> location
@@ -88,17 +92,19 @@
-e 's@#\(ENCRYPT_METHOD \).*@\1SHA512@' \
-e 's@/var/spool/mail@/var/mail@'</userinput></screen>
- <note os="t">
- <para>If you built Shadow with Cracklib support, execute
- this <command>sed</command> to correct the path to the Cracklib
- dictionary:</para>
-
-<screen role="nodump"><userinput>sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' /etc/login.defs</userinput></screen>
- </note>
+ <para os="t">Move a misplaced program to its proper location:</para>
- <para os="u">Move a misplaced program to its proper location:</para>
+<screen os="u"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
-<screen os="v"><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
+ <para os="v">The <command>login</command> program will write to
+ <filename>/var/log/lastlog</filename>, if it exists, to record the date and
+ time of the latest successful login for each user. This log file is not
+ created automatically if it does not already exist, so we will
+ create it now and give it appropriate ownership and permissions:</para>
+
+<screen os="w"><userinput>touch /var/log/lastlog
+chgrp -v utmp /var/log/lastlog
+chmod -v 664 /var/log/lastlog</userinput></screen>
</sect2>
diff -ru /home/jp/a/BOOK/final-system/common/tar.xml BOOK/final-system/common/tar.xml
--- /home/jp/a/BOOK/final-system/common/tar.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/tar.xml 2014-10-03 20:44:43.916339261 +0200
@@ -48,7 +48,11 @@
<para os="h">Generate the man page and place it in the proper location:</para>
-<screen os="i"><userinput>perl tarman > /usr/share/man/man1/tar.1</userinput></screen>
+<screen os="i"><userinput>perl tarman &gt; /usr/share/man/man1/tar.1</userinput></screen>
+
+ <para os="j">Install the documentation:</para>
+
+<screen os="k"><userinput>make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
</sect2>
@@ -57,9 +61,11 @@
<segmentedlist>
<segtitle>Installed programs</segtitle>
+ <segtitle>Installed directory</segtitle>
<seglistitem>
<seg>rmt and tar</seg>
+ <seg>/usr/share/doc/tar-&tar-version;</seg>
</seglistitem>
</segmentedlist>
diff -ru /home/jp/a/BOOK/final-system/common/temp-perl.xml BOOK/final-system/common/temp-perl.xml
--- /home/jp/a/BOOK/final-system/common/temp-perl.xml 2014-05-11 16:24:52.646516678 +0200
+++ BOOK/final-system/common/temp-perl.xml 2014-10-03 20:44:43.916339261 +0200
/trunk/clfs/cross-tools/common/cloog.xml
12,7 → 12,7
 
<indexterm zone="ch-cross-tools-cloog">
<primary sortas="a-CLooG">CLooG</primary>
<secondary>cross-tools</secondary>
<secondary>Outils croisés</secondary>
</indexterm>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
32,9 → 32,8
href="../../final-system/common/cloog.xml"
xpointer="xpointer(//*[@os='s1'])"/>
 
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../final-system/common/cloog.xml"
xpointer="xpointer(//*[@os='s2'])"/>
<screen os="s2"><userinput>cp -v Makefile{,.orig}
sed '/cmake/d' Makefile.orig &gt; Makefile</userinput></screen>
 
<para os="c">Compilez le paquet&nbsp;:</para>