Control: tags -1 + patch

Dear Maintainer,

In preparation for upgrading several hosts from jessie to stretch, my
colleague and I discovered that phpldapadmin was removed from stretch
due to this bug.

Attached is a trivial one-line patch that solves the piuparts postisnt
failure by ensuring path /etc/apache2/mods-available is installed by the
package.  I verified that this is what other 'a2enconf' style packages
are doing.  I've also verified that piuparts is successful (but there's
a caveat¹).


¹ Caveat: piuparts now fails for another reason, but I believe it's a
problem with php7.0.  I ran piuparts on phpmyadmin and had the same
results.

Output:

0m55.8s ERROR: FAIL: Package purging left files on system:
  /var/lib/php/       owned by: php-common
  /var/lib/php/modules/    owned by: php-common
  /var/lib/php/modules/7.0/     not owned
  /var/lib/php/modules/7.0/apache2/        not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/     not owned
  /var/lib/php/modules/7.0/apache2/enabled_by_maint/calendar not owned
  ...

-- 
Gerald Turner <gtur...@unzane.com>        Encrypted mail preferred!
OpenPGP: 4096R / CA89 B27A 30FA 66C5 1B80  3858 EC94 2276 FDB8 716D
From 5baf2008b598c929be011d4f4b76698583f8a72a Mon Sep 17 00:00:00 2001
From: Gerald Turner <gtur...@unzane.com>
Date: Thu, 15 Jun 2017 10:53:14 -0700
Subject: [PATCH] Install /etc/apache2/conf-available directory so postinst
 does not fail (Closes: #834015)

---
 debian/dirs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/dirs b/debian/dirs
index 55fe3fb..5d3ea56 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -5,3 +5,4 @@ etc/phpldapadmin
 etc/phpldapadmin/templates
 etc/phpldapadmin/templates/creation
 etc/phpldapadmin/templates/modification
+etc/apache2/conf-available
-- 
2.11.0

Attachment: signature.asc
Description: PGP signature

Reply via email to