From patchwork Mon Nov 13 21:30:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 837556 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=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="o94Nd7A8"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ybP222yLNz9s84 for ; Tue, 14 Nov 2017 08:30:34 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 99A3D87D78; Mon, 13 Nov 2017 21:30:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RGUQhv3lEtEq; Mon, 13 Nov 2017 21:30:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A5BC087EEB; Mon, 13 Nov 2017 21:30:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8EA2E1C2C08 for ; Mon, 13 Nov 2017 21:30:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 83ABD87EEB for ; Mon, 13 Nov 2017 21:30:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kCD9dQOByZEH for ; Mon, 13 Nov 2017 21:30:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by hemlock.osuosl.org (Postfix) with ESMTPS id 5E7FA87D78 for ; Mon, 13 Nov 2017 21:30:26 +0000 (UTC) Received: by mail-wr0-f195.google.com with SMTP id o88so15678360wrb.6 for ; Mon, 13 Nov 2017 13:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=1BQaYgLQFWiILb+qaJ/PBpihL5bN9lo0WCPvF52RuN8=; b=o94Nd7A89lZM0lfqFKdPd5ET/Gd6ju0qJwmE6g0camp5dXDtaK2IwTGizrGGV/Wk15 hF+K9KwHyWqwYDOHJ7i9aWsGwHedcCLfkzmYjkJGeYhVkGSBR+PZtPn2v++SIW266fpj 8/avTYZvyMkRCID+MuBZ/EohrNxt/XgjIIS1AZZ2erDBhug9Q1YY3wu2XDit+NFFrQLa ktpSvZesoW0mfKDbyIEdrXuXBNkQIbFtv/wu/11C/i2UATaqXYsQ/OxdeobWkEaoVJ7E DIeaHmlVtSBtoSM/AfUPlQy4H4eRW1ZGDtTv4XEJPaeWmtwK5hcfwiWBcOlsf3LCC7ZF TXLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=1BQaYgLQFWiILb+qaJ/PBpihL5bN9lo0WCPvF52RuN8=; b=A05Ls9ghAtPXgw7MoccdWkqDH/iHzq70K8X0cTzePJjNMKu+g7Tpe3BIYpzLmGKF7J bmb1yV76fDIz/RREXJkyDSb3S1Pb4yxZoqK6ZiEruXnb0CDOSCCdxA7Ax1J60ggisWDl iTH3WFFlw1jdD0GZgcP4hE3ihHXCucqoj5yJ07v0ZlSbIGQCU7ky7QJ/zG2BObzhe6qf Uuw4+OeACMCYUIAFCMGEQAmzKThJMqX+R+Na1XRI3KcdmQevGdvfF3JgN7WyVq66OKBn +5iJTb5c35AkKjkcH5MXfHSkx1lJVeLGDAkoL5pemUY7bTfPanTf6ZjGvLBRXTZoPXxK 0geA== X-Gm-Message-State: AJaThX6qVqNJJPINZWUGiAuZO7gQD97U8A1mZ2zGXe7rvQ4LcC/bRdYg 00E0bXiAyA0C9opRgHtFhNWujg== X-Google-Smtp-Source: AGs4zMZxEFXvPXovrGaqCEMSjg8f51XDHcI+G6DAmeJkAZrrg/cJnuI2kHbwhS/QRnG3J6yLZaH7Xg== X-Received: by 10.223.164.154 with SMTP id g26mr8898607wrb.137.1510608624621; Mon, 13 Nov 2017 13:30:24 -0800 (PST) Received: from localhost.localdomain (2a01cb0886107300ad32ae99c45f364f.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:ad32:ae99:c45f:364f]) by smtp.gmail.com with ESMTPSA id p23sm32647999wrb.76.2017.11.13.13.30.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Nov 2017 13:30:23 -0800 (PST) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Mon, 13 Nov 2017 22:30:17 +0100 Message-Id: <20171113213017.19371-1-yann.morin.1998@free.fr> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH] package/glibc: switch to downloading a tarball X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Romain Naour , "Yann E. MORIN" MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Currently, we do a full git clone of the repository, which takes quite some time, especially on slow networks. This was done like that because the initial patch was using the official repository as the source of the download, and that repository did not offer remotely-generated tarballs. But now we've switched to using a mirror on github, which does provide such a tarball, which provides faster downloads. Use that. However, the tarball from github differs from the one we were generating locally, because the paths inside are different. WE used to create a archive with paths starting with glibc-glibc-2.26-73-g4b692dfb95[...], while github does away with the git-describe prefix, and generates paths that start with just glibc-4b692dffb95[...]. The content are exactly identicall (checked with a diff), though. Update the hash accordingly. Signed-off-by: "Yann E. MORIN" Cc: Waldemar Brodkorb Cc: Romain Naour Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Cc: Peter Korsgaard --- package/glibc/glibc.hash | 2 +- package/glibc/glibc.mk | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package/glibc/glibc.hash b/package/glibc/glibc.hash index 5910dda72d..4e5bc7f7bc 100644 --- a/package/glibc/glibc.hash +++ b/package/glibc/glibc.hash @@ -1,4 +1,4 @@ # Locally calculated (fetched from Github) -sha256 f1f2566fea1518dd7244d322882242bbd654eb215fba51a7ab001b8fd2c9bcbe glibc-glibc-2.26-73-g4b692dffb95ac4812b161eb6a16113d7e824982e.tar.gz +sha256 d66b3702961c846ead2bacf17a9b5239cc1e8a43ca6e322f3637e99f276efec1 glibc-glibc-2.26-73-g4b692dffb95ac4812b161eb6a16113d7e824982e.tar.gz # Locally calculated (fetched from Github) sha256 5aa9adeac09727db0b8a52794186563771e74d70410e9fd86431e339953fd4bb glibc-arc-2017.09-release.tar.gz diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk index 5911dfec5f..d99b524ef9 100644 --- a/package/glibc/glibc.mk +++ b/package/glibc/glibc.mk @@ -18,8 +18,7 @@ GLIBC_VERSION = glibc-2.26-73-g4b692dffb95ac4812b161eb6a16113d7e824982e # When updating the version, check it on the official repository; # *NEVER* decide on a version string by looking at the mirror. # Then check that the mirror has been synced already (happens once a day.) -GLIBC_SITE = https://github.com/bminor/glibc.git -GLIBC_SITE_METHOD = git +GLIBC_SITE = $(call github,bminor,glibc,$(GLIBC_VERSION)) endif GLIBC_SRC_SUBDIR = .