[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Please approve from t-p-u: Accepted bittorrent 3.4.2-3sarge0.1 (all source)



  Please accept bittorrent 3.4.2-3sarge0.1 into sarge, which fixes the
  issue I brought up yesterday in #debian-release: alternatives don't
  get deregistered upon removal, and that affects the instalation of
  other packages.

  Sorry that I couldn't make today's dinstall, but maintainer's 3.4.2-4
  had to be installed to the pool first, the upload was rejected
  otherwise. Diff is attached, note that the maintainer scripts
  introduced have been accepted by the maintainer and incorporated into
  the sid version.

  Thanks,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
Faced with the choice between changing one's mind and proving that there
is no need to do so, almost everyone gets busy with the proof.
                -- J.K. Galbraith
diff -u bittorrent-3.4.2/debian/changelog bittorrent-3.4.2/debian/changelog
--- bittorrent-3.4.2/debian/changelog
+++ bittorrent-3.4.2/debian/changelog
@@ -1,3 +1,15 @@
+bittorrent (3.4.2-3sarge0.1) testing-proposed-updates; urgency=low
+
+  * NMU with maintainer's consent.
+  * Upload to t-p-u to fix almost-RC bug. Unstable's 3.4.2-4 contains too many
+    changes to be approved at this stage of the freeze.
+  * Invoke update-alternatives --remove in the prerm scripts. This was not
+    only leaving dangling symlinks around, but preventing bittornado to
+    properly set up itself after bittornado being removed. Closes: #286966.
+    See dpkg bugs #285686 and #308838 for reference.
+
+ -- Adeodato Simó <asp16@alu.ua.es>  Tue, 31 May 2005 16:27:39 +0200
+
 bittorrent (3.4.2-3) unstable; urgency=low
 
   * Split bittorrent package into bittorrent and bittorrent-gui
only in patch2:
unchanged:
--- bittorrent-3.4.2.orig/debian/bittorrent.prerm
+++ bittorrent-3.4.2/debian/bittorrent.prerm
@@ -0,0 +1,50 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+PACKAGE="bittorrent"
+
+dpkg --listfiles $PACKAGE |
+        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+        xargs rm -f >&2
+
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+#       install-info --quiet --remove /usr/info/#PACKAGE#.info.gz
+	for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack ; do
+		update-alternatives --remove $i /usr/bin/$i.bittorrent
+	done
+
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
only in patch2:
unchanged:
--- bittorrent-3.4.2.orig/debian/bittorrent-gui.prerm
+++ bittorrent-3.4.2/debian/bittorrent-gui.prerm
@@ -0,0 +1,48 @@
+#! /bin/sh
+# prerm script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+PACKAGE="bittorrent"
+
+dpkg --listfiles $PACKAGE |
+        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
+        xargs rm -f >&2
+
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+	for i in btcompletedirgui btdownloadgui ; do
+		update-alternatives --remove $i /usr/bin/$i.bittorrent
+	done
+        ;;
+    failed-upgrade)
+        ;;
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Attachment: signature.asc
Description: Digital signature


Reply to: