Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651570 - www-servers/apache: please add mod_md support
Summary: www-servers/apache: please add mod_md support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-26 12:52 UTC by Peter Valach
Modified: 2018-05-29 08:35 UTC (History)
1 user (show)

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


Attachments
apache-2.4.33.ebuild patch adding mod_md support (apache-2.4.33.mod_md.patch,1.65 KB, patch)
2018-04-15 00:24 UTC, Peter Valach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Valach 2018-03-26 12:52:32 UTC
Since 2.4.32 apache includes mod_md (http://httpd.apache.org/docs/2.4/mod/mod_md.html), but this is not supported by current 2.4.33 ebuild (APACHE2_MODULES, etc.).

I tried it by adding --enable-md directly into apache-2.eclass, it compiled without problems (has dev-libs/jansson as dependency) and works OK (Linux/AMD64).
Comment 1 Peter Valach 2018-04-15 00:23:43 UTC
It seems nobody has time to do this, so I added it myself - patch attached; it's quite simple, so please review it and let me know if something needs to be fixed. I tried it on multiple servers and it worked without problems.

I think having this module is very useful, since nowadays you can't have a public site wihout SSL and it provides the easiest way to get and renew Let's Encrypt certificates that I know of.
Comment 2 Peter Valach 2018-04-15 00:24:29 UTC
Created attachment 527414 [details, diff]
apache-2.4.33.ebuild patch adding mod_md support
Comment 3 Larry the Git Cow gentoo-dev 2018-05-29 08:35:48 UTC
The bug has been closed via the following commit(s):

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

commit 2a898b593a3ab8ebeecdf872089ca1bb158668f0
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2018-05-29 08:34:52 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2018-05-29 08:35:38 +0000

    www-servers/apache: Revbump to fix bashisms in init script.
    
    Also added mod_md module.
    
    Closes: https://bugs.gentoo.org/651570
    Closes: https://bugs.gentoo.org/635400
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 www-servers/apache/Manifest                                |  2 +-
 .../{apache-2.4.33.ebuild => apache-2.4.33-r1.ebuild}      | 14 +++++++++-----
 www-servers/apache/metadata.xml                            |  1 +
 3 files changed, 11 insertions(+), 6 deletions(-)