Bug#768449: unblock: libonig/5.9.5-3
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock
Please unblock package libonig
To fix the bug #768267 with the severity serious I have done the following
changes:
libonig (5.9.5-3) unstable; urgency=medium
* Add debian/libonig2-dbg.(preinst|postinst|postrm) to prevent
error on upgrade wheezy to jessie. (Closes: #768267)
-- Jörg Frings-Fürst <debian@jff-webhosting.net> Thu, 06 Nov 2014 21:32:20
+0100
The debdiff between 5.9.5-2 und 5.9.5-3 is attached
unblock libonig/5.9.5-3
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-3-amd64 (SMP w/6 CPU cores)
diff -Nru libonig-5.9.5/debian/changelog libonig-5.9.5/debian/changelog
--- libonig-5.9.5/debian/changelog 2014-05-13 10:31:02.000000000 +0200
+++ libonig-5.9.5/debian/changelog 2014-11-06 21:32:27.000000000 +0100
@@ -1,3 +1,10 @@
+libonig (5.9.5-3) unstable; urgency=medium
+
+ * Add debian/libonig2-dbg.(preinst|postinst|postrm) to prevent
+ error on upgrade wheezy to jessie. (Closes: #768267)
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Thu, 06 Nov 2014 21:32:20 +0100
+
libonig (5.9.5-2) unstable; urgency=medium
* rename debian/*.doc-base
diff -Nru libonig-5.9.5/debian/libonig2-dbg.postinst libonig-5.9.5/debian/libonig2-dbg.postinst
--- libonig-5.9.5/debian/libonig2-dbg.postinst 1970-01-01 01:00:00.000000000 +0100
+++ libonig-5.9.5/debian/libonig2-dbg.postinst 2014-11-06 21:16:49.000000000 +0100
@@ -0,0 +1,40 @@
+#!/bin/sh
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <postinst> `abort-remove'
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+# source debconf library
+#. /usr/share/debconf/confmodule
+
+
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ # Replace documentation directory symlink
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libonig2-dbg /usr/share/doc/libonig2 5.9.1-1~ -- "$@"
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+
+#DEBHELPER#
+
+
+exit 0
diff -Nru libonig-5.9.5/debian/libonig2-dbg.postrm libonig-5.9.5/debian/libonig2-dbg.postrm
--- libonig-5.9.5/debian/libonig2-dbg.postrm 1970-01-01 01:00:00.000000000 +0100
+++ libonig-5.9.5/debian/libonig2-dbg.postrm 2014-11-06 21:15:56.000000000 +0100
@@ -0,0 +1,33 @@
+#! /bin/sh
+# postrm script for argyll
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <postrm> `remove'
+# * <postrm> `purge'
+# * <old-postrm> `upgrade' <new-version>
+# * <new-postrm> `failed-upgrade' <old-version>
+# * <new-postrm> `abort-install'
+# * <new-postrm> `abort-install' <old-version>
+# * <new-postrm> `abort-upgrade' <old-version>
+# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
+# for details, see /usr/share/doc/packaging-manual/
+
+case "$1" in
+ purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libonig2-dbg /usr/share/doc/libonig2 5.9.1-1~ -- "$@"
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 0
+
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
diff -Nru libonig-5.9.5/debian/libonig2-dbg.preinst libonig-5.9.5/debian/libonig2-dbg.preinst
--- libonig-5.9.5/debian/libonig2-dbg.preinst 1970-01-01 01:00:00.000000000 +0100
+++ libonig-5.9.5/debian/libonig2-dbg.preinst 2014-11-06 21:00:55.000000000 +0100
@@ -0,0 +1,31 @@
+#!/bin/sh
+# preinst script for #PACKAGE#
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+# * <new-preinst> `install'
+# * <new-preinst> `install' <old-version>
+# * <new-preinst> `upgrade' <old-version>
+# * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+ dpkg-maintscript-helper symlink_to_dir /usr/share/doc/libonig2-dbg /usr/share/doc/libonig2 5.9.1-1~ -- "$@"
+ ;;
+ *)
+ echo "preinst 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
Reply to: