Bug#431522: depends on non-essential package ucf in postrm

2007-12-10 Thread Paul Seelig

Hello Frank,

thanks a lot for your actions! Your NMU is very appreciated!

Since my move from Germany to Spain one year ago i have almost no time 
to care for this package. I'm looking forward to be able to take better 
care again starting end of next January, when the biggest burdens here 
are finally(!) taken care of.


Thanks a lot for your kind help!

P. *8^)

Frank S. Thomas wrote:

Hello Paul,

I have prepared a non-maintainer upload to fix this bug (#431522) and an other 
serious issue: po-debconf is listed in Build-Depends-Indep instead of 
Build-Depends although it is required for debian/rules clean. Debian Policy 
7.6 requires that dependencies that are required for the clean target must be 
listed in Build-Depends. My NMU packages and the diff to your last upload 
(which is also attached to this mail) is available at:

  http://people.debian.org/~fst/NMUs/localepurge/
  http://people.debian.org/~fst/NMUs/localepurge_0.5.9_0.5.9-0.1.diff

Although we are currently in an everlasting BSP with a 0-day NMU policy (see 
[1]), I have uploaded my NMU to DELAYED/7-day for your convenience if you 
want to cancel my NMU. I hope this in your interest and you do not feel 
threatened by my NMU.


Greetings,
Frank

[1] http://lists.debian.org/debian-devel-announce/2007/09/msg0.html






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#431522: depends on non-essential package ucf in postrm

2007-12-09 Thread Frank S. Thomas
Hello Paul,

I have prepared a non-maintainer upload to fix this bug (#431522) and an other 
serious issue: po-debconf is listed in Build-Depends-Indep instead of 
Build-Depends although it is required for debian/rules clean. Debian Policy 
7.6 requires that dependencies that are required for the clean target must be 
listed in Build-Depends. My NMU packages and the diff to your last upload 
(which is also attached to this mail) is available at:
  http://people.debian.org/~fst/NMUs/localepurge/
  http://people.debian.org/~fst/NMUs/localepurge_0.5.9_0.5.9-0.1.diff

Although we are currently in an everlasting BSP with a 0-day NMU policy (see 
[1]), I have uploaded my NMU to DELAYED/7-day for your convenience if you 
want to cancel my NMU. I hope this in your interest and you do not feel 
threatened by my NMU.

Greetings,
Frank

[1] http://lists.debian.org/debian-devel-announce/2007/09/msg0.html
-- 
Die Garde stirbt, aber sie ergibt sich nicht!
diff -Nru /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/changelog /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/changelog
--- /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/changelog	2007-03-19 11:28:38.0 +0100
+++ /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/changelog	2007-12-10 00:12:02.0 +0100
@@ -1,3 +1,16 @@
+localepurge (0.5.9-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload to fix RC bugs.
+
+  * Mask the ucf call in debian/postrm so that the package does not fail on
+purge if ucf is not available. (closes: #431522)
+
+  * Moved po-debconf from Build-Depends-Indep to Build-Depends because it is
+required to run the debian/rules clean target and dependencies required
+for this target must be listed in Build-Depends, see Debian Policy 7.6.
+
+ -- Frank S. Thomas [EMAIL PROTECTED]  Sun, 09 Dec 2007 23:34:56 +0100
+
 localepurge (0.5.9) unstable; urgency=high
 
   * First release after moving from Germany to Barcelona/Spain. :-)
diff -Nru /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/control /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/control
--- /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/control	2006-10-20 23:32:54.0 +0200
+++ /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/control	2007-12-10 00:12:02.0 +0100
@@ -2,7 +2,8 @@
 Section: admin
 Priority: optional
 Maintainer: Paul Seelig [EMAIL PROTECTED]
-Build-Depends-Indep: debmake, po-debconf
+Build-Depends: po-debconf
+Build-Depends-Indep: debmake
 Standards-Version: 3.5.10
 
 Package: localepurge
diff -Nru /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/postrm /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/postrm
--- /tmp/gDkhrPCi1T/localepurge-0.5.9/debian/postrm	2006-10-20 23:32:54.0 +0200
+++ /tmp/o1K6XbbjEe/localepurge-0.5.9/debian/postrm	2007-12-10 00:12:03.0 +0100
@@ -7,7 +7,11 @@
 db_purge
 rm -rf /var/cache/localepurge
 rm -f /etc/locale.nopurge
-/usr/bin/ucf --purge /etc/locale.nopurge
+if [ -x /usr/bin/ucf ]; then
+/usr/bin/ucf --purge /etc/locale.nopurge
+else
+echo 2 /etc/locale.nopurge could not be purged because ucf was not found.
+fi
 rm -f /etc/locale.nopurge.md5sum
 
 echo


Bug#431522: depends on non-essential package ucf in postrm

2007-08-31 Thread Frank S. Thomas
package localepurge
tags 431522 + patch
thanks

Hello,

To fix this the ucf call must be masked by a test that checks for the 
existence of /usr/bin/ucf. The attached patch does exactly this. It 
additionally prints a warning that ucf could not be found if it is 
unavailable during purge.

Grüße,
Frank
diff -Naur localepurge-0.5.9.bak/debian/postrm localepurge-0.5.9/debian/postrm
--- localepurge-0.5.9.bak/debian/postrm	2007-08-31 17:56:48.0 +0200
+++ localepurge-0.5.9/debian/postrm	2007-08-31 19:10:52.0 +0200
@@ -7,7 +7,11 @@
 db_purge
 rm -rf /var/cache/localepurge
 rm -f /etc/locale.nopurge
-/usr/bin/ucf --purge /etc/locale.nopurge
+if [ -x /usr/bin/ucf ]; then
+/usr/bin/ucf --purge /etc/locale.nopurge
+else
+echo 2 /etc/locale.nopurge could not be purged because ucf was not found.
+fi
 rm -f /etc/locale.nopurge.md5sum
 
 echo


signature.asc
Description: This is a digitally signed message part.


Bug#431522: depends on non-essential package ucf in postrm

2007-07-03 Thread Michael Ablassmeier
Package: localepurge
Version: 0.5.9
Severity: serious
Usertags: postrm-depends-nonessential
User: [EMAIL PROTECTED]
Justification: Policy violation, see section 7.2

hi,

while running archive wide piuparts tests your package failed on purge
because of ucf beeing unavailable during postrm:

  Removing localepurge ...
  Purging configuration files for localepurge ...
  /var/lib/dpkg/info/localepurge.postrm: line 10: /usr/bin/ucf: No such file or 
directory
  dpkg: error processing localepurge (--purge):
   subprocess post-removal script returned error exit status 1
  Errors were encountered while processing:
   localepurge

the full log can be found here:

 http://people.debian.org/~lucas/logs/2007/07/01/

bye,
- michael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]