[Pkg-mailman-hackers] Pkg-mailman commit - rev 15 - trunk/debian

Laszlo Boszormenyi gcs-guest@haydn.debian.org
Sun, 14 Mar 2004 13:50:05 -0700


Author: gcs-guest
Date: 2004-03-14 13:50:03 -0700 (Sun, 14 Mar 2004)
New Revision: 15

Modified:
   trunk/debian/changelog
   trunk/debian/control
   trunk/debian/postrm
   trunk/debian/rules
Log:
Fix dpkg --purge not to hang


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-02-28 19:24:27 UTC (rev 14)
+++ trunk/debian/changelog	2004-03-14 20:50:03 UTC (rev 15)
@@ -11,6 +11,7 @@
   * Add Hungarian debconf translation (by GCS)
   * Wait for termination on restart|force-reload (by GCS,
     closes: #231468, #204006, #224012)
+  * Fix --purge, thanks to Lionel Elie Mamane and Tollef (by GCS)
 
  -- Tollef Fog Heen <tfheen@debian.org>  Wed, 11 Feb 2004 02:11:04 +0100
 

Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2004-02-28 19:24:27 UTC (rev 14)
+++ trunk/debian/control	2004-03-14 20:50:03 UTC (rev 15)
@@ -7,7 +7,7 @@
 
 Package: mailman
 Architecture: any
-Depends: ${shlibs:Depends}, python (>= 2.2.2.91-1), logrotate, cron (>= 3.0pl1-42), exim4 | mail-transport-agent, apache | httpd, debconf, ucf (>= 0.08), pwgen
+Depends: ${shlibs:Depends}, python (>= 2.2.2.91-1), logrotate, cron (>= 3.0pl1-42), exim4 | mail-transport-agent, apache | httpd, debconf, ucf (>= 0.28), pwgen
 Conflicts: suidmanager (<< 0.50), sendmail (<< 8.12.6)
 Recommends: base-passwd (>= 1.3.0)
 Suggests: spamassassin, python2.2-korean-codecs | python2.3-korean-codecs, python-japanese-codecs

Modified: trunk/debian/postrm
===================================================================
--- trunk/debian/postrm	2004-02-28 19:24:27 UTC (rev 14)
+++ trunk/debian/postrm	2004-03-14 20:50:03 UTC (rev 15)
@@ -1,5 +1,7 @@
 #! /bin/sh -e
 
+#DEBHELPER#
+
 #UCF#
 
 if [ "$1" = purge ]; then
@@ -8,5 +10,3 @@
   rm -rf /var/log/mailman
 #  rm -rf /var/lib/mailman
 fi
-
-#DEBHELPER#

Modified: trunk/debian/rules
===================================================================
--- trunk/debian/rules	2004-02-28 19:24:27 UTC (rev 14)
+++ trunk/debian/rules	2004-03-14 20:50:03 UTC (rev 15)
@@ -183,7 +183,7 @@
 	echo 'if [ "$$1" = purge ]; then' >> debian/mailman.postrm.ucf
 	for f in `cat debian/ucffiles`; do \
 		echo -e "\techo Removing $$f" >> debian/mailman.postrm.ucf; \
-		echo -e "\tucf --purge $$f" >> debian/mailman.postrm.ucf ; \
+		echo -e "\tucf --debconf-ok --purge $$f" >> debian/mailman.postrm.ucf ; \
 	done
 	echo 'fi' >> debian/mailman.postrm.ucf