Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573276 - dev-java/icedtea add libressl support
Summary: dev-java/icedtea add libressl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Andrew John Hughes
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2016-01-29 06:35 UTC by maurerpe
Modified: 2016-03-27 21:48 UTC (History)
6 users (show)

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


Attachments
icedtea6.ebuild.diff (icedtea6.ebuild.diff,891 bytes, patch)
2016-01-29 06:36 UTC, maurerpe
Details | Diff
icedtea7.ebuild.diff (icedtea7.ebuild.diff,811 bytes, patch)
2016-01-29 06:37 UTC, maurerpe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description maurerpe 2016-01-29 06:35:06 UTC
Both icedtea:6 and icedtea:7 hard depend on dev-libs/openssl, but both work with libressl.  Add libressl use flag and conditionally depend on dev-libs/libressl.  The use flag and conditional depend ensure that the behaviour is only changed for users that explicitly set the libressl use flag.

No patches are needed to icedtea itself, just an updated ebuild.

Tested with libressl 2.3.1-r1


Reproducible: Always
Comment 1 maurerpe 2016-01-29 06:36:09 UTC
Created attachment 424134 [details, diff]
icedtea6.ebuild.diff

Diff to add libressl support to icedtea 6 ebuild
Comment 2 maurerpe 2016-01-29 06:37:38 UTC
Created attachment 424136 [details, diff]
icedtea7.ebuild.diff

Diff to add libressl support to icedtea7 ebuild.
Comment 3 timofonic 2016-03-03 18:46:19 UTC
Any news about this?
Comment 4 James Le Cuirot gentoo-dev 2016-03-03 20:51:02 UTC
Sorry, since building and testing icedtea takes some time, I'd normally bring in something like this as part of a version bump and there hasn't been one yet. You missed it by a few days. We're also busy trying to stabilise Java 8 and remove Java 6 (so you can forget about icedtea:6). I'll try to get it done after that.
Comment 5 Andrew John Hughes 2016-03-03 21:09:29 UTC
I've fixed this on all the java overlay versions. There's no need for a bump here as --newuse will pick it up and existing installations don't need to re-install for something that is just used during the build.

Any idea why this is being done as a USE flag and not simply a virtual? A virtual would also allow for other implementations e.g. BoringSSL.
Comment 6 James Le Cuirot gentoo-dev 2016-03-03 21:32:16 UTC
(In reply to Andrew John Hughes from comment #5)
> I've fixed this on all the java overlay versions. There's no need for a bump
> here as --newuse will pick it up and existing installations don't need to
> re-install for something that is just used during the build.

Thanks!

> Any idea why this is being done as a USE flag and not simply a virtual? A
> virtual would also allow for other implementations e.g. BoringSSL.

There's been very long drawn out discussions about it on the gentoo-dev list. There seems to be a general consensus with the USE flag approach now.
Comment 7 James Le Cuirot gentoo-dev 2016-03-27 21:48:13 UTC
This is now available for icedtea:7 in the tree. It should also be available for icedtea:8 when I finally add it.