From a083b52921a86a3bc49e2cc1d7d102612694557c Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Tue, 29 Jul 2014 16:35:43 +1000 Subject: Add checksum support for downloaded files. File download by http, ftp, pw support checksum. The %hash directive provides a means of setting a hash used to checksum the file. Files on disk or just downloaded are checked. --- rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg') diff --git a/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg index aedba21..3e89360 100644 --- a/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg +++ b/rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg @@ -26,7 +26,14 @@ %endif # -# Newlib is from CVS. +# 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 + +# +# Newlib is from CVS. No hash on CVS. # %source set newlib cvs://pserver:anoncvs@sourceware.org/cvs/src?module=newlib?src-prefix=src?date=%{newlib_version}?reset @@ -34,6 +41,7 @@ # Joel's stack_t patch. # %patch add newlib -p0 %{rtems_newlib_patches}/newlib-sys-signal-20130532.diff +%hash md5 newlib-sys-signal-20130532.diff 34af05f28a4921e47c053528f5a8b9fb # # The gcc/newlib build instructions. We use 4.9 Release 1. -- cgit v1.2.3