Package: boxbackup-client
Version: 0.10+really0.10-1
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

Hi,

I am forwarding Ubuntu's changes for this package. The patch
changes the way that ucf is handled. Unfortunately I can't
give you a detailed reasoning for the patch, as I don't really
understand it.

The changelog entries associated with the changes are

boxbackup (0.10+really0.10-1ubuntu3) hardy; urgency=low

  * Don't redirect ucf calls.  This was forgotten in the previous upload,
    but should have been there.

 -- Tollef Fog Heen <[EMAIL PROTECTED]>  Thu, 06 Mar 2008 07:17:35 +0100

boxbackup (0.10+really0.10-1ubuntu2) hardy; urgency=low

  * Fix up postinst so we don't call db_stop too early, and use
    --debconf-ok to ucf.  (No versioned dependency since even oldstable
    has a new enough ucf.)  Use db_stop near the end to make sure we don't
    hang after starting the daemon though.

 -- Tollef Fog Heen <[EMAIL PROTECTED]>  Wed, 05 Mar 2008 22:33:57 +0100


Please consider applying the patch. If you disagree with the changes
please reply to the mail and explain why.

You can find the patch at

http://patches.ubuntu.com/b/boxbackup/

I include it inline at the end of this message as well.

Thanks,

James

diff -pruN 0.10+really0.10-1/debian/boxbackup-client.postinst 0.10
+really0.10-1ubuntu3/debian/boxbackup-client.postinst
--- 0.10+really0.10-1/debian/boxbackup-client.postinst  2008-03-06 
08:13:41.000000000 +0000
+++ 0.10+really0.10-1ubuntu3/debian/boxbackup-client.postinst   2008-03-06 
08:12:30.000000000 +0000
@@ -314,37 +314,33 @@ EOM
 fi
 __EOF
 
-           db_stop
-
            if [ -x /usr/bin/ucf ]; then
-               /usr/bin/ucf --three-way $DEBCONFBB $BBCONF >&2 </dev/tty
+               /usr/bin/ucf --three-way --debconf-ok $DEBCONFBB $BBCONF
            fi
            rm -f $DEBCONFBB
            chmod 644 $BBCONF || true
            chown root:root $BBCONF || true
 
            if [ -x /usr/bin/ucf ]; then
-               /usr/bin/ucf --three-way $DEBCONFNOTIFY $NOTIFYSCRIPT >&2 
</dev/tty
+               /usr/bin/ucf --three-way --debconf-ok $DEBCONFNOTIFY 
$NOTIFYSCRIPT
            fi
            rm -f $DEBCONFNOTIFY
            chmod 755 $NOTIFYSCRIPT || true
            chown root:root $NOTIFYSCRIPT || true
-       else
-           db_stop
        fi
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)
-       db_stop
     ;;
 
     *)
        echo "postinst called with unknown argument \`$1'" >&2
-       db_stop
        exit 1
     ;;
 esac
 
+db_stop
+
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
 





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

Reply via email to