Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555070 - www-servers/apache[alpn] should depend on >=dev-libs/openssl-1.0.2*
Summary: www-servers/apache[alpn] should depend on >=dev-libs/openssl-1.0.2*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 12:18 UTC by Zoltán Halassy
Modified: 2015-07-16 15:06 UTC (History)
0 users

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


Attachments
alpn use flag pulls in openssl 1.0.2 (apache-2.eclass.diff,395 bytes, patch)
2015-07-16 12:33 UTC, Zoltán Halassy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zoltán Halassy 2015-07-16 12:18:44 UTC
AFAIK ALPN support is only present from openssl version 1.0.2 (at least according to their cahngelog), and I don't know about any upstream backports, nor patching in the ebuilds. Apache will compile properly, but ALPN will be silently unsupported.

Also as I noticed, apache needs to be recompiled after openssl 1.0.2 installation, as alpn support seem to be permanently disabled, if openssl doesn't support it at compile time (HAVE_TLS_ALPN macro).

Reproducible: Always

Steps to Reproduce:
Install latest stable openssl 1.0.1, install apache 2.4 with alpn use flag
Actual Results:  
alpn will not be supported

Expected Results:  
apache[alpn] should require >=dev-libs/openssl-1.0.2*
Comment 1 Zoltán Halassy 2015-07-16 12:33:19 UTC
Created attachment 406920 [details, diff]
alpn use flag pulls in openssl 1.0.2
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-16 12:52:38 UTC
+  16 Jul 2015; Lars Wendler <polynomial-c@gentoo.org> apache-2.4.12-r1.ebuild,
+  apache-2.4.16.ebuild:
+  Fixed openssl dependency for alpn patch (bug #555070).
+

Please test and report back if that works for you.
Comment 3 Zoltán Halassy 2015-07-16 15:06:59 UTC
It works. Thank you!