Bug#856832: jessie-pu: package webissues-server/0.8.5-3+deb8u1

2017-03-29 Thread Adam D. Barratt
Control: tags -1 + pending

On Thu, 2017-03-09 at 20:06 +, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Sun, 2017-03-05 at 11:10 +0100, Andreas Beckmann wrote:
> > I'd like to update webissues-server in jessie to fix its unconditional
> > usage of ucf during postrm purge. This is the last package triggering
> > this bug after piuparts (upgrade) tests. Like ndoutils, the package
> > has been removed from unstable, therefore it can be fixed in stable
> > only.
> 
> Please go ahead.

Uploaded and flagged for acceptance.

Regards,

Adam



Bug#856832: jessie-pu: package webissues-server/0.8.5-3+deb8u1

2017-03-09 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Sun, 2017-03-05 at 11:10 +0100, Andreas Beckmann wrote:
> I'd like to update webissues-server in jessie to fix its unconditional
> usage of ucf during postrm purge. This is the last package triggering
> this bug after piuparts (upgrade) tests. Like ndoutils, the package
> has been removed from unstable, therefore it can be fixed in stable
> only.

Please go ahead.

Regards,

Adam



Bug#856832: jessie-pu: package webissues-server/0.8.5-3+deb8u1

2017-03-05 Thread Andreas Beckmann
Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian@packages.debian.org
Usertags: pu

Hi,

I'd like to update webissues-server in jessie to fix its unconditional
usage of ucf during postrm purge. This is the last package triggering
this bug after piuparts (upgrade) tests. Like ndoutils, the package
has been removed from unstable, therefore it can be fixed in stable
only.


Andreas
diff -Nru webissues-server-0.8.5/debian/changelog webissues-server-0.8.5/debian/changelog
--- webissues-server-0.8.5/debian/changelog	2011-04-10 18:36:22.0 +0200
+++ webissues-server-0.8.5/debian/changelog	2017-03-05 07:01:11.0 +0100
@@ -1,3 +1,10 @@
+webissues-server (0.8.5-3+deb8u1) jessie; urgency=medium
+
+  * QA Upload.
+  * postrm purge: Check for ucf before calling it.  (Closes: #677062)
+
+ -- Andreas Beckmann   Sun, 05 Mar 2017 07:01:11 +0100
+
 webissues-server (0.8.5-3) unstable; urgency=low
 
   * Bump Standards-Version to 3.9.2 (no changes needed).
diff -Nru webissues-server-0.8.5/debian/postrm webissues-server-0.8.5/debian/postrm
--- webissues-server-0.8.5/debian/postrm	2011-04-10 18:36:22.0 +0200
+++ webissues-server-0.8.5/debian/postrm	2017-03-05 07:00:29.0 +0100
@@ -13,7 +13,9 @@
 case "$1" in
 	purge)
 		rm -f /etc/webissues-server/debian-db.php
+	  if which ucf >/dev/null; then
 		ucf --purge /etc/webissues-server/debian-db.php
+	  fi
 	;;
 	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 	;;