From d94bd014a89b40d126b1d27c417b8025a4a9f5f5 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Thu, 12 Oct 2017 13:47:23 +1100 Subject: 4.12: Update all MD5 hashes to SHA256. Closes #2536. --- bare/config/devel/autoconf-2.69-1.cfg | 2 +- bare/config/devel/automake-1.12.6-1.cfg | 2 +- bare/config/devel/dtc-1.4.1-1.cfg | 2 +- bare/config/devel/expat-2.1.0-1.cfg | 2 +- rtems/config/4.12/rtems-epiphany.bset | 3 +++ rtems/config/tools/rtems-automake-1.12.6-1.cfg | 2 +- rtems/config/tools/rtems-binutils-2.24-1.cfg | 2 +- rtems/config/tools/rtems-binutils-2.26-1.cfg | 2 +- rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg | 6 +++--- rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg | 6 +++--- rtems/config/tools/rtems-gcc-4.9-newlib-git-1.cfg | 6 +++--- rtems/config/tools/rtems-gdb-7.11-1.cfg | 8 ++++---- rtems/config/tools/rtems-gdb-7.8.1-1.cfg | 6 +++--- rtems/config/tools/rtems-gdb-7.9-1.cfg | 10 +++++----- 14 files changed, 31 insertions(+), 28 deletions(-) diff --git a/bare/config/devel/autoconf-2.69-1.cfg b/bare/config/devel/autoconf-2.69-1.cfg index c4d32c1..80e8fd1 100644 --- a/bare/config/devel/autoconf-2.69-1.cfg +++ b/bare/config/devel/autoconf-2.69-1.cfg @@ -10,7 +10,7 @@ %define autoconf_version 2.69 -%hash md5 autoconf-%{autoconf_version}.tar.gz 82d05e03b93e45f5a39b828dc9c6c29b +%hash sha256 autoconf-%{autoconf_version}.tar.gz 954bd69b391edc12d6a4a51a2dd1476543da5c6bbf05a95b59dc0dd6fd4c2969 # # The autoconf build instructions. We use 2.xx Release 1. diff --git a/bare/config/devel/automake-1.12.6-1.cfg b/bare/config/devel/automake-1.12.6-1.cfg index 9ac8c46..40629dc 100644 --- a/bare/config/devel/automake-1.12.6-1.cfg +++ b/bare/config/devel/automake-1.12.6-1.cfg @@ -10,7 +10,7 @@ %define automake_version 1.12.6 -%hash md5 automake-%{automake_version}.tar.gz 199d39ece2e6070d64ac20d45ac86026 +%hash sha256 automake-%{automake_version}.tar.gz 0cbe570db487908e70af7119da85ba04f7e28656b26f717df0265ae08defd9ef # # The automake build instructions. We use 1.xx Release 1. diff --git a/bare/config/devel/dtc-1.4.1-1.cfg b/bare/config/devel/dtc-1.4.1-1.cfg index eb6cb13..7514112 100644 --- a/bare/config/devel/dtc-1.4.1-1.cfg +++ b/bare/config/devel/dtc-1.4.1-1.cfg @@ -10,7 +10,7 @@ %define dtc_version 1.4.1 -%hash md5 dtc-%{dtc_version}.tar.gz 629851794f9fc494067d3c02e33068c3 +%hash sha256 dtc-%{dtc_version}.tar.gz 03e74e4ee9378be15f19eb24197dfa32070efc3c85e93269e56d7ade133e359f # # The DTC build instructions. We use 1.x.x Release 1. diff --git a/bare/config/devel/expat-2.1.0-1.cfg b/bare/config/devel/expat-2.1.0-1.cfg index fcb7cbe..ca3f64f 100644 --- a/bare/config/devel/expat-2.1.0-1.cfg +++ b/bare/config/devel/expat-2.1.0-1.cfg @@ -10,7 +10,7 @@ %define expat_version 2.1.0 -%hash md5 expat-%{expat_version}.tar.gz dd7dab7a5fea97d2a6a43f511449b7cd +%hash sha256 expat-%{expat_version}.tar.gz 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86 # # The Expat build instructions. We use 2.xx Release 1. diff --git a/rtems/config/4.12/rtems-epiphany.bset b/rtems/config/4.12/rtems-epiphany.bset index a5ee044..55e90b3 100644 --- a/rtems/config/4.12/rtems-epiphany.bset +++ b/rtems/config/4.12/rtems-epiphany.bset @@ -27,6 +27,9 @@ %source set gcc https://github.com/adapteva/epiphany-gcc/archive/f7051762470c42ce7f01baa7edeb113d51c7dd72.zip %source set gdb https://github.com/adapteva/epiphany-binutils-gdb/archive/f05996c7c42e6b2781946acbab153a481ce3fd0b.zip +%hash sha256 f7051762470c42ce7f01baa7edeb113d51c7dd72.zip 2b2034fd12f2fd5108205ade66400c175ede8cef8141a38ae03fc78bf2d65325 +%hash sha256 f05996c7c42e6b2781946acbab153a481ce3fd0b.zip 2b2034fd12f2fd5108205ade66400c175ede8cef8141a38ae03fc78bf2d65325 + # # The RTEMS base defines. # diff --git a/rtems/config/tools/rtems-automake-1.12.6-1.cfg b/rtems/config/tools/rtems-automake-1.12.6-1.cfg index bf39d41..03c6831 100644 --- a/rtems/config/tools/rtems-automake-1.12.6-1.cfg +++ b/rtems/config/tools/rtems-automake-1.12.6-1.cfg @@ -16,7 +16,7 @@ # Fix the warning on new perl versions. # %patch add automake -p1 %{rtems_automake_patches}/automake-1.12.6-bugzilla.redhat.com-1239379.diff -%hash md5 automake-1.12.6-bugzilla.redhat.com-1239379.diff 8f53b687f9eae7c00c460e80bbef9276 +%hash sha256 automake-1.12.6-bugzilla.redhat.com-1239379.diff a406f23667f3e7844ebc77b6f4f43811b9e39046365b686cc689cb0ae9c88b8b # # Check the version of automake in the path. diff --git a/rtems/config/tools/rtems-binutils-2.24-1.cfg b/rtems/config/tools/rtems-binutils-2.24-1.cfg index ca6c02b..947588c 100644 --- a/rtems/config/tools/rtems-binutils-2.24-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.24-1.cfg @@ -7,7 +7,7 @@ %define binutils_version 2.24 -%hash md5 binutils-%{binutils_version}.tar.bz2 e0f71a7b2ddab0f8612336ac81d9636b +%hash sha256 binutils-%{binutils_version}.tar.bz2 e5e8c5be9664e7f7f96e0d09919110ab5ad597794f5b1809871177a0f0f14137 # # Enable deterministic archives by default. This will be the default diff --git a/rtems/config/tools/rtems-binutils-2.26-1.cfg b/rtems/config/tools/rtems-binutils-2.26-1.cfg index 7fb98c7..945f61a 100644 --- a/rtems/config/tools/rtems-binutils-2.26-1.cfg +++ b/rtems/config/tools/rtems-binutils-2.26-1.cfg @@ -19,7 +19,7 @@ # SPARC GAS fixes. # %patch add binutils %{rtems_binutils_patches}/binutils-2.26-gas-reloc.patch -%hash md5 binutils-2.26-gas-reloc.patch 1b88374118c2da61eeaca9c4ba1ce42c +%hash sha256 binutils-2.26-gas-reloc.patch 21f6e887a1e8308cf3dae9a9eba431b6d5afdf8798f48024f90d71fab07ceeee # Enable deterministic archives by default. This will be the default # there all tools using this binutils will create deterministic diff --git a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg index 34af586..1245e88 100644 --- a/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.8-newlib-2.2.0-1.cfg @@ -30,9 +30,9 @@ # # Hash checksums of the libraries used in GCC. # -%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a -%hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6 -%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe +%hash sha256 mpfr-%{mpfr_version}.tar.bz2 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f +%hash sha256 mpc-%{mpc_version}.tar.gz ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7 +%hash sha256 gmp-%{gmp_version}.tar.bz2 1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9 # # Newlib is a snapshot diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg index c6c28e6..8b08278 100644 --- a/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.9-newlib-2.2.0-1.cfg @@ -28,9 +28,9 @@ # # Hash checksums of the libraries used in GCC. # -%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a -%hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6 -%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe +%hash sha256 mpfr-%{mpfr_version}.tar.bz2 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f +%hash sha256 mpc-%{mpc_version}.tar.gz ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7 +%hash sha256 gmp-%{gmp_version}.tar.bz2 1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9 # # Newlib is a snapshot diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-git-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-git-1.cfg index d71efea..014e45c 100644 --- a/rtems/config/tools/rtems-gcc-4.9-newlib-git-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.9-newlib-git-1.cfg @@ -28,9 +28,9 @@ # # Hash checksums of the libraries used in GCC. # -%hash md5 mpfr-%{mpfr_version}.tar.bz2 bfbecb2eacb6d48432ead5cfc3f7390a -%hash md5 mpc-%{mpc_version}.tar.gz e98267ebd5648a39f881d66797122fb6 -%hash md5 gmp-%{gmp_version}.tar.bz2 041487d25e9c230b0c42b106361055fe +%hash sha256 mpfr-%{mpfr_version}.tar.bz2 e1977099bb494319c0f0c1f85759050c418a56884e9c6cef1c540b9b13e38e7f +%hash sha256 mpc-%{mpc_version}.tar.gz ae79f8d41d8a86456b68607e9ca398d00f8b7342d1d83bcf4428178ac45380c7 +%hash sha256 gmp-%{gmp_version}.tar.bz2 1f588aaccc41bb9aed946f9fe38521c26d8b290d003c5df807f65690f2aadec9 # # Newlib is in git diff --git a/rtems/config/tools/rtems-gdb-7.11-1.cfg b/rtems/config/tools/rtems-gdb-7.11-1.cfg index c8e6fba..4854771 100644 --- a/rtems/config/tools/rtems-gdb-7.11-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.11-1.cfg @@ -7,23 +7,23 @@ %define gdb_version 7.11 %define gdb_src_ext xz -%hash md5 gdb-%{gdb_version}.tar.xz b5c784685e1cde65ba135feea86b6d75 +%hash sha256 gdb-%{gdb_version}.tar.xz 7a434116cb630d77bb40776e8f5d3937bed11dea56bafebb4d2bc5dd389fe5c1 # # aarch64 and x86_64 support. # %patch add gdb -p1 %{rtems_gdb_patches}/gdb-7.11-aarch64-x86_64.patch -%hash md5 gdb-7.11-aarch64-x86_64.patch ed53a5339874193f10b9ac6bb995989d +%hash sha512 gdb-7.11-aarch64-x86_64.patch 20fc58f6979afd27b4cb0d94f1d5784a5d429ca78d66956e14cd21ad7dc23899 # # ERC32 simulator fixes. # %patch add gdb %{rtems_gdb_patches}/gdb-7.11-sis-leon2-leon3.diff -%hash md5 gdb-7.11-sis-leon2-leon3.diff 88eac302290ea2a58bd7e08aaca94efd +%hash sha512 gdb-7.11-sis-leon2-leon3.diff 4c44afec9c00a45b9322d787da3796f3294f207ddae9fe9faab3327b6991ac75 %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py - %hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3 + %hash sha256 patch-gdb-python-python-config.py c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3 %endif # diff --git a/rtems/config/tools/rtems-gdb-7.8.1-1.cfg b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg index c4bc19f..99ac803 100644 --- a/rtems/config/tools/rtems-gdb-7.8.1-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.8.1-1.cfg @@ -13,13 +13,13 @@ # Clean up the sim-arange inline code so it builds. # %patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff -%hash md5 gdb-sim-arange-inline.diff 11bb2936ea29afeaa023077191fd4705 +%hash sha256 gdb-sim-arange-inline.diff d20d509942c9f9a69d191b8d8c1546e27d78768dba10b339acad708cf9997d81 %patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff -%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778 +%hash sha256 gdb-sim-cgen-inline.diff 0ec465d3c5ae967d125409488a1d24fda90b361051adebee32b7512a4031606e %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py - %hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3 + %hash sha256 patch-gdb-python-python-config.py c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3 %endif # diff --git a/rtems/config/tools/rtems-gdb-7.9-1.cfg b/rtems/config/tools/rtems-gdb-7.9-1.cfg index 81e5a27..5fa293e 100644 --- a/rtems/config/tools/rtems-gdb-7.9-1.cfg +++ b/rtems/config/tools/rtems-gdb-7.9-1.cfg @@ -7,15 +7,15 @@ %define gdb_version 7.9 %define gdb_src_ext xz -%hash md5 gdb-%{gdb_version}.tar.xz e6279f26559d839f0b4218a482bcb43e +%hash sha256 gdb-%{gdb_version}.tar.xz 9b315651a16528f7af8c7d8284699fb0c965df316cc7339bb0b7bae335848392 # # Clean up the sim-arange inline code so it builds. # %patch add gdb %{rtems_gdb_patches}/gdb-sim-arange-inline.diff -%hash md5 gdb-sim-arange-inline.diff 11bb2936ea29afeaa023077191fd4705 +%hash sha256 gdb-sim-arange-inline.diff d20d509942c9f9a69d191b8d8c1546e27d78768dba10b339acad708cf9997d81 %patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff -%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778 +%hash sha256 gdb-sim-cgen-inline.diff 0ec465d3c5ae967d125409488a1d24fda90b361051adebee32b7512a4031606e # # Fix building on Windows. Download the patches from GDB git repo. @@ -28,12 +28,12 @@ # aarch64 and x86_64 support. # %patch add gdb -p1 %{rtems_gdb_patches}/gdb-7.9-aarch64-x86_64.patch -%hash md5 gdb-7.9-aarch64-x86_64.patch e809ccb4fffa0188cb985512695e0f48 +%hash sha256 gdb-7.9-aarch64-x86_64.patch e809ccb4fffa0188cb985512695e0f48 %if %{_build_os} == freebsd %patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py - %hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3 + %hash sha256 patch-gdb-python-python-config.py c06cafc9370063b6f966c68973434f9cce6227c96e22f8ea23f156126f0b33d3 %endif # -- cgit v1.2.3