Bug#286718: java-package: corrected patch

Andreas Pakulat Andreas Pakulat <apaku@gmx.de>, 286718@bugs.debian.org
Tue Dec 21 11:24:06 2004


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

--===============0757802064==
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,

actually the size reported by java-package is wrong or I misunderstood
the output. Anyway, the size of the directory reported from du -sh is
136 and du -sk is 138528 kB. I changed the patch accordingly and
attached it.

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

--===============0757802064==
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_1-linux-i586.bin")
+	    j2se_version=1.5.0+update1
+	    j2se_expected_min_size=136 # 138528 kB
+	    found=true
+	    ;;
       esac
       ;;
     "ia64-linux")

--===============0757802064==--