summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog8
-rw-r--r--debian/control10
-rw-r--r--debian/libonig2-dbg.postinst40
-rw-r--r--debian/libonig2-dbg.postrm33
-rw-r--r--debian/libonig2-dbg.preinst31
5 files changed, 111 insertions, 11 deletions
diff --git a/debian/changelog b/debian/changelog
index 72c8371..8e5b503 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,9 @@
libonig (5.9.5-3) unstable; urgency=medium
- * Add Vcs
- * debian/control:
- - Add Vcs-* fields pointed to alioth.
- - Remove deprecated hardening-wrapper from Build-Depends.
+ * 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> Sat, 16 Aug 2014 08:07:34 +0200
+ -- 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
diff --git a/debian/control b/debian/control
index 8a2b3b6..b41a6b8 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,12 @@ Source: libonig
Section: libs
Priority: extra
Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Homepage: http://www.geocities.jp/kosako3/oniguruma/
Build-Depends:
- debhelper (>= 9),
- dh-autoreconf
+ debhelper (>= 9),
+ dh-autoreconf,
+ hardening-wrapper
Standards-Version: 3.9.5
-Homepage: http://www.geocities.jp/kosako3/oniguruma/
-Vcs-Git: git://anonscm.debian.org/collab-maint/fast-cpp-csv-parser.git
-Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/fast-cpp-csv-parser.git
-
Package: libonig2
Priority: optional
diff --git a/debian/libonig2-dbg.postinst b/debian/libonig2-dbg.postinst
new file mode 100644
index 0000000..5eaf0cc
--- /dev/null
+++ b/debian/libonig2-dbg.postinst
@@ -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 --git a/debian/libonig2-dbg.postrm b/debian/libonig2-dbg.postrm
new file mode 100644
index 0000000..87f4705
--- /dev/null
+++ b/debian/libonig2-dbg.postrm
@@ -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 --git a/debian/libonig2-dbg.preinst b/debian/libonig2-dbg.preinst
new file mode 100644
index 0000000..eb3a840
--- /dev/null
+++ b/debian/libonig2-dbg.preinst
@@ -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