[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959074: apache2: dh_apache2 doesn't detect conf filename correctly



Package: apache2
Version: 2.4.38-3+deb10u3
Severity: normal

Dear Maintainer,

I have this file "kalkun.apache2"
containing this line:

conf debian/kalkun.conf


dh_apache2 produces this

# Automatically added by dh_apache2/UNDECLARED
if true; then
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                for conf in kalkun  ; do
                        apache2_invoke enconf $conf  || exit 1
                done
        fi
fi
# End automatically added section

While it should produce this (note the difference of the filename in "for conf
in kalkun.conf  ; do"

# Automatically added by dh_apache2/UNDECLARED
if true; then
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                for conf in kalkun.conf  ; do
                        apache2_invoke enconf $conf  || exit 1
                done
        fi
fi
# End automatically added section

There is no such problem when using
"site" instead of "conf" in kalkun.apache2



-- Package-specific info:

-- System Information:
Debian Release: 10.3
  APT prefers stable-updates
  APT policy: (991, 'stable-updates'), (991, 'stable'), (95, 'testing'), (90, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-8-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apache2 depends on:
ii  apache2-bin    2.4.38-3+deb10u3
ii  apache2-data   2.4.38-3+deb10u3
ii  apache2-utils  2.4.38-3+deb10u3
ii  dpkg           1.19.7
ii  lsb-base       10.2019051400
ii  mime-support   3.62
ii  perl           5.28.1-6
ii  procps         2:3.3.15-2

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.39

Versions of packages apache2 suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  chromium [www-browser]                           80.0.3987.162-1~deb10u1
ii  firefox-esr [www-browser]                        68.7.0esr-1~deb10u1
ii  konqueror [www-browser]                          4:18.12.0-1
ii  links [www-browser]                              2.18-2
ii  lynx [www-browser]                               2.8.9rel.1-3
ii  opera-stable [www-browser]                       68.0.3618.56

Versions of packages apache2-bin depends on:
ii  libapr1                  1.6.5-1+b1
ii  libaprutil1              1.6.1-4
ii  libaprutil1-dbd-sqlite3  1.6.1-4
ii  libaprutil1-ldap         1.6.1-4
ii  libbrotli1               1.0.7-2
ii  libc6                    2.28-10
ii  libcurl4                 7.64.0-4+deb10u1
ii  libjansson4              2.12-1
ii  libldap-2.4-2            2.4.47+dfsg-3+deb10u1
ii  liblua5.2-0              5.2.4-1.1+b2
ii  libnghttp2-14            1.36.0-2+deb10u1
ii  libpcre3                 2:8.39-12
ii  libssl1.1                1.1.1d-0+deb10u3
ii  libxml2                  2.9.4+dfsg1-7+b3
ii  perl                     5.28.1-6
ii  zlib1g                   1:1.2.11.dfsg-1

Versions of packages apache2-bin suggests:
pn  apache2-doc                                      <none>
pn  apache2-suexec-pristine | apache2-suexec-custom  <none>
ii  chromium [www-browser]                           80.0.3987.162-1~deb10u1
ii  firefox-esr [www-browser]                        68.7.0esr-1~deb10u1
ii  konqueror [www-browser]                          4:18.12.0-1
ii  links [www-browser]                              2.18-2
ii  lynx [www-browser]                               2.8.9rel.1-3
ii  opera-stable [www-browser]                       68.0.3618.56

Versions of packages apache2 is related to:
ii  apache2      2.4.38-3+deb10u3
ii  apache2-bin  2.4.38-3+deb10u3

-- Configuration Files:
/etc/apache2/ports.conf changed:
Listen 80 
<IfModule ssl_module>
	Listen 443
</IfModule>
<IfModule mod_gnutls.c>
	Listen 443
</IfModule>


-- no debconf information


Reply to: