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

Lionel Elie Mamane lmamane at costa.debian.org
Tue Apr 11 20:35:03 UTC 2006


Author: lmamane
Date: 2006-04-11 20:34:57 +0000 (Tue, 11 Apr 2006)
New Revision: 291

Modified:
   trunk/debian/changelog
   trunk/debian/postrm
Log:
Don't delete other package's ucf-managed configuration files
(closes: #358575)



Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-04-11 20:05:31 UTC (rev 290)
+++ trunk/debian/changelog	2006-04-11 20:34:57 UTC (rev 291)
@@ -1,4 +1,4 @@
-mailman (0:2.1.7:2.1.8rc1-1) unstable; urgency=low
+mailman (0:2.1.7:2.1.8rc1-1) unstable; urgency=high
 
   * New upstream release
     - Update patches:
@@ -12,8 +12,10 @@
       72_hyperarch_error_handling.dpatch
     - Bugs fixed upstream:
       - Fix XSS hole in private archive cgi-bin. (CVE-2006-1512)
+  * Don't delete other package's ucf-managed configuration files
+    (closes: #358575)
 
- -- Lionel Elie Mamane <lmamane at debian.org>  Tue, 11 Apr 2006 21:24:54 +0200
+ -- Lionel Elie Mamane <lmamane at debian.org>  Tue, 11 Apr 2006 22:12:06 +0200
 
 mailman (2.1.7-2) UNRELEASED; urgency=low
 

Modified: trunk/debian/postrm
===================================================================
--- trunk/debian/postrm	2006-04-11 20:05:31 UTC (rev 290)
+++ trunk/debian/postrm	2006-04-11 20:34:57 UTC (rev 291)
@@ -8,7 +8,7 @@
   # HACK: At present there is no way to ask ucf for registered files
   #       except for directly querying its database.
   echo -n "Purging files from ucf database " >&2
-  for file in $(sed -e ':/etc/mailman:!d' -e 's:^[0-9a-f]* *::' /var/lib/ucf/hashfile); do
+  for file in $(sed -e '\|^[0-9a-fA-F]\+[[:space:]]\+/etc/mailman/|!d' -e 's|^[0-9a-fA-F]\+[[:space:]]\+||' /var/lib/ucf/hashfile); do
     ucf --purge ${file} 2>/dev/null
     echo -n . >&2
   done




More information about the Pkg-mailman-hackers mailing list