Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package apt-spacewalk

It fixes RC bugs #703207, #700821 (both reports are about the same issue;
please consult #700821 for details). FWIW the NMU has been welcomed privately
to me by package uploader bernd.

Here's the diff against 1.0.6-2:

diff -Nurp orig/apt-spacewalk-1.0.6/50spacewalk apt-spacewalk-1.0.6/50spacewalk
--- orig/apt-spacewalk-1.0.6/50spacewalk        2012-06-17 12:24:16.000000000 
+0200
+++ apt-spacewalk-1.0.6/50spacewalk     2013-03-20 15:23:00.000000000 +0100
@@ -11,5 +11,5 @@ APT {
   }
 };
 DPkg::Post-Invoke {
-    "/usr/lib/apt-spacewalk/post_invoke.py";
+    "if [ -x /usr/lib/apt-spacewalk/post_invoke.py ]; then 
/usr/lib/apt-spacewalk/post_invoke.py; fi";
 };
diff -Nurp orig/apt-spacewalk-1.0.6/debian/changelog 
apt-spacewalk-1.0.6/debian/changelog
--- orig/apt-spacewalk-1.0.6/debian/changelog   2013-03-20 14:02:02.000000000 
+0100
+++ apt-spacewalk-1.0.6/debian/changelog        2013-03-20 15:45:04.000000000 
+0100
@@ -1,3 +1,13 @@
+apt-spacewalk (1.0.6-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Add postrm/preinst scripts for removing/disabling/enabling the apt hook
+    file, and change the latter to test the existence of post_invoke.py before
+    invoking it (Closes: #703207, 700821).
+  * Setting high urgency due to RC bugs
+
+ -- Serafeim Zanikolas <s...@debian.org>  Wed, 20 Mar 2013 13:45:30 +0100
+
 apt-spacewalk (1.0.6-2) unstable; urgency=low
 
   * [22c43b83] Rename binary package to apt-transport-spacewalk
diff -Nurp orig/apt-spacewalk-1.0.6/debian/postrm 
apt-spacewalk-1.0.6/debian/postrm
--- orig/apt-spacewalk-1.0.6/debian/postrm      1970-01-01 01:00:00.000000000 
+0100
+++ apt-spacewalk-1.0.6/debian/postrm   2013-03-20 14:01:28.000000000 +0100
@@ -0,0 +1,34 @@
+#! /bin/sh
+
+set -e
+
+hook=/etc/apt/apt.conf.d/50spacewalk
+
+case "$1" in
+    purge)
+        rm -f $hook.disabled
+        ;;
+
+    remove)
+        mv $hook $hook.disabled
+        ;;
+
+    abort-install)
+        if test "x$2" != "x" && test -f $hook
+        then
+            mv $hook $hook.disabled
+        fi
+        ;;
+
+    upgrade|failed-upgrade|abort-upgrade|disappear)
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+#DEBHELPER#
+
+exit 0
diff -Nurp orig/apt-spacewalk-1.0.6/debian/preinst 
apt-spacewalk-1.0.6/debian/preinst
--- orig/apt-spacewalk-1.0.6/debian/preinst     1970-01-01 01:00:00.000000000 
+0100
+++ apt-spacewalk-1.0.6/debian/preinst  2013-03-20 14:01:28.000000000 +0100
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+hook=/etc/apt/apt.conf.d/50spacewalk
+if test -f $hook.disabled
+then
+    mv $hook.disabled $hook
+fi
+
+#DEBHELPER#
+
+exit 0 


$ debdiff /var/cache/apt/archives/apt-transport-spacewalk_1.0.6-2_all.deb \
          apt-transport-spacewalk_1.0.6-2.1_all.deb
[The following lists of changes regard files as different if they have
different names, permissions or owners.]

Files in second .deb but not in first
-------------------------------------
-rwxr-xr-x  root/root   DEBIAN/postrm
-rwxr-xr-x  root/root   DEBIAN/preinst

Control files: lines which differ (wdiff format)
------------------------------------------------
Installed-Size: [-89-] {+90+}
Version: [-1.0.6-2-] {+1.0.6-2.1+}

thanks,
sez

unblock apt-spacewalk/1.0.6-2.1

-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to