Bug#851105: jessie-pu: package ndoutils/1.4b9-1.1+deb8u1

2017-02-12 Thread Adam D. Barratt
Control: tags -1 + pending

On Sat, 2017-01-28 at 16:37 +, Adam D. Barratt wrote:
> Control: tags -1 + confirmed
> 
> On Thu, 2017-01-12 at 03:22 +0100, Andreas Beckmann wrote:
> > ndoutils is one of two packages remaining in the archive that use ucf
> > unconditionally during postrm purge, causing piuparts failures.
> > Since the package has been removed after jessie, I propose to finally
> > fix this bug in jessie-pu.
> 
> Please go ahead.

Uploaded and flagged for acceptance.

Regards,

Adam



Bug#851105: jessie-pu: package ndoutils/1.4b9-1.1+deb8u1

2017-01-28 Thread Adam D. Barratt
Control: tags -1 + confirmed

On Thu, 2017-01-12 at 03:22 +0100, Andreas Beckmann wrote:
> ndoutils is one of two packages remaining in the archive that use ucf
> unconditionally during postrm purge, causing piuparts failures.
> Since the package has been removed after jessie, I propose to finally
> fix this bug in jessie-pu.

Please go ahead.

Regards,

Adam



Bug#851105: jessie-pu: package ndoutils/1.4b9-1.1+deb8u1

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

ndoutils is one of two packages remaining in the archive that use ucf
unconditionally during postrm purge, causing piuparts failures.
Since the package has been removed after jessie, I propose to finally
fix this bug in jessie-pu.

Andreas
diff -u ndoutils-1.4b9/debian/changelog ndoutils-1.4b9/debian/changelog
--- ndoutils-1.4b9/debian/changelog
+++ ndoutils-1.4b9/debian/changelog
@@ -1,3 +1,10 @@
+ndoutils (1.4b9-1.1+deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * postrm purge: Check for ucf before calling it.  (Closes: #677065)
+
+ -- Andreas Beckmann   Thu, 12 Jan 2017 03:10:01 +0100
+
 ndoutils (1.4b9-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
--- ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
+++ ndoutils-1.4b9/debian/ndoutils-NG-DB.postrm.in
@@ -18,7 +18,9 @@
 	db_purge
 	for f in ndomod.cfg ndo2db.cfg; do
 		rm -f /etc/@@NG@@/$f
+	  if [ -x /usr/bin/ucf ]; then
 		ucf --purge /etc/@@NG@@/$f
+	  fi
 	done
 fi