Version 1.47 is out since march, so please bump to the latest version.
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.
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 ?
(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?
Version 1.48 is out for some months now
(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
(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)
(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.