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*
Created attachment 406920 [details, diff] alpn use flag pulls in openssl 1.0.2
+ 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.
It works. Thank you!