Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575922 - dev-lang/php: add libressl support
Summary: dev-lang/php: add libressl support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2016-02-28 16:28 UTC by Michael Orlitzky
Modified: 2016-03-04 03:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2016-02-28 16:28:59 UTC
At a user's request,

> All that is required is to change the ssl dependency as follows:
>
>        ssl? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )
>
> I have done this on a development server and can confirm php-7.0.3 and
> php-5.6.18 compile and operate fine.

The transition plan at https://github.com/gentoo/libressl/wiki/Transition-plan suggests something slightly different so it might be better to go with the "official" dependency.

We might also have some trouble with the KEYWORDs. LibreSSL has only ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86, while PHP itself has a much larger list. The "libressl" flag is masked on alpha, arm, ia64, and sparc, though, so maybe that won't be a problem.

We can try it and see what happens the next time we need to bump dev-lang/php.
Comment 1 timofonic 2016-03-03 18:44:31 UTC
Any news about this?
Comment 2 Michael Orlitzky gentoo-dev 2016-03-04 03:28:07 UTC
(In reply to timofonic from comment #1)
> Any news about this?

Fixed in the 5.6 and 7.0 series:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b81b8c799fe2c28d7a3211ed1af2f87f3bd033c3

There was no issue with the keywords.