Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679522

Summary: www-apache/mod_security-2.9.3 fails to build with USE=doc
Product: Gentoo Linux Reporter: Dennis Lichtenthäler <dennis>
Component: Current packagesAssignee: Tomáš Mózes <hydrapolic>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/11296
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pass --enable-docs, fix doxygen config path
remove workaround for now-fixed doc building

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(-)