summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-07-29 16:35:43 +1000
committerChris Johns <chrisj@rtems.org>2014-07-29 16:35:43 +1000
commita083b52921a86a3bc49e2cc1d7d102612694557c (patch)
treeb04b1fe0d3f5c037fac9f61f57f40f96712085c8 /rtems/config/tools
parentsb: Add visual feedback for http type downloads. (diff)
downloadrtems-source-builder-a083b52921a86a3bc49e2cc1d7d102612694557c.tar.bz2
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.
Diffstat (limited to 'rtems/config/tools')
-rw-r--r--rtems/config/tools/rtems-autoconf-2.69-1.cfg2
-rw-r--r--rtems/config/tools/rtems-automake-1.12.6-1.cfg2
-rw-r--r--rtems/config/tools/rtems-binutils-2.24-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg8
-rw-r--r--rtems/config/tools/rtems-gcc-4.8.2-newlib-2.1.0-1.cfg10
-rw-r--r--rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gcc-4.9-newlib-cvs-1.cfg10
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg10
-rw-r--r--rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg2
-rw-r--r--rtems/config/tools/rtems-gdb-7.7-1.cfg5
-rw-r--r--rtems/config/tools/rtems-gdb-7.7.1-1.cfg3
-rw-r--r--rtems/config/tools/rtems-nios2-binutils-2.20-1.cfg2
-rw-r--r--rtems/config/tools/rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg2
14 files changed, 61 insertions, 1 deletions
diff --git a/rtems/config/tools/rtems-autoconf-2.69-1.cfg b/rtems/config/tools/rtems-autoconf-2.69-1.cfg
index 1db8746..acae2e9 100644
--- a/rtems/config/tools/rtems-autoconf-2.69-1.cfg
+++ b/rtems/config/tools/rtems-autoconf-2.69-1.cfg
@@ -8,6 +8,8 @@
%define rtems_autoconf_version 2.69
+%hash md5 autoconf-%{rtems_autoconf_version}.tar.gz 82d05e03b93e45f5a39b828dc9c6c29b
+
#
# Check the version of autoconf in the path.
#
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 1585cf4..c9f3c28 100644
--- a/rtems/config/tools/rtems-automake-1.12.6-1.cfg
+++ b/rtems/config/tools/rtems-automake-1.12.6-1.cfg
@@ -8,6 +8,8 @@
%define rtems_automake_version 1.12.6
+%hash md5 automake-%{rtems_automake_version}.tar.gz 199d39ece2e6070d64ac20d45ac86026
+
#
# 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 60cd982..ca6c02b 100644
--- a/rtems/config/tools/rtems-binutils-2.24-1.cfg
+++ b/rtems/config/tools/rtems-binutils-2.24-1.cfg
@@ -7,6 +7,8 @@
%define binutils_version 2.24
+%hash md5 binutils-%{binutils_version}.tar.bz2 e0f71a7b2ddab0f8612336ac81d9636b
+
#
# 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-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg
index 3ce89c2..5a75051 100644
--- a/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8-newlib-cvs-1.cfg
@@ -26,6 +26,13 @@
%endif
#
+# 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.
#
%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.8 Release 1.
diff --git a/rtems/config/tools/rtems-gcc-4.8.2-newlib-2.1.0-1.cfg b/rtems/config/tools/rtems-gcc-4.8.2-newlib-2.1.0-1.cfg
index 33821a9..2c6e5e5 100644
--- a/rtems/config/tools/rtems-gcc-4.8.2-newlib-2.1.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.2-newlib-2.1.0-1.cfg
@@ -20,9 +20,19 @@
%endif
#
+# Hash checksums.
+#
+%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 md5 gcc-%{gcc_version}.tar.bz2 a3d7d63b9cb6b6ea049469a0c4a43c9d
+%hash md5 newlib-%{newlib_version}.tar.gz c6559d83ecce4728a52f0ce7ec80de97
+
+#
# 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.8 Release 1.
#
diff --git a/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg
index 37ca021..c9e89b2 100644
--- a/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.2-newlib-cvs-1.cfg
@@ -5,6 +5,8 @@
%define gcc_version 4.8.2
%define newlib_version 12-Jul-2014
+%hash md5 gcc-%{gcc_version}.tar.bz2 a3d7d63b9cb6b6ea049469a0c4a43c9d
+
#
# The gcc/newlib build instructions.
#
diff --git a/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg
index 2cbacd7..76a8310 100644
--- a/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.8.3-newlib-cvs-1.cfg
@@ -5,6 +5,8 @@
%define gcc_version 4.8.3
%define newlib_version 26-Jul-2014
+%hash md5 gcc-%{gcc_version}.tar.bz2 7c60f24fab389f77af203d2516ee110f
+
#
# The gcc/newlib build instructions.
#
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.
diff --git a/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg b/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg
index 3d99702..3e6854e 100644
--- a/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.0-newlib-2.1.0-1.cfg
@@ -20,9 +20,19 @@
%endif
#
+# Hash checksums.
+#
+%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 md5 gcc-%{gcc_version}.tar.bz2 9709b49ae0e904cbb0a6a1b62853b556
+%hash md5 newlib-%{newlib_version}.tar.gz c6559d83ecce4728a52f0ce7ec80de97
+
+#
# 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.
diff --git a/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg b/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg
index 93e59e9..b8c9437 100644
--- a/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.9.1-newlib-cvs-1.cfg
@@ -5,6 +5,8 @@
%define gcc_version 4.9.1
%define newlib_version 26-Jul-2014
+%hash md5 gcc-%{gcc_version}.tar.bz2 fddf71348546af523353bd43d34919c1
+
#
# The gcc/newlib build instructions.
#
diff --git a/rtems/config/tools/rtems-gdb-7.7-1.cfg b/rtems/config/tools/rtems-gdb-7.7-1.cfg
index 3a89680..2f053de 100644
--- a/rtems/config/tools/rtems-gdb-7.7-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.7-1.cfg
@@ -7,14 +7,19 @@
%define gdb_version 7.7
+%hash md5 gdb-%{gdb_version}.tar.bz2 271a18f41858a7e98b28ae4eb91287c9
+
#
# 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
%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
+%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778
%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
%endif
#
diff --git a/rtems/config/tools/rtems-gdb-7.7.1-1.cfg b/rtems/config/tools/rtems-gdb-7.7.1-1.cfg
index 55096e6..2e49f38 100644
--- a/rtems/config/tools/rtems-gdb-7.7.1-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.7.1-1.cfg
@@ -11,10 +11,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
%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
+%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778
%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
%endif
#
diff --git a/rtems/config/tools/rtems-nios2-binutils-2.20-1.cfg b/rtems/config/tools/rtems-nios2-binutils-2.20-1.cfg
index 4d4a4e6..f5c6329 100644
--- a/rtems/config/tools/rtems-nios2-binutils-2.20-1.cfg
+++ b/rtems/config/tools/rtems-nios2-binutils-2.20-1.cfg
@@ -16,7 +16,9 @@
# Source
#
%source set binutils http://ftp.rtems.org/ftp/pub/rtems/people/chrisj/nios/nios2-binutils-2.20.tar.bz2
+%hash md5 nios2-binutils-2.20.tar.bz2 42ce11b421a1d35fc7b17ee051ccf92a
%patch add binutils %{rtems_binutils_patches}/nios2/nios2-binutils-2.20-rtems-20110703.diff
+%hash md5 nios2-binutils-2.20-rtems-20110703.diff edaa78cdf7b87866c976232ccb1704ac
#
# The binutils build instructions. We use 2.xx Release 1.
diff --git a/rtems/config/tools/rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg b/rtems/config/tools/rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg
index 0ee5089..c6b48c1 100644
--- a/rtems/config/tools/rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg
+++ b/rtems/config/tools/rtems-nios2-gcc-4.1-newlib-1.19.0-1.cfg
@@ -42,11 +42,13 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
# GCC core and G++
#
%source set gcc http://ftp.rtems.org/ftp/pub/rtems/people/chrisj/nios/nios2-gcc-4.1.tar.bz2
+%hash md5 nios2-gcc-4.1.tar.bz2 717e5a25fda68d96d09353bcfa149cff
#
# Newlib
#
%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz
+%hash md5 newlib-%{newlib_version}.tar.gz 0966e19f03217db9e9076894b47e6601
#
# The GCC library directory