Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916043 - www-servers/apache-2.4.58: adjust indent
Summary: www-servers/apache-2.4.58: adjust indent
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-20 10:45 UTC by Tomáš Mózes
Modified: 2023-11-03 13:05 UTC (History)
0 users

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 Tomáš Mózes 2023-10-20 10:45:11 UTC
The inconsistent indent broke some of my ansible playbooks:

/etc/apache2/vhosts.d/00_default_ssl_vhost.conf:
...
<VirtualHost _default_:443>
        ServerName localhost
        Include /etc/apache2/vhosts.d/default_vhost.include
        ErrorLog /var/log/apache2/ssl_error_log

        <IfModule log_config_module>
                TransferLog /var/log/apache2/ssl_access_log
        </IfModule>

        ## SSL Engine Switch:
        # Enable/Disable SSL for this virtual host.
        SSLEngine on

<<<<<<<<<<<<<<<<<
  # TLS defaults are set according to the Mozilla intermediate
  # configuration: https://ssl-config.mozilla.org/
<<<<<<<<<<<<<<<<<

        ## SSLProtocol:
<<<<<<<<<<<<<<<<<
  # Disable old protocol versions that have known flaws or are deprecated.
<<<<<<<<<<<<<<<<<
        SSLProtocol ALL -SSLv2 -SSLv3 -TLSv1 -TLSv1.1

        ## SSL Cipher Suite:
        # List the ciphers that the client is permitted to negotiate.
        # See the mod_ssl documentation for a complete list.
<<<<<<<<<<<<<<<<<
  SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
<<<<<<<<<<<<<<<<<
        ## SSLHonorCipherOrder:
        # Don't enforce cipher order since all ciphers are strong and
        # clients may have preferences on e.g. hardware capabilities.
        SSLHonorCipherOrder Off
...
Comment 1 Larry the Git Cow gentoo-dev 2023-11-03 12:35:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/apache.git/commit/?id=9c28e541a6a46a3c8bfbc5cc6a859e844762c283

commit 9c28e541a6a46a3c8bfbc5cc6a859e844762c283
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-11-03 12:34:20 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-11-03 12:35:00 +0000

    Use consistent indentation with tabs
    
    Bug: https://bugs.gentoo.org/916043
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 2.4/conf/vhosts.d/00_default_ssl_vhost.conf | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
Comment 2 Hans de Graaff gentoo-dev Security 2023-11-03 12:36:01 UTC
This has been fixed in apache.git. I'll include the new file when a new version of apache is added.
Comment 3 Tomáš Mózes 2023-11-03 13:05:01 UTC
Thanks Hans