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

Bug#711483: apache2-dev: dh-apache2 does not strip .conf extension



Package: apache2-dev
Version: 2.4.4-5
Severity: normal

The following path of dh-apache2:
    if (! $file)
        {
                # do black magic only if there is no .apache2
                # configuration file
                find({  no_chdir => 1,
                        wanted => sub
                        {
                                my ($dir, $file) =
(dirname($File::Find::name), basename($File::Find::name));

 ...
  }

fails to strip any .conf, .load extension which results in not working
debhelper code snippets:

  # Automatically added by dh_apache2
  if true; then
        if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
                . /usr/share/apache2/apache2-maintscript-helper
                for conf in dwww.conf  ; do
                        apache2_invoke enconf $conf  || exit $?
                done
        fi
  fi

The `apache2_invoke enconf $conf' line calls `a2enconf -m -q dwww.conf'
which fails with the following confusing error message:

  ERROR: Conf dwww.conf does not exist!

(The message is confusing because /etc/apache2/conf-available/dwww.conf
DOES exist)

Regards,
robert




-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.8-1-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages apache2-dev depends on:
ii  debhelper        9.20130605
ii  libapr1-dev      1.4.6-4
ii  libaprutil1-dev  1.5.2-1
ii  openssl          1.0.1e-3
ii  perl             5.14.2-21

apache2-dev recommends no packages.

apache2-dev suggests no packages.

-- no debconf information


Reply to: