"Java-package" doesn't cover all possible Java binaries

Artyom Gavrichenkov ximaera at gmail.com
Thu Mar 20 17:53:28 UTC 2008


As of March, 20, 2008, I got from Sun's Java web site
 ( http://www.java.com/en/download/linux_manual.jsp ) the binary file called
"jre-6u5-linux-x64.bin". make-jpkg utility failed to make a package from it.
With the following patch the installation completed successfully.
 
Artyom Gavrichenkov | Student, MSU | PGP key ID at pgp.mit.edu: FA1C670E | e-mail: ximaera[at]gmail.com | Jabber: ximaera[at]gmail.com | Tel. No: +7 916 515 49 58
---
--- java-package-0.40/lib/sun-j2re.sh.orig	2008-03-20 20:27:12.000000000 +0300
+++ java-package-0.40/lib/sun-j2re.sh	2008-03-20 20:27:50.000000000 +0300
@@ -64,6 +64,11 @@ function sun_j2re_detect() {
 	    j2se_expected_min_size=16 # 16542512 bytes
 	    found=true
 	    ;;
+	"jre-6u"[0-9]"-linux-x64.bin") # SUPPORTED
+	    j2se_version=1.6.0+update${archive_name:6:1}${revision}
+	    j2se_expected_min_size=16 # 16542512 bytes
+	    found=true
+	    ;;
       esac
       ;;
   esac
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20080320/211acea7/attachment.pgp 


More information about the pkg-java-maintainers mailing list