Your message dated Tue, 29 Mar 2005 10:47:18 -0500 with message-id <[EMAIL PROTECTED]> and subject line Bug#299762: fixed in jadetex 3.13-4 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 16 Mar 2005 08:18:51 +0000 >From [EMAIL PROTECTED] Wed Mar 16 00:18:51 2005 Return-path: <[EMAIL PROTECTED]> Received: from moutng.kundenserver.de [212.227.126.177] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DBTjv-0001Kz-00; Wed, 16 Mar 2005 00:18:51 -0800 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DBTjs-0000Ra-00 for [EMAIL PROTECTED]; Wed, 16 Mar 2005 09:18:48 +0100 Received: from [84.72.90.246] (helo=alhambra.kuesterei.ch) by mrelayng.kundenserver.de with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.35 #1) id 1DBTjr-0007vR-00 for [EMAIL PROTECTED]; Wed, 16 Mar 2005 09:18:48 +0100 Received: from localhost ([127.0.0.1] helo=alhambra.kuesterei.ch) by alhambra.kuesterei.ch with esmtp (Exim 4.44) id 1DBTjy-0002vH-6O for [EMAIL PROTECTED]; Wed, 16 Mar 2005 09:18:54 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: jadetex: Does not preserve user changes upon upgrade X-Debbugs-CC: Frank =?iso-8859-1?q?K=FCster?= <[EMAIL PROTECTED]>, debian-tetex-maint@lists.debian.org X-Attribution: fant X-Ehrenamt: http://www.langau.de From: [EMAIL PROTECTED] (=?iso-8859-1?q?Frank_K=FCster?=) Date: Wed, 16 Mar 2005 09:18:52 +0100 Message-ID: <[EMAIL PROTECTED]> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Provags-ID: kundenserver.de [EMAIL PROTECTED] auth:3fc7da83a58b7314ee3070631872032d Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: --=-=-= Package: jadetex Version: 3.13-3.2 Severity: serious Tags: patch Justification: Violates policy 10.7.3 Every time the postinst is called with "configure", be it upon upgrade, install after remove, or dpkg-reconfigure, the file /etc/texmf/fmt.d/40jadetex.cnf is restored. If the file is deleted or renamed by adding an additional suffix, it is restored. This violates Policy 10.7.3, ,---- | Configuration file handling must conform to the following behavior: | | * local changes must be preserved during a package upgrade, `---- The attached patch fixes this behavior. 40jadetex.cnf is made a conffile, and just left on the system when jadetex is removed, but not purged. fmtutil has no problem with this, it simply ignores formats in fmtutil.cnf for which the ini files cannot be found. I have added one additional feature in the patch: It uses fmtutil-sys if it is available, fmtutil otherwise. This is the script to be used with teTeX-3.0, now in experimental, but it's not important at all, because I've patched fmtutil in teTeX-3.0 to do the right thing. Regards, Frank -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (900, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages jadetex depends on: ii debianutils 2.8.4 Miscellaneous utilities specific t ii tetex-bin 3.0-2 The teTeX binary files ii tetex-extra 3.0-2 Additional library files of teTeX -- no debconf information --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=jadetex-preserveconf.patch Content-Transfer-Encoding: quoted-printable diff -Nur jadetex-3.13.orig/debian/changelog jadetex-3.13/debian/changelog --- jadetex-3.13.orig/debian/changelog 2005-03-16 08:10:47.000000000 +0100 +++ jadetex-3.13/debian/changelog 2005-03-15 22:30:33.000000000 +0100 @@ -1,11 +1,12 @@ -jadetex (3.13-3) unstable; urgency=3Dlow +jadetex (3.13-3.2) unstable; urgency=3Dlow =20 + * NMU version number for local testing * New Maintainer. (Closes: #288204) * debian/control: Update Standards-Version. * Acknowledge NMU. (Closes: #266630). * debian/control: Drop Build-Dependency to openjade1.3, use openjade. =20 - -- OHURA Makoto <[EMAIL PROTECTED]> Sat, 15 Jan 2005 16:20:53 +0900 + -- Frank K=FCster <[EMAIL PROTECTED]> Tue, 15 Mar 2005 18:05:45 +0100 =20 jadetex (3.13-2.1) unstable; urgency=3Dhigh =20 diff -Nur jadetex-3.13.orig/debian/postinst jadetex-3.13/debian/postinst --- jadetex-3.13.orig/debian/postinst 2005-03-16 08:10:47.000000000 +0100 +++ jadetex-3.13/debian/postinst 2005-03-16 08:14:19.000000000 +0100 @@ -56,8 +56,10 @@ make_and_check_fmt ( ) { local fmt fmt=3D$1 + fmtutil=3Dfmtutil + if [ -x /usr/bin/fmtutil-sys ]; then fmtutil=3Dfmtutil-sys; fi =20 - if [ ! -f /etc/texmf/jadetex/$fmt.ini ]; then + if ! kpsewhich --progname=3Djadetex jadetex.ini; then warn "/etc/texmf/jadetex/$fmt.ini not found, skipping $fmt memory = dump" warn "If you wish to use JadeTeX, you will have to create the dump= manually" warn "or else purge then reinstall this package to restore default= configuration." @@ -65,14 +67,9 @@ elif [ ! -f ${FMTCNF} ]; then warn "$FMTCNF is missing but should be there; report this bug plea= se" return 1 - elif ! grep -qw "^$fmt" ${FMTCNF}; then - warn "$FMTCNF doesn't contain '$fmt', skipping memory dump" - warn "If you wish to use JadeTeX, you will have to create the dump= manually" - warn "or else purge then reinstall this package to restore default= configuration." - return 0 else - log "running 'fmtutil --cnffile ${FMTCNF} --byfmt $fmt'..." - if ! fmtutil --cnffile ${FMTCNF} --byfmt $fmt >> $MYTMPFILE; then + log "running '$fmtutil --byfmt $fmt'..." + if ! $fmtutil --byfmt $fmt >> $MYTMPFILE; then warn "ERROR: $fmt fmtutil failed" return 1 elif ! kpsewhich $fmt.fmt > /dev/null ; then @@ -125,30 +122,7 @@ MYTMPFILE=3D`mktemp -t jadetex-postinst.XXXXXX` : > $MYTMPFILE =20 - # new fmt.d handling; we have to handle this in postinst rather - # than conffiles so that we can disable it when pkg is removed - # - # first we check if the file or any jadetex.cnf file is already there,= =20 - # if not, is there is a disabled version of the script available? - # if not, is there a globbed version of the disabled file available? - # if not, copy in the file from the template area - if [ -f ${FMTDIR}/40jadetex.cnf ]; then - : - elif ls ${FMTDIR}/*jadetex.cnf 2>/dev/null; then - FMTCNF=3D`ls ${FMTDIR}/*jadetex.cnf | tail -1` - elif [ -f ${FMTDIR}/40jadetex.cnf.disable ]; then - mv ${FMTDIR}/40jadetex.cnf.disable ${FMTCNF} - else - OLD=3D`ls -1 ${FMTDIR}/*jadetex.cnf* 2>/dev/null | tail -1` - if [ ${OLD} -a -f ${OLD} ]; then - FMTCNF=3D`echo $OLD | sed -e 's/.cnf.*/.cnf/'` - warn "re-enabling $FMTCNF from $OLD" - mv ${OLD} ${FMTCNF} - else - cp ${TEMPLDIR}/fmtutil.cnf ${FMTCNF} - fi - fi - + # 40jadetex.cnf is now a conffile update-fmtutil update-texmf =20 diff -Nur jadetex-3.13.orig/debian/rules jadetex-3.13/debian/rules --- jadetex-3.13.orig/debian/rules 2005-03-16 08:10:47.000000000 +0100 +++ jadetex-3.13/debian/rules 2005-03-15 18:04:35.000000000 +0100 @@ -9,7 +9,7 @@ docdir :=3D $(prefix)/usr/share/doc/$(package) mandir :=3D $(prefix)/usr/share/man texdir :=3D $(prefix)/usr/share/texmf/tex/$(package) -templdir :=3D $(texdir)/config-templates +fmtdir :=3D $(prefix)/etc/texmf/fmt.d confdir :=3D $(prefix)/etc/texmf/$(package) texmfdir :=3D $(prefix)/etc/texmf/texmf.d =20 @@ -51,7 +51,7 @@ rm -rf $(prefix) =20 $(make_dir) $(bindir) $(docdir) $(mandir)/man1 \ - $(texdir)/base $(confdir) $(templdir) $(texmfdir) + $(texdir)/base $(confdir) $(fmtdir) $(texmfdir) =20 # conffile handling ln -sf /etc/texmf/jadetex $(texdir)/config @@ -64,7 +64,7 @@ echo $(subst $(prefix),,$(texmfdir))/96JadeTeX.cnf >> debian/conffiles =20 # the fmtutil snippet is managed in the postinst - $(install_file) debian/fmtutil.cnf $(templdir)/ + $(install_file) debian/fmtutil.cnf $(fmtdir)/40jadetex.cnf =20 $(install_file) jadetex.1 pdfjadetex.1 $(mandir)/man1/ =20 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable --=20 Frank K=FCster Inst. f. Biochemie der Univ. Z=FCrich Debian Developer --=-=-=-- --------------------------------------- Received: (at 299762-close) by bugs.debian.org; 29 Mar 2005 15:53:11 +0000 >From [EMAIL PROTECTED] Tue Mar 29 07:53:11 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DGJ1j-0004ZU-00; Tue, 29 Mar 2005 07:53:11 -0800 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DGIw2-0000OO-00; Tue, 29 Mar 2005 10:47:18 -0500 From: OHURA Makoto <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.55 $ Subject: Bug#299762: fixed in jadetex 3.13-4 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Tue, 29 Mar 2005 10:47:18 -0500 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 2 Source: jadetex Source-Version: 3.13-4 We believe that the bug you reported is fixed in the latest version of jadetex, which is due to be installed in the Debian FTP archive: jadetex_3.13-4.diff.gz to pool/main/j/jadetex/jadetex_3.13-4.diff.gz jadetex_3.13-4.dsc to pool/main/j/jadetex/jadetex_3.13-4.dsc jadetex_3.13-4_all.deb to pool/main/j/jadetex/jadetex_3.13-4_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. OHURA Makoto <[EMAIL PROTECTED]> (supplier of updated jadetex package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Sun, 27 Mar 2005 23:59:13 +0900 Source: jadetex Binary: jadetex Architecture: source all Version: 3.13-4 Distribution: unstable Urgency: low Maintainer: OHURA Makoto <[EMAIL PROTECTED]> Changed-By: OHURA Makoto <[EMAIL PROTECTED]> Description: jadetex - generator of printable output from SGML or XML using Jade Closes: 298437 299630 299762 Changes: jadetex (3.13-4) unstable; urgency=low . * Use e-tex instead of Knuth's TeX. This is needed for teTeX 3.0. (Closes: #298437). * Make 40jadetex.cnf a conffile. (Closes: #299762). * debian/control: Update Build-Dependency, debhelper (>=4.0.0). * debian/reportbug-control: Add new reportbug script, which is for adding tetex package information to bug reports. (Closes: #299630) Files: 23bc60b6984cf15d0c391bd298d353a1 622 tex optional jadetex_3.13-4.dsc 6826ff78023730ac5b0e20a1e6ecf2c6 14326 tex optional jadetex_3.13-4.diff.gz 21b3b1ea05b9d3ad62792b7c3a965895 169934 tex optional jadetex_3.13-4_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCSXSa7qLvonfc4IMRAkPfAKDRP6Ld93BRfyC54FMkrJCKR4g3kACg1BA/ Hi6922haF/Y6V/l++vPd/9o= =KS1L -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]