diff -Nru debsums-2.0.48/debian/changelog debsums-2.0.48+nmu1/debian/changelog
--- debsums-2.0.48/debian/changelog	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48+nmu1/debian/changelog	2010-03-15 15:16:28.000000000 +0700
@@ -1,3 +1,11 @@
+debsums (2.0.48+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Ask before overwriting /etc/apt.conf.d/90debsums with ucf (closes: #57116).
+    - add ucf in Depends and Build-Depends.
+
+ -- Prach Pongpanich <prachpub@gmail.com>  Mon, 15 Mar 2010 15:10:38 +0700
+
 debsums (2.0.48) unstable; urgency=low
 
   * reword the --ignore-permissions documentation to say that it makes
diff -Nru debsums-2.0.48/debian/control debsums-2.0.48+nmu1/debian/control
--- debsums-2.0.48/debian/control	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48+nmu1/debian/control	2010-03-15 13:48:20.000000000 +0700
@@ -2,14 +2,14 @@
 Section: admin
 Priority: optional
 Maintainer: Ryan Niebur <ryan@debian.org>
-Build-Depends: debhelper (>= 7), po-debconf, po4a
+Build-Depends: debhelper (>= 7), po-debconf, po4a, ucf
 Standards-Version: 3.8.3
 Vcs-Git: git://git.debian.org/git/collab-maint/debsums.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/debsums.git;a=summary
 
 Package: debsums
 Architecture: all
-Depends: perl (>= 5.8.0-3), ${misc:Depends}
+Depends: perl (>= 5.8.0-3), ucf, ${misc:Depends}
 Description: tool for verification of installed package files against MD5 checksums
  debsums can verify the integrity of installed package files against
  MD5 checksums installed by the package, or generated from a .deb
Binary files /tmp/zDQLJD6TGq/debsums-2.0.48/debian/.control.swp and /tmp/Ilk1xNkq9B/debsums-2.0.48+nmu1/debian/.control.swp differ
diff -Nru debsums-2.0.48/debian/postinst debsums-2.0.48+nmu1/debian/postinst
--- debsums-2.0.48/debian/postinst	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48+nmu1/debian/postinst	2010-03-15 14:49:00.000000000 +0700
@@ -17,14 +17,21 @@
 . /usr/share/debconf/confmodule
 
 APT_CONF=/etc/apt/apt.conf.d/90debsums
-
 case "$1" in
     configure)
         db_get debsums/apt-autogen || true
-        if [ "$RET" = true ]; then
-            echo 'DPkg::Post-Invoke { "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; };' >$APT_CONF
+        if [ "$RET" = true ]; then	    
+	  
+            echo 'DPkg::Post-Invoke { "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi"; };' > 90debsums
+	    if [ -f $APT_CONF ]; then
+		ucf --debconf-ok 90debsums $APT_CONF
+	    else
+	    	cp 90debsums $APT_CONF
+	    fi
+	    rm -f 90debsums
         else
             rm -f $APT_CONF
+	    ucf --debconf-ok --purge $APT_CONF
         fi
     ;;
 
diff -Nru debsums-2.0.48/debian/postrm debsums-2.0.48+nmu1/debian/postrm
--- debsums-2.0.48/debian/postrm	2009-12-21 05:01:26.000000000 +0700
+++ debsums-2.0.48+nmu1/debian/postrm	2010-03-15 14:15:29.000000000 +0700
@@ -25,6 +25,8 @@
 
     purge)
         [ -f $APT_CONF ] && rm -f $APT_CONF
+	ucf --purge $APT_CONF
+	
     ;;
 
     *)
