# 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:
-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
-# 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
}