The attached patch should fix the bug in version 7.0.61-1.

Only in flashplugin-nonfree-7.0.61: build-stamp
Only in flashplugin-nonfree-7.0.61: configure-stamp
diff -ru flashplugin-nonfree-7.0.61.orig/debian/changelog flashplugin-nonfree-7.0.61/debian/changelog
--- flashplugin-nonfree-7.0.61.orig/debian/changelog	2005-12-23 18:27:04.000000000 +0100
+++ flashplugin-nonfree-7.0.61/debian/changelog	2005-12-23 20:08:51.000000000 +0100
@@ -1,3 +1,12 @@
+flashplugin-nonfree (7.0.61-1.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Fix file name of local file, and don't do md5 checking with a missing
+    checksum.  (closes: #341238)
+  * Added a FIXME about the broken md5 checking
+
+ -- Bart Martens <[EMAIL PROTECTED]>  Fri, 23 Dec 2005 18:28:54 +0100
+
 flashplugin-nonfree (7.0.61-1) unstable; urgency=low
 
   * check latest version by mirror's html.
Only in flashplugin-nonfree-7.0.61/debian: files
Only in flashplugin-nonfree-7.0.61/debian: flashplugin-nonfree
Only in flashplugin-nonfree-7.0.61/debian: flashplugin-nonfree.postrm.debhelper
Only in flashplugin-nonfree-7.0.61/debian: flashplugin-nonfree.substvars
diff -ru flashplugin-nonfree-7.0.61.orig/debian/postinst flashplugin-nonfree-7.0.61/debian/postinst
--- flashplugin-nonfree-7.0.61.orig/debian/postinst	2005-12-23 18:27:04.000000000 +0100
+++ flashplugin-nonfree-7.0.61/debian/postinst	2005-12-23 19:10:30.000000000 +0100
@@ -7,7 +7,7 @@
 case "$1" in
     configure*)
     db_get flashplugin-nonfree/local
-    if [ -d "$RET" -a -f "$RET"/flash_linux.tar.gz ]; then
+    if [ -d "$RET" -a -f "$RET"/install_flash_player_7_linux.tar.gz ]; then
 	LOCALFILE="-l $RET"
 	INSTALL="true"
     fi
diff -ru flashplugin-nonfree-7.0.61.orig/update-flashplugin flashplugin-nonfree-7.0.61/update-flashplugin
--- flashplugin-nonfree-7.0.61.orig/update-flashplugin	2005-12-23 18:27:04.000000000 +0100
+++ flashplugin-nonfree-7.0.61/update-flashplugin	2005-12-23 20:08:11.000000000 +0100
@@ -15,6 +15,12 @@
 require 'getoptlong'
 require '/etc/update-flashplugin.conf'
 
+# FIXME md5 checking is broken
+# There is no longer an md5 checksum on the website
+# so downloading both the file and the checksum cannot be done anymore.
+# Using hardcoded md5 checksums would limit the use of this script
+# to only one version of the Flash player.
+
 module UpdateFlashPlugin
 include UpdateFlashPluginConf
 
@@ -171,11 +177,13 @@
 		Dir.chdir(@cur_dir)
 		exit 1
       end
-      if MD5.new(File.open("#{file}", 'r').binmode.read).hexdigest != @tar_sum
-		$stderr.print "E: md5sum of #{file} does not match with [EMAIL PROTECTED]"
-		Dir.chdir(@cur_dir)
-		exit
-      end
+	  if @tar_sum
+		if MD5.new(File.open("#{file}", 'r').binmode.read).hexdigest != @tar_sum
+		  $stderr.print "E: md5sum of #{file} does not match with [EMAIL PROTECTED]"
+		  Dir.chdir(@cur_dir)
+		  exit
+		end
+	  end
       _print "use existing file: #{file}\n"
     else
       file = "install_flash_player_7_linux.tar.gz"
Only in flashplugin-nonfree-7.0.61: update-flashplugin.8

Reply via email to