On Sun, Nov 23, 2008 at 10:46:46PM +0700, Theppitak Karoonboonyanan wrote:
> I have prepared NMU for testing-proposed-updates for this old but
> release-goaled bug:
> 
>   dget 
> http://mentors.debian.net/debian/pool/main/t/ttf-sil-gentium/ttf-sil-gentium_1.02+dfsg1-5.1.dsc

I have rebuilt it, with appropriate version for NMU against
testing-proposed-updates:

  dget 
http://mentors.debian.net/debian/pool/main/t/ttf-sil-gentium/ttf-sil-gentium_1.02+dfsg1-5lenny0.1.dsc

The updated debdiff is attached.

-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/
diff -u ttf-sil-gentium-1.02+dfsg1/debian/changelog ttf-sil-gentium-1.02+dfsg1/debian/changelog
--- ttf-sil-gentium-1.02+dfsg1/debian/changelog
+++ ttf-sil-gentium-1.02+dfsg1/debian/changelog
@@ -1,3 +1,14 @@
+ttf-sil-gentium (1.02+dfsg1-5lenny0.1) testing-proposed-updates; urgency=medium
+
+  * Non-maintainer upload.
+  * Urgency medium due to lenny-goal bug fix.
+  * Uploading to testing-proposed-updates, as the transitional package has
+    already been dropped in unstable.
+  * ttf-gentium.preinst: Clear obsolete conffile. Closes: #455109.
+  * Bump Standards-Version to 3.8.0 (no changes needed).
+
+ -- Theppitak Karoonboonyanan <[EMAIL PROTECTED]>  Mon, 24 Nov 2008 18:58:27 +0700
+
 ttf-sil-gentium (1.02+dfsg1-5) unstable; urgency=low
 
   * Removed non-free local.conf. (Closes: #429650)
diff -u ttf-sil-gentium-1.02+dfsg1/debian/control ttf-sil-gentium-1.02+dfsg1/debian/control
--- ttf-sil-gentium-1.02+dfsg1/debian/control
+++ ttf-sil-gentium-1.02+dfsg1/debian/control
@@ -5,7 +5,7 @@
 Uploaders: Debian Fonts Task Force <[EMAIL PROTECTED]>
 Build-Depends: debhelper (>= 5), defoma (>= 0.7.0)
 Homepage: http://scripts.sil.org/Gentium
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0
 
 Package: ttf-sil-gentium
 Architecture: all
only in patch2:
unchanged:
--- ttf-sil-gentium-1.02+dfsg1.orig/debian/ttf-gentium.preinst
+++ ttf-sil-gentium-1.02+dfsg1/debian/ttf-gentium.preinst
@@ -0,0 +1,49 @@
+#! /bin/sh
+# preinst script for ttf-gentium
+#
+# 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 /usr/share/doc/packaging-manual/
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    CONFFILE="$1"
+
+    if [ -e "$CONFFILE" ]; then
+        echo "Removing obsolete conffile $CONFFILE ..."
+        rm -f "$CONFFILE"
+    fi
+}
+
+case "$1" in
+    install|upgrade)
+        if dpkg --compare-versions "$2" le "1.02+dfsg1-5"; then
+            rm_conffile "/etc/defoma/hints/ttf-gentium.hints"
+        fi
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 0
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+

Attachment: signature.asc
Description: Digital signature

  • Bug#455109: NMU Theppitak Karoonboonyanan
    • Bug#455109: NMU Theppitak Karoonboonyanan

Reply via email to