Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440528 - dev-java/bcprov: Version bump to 1.48
Summary: dev-java/bcprov: Version bump to 1.48
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-31 11:22 UTC by Thomas Sachau
Modified: 2013-05-21 16:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bcprov-1.45-1.47.ebuild.patch (bcprov-1.45-1.47.ebuild.patch,1.12 KB, patch)
2012-11-03 08:22 UTC, Ivan Baidakou (dmol)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sachau gentoo-dev 2012-10-31 11:22:49 UTC
Version 1.47 is out since march, so please bump to the latest version.
Comment 1 Ivan Baidakou (dmol) 2012-11-03 08:22:45 UTC
Created attachment 328186 [details, diff]
bcprov-1.45-1.47.ebuild.patch

Here's the patch. I'v done EAPI version bump to 4, masked keywords (as repoman complains) and dropped IUSE="userland_GNU" as findutils are required for newest EAPI, as I think.
Comment 2 Regin 2012-12-02 16:55:25 UTC
Using this patch, java throws me an error: 

java.security.NoSuchAlgorithmException: Algorithm ECDH not available

Precompiled bcprov-jdk15on-147.jar @ bouncycastle.org runs fine, why ?
Comment 3 Ivan Baidakou (dmol) 2012-12-23 21:58:48 UTC
(In reply to comment #2)
> Using this patch, java throws me an error: 
> 
> java.security.NoSuchAlgorithmException: Algorithm ECDH not available
> 
> Precompiled bcprov-jdk15on-147.jar @ bouncycastle.org runs fine, why ?

I have compared the bcprov-jdk15on-147.jar @ bouncycastle.org  and the builded one from the source and they are looked almost identical (there is some additional classes in generated from the source, and a few of missed ones --- probably out-of-date inner classes). 

Are you sure that you are using the same jdk?  Could you, please, provide an simple test case to demonstrate the issue?
Comment 4 Thomas Sachau gentoo-dev 2013-05-20 11:46:00 UTC
Version 1.48 is out for some months now
Comment 5 Thomas Sachau gentoo-dev 2013-05-20 11:55:19 UTC
(In reply to comment #2)
> Using this patch, java throws me an error: 
> 
> java.security.NoSuchAlgorithmException: Algorithm ECDH not available
> 
> Precompiled bcprov-jdk15on-147.jar @ bouncycastle.org runs fine, why ?

The reasoning is probably this line:

Caused by: java.util.jar.JarException: file:/usr/share/bcprov/lib/bcprov.jar has unsigned entries - org/bouncycastle/jce/interfaces/BCKeyStore.class

At it happens for me too, even with versions 1.45 and 1.48
Comment 6 Thomas Sachau gentoo-dev 2013-05-21 15:23:35 UTC
(In reply to comment #5)
> it happens for me too, even with versions 1.45 and 1.48

And now, it does not happen any more, seems like a nice random bug. Anyway, still waiting for someone to do the actual bump (just adjusting the MY_P definition should be enough)
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-05-21 16:13:02 UTC
(In reply to comment #1)
> Created attachment 328186 [details, diff] [details, diff]
> bcprov-1.45-1.47.ebuild.patch
> 
> Here's the patch. I'v done EAPI version bump to 4, masked keywords (as
> repoman complains) and dropped IUSE="userland_GNU" as findutils are required
> for newest EAPI, as I think.

Nope, a specific version is needed as stated in the bug the comment points to.

+  21 May 2013; Tom Wijsman <TomWij@gentoo.org> +bcprov-1.48.ebuild:
+  Version bump to 1.48. EAPI 5. Clean up the ebuild slightly.