This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gcc_release] Add a comment to MD5SUMS


Gerald Pfeifer wrote:
Please give me a short heads up when you applied your change, and I'll
update the version running on gcc.gnu.org then.


Committed with the changes below. You probably also will want to delete the three old LATEST-IS-xxx files from the snapshot directory.


KC
2004-08-10  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Add comment header to generated MD5SUMS.

--- ../../gcc-orig/maintainer-scripts/gcc_release	2004-08-09 09:32:22.026742200 -0400
+++ gcc_release	2004-08-10 16:07:26.652055700 -0400
@@ -251,7 +251,17 @@ EOF
   [ -f libcpp/po/cpplib.pot ] && mv ../objdir/libcpp/po/*.gmo libcpp/po/
 
   # Create a "MD5SUMS" file to use for checking the validity of the release.
-  find . -type f |sed -e 's:^\./::' -e '/MD5SUMS/d' |sort |xargs md5sum >MD5SUMS
+  echo \
+"# This is an MD5 Checksum of the GCC tarball.
+#
+# Besides verifying that all files in the tarball were correctly expanded, it
+# also can be used to determine if any files have changed since the tarball was
+# expanded or to verify that a patchfile was correctly applied.
+#
+# Suggested usage:
+# md5sum -c MD5SUMS | grep -v \"OK$\"
+" > MD5SUMS
+  find . -type f |sed -e 's:^\./::' -e '/MD5SUMS/d' |sort |xargs md5sum >>MD5SUMS
 }
 
 # Buid a single tarfile.  The first argument is the name of the name

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]