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

Bug#694316: unblock: klibc/2.0.1-3.1



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

Please unblock package klibc

The upload fixes RC bug #692951.

unblock klibc/2.0.1-3.1

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru klibc-2.0.1/debian/changelog klibc-2.0.1/debian/changelog
--- klibc-2.0.1/debian/changelog	2012-10-08 21:58:29.000000000 +0200
+++ klibc-2.0.1/debian/changelog	2012-11-12 17:51:57.000000000 +0100
@@ -1,3 +1,10 @@
+klibc (2.0.1-3.1) unstable; urgency=low
+
+  * Non-maintainer upload with consent of maintainer.
+  * Add migration script for /usr/share/doc/libklibc-dev (Closes: #692951)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Sun, 11 Nov 2012 11:30:14 +0000
+
 klibc (2.0.1-3) unstable; urgency=medium
 
   [ Bill Pringlemeir ]
diff -Nru klibc-2.0.1/debian/libklibc-dev.postinst klibc-2.0.1/debian/libklibc-dev.postinst
--- klibc-2.0.1/debian/libklibc-dev.postinst	1970-01-01 01:00:00.000000000 +0100
+++ klibc-2.0.1/debian/libklibc-dev.postinst	2012-11-12 17:51:10.000000000 +0100
@@ -0,0 +1,66 @@
+#!/bin/sh
+# From MirOS: contrib/hosted/tg/deb/mksh/debian/pdksh.postinst,v 1.2 2012/06/27 07:16:31 tg Exp $
+
+set -e
+
+# This maintainer script can be called the following ways:
+#
+# * new-postinst "configure" [$most_recently_configured_version]
+# The package is unpacked; all dependencies are unpacked and, when there
+# are no circular dependencies, configured.
+#
+# * old-postinst "abort-upgrade" $new_version
+# * conflictors-postinst "abort-remove" "in-favour" $package
+#	$new_version
+# * postinst "abort-remove"
+# * deconfigureds-postinst "abort-deconfigure" "in-favour"
+#	$failed_install_package $fip_version ["removing"
+#	$conflicting_package $cp_version]
+# The package is unpacked; all dependencies are at least Half-Installed,
+# previously been configured, and not removed. In some error situations,
+# dependencies may not be even fully unpacked.
+#
+# * postinst "triggered" "${triggers[*]}"
+# For trigger-only calls, i.e. if "configure" is not called.
+
+docdir=/usr/share/doc/libklibc-dev
+move_docdir() {
+	test -d /usr/share/doc/. || return 0
+	test -d $docdir && rmdir --ignore-fail-on-non-empty $docdir
+	if test -e $docdir; then
+		echo >&2 "The old $docdir was locally modified."
+		echo >&2 "Saved as $docdir.dpkg-old"
+		(mv $docdir $docdir.dpkg-old || :)
+	fi
+	if test -e $docdir; then
+		echo >&2 "FAILED! Remove $docdir manually,"
+		echo >&2 "then retry (dpkg -a --configure)."
+		exit 1
+	fi
+	ln -sf libklibc $docdir
+}
+
+case $1 in
+configure)
+	# convert old docdir into a symlink, dpkg won't do that for us
+	test -h $docdir || move_docdir
+	;;
+
+abort-upgrade|abort-remove|abort-deconfigure)
+	;;
+
+triggered)
+	;;
+
+*)
+	echo >&2 "postinst called with unknown subcommand '$1'"
+	exit 1
+	;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0

Reply to: