Bug#286718: java-package: final patch, found another problem

Andreas Pakulat Andreas Pakulat <apaku@gmx.de>, 286718@bugs.debian.org
Tue Dec 21 18:10:07 2004


This is a multi-part MIME message sent by reportbug.

--===============1440046290==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: java-package
Version: 0.17+local
Followup-For: Bug #286718

Hi,

I've just been informed that my patch doesn't work with Sun's .bin
package. I tried other things before changing java-package which
involved renaming the .bin file. Unfortunately I re-renamed it to the
wrong "original" name jdk-1_5_0_1-linux-i586.bin when it should have
been jdk-1_5_0_01-linu-i586.bin :-(

I attach a "final" patch which includes size=131 and the above name
"1_5_0_01". 

Sorry for all the confusing mails.

Andreas

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-cherry
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages java-package depends on:
ii  debhelper                     4.2.28     helper programs for debian/rules

-- no debconf information

--===============1440046290==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff.out"

diff -ur java-package-0.17/lib/sun-j2sdk.sh java-package-0.17.new/lib/sun-j2sdk.sh
--- java-package-0.17/lib/sun-j2sdk.sh	2004-11-12 15:33:34.000000000 +0100
+++ java-package-0.17.new/lib/sun-j2sdk.sh	2004-12-21 18:47:28.000000000 +0100
@@ -35,6 +35,11 @@
 	    j2se_expected_min_size=134 # 136608 kB
 	    found=true
 	    ;;
+	"jdk-1_5_0_01-linux-i586.bin")
+	    j2se_version=1.5.0+update1
+	    j2se_expected_min_size=131 # 130324 kB
+	    found=true
+	    ;;
       esac
       ;;
     "ia64-linux")

--===============1440046290==--