Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679522 - www-apache/mod_security-2.9.3 fails to build with USE=doc
Summary: www-apache/mod_security-2.9.3 fails to build with USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Mózes
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-03-05 12:31 UTC by Dennis Lichtenthäler
Modified: 2019-03-10 22:38 UTC (History)
0 users

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


Attachments
pass --enable-docs, fix doxygen config path (mod_security-use-doc.patch,970 bytes, patch)
2019-03-05 12:31 UTC, Dennis Lichtenthäler
Details | Diff
remove workaround for now-fixed doc building (mod_security-use-doc-v2.patch,976 bytes, patch)
2019-03-05 13:06 UTC, Dennis Lichtenthäler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Lichtenthäler 2019-03-05 12:31:12 UTC
Created attachment 567846 [details, diff]
pass --enable-docs, fix doxygen config path

The current ebuild for www-apps/mod_security-2.9.3 does this:

        if use doc; then
                doxygen doc/doxygen-apache.conf || die 'failed to build documentation'                               
        fi

doc/doxygen-apache.conf does not exist (it has been renamed to doc/doxygen-apache without a file extension) and is not created by default. I'll attach a patch that allows it to compile for me.
Comment 1 Dennis Lichtenthäler 2019-03-05 13:06:52 UTC
Created attachment 567848 [details, diff]
remove workaround for now-fixed doc building

According to the github issue https://github.com/SpiderLabs/ModSecurity/issues/1322 the workaround for building docs is no longer required since mod_security-2.9.2.
Comment 2 Larry the Git Cow gentoo-dev 2019-03-10 22:38:31 UTC
The bug has been closed via the following commit(s):

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

commit 61c02bdcbe2db4c25cb2d76291794a649a4c1ba2
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-03-08 09:35:32 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2019-03-10 22:35:30 +0000

    www-apache/mod_security: fix building USE=doc.
    
    Patch-by: Dennis Lichtenthäler
    Closes: https://bugs.gentoo.org/679522
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/11296
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 www-apache/mod_security/mod_security-2.9.3.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)