From 4e4900fb9ae16272849c93851def536f57001277 Mon Sep 17 00:00:00 2001 From: William Thomson Date: Sun, 25 Mar 2007 17:22:16 +0000 Subject: [PATCH] Bumped to latest version, re-worked ebuild from past versions. No more external build.xml since package does not ship one. Still to do, junit/test stuff, optional dep/compile test run Package-Manager: portage-2.1.2.2 --- dev-java/bcprov/ChangeLog | 12 +++++- dev-java/bcprov/Manifest | 26 ++++++------ dev-java/bcprov/bcprov-1.36.ebuild | 50 ++++++++++++++++++++++++ dev-java/bcprov/files/digest-bcprov-1.36 | 3 ++ 4 files changed, 75 insertions(+), 16 deletions(-) create mode 100644 dev-java/bcprov/bcprov-1.36.ebuild create mode 100644 dev-java/bcprov/files/digest-bcprov-1.36 diff --git a/dev-java/bcprov/ChangeLog b/dev-java/bcprov/ChangeLog index 729fe5f55512..1f6eb0b01819 100644 --- a/dev-java/bcprov/ChangeLog +++ b/dev-java/bcprov/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/bcprov -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.10 2006/12/07 22:32:42 flameeyes Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.11 2007/03/25 17:22:16 wltjr Exp $ + +*bcprov-1.36 (25 Mar 2007) + + 25 Mar 2007; William L. Thomson Jr. + +bcprov-1.36.ebuild: + Bumped to latest version, re-worked ebuild from past versions. No more + external build.xml since package does not ship one. Still to do, junit/test + stuff, optional dep/compile test run 07 Dec 2006; Diego Pettenò bcprov-1.31-r2.ebuild: Add ~x86-fbsd keyword. diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest index 4443ab7e797b..6f8d7ed7ccd4 100644 --- a/dev-java/bcprov/Manifest +++ b/dev-java/bcprov/Manifest @@ -1,11 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX build.xml 1538 RMD160 63124bf64c7e000dc0b45d847f0f194a7d8252a2 SHA1 b30b4d7c91ba248ece7c5dddb82b232b3cbc4e79 SHA256 1a6cce51e7e83e06ffcefeff597850df85a4d0d7ca3c333c2441a541c5432fce MD5 41c0dc45f2d148a0f8f9786abd6e6f15 files/build.xml 1538 RMD160 63124bf64c7e000dc0b45d847f0f194a7d8252a2 files/build.xml 1538 SHA256 1a6cce51e7e83e06ffcefeff597850df85a4d0d7ca3c333c2441a541c5432fce files/build.xml 1538 DIST bcprov-jdk14-131.tar.gz 1800777 RMD160 eb4eb1ddd676734e70dd186b2552c69c64431a77 SHA1 7231ecb361573db12f2116d9f46d8719cc736d19 SHA256 b3ce157c0269b98aaa8bea03d916fa30ebc4acd885199c178078284848f8a0f8 +DIST bcprov-jdk14-136.tar.gz 3119925 RMD160 aa2e233049c6eec2db533f39be2aad4ea60eede3 SHA1 c0df1390c309da3996f208cb7f261c6b5e166944 SHA256 d47f82ccf32c152c28fe259baedc5cc2cafd3e2187ebd754b710c54aee7d5428 EBUILD bcprov-1.31-r1.ebuild 1010 RMD160 b225419b1dab1efdaab7954b85da64164b2a2652 SHA1 075ded175eef4eac8052a3bef28635430f3c94f0 SHA256 80cce1d286b818214d9d18628913fe8f8fb55c799f4bcd79675410a9725774c9 MD5 7daae0a80b5114432c0ea023df5913c6 bcprov-1.31-r1.ebuild 1010 RMD160 b225419b1dab1efdaab7954b85da64164b2a2652 bcprov-1.31-r1.ebuild 1010 @@ -14,10 +12,14 @@ EBUILD bcprov-1.31-r2.ebuild 1134 RMD160 2fe9e83274ed9490f976412158b0a9299f1ba6b MD5 7a06a105c0ce840a590d59ed4d11ac40 bcprov-1.31-r2.ebuild 1134 RMD160 2fe9e83274ed9490f976412158b0a9299f1ba6bd bcprov-1.31-r2.ebuild 1134 SHA256 78ab407c083562fca8b15251acf5a25c4e31bf2f5bd051fa4c8848fe4d7c62d7 bcprov-1.31-r2.ebuild 1134 -MISC ChangeLog 1388 RMD160 6b57ac12f066f5e007a514d5e305a2d17d87f02a SHA1 16a63c8f9b5e245cc38d4c8c617cc98e0ef43b87 SHA256 b68b68af44d75f814e88ab5a2f14fd9c93a24c125e6723634f2c546eb6f5bf4d -MD5 248b8c33e2a8b89237312bfba3a7da77 ChangeLog 1388 -RMD160 6b57ac12f066f5e007a514d5e305a2d17d87f02a ChangeLog 1388 -SHA256 b68b68af44d75f814e88ab5a2f14fd9c93a24c125e6723634f2c546eb6f5bf4d ChangeLog 1388 +EBUILD bcprov-1.36.ebuild 1115 RMD160 58871e6818e7107525a0b1f24446a54238348a88 SHA1 5bf843a410060edd75ef4dc5b20bc7908ead685b SHA256 1668312f180bb50dc408bd2d277673d880b39550c4298b632168172cc7f6ed4f +MD5 845a90f22b7c702ed1d7e919663720d1 bcprov-1.36.ebuild 1115 +RMD160 58871e6818e7107525a0b1f24446a54238348a88 bcprov-1.36.ebuild 1115 +SHA256 1668312f180bb50dc408bd2d277673d880b39550c4298b632168172cc7f6ed4f bcprov-1.36.ebuild 1115 +MISC ChangeLog 1683 RMD160 1b203a29eee7728b026fb3f3d236eeb1bc4002d4 SHA1 9e100ce29a3457c6afe4e4dc46f5a12356a9e90d SHA256 4e2b2be09312e73655871d8a7295c29eb6352bd81cee2ecb792d87cc0cce2d63 +MD5 cd556ddd014273a79377432d28fab0bc ChangeLog 1683 +RMD160 1b203a29eee7728b026fb3f3d236eeb1bc4002d4 ChangeLog 1683 +SHA256 4e2b2be09312e73655871d8a7295c29eb6352bd81cee2ecb792d87cc0cce2d63 ChangeLog 1683 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 @@ -28,10 +30,6 @@ SHA256 3280794077e6dafca08e182770b1290ebbba36c00dfb44c79cce2ad0f95aa24f files/di MD5 e3ddef026f5c91a1841a35d84867ee26 files/digest-bcprov-1.31-r2 253 RMD160 dcbde8ba088df860df933c87b2540b4b3ba18eca files/digest-bcprov-1.31-r2 253 SHA256 3280794077e6dafca08e182770b1290ebbba36c00dfb44c79cce2ad0f95aa24f files/digest-bcprov-1.31-r2 253 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.6 (GNU/Linux) - -iD8DBQFFeJaVAiZjviIA2XgRAoDeAKCQBpzYYJ6mNBkO+QsqfvZIjrg6UACgvOF/ -z859uOLriFwdRiXqbXTNJTM= -=BNFk ------END PGP SIGNATURE----- +MD5 878ecafea609e63afe3b5a8e10b9f7ae files/digest-bcprov-1.36 253 +RMD160 b4532b9ecc6032718a53e840f27dc35b89cac2d5 files/digest-bcprov-1.36 253 +SHA256 6c48dbd3d80afe94b52d368a270ca433fff773ab6c148f066822902bdaa7fde5 files/digest-bcprov-1.36 253 diff --git a/dev-java/bcprov/bcprov-1.36.ebuild b/dev-java/bcprov/bcprov-1.36.ebuild new file mode 100644 index 000000000000..83b7dfd312a0 --- /dev/null +++ b/dev-java/bcprov/bcprov-1.36.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.36.ebuild,v 1.1 2007/03/25 17:22:16 wltjr Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}-jdk14-${PV/./}" +DESCRIPTION="Java cryptography APIs" +HOMEPAGE="http://www.bouncycastle.org/java.html" +SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" + +COMMON_DEPEND="dev-java/junit" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEPEND}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./src.zip +} + +src_compile() { + mkdir "${S}/classes" + + find . -name "*.java" > "${T}/src.list" + ejavac -d "${S}/classes" \ + -classpath $(java-pkg_getjars junit) \ + "@${T}/src.list" + + cd "${S}/classes" + jar -cf "${S}/${PN}.jar" * || die "failed to create jar" +} + +src_install() { + java-pkg_dojar "${S}/${PN}.jar" + + use source && java-pkg_dosrc org + use doc && java-pkg_dojavadoc docs +} diff --git a/dev-java/bcprov/files/digest-bcprov-1.36 b/dev-java/bcprov/files/digest-bcprov-1.36 new file mode 100644 index 000000000000..de6018487348 --- /dev/null +++ b/dev-java/bcprov/files/digest-bcprov-1.36 @@ -0,0 +1,3 @@ +MD5 226539d989bb53b60103babc9c27b1ba bcprov-jdk14-136.tar.gz 3119925 +RMD160 aa2e233049c6eec2db533f39be2aad4ea60eede3 bcprov-jdk14-136.tar.gz 3119925 +SHA256 d47f82ccf32c152c28fe259baedc5cc2cafd3e2187ebd754b710c54aee7d5428 bcprov-jdk14-136.tar.gz 3119925 -- 2.26.2