Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 563452 - www-servers/apache: "http2" should be in APACHE2_MODULES by default
Summary: www-servers/apache: "http2" should be in APACHE2_MODULES by default
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-10-19 03:41 UTC by SpanKY
Modified: 2018-07-25 21:45 UTC (History)
2 users (show)

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 SpanKY gentoo-dev 2015-10-19 03:41:32 UTC
considering http2 is the fuuuuuture, we should have it enabled by default
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-12-16 13:36:17 UTC
I'd like to have this settled a bit. 
My current plan is to default-enable it with apache-2.4.20 at the latest.
Comment 2 SpanKY gentoo-dev 2015-12-16 17:35:44 UTC
settle in what way ?  nghttp2 is in stable now.  i've been using http2 on my site now for months ... first via mod_spdy, then mod_h2, and now via the apache mod.
Comment 3 Oleksandr Trotsenko 2018-02-16 16:09:38 UTC
hello!

I would like to contribute to Gentoo, so I can pay back to the nice distribution and get some experience along the way.

Hehe, apache 2.4.20 is released some time ago and currently it is 2.4.29. So I tried to make the apache_modules_http2 enabled by default.

I couldn't think of anything better than just defining:
IUSE="+apache2_modules_http2"

Is this acceptable or there must be some more elegant way to handle it?

The PR I am about to create bumps the ebuild revision and introduces this change.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-02-16 16:24:26 UTC
(In reply to Oleksandr Trotsenko from comment #3)
> hello!
> 
> I would like to contribute to Gentoo, so I can pay back to the nice
> distribution and get some experience along the way.

Great :)

> Hehe, apache 2.4.20 is released some time ago and currently it is 2.4.29. So
> I tried to make the apache_modules_http2 enabled by default.

Yeah, I completely lost track of this bug. Sorry.

> I couldn't think of anything better than just defining:
> IUSE="+apache2_modules_http2"

Does repoman (from app-portage/repoman package) complain about that change?

> Is this acceptable or there must be some more elegant way to handle it?

Dunno to be honest. Need to look into that myself.

> The PR I am about to create bumps the ebuild revision and introduces this
> change.

Yeah, that's preferred procedure.
Comment 5 Oleksandr Trotsenko 2018-02-16 16:28:52 UTC
Thanks for the prompt reply :)

Repoman told me:
bucefal91@dell ~/gentoo/repo/www-servers/apache $ repoman -dx full

RepoMan scours the neighborhood...
  dependency.badindev           8
   www-servers/apache/apache-2.4.27-r1.ebuild: DEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.28.ebuild: DEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29.ebuild: DEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29.ebuild: RDEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29-r1.ebuild: DEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=app-arch/brotli-0.6.0:=', '>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29-r1.ebuild: RDEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=app-arch/brotli-0.6.0:=', '>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29-r2.ebuild: DEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=app-arch/brotli-0.6.0:=', '>=net-libs/nghttp2-1.2.1']
   www-servers/apache/apache-2.4.29-r2.ebuild: RDEPEND: ~amd64-fbsd(default/bsd/fbsd/amd64/11.1)
['>=app-arch/brotli-0.6.0:=', '>=net-libs/nghttp2-1.2.1']
RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

But I figured these warnings have already existed. And they are applicable only to dev profiles, i.e. when repoman  is run with the --include-dev (-d) option.
Comment 6 Larry the Git Cow gentoo-dev 2018-03-15 11:00:27 UTC
The bug has been referenced in the following commit(s):

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

commit 8aed55978b5cd3375bc32f32792e3512862a3b94
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-03-15 10:59:02 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-03-15 11:00:19 +0000

    www-servers/apache: Bump to version 2.4.32
    
    Changes/Enhancements:
    - Enabled http2 by default (#563452)
    - Pass commands to apache with apache2ctl (#634414)
    
    Bug: https://bugs.gentoo.org/563452
    Closes: https://bugs.gentoo.org/634414
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 www-servers/apache/Manifest             |   2 +
 www-servers/apache/apache-2.4.32.ebuild | 248 ++++++++++++++++++++++++++++++++
 2 files changed, 250 insertions(+)}