changeset in /hg/icedtea6: 2008-12-19 Andrew Haley <aph at redhat...

Andrew Haley aph at redhat.com
Fri Dec 19 06:02:53 PST 2008


changeset fc3dc99a545d in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=fc3dc99a545d
description:
	2008-12-19  Andrew Haley  <aph at redhat.com>

	        * Makefile.am (stamps/download.stamp): Check MD5sum on hotspot.tar.gz.
	        * hotspot.map: Add md5sum for 14.0b08.

diffstat:

3 files changed, 20 insertions(+), 3 deletions(-)
ChangeLog   |    5 +++++
Makefile.am |   15 +++++++++++++--
hotspot.map |    3 ++-

diffs (44 lines):

diff -r 83952ccf276b -r fc3dc99a545d ChangeLog
--- a/ChangeLog	Wed Dec 17 22:16:21 2008 +0000
+++ b/ChangeLog	Fri Dec 19 14:02:38 2008 +0000
@@ -1,3 +1,8 @@ 2008-12-17  Andrew John Hughes  <gnu_and
+2008-12-19  Andrew Haley  <aph at redhat.com>
+
+	* Makefile.am (stamps/download.stamp): Check MD5sum on hotspot.tar.gz.
+	* hotspot.map: Add md5sum for 14.0b08.
+
 2008-12-17  Andrew John Hughes  <gnu_andrew at member.fsf.org>
 
 	* acinclude.m4:
diff -r 83952ccf276b -r fc3dc99a545d Makefile.am
--- a/Makefile.am	Wed Dec 17 22:16:21 2008 +0000
+++ b/Makefile.am	Fri Dec 19 14:02:38 2008 +0000
@@ -385,8 +385,19 @@ if WITH_ALT_HSBUILD
 if WITH_ALT_HSBUILD
 if USE_ALT_HOTSPOT_SRC_ZIP
 else
-	changeset="`cat $(abs_top_srcdir)/hotspot.map|grep $(HSBUILD)|cut -f2`"; \
-	$(WGET) $(HOTSPOT_URL)$${changeset}.tar.gz -O $(HOTSPOT_SRC_ZIP);
+	hotspot_md5sum="`$(AWK) 'version==$$1 {print $$3}' version=$(HSBUILD) \
+	  $(abs_top_srcdir)/hotspot.map`" ; \
+	if ! echo "$${hotspot_md5sum}  $(HOTSPOT_SRC_ZIP)" \
+	  | $(MD5SUM) --check ; \
+	then \
+	  if [ $(HOTSPOT_SRC_ZIP) ] ; \
+	  then \
+	    mv $(HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP).old ; \
+	  fi ; \
+	  changeset="`$(AWK) 'version==$$1 {print $$2}' version=$(HSBUILD) \
+	    $(abs_top_srcdir)/hotspot.map`" ; \
+	  $(WGET) $(HOTSPOT_URL)$${changeset}.tar.gz -O $(HOTSPOT_SRC_ZIP) ; \
+	fi
 endif
 endif
 endif
diff -r 83952ccf276b -r fc3dc99a545d hotspot.map
--- a/hotspot.map	Wed Dec 17 22:16:21 2008 +0000
+++ b/hotspot.map	Fri Dec 19 14:02:38 2008 +0000
@@ -1,1 +1,2 @@ 14.0b08	f9d938ede196
-14.0b08	f9d938ede196
+# version changeset md5sum
+14.0b08	f9d938ede196 c8f78d48ac83987bc2adebeebcd354e9



More information about the distro-pkg-dev mailing list