puretls no longer uses packed jars. fixes #63266.
authorJan Brinkmann <luckyduck@gentoo.org>
Mon, 3 Jan 2005 21:34:25 +0000 (21:34 +0000)
committerJan Brinkmann <luckyduck@gentoo.org>
Mon, 3 Jan 2005 21:34:25 +0000 (21:34 +0000)
dev-java/puretls/ChangeLog
dev-java/puretls/Manifest
dev-java/puretls/files/digest-puretls-0.94_beta4
dev-java/puretls/puretls-0.94_beta4.ebuild

index 7cfa0b55540c50d5278dd816367798b33598b977..a4c082045c6fa27e2b8958651bcbeb6a3c2a266e 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-java/puretls
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/puretls/ChangeLog,v 1.4 2004/10/22 09:50:36 absinthe Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/puretls/ChangeLog,v 1.5 2005/01/03 21:34:25 luckyduck Exp $
+
+  03 Jan 2005; Jan Brinkmann <luckyduck@gentoo.org> puretls-0.94_beta4.ebuild:
+  Package puretls no longer uses packed jars. Fixes #63266.
 
   22 Oct 2004; Dylan Carlson <absinthe@gentoo.org>
   puretls-0.94_beta4.ebuild:
index 4c49f6cef01312db2bb68810ebf46c2e91c328e8..a2312980bff12ae0113701baa515ebf56f19f998 100644 (file)
@@ -1,4 +1,4 @@
-MD5 3fdf05b53a119ce1409d4dddb6d463c5 ChangeLog 713
+MD5 89eead37e9a7f1469c9b1d6e38d83c4f puretls-0.94_beta4.ebuild 1297
+MD5 2f11a7bf2b26bf29ff94d8013528425f ChangeLog 854
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 c1c5c272601e3aa90991e9650b5c5092 puretls-0.94_beta4.ebuild 1240
-MD5 72e5e38066c9bd32bb64a5fbb7487db9 files/digest-puretls-0.94_beta4 213
+MD5 43e263db222e5890f2e0729a94f7c380 files/digest-puretls-0.94_beta4 65
index 14000fc831539050003a8567b17581a1536e55ae..93c26742fc13479317873cce4a291525a46f62ae 100644 (file)
@@ -1,3 +1 @@
 MD5 b2e4e947af30387b86dbf3473fdbd103 puretls-0.9b4.tar.gz 218494
-MD5 ac4080eee24b1cf0a476cee4fe501149 Cryptix-asn1-20011119.tar.gz 385460
-MD5 7a3545ede3fff5c89eba601fea03791a cryptix32-20001002-r3.2.0.zip 2005827
index 1a27d4f11fdbd18bdd736128b23bb81758ec8154..2746cad692b66d7994be294c4ebf1a7093489569 100644 (file)
@@ -1,40 +1,50 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/puretls/puretls-0.94_beta4.ebuild,v 1.4 2004/10/22 09:50:36 absinthe Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/puretls/puretls-0.94_beta4.ebuild,v 1.5 2005/01/03 21:34:25 luckyduck Exp $
 
 inherit java-pkg
 
 DESCRIPTION="PureTLS is a free Java-only implementation of the SSLv3 and TLSv1 (RFC2246) protocols"
 HOMEPAGE="http://www.rtfm.com/puretls/"
-SRC_URI="mirror://gentoo/puretls-0.9b4.tar.gz
-       mirror://gentoo/Cryptix-asn1-20011119.tar.gz
-       mirror://gentoo/cryptix32-20001002-r3.2.0.zip"
+SRC_URI="mirror://gentoo/puretls-0.9b4.tar.gz"
 LICENSE="puretls"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-IUSE="doc"
-DEPEND=">=virtual/jdk-1.4"
-RDEPEND=">=virtual/jdk-1.4"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+       =dev-java/cryptix-asn1-bin-20011119
+       =dev-java/cryptix-3.2.0"
+RDEPEND=">=virtual/jre-1.4"
 
 S=${WORKDIR}/${PN}-0.9b4
 
 src_unpack() {
-       unpack puretls-0.9b4.tar.gz
-       mkdir ${S}/cryptix
-       cd ${S}/cryptix
-       unpack cryptix32-20001002-r3.2.0.zip && unpack Cryptix-asn1-20011119.tar.gz
+       unpack ${A}
        cd ${S}
+
+       java-pkg_jar-from cryptix-asn1-bin
+       java-pkg_jar-from cryptix-3.2
        echo "jdk.version=1.4" >> build.properties
-       echo "cryptix.jar=cryptix/cryptix32.jar" >> build.properties
-       echo "cryptix-asn1.jar=cryptix/Cryptix-asn1-20011119/cryptix-asn1.jar" >> build.properties
+       echo "cryptix.jar=cryptix32.jar" >> build.properties
+       echo "cryptix-asn1.jar=cryptix-asn1.jar" >> build.properties
 }
 
 src_compile() {
-       ant  || die "Unable to compile"
+       local antflags="compile"
+       if use doc; then
+               antflags="${antflags} javadoc"
+       fi
+       if use jikes; then
+               antflags="${antflags} -Dbuild.compiler=jikes"
+       fi
+       ant ${antflags} || die "Unable to compile"
 }
 
 src_install () {
        java-pkg_dojar ${S}/build/${PN}.jar
+
        dodoc ChangeLog CREDITS INSTALL LICENSE README
-       use doc && java-pkg_dohtml -r ${S}/build/doc/*
+       if use doc; then
+               java-pkg_dohtml -r ${S}/build/doc/api/*
+       fi
 }