tags 669381 + patch
tags 669381 + pending
thanks

Dear maintainer,

I've prepared an NMU for ptex-base (versioned as 1:2.5-2.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Penelope Swales: More Real than the Original
reverted:
--- ptex-base-2.5/debian/jbibtex-base.postinst
+++ ptex-base-2.5.orig/debian/jbibtex-base.postinst
@@ -1,49 +0,0 @@
-#! /bin/sh
-# postinst script for jbibtex-base
-#
-# 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>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
-    configure)
-
-    mktexlsr
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst 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
-
-
diff -u ptex-base-2.5/debian/control ptex-base-2.5/debian/control
--- ptex-base-2.5/debian/control
+++ ptex-base-2.5/debian/control
@@ -2,12 +2,12 @@
 Section: tex
 Priority: optional
 Maintainer: Masayuki Hatta (mhatta) <[email protected]>
-Build-Depends: debhelper (>> 4.0.0)
+Build-Depends: debhelper (>> 4.0.0), tex-common
 Standards-Version: 3.7.3
 
 Package: ptex-base
 Architecture: all
-Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin
+Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin, ${misc:Depends}
 Suggests: ptex-bin
 Conflicts: platex-base
 Description: basic ASCII pTeX library files
@@ -19,7 +19,7 @@
 
 Package: jbibtex-base
 Architecture: all
-Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin
+Depends: tetex-base | texlive-base, tetex-bin | texlive-base-bin, ${misc:Depends}
 Suggests: jbibtex-bin
 Description: make a bibliography for ASCII p(La)TeX / NTT j(La)TeX
  This is JBibTeX, a Japanized BibTeX based on the original BibTeX 0.99c.
reverted:
--- ptex-base-2.5/debian/jbibtex-base.postrm
+++ ptex-base-2.5.orig/debian/jbibtex-base.postrm
@@ -1,47 +0,0 @@
-#! /bin/sh
-# postrm script for ptex-base
-#
-# 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
-    remove)
-       mktexlsr
-
-    ;;
-
-    purge)
-       if mktexlsr --help >/dev/null 2>&1; then
-         mktexlsr
-       fi
-
-    ;;
-
-    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-
-    ;;
-
-    *)
-        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 -u ptex-base-2.5/debian/changelog ptex-base-2.5/debian/changelog
--- ptex-base-2.5/debian/changelog
+++ ptex-base-2.5/debian/changelog
@@ -1,3 +1,14 @@
+ptex-base (1:2.5-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "jbibtex-base: unowned file /usr/local/share/texmf/ls-R after
+    purge (policy 6.8, 9.1.2)": use dh_installtex in debian/rules, add
+    build-dependency on tex-common, add ${misc:Depends} to binary packages;
+    drop maintainer scripts.
+    (Closes: #669381)
+
+ -- gregor herrmann <[email protected]>  Fri, 03 Aug 2012 15:00:53 +0200
+
 ptex-base (1:2.5-2) unstable; urgency=low
 
   * Bumped to Standards-Version: 3.7.3.
reverted:
--- ptex-base-2.5/debian/prerm
+++ ptex-base-2.5.orig/debian/prerm
@@ -1,41 +0,0 @@
-#! /bin/sh
-# prerm script for ptex-base
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade)
-#       install-info --quiet --remove /usr/info/elscreen.info.gz
-	;;
-    deconfigure)
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm 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
-
-
diff -u ptex-base-2.5/debian/rules ptex-base-2.5/debian/rules
--- ptex-base-2.5/debian/rules
+++ ptex-base-2.5/debian/rules
@@ -98,6 +98,7 @@
 	dh_installchangelogs -i debian/ptex-base/usr/share/texmf/Changes.txt
 	# We should remove this at this timing
 	rm -rf $(CURDIR)/debian/ptex-base/usr/share/texmf/Changes*
+	dh_installtex -i
 	dh_link -i
 	dh_strip -i
 	dh_compress -i
reverted:
--- ptex-base-2.5/debian/postrm
+++ ptex-base-2.5.orig/debian/postrm
@@ -1,40 +0,0 @@
-#! /bin/sh
-# postrm script for ptex-base
-#
-# 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
-        remove)
-            mktexlsr
-        ;;
-        purge)
-	    if mktexlsr --help >/dev/null 2>&1; then
-	        mktexlsr
-            fi
-	;;
-	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-        ;;
-        *)
-            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#
-
-
reverted:
--- ptex-base-2.5/debian/postinst
+++ ptex-base-2.5.orig/debian/postinst
@@ -1,49 +0,0 @@
-#! /bin/sh
-# postinst script for ptex-base
-#
-# 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>
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see /usr/share/doc/packaging-manual/
-#
-# quoting from the policy:
-#     Any necessary prompting should almost always be confined to the
-#     post-installation script, and should be protected with a conditional
-#     so that unnecessary prompting doesn't happen if a package's
-#     installation fails and the `postinst' is called with `abort-upgrade',
-#     `abort-remove' or `abort-deconfigure'.
-
-case "$1" in
-    configure)
-
-    mktexlsr
-
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-
-    ;;
-
-    *)
-        echo "postinst 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
-
-
reverted:
--- ptex-base-2.5/debian/jbibtex-base.prerm
+++ ptex-base-2.5.orig/debian/jbibtex-base.prerm
@@ -1,41 +0,0 @@
-#! /bin/sh
-# prerm script for jbibtex-base
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade)
-#       install-info --quiet --remove /usr/info/elscreen.info.gz
-	;;
-    deconfigure)
-        ;;
-    failed-upgrade)
-        ;;
-    *)
-        echo "prerm 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
-
-

Attachment: signature.asc
Description: Digital signature

Reply via email to