Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-stage.xml
Date: Sat, 06 Oct 2012 21:02:11
Message-Id: 20121006194919.0F9DC21600@flycatcher.gentoo.org
1 swift 12/10/06 19:49:18
2
3 Modified: hb-install-stage.xml
4 Log:
5 Fix bug #386475 - Use SHA512 and Whirlpool checksums for all arches except mips
6
7 Revision Changes Path
8 1.125 xml/htdocs/doc/en/handbook/hb-install-stage.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml?rev=1.125&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml?rev=1.125&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml?r1=1.124&r2=1.125
13
14 Index: hb-install-stage.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml,v
17 retrieving revision 1.124
18 retrieving revision 1.125
19 diff -u -r1.124 -r1.125
20 --- hb-install-stage.xml 24 Jul 2012 12:12:52 -0000 1.124
21 +++ hb-install-stage.xml 6 Oct 2012 19:49:18 -0000 1.125
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml,v 1.124 2012/07/24 12:12:52 swift Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-stage.xml,v 1.125 2012/10/06 19:49:18 swift Exp $ -->
28
29 <sections>
30
31 @@ -13,8 +13,8 @@
32 describe how you extract the stage3 archive and configure Portage.
33 </abstract>
34
35 -<version>12</version>
36 -<date>2012-07-24</date>
37 +<version>13</version>
38 +<date>2012-10-06</date>
39
40 <section>
41 <title>Installing a Stage Tarball</title>
42 @@ -146,15 +146,27 @@
43
44 <p>
45 If you want to check the integrity of the downloaded stage tarball, use
46 -<c>md5sum</c> and compare the output with the MD5 checksum provided on the
47 -mirror.
48 +<c>openssl</c> and compare the output with the checksums provided on the
49 +mirror. The digests files provide several checksums, each taken with a different
50 +algorithm. The recommended ones are SHA512 and Whirlpool.
51 </p>
52
53 -<pre caption="Checking integrity of a stage tarball">
54 -# <i>md5sum -c <keyval id="stage3"/>.DIGESTS</i>
55 -<keyval id="stage3"/>: OK
56 +<pre caption="Calculating the integrity checksum of a stage tarball">
57 +<comment>## Calculating the SHA512 checksum</comment>
58 +# <i>openssl dgst -r -sha512 <keyval id="stage3" /></i>
59 +<comment>or</comment>
60 +# <i>sha512sum <keyval id="stage3" /></i>
61 +
62 +<comment>## Calculating the Whirlpool checksum</comment>
63 +# <i>openssl dgst -r -whirlpool <keyval id="stage3" /></i>
64 </pre>
65
66 +<p>
67 +Then compare the output of these commands with the value registered in the
68 +.DIGESTS files that can be found on the mirrors as well. The values need to
69 +match, otherwise the downloaded file might be corrupt (or the digests file is).
70 +</p>
71 +
72 </body>
73 </subsection>
74 <subsection>