From patchwork Thu Mar 14 11:45:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 1056473 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-497891-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="HZ2Usnc3"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44Kn3M4yqGz9s4V for ; Thu, 14 Mar 2019 22:46:04 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=wVYDpr2U2P57DqHK1KOUQOsGaP1X2Kzpiu35lt+VXvuy03UCHxrTq NQtCoAVdrJE/4HvwKphYuYgbtEqg8HNUWyRjwxvZUWXnknSUNlY56NvmCvzO7tqj 4plejW3wMDovEPwRmUVbp3VlmNphK22fFRTaSNYRl/imFAZ1G5DKwI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=EIIWnFyocHr0wz8ESQJsFwhS+vA=; b=HZ2Usnc3I8HBKitlTeto 0p6sIX6ZrBo7YnzaTyKMRwobWVmgyAcP5m139A9Y5FKzdcUO+/ZQsMzq7qoxJ/MP qjZplP72oCM8xjUxTas0gMcOwRzX2lo9uQGcas1pbqTXqrMUOen1yBKJPW9CCRXX 8mtTqu2/28GqQUZ2yLkP3yo= Received: (qmail 103432 invoked by alias); 14 Mar 2019 11:45:57 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 103414 invoked by uid 89); 14 Mar 2019 11:45:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=OK, ok, prebuilt, nbsp X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Mar 2019 11:45:55 +0000 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2B60C88AC5 for ; Thu, 14 Mar 2019 11:45:54 +0000 (UTC) Received: from localhost (unknown [10.33.36.12]) by smtp.corp.redhat.com (Postfix) with ESMTP id D012E282E1 for ; Thu, 14 Mar 2019 11:45:53 +0000 (UTC) Date: Thu, 14 Mar 2019 11:45:53 +0000 From: Jonathan Wakely To: gcc-patches@gcc.gnu.org Subject: [wwwdocs] Update snapshots.html to refer to sha512sum Message-ID: <20190314114553.GB943@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.11.3 (2019-02-01) The checksum file uses SHA512 not MD5SUM, so the instructions should be updated accordingly. SInce there's only one tarfile these days (not separate ones for gcc-base, gcc-g++, gcc-fortran, etc) it doesn't seem necessary to filter out the "OK" lines with grep, but I could add --quiet to the command if we want that. I added --ignore-missing because I doubt most people also download the README and index.html files, so the option avoids gettings warnings about those files. OK for CVS? Index: htdocs/snapshots.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/snapshots.html,v retrieving revision 1.24 diff -u -r1.24 snapshots.html --- htdocs/snapshots.html 30 Sep 2018 14:38:47 -0000 1.24 +++ htdocs/snapshots.html 14 Mar 2019 11:42:57 -0000 @@ -35,15 +35,15 @@ files so that autoconf et al aren't needed. This is documented in comments in contrib/gcc_update.

-

The program md5sum — which is included with the +

The program sha512sum — which is included with the GNU Coreutils — can be used to verify the integrity of a snapshot or release. The release script generates the file -MD5SUMS that provides a 128-bit checksum for every -file in the tarball.  Use the following command to verify the -sources:
+sha512.sum that provides a 512-bit checksum for the tarball +and other files in the snapshot directory.  Use the following command +to verify the sources:
-md5sum --check MD5SUMS | grep -v OK$

+sha512sum --check --ignore-missing sha512.sum