Java crypto

Alex Dupre ale at FreeBSD.org
Mon Jun 19 21:24:27 UTC 2006


Greg Lewis ha scritto:
> Thanks for asking about this.  Upon taking a quick look, I don't think
> there is any particular reason.  My guess is that simply noone noticed we
> weren't building it.  This isn't surprising given that it looks to me
> like its not built on Solaris/Linux/Windows either, its simply extracted
> from a zip file.  It also looks like the source code is also zipped up,
> which makes it harder to notice its even there.

Yes, I supposed it. The jar file cannot be built from sources, since
must be signed, so I think Sun chose to distribute even the jni shared
object in binary form for "supported" platforms. The source distribution
doesn't automatically build it, but native binary distributions install
it and it's supposed to be in jdk 1.5.
I don't know which is the best way to go, but probably the easiest is to
create a new port that builds the jni lib and installs it along with the
signed jar (I think modifying the jdk15 and diablo ports will be more
complex, even if more natural from a user's point of view).

>> Second thing: it could be useful to have a knob in all jdk ports to 
>> install the unrestricted security policy files, so that every update 
>> won't replace them.
> 
> I'd be happy to review patches :).

I will prepare them asap.

--
Alex Dupre


More information about the freebsd-java mailing list