Bug#257668: marked as done (libmime-lite-perl: Bug in suggest_typer (fixed in 3.01))

Debian Bug Tracking System owner@bugs.debian.org
Thu, 02 Dec 2004 11:33:14 -0800


Your message dated Thu, 02 Dec 2004 14:11:58 -0600
with message-id <20041202201158.GB18412@gwolf.org>
and subject line If it is fixed in upstream 3.01...
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; 5 Jul 2004 07:38:43 +0000
>From adrianp@broadpark.no Mon Jul 05 00:38:43 2004
Return-path: <adrianp@broadpark.no>
Received: from 126.80-202-135.nextgentel.com (librarian.localnet) [80.202.135.126] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BhO3n-0006i2-00; Mon, 05 Jul 2004 00:38:43 -0700
Received: from sms1.localnet
	([192.168.3.2] helo=grannyogg.localnet ident=mail)
	by librarian.localnet with esmtp (Exim 4.30)
	id 1BhO3H-0001tU-75
	for submit@bugs.debian.org; Mon, 05 Jul 2004 09:38:11 +0200
Received: from adrian by grannyogg.localnet with local (Exim 3.36 #1 (Debian))
	id 1BhO3G-0005X2-00
	for <submit@bugs.debian.org>; Mon, 05 Jul 2004 09:38:10 +0200
From: Adrian Phillips <adrianp@broadpark.no>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Debbugs-CC: Adrian Phillips <adrianp@broadpark.no>
Message-Id: <E1BhO3G-0005X2-00@grannyogg.localnet>
Sender: Adrian Phillips <adrianp@broadpark.no>
Date: Mon, 05 Jul 2004 09:38:10 +0200
X-SA-Exim-Mail-From: adrianp@broadpark.no
Subject: libmime-lite-perl: Bug in suggest_typer (fixed in 3.01)
X-SA-Exim-Version: 3.1 (built Wed Aug 20 09:38:54 PDT 2003)
X-SA-Exim-Scanned: Yes
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Package: libmime-lite-perl
Version: 2.117-5
Severity: normal

I don't know whether this is a change in older MIME::Types that caused
this problem but testing's version requires the following change :-

--- /usr/share/perl5/MIME/Lite.pm~	2004-02-03 10:07:33.000000000 +0100
+++ /usr/share/perl5/MIME/Lite.pm	2004-07-05 09:32:55.000000000 +0200
@@ -1964,7 +1964,7 @@
 	my @mappings = MIME::Types::by_suffix($path);
 	if (scalar(@mappings)) {
 	    ### Just pick the first one:
-	    my ($mimetype, $encoding) = @{$mappings[0]};
+		my ($mimetype, $encoding) = MIME::Types::by_suffix($path);
 	    if ($mimetype && $mimetype =~ /^\S+\/\S+$/) {
 		return $mimetype;  ### sanity check
 	    }	    


Sincerely,

Adrian Phillips

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26+grannyogg-1.0
Locale: LANG=C, LC_CTYPE=C

Versions of packages libmime-lite-perl depends on:
ii  perl                          5.8.3-3    Larry Wall's Practical Extraction 

-- no debconf information

---------------------------------------
Received: (at 257668-done) by bugs.debian.org; 2 Dec 2004 19:17:20 +0000
>From gwolf@prodigy.net.mx Thu Dec 02 11:17:20 2004
Return-path: <gwolf@prodigy.net.mx>
Received: from nlpproxy08.prodigy.net.mx (smtp.prodigy.net.mx) [148.235.52.28] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CZwS7-0002eX-00; Thu, 02 Dec 2004 11:17:19 -0800
Received: from smtp.prodigy.net.mx (nlpproxy08 [148.235.52.28])
 by smtp.prodigy.net.mx
 (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep  8 2003))
 with ESMTP id <0I8400H2R06Z2S@smtp.prodigy.net.mx>; Thu,
 02 Dec 2004 13:16:12 -0600 (CST)
Received: from
 gwolf.org(dsl-201-128-153-150.prod-infinitum.com.mx	[201.128.153.150])
 by smtp.prodigy.net.mx(iPlanet Messaging Server 5.2	HotFix 1.21 (built Sep  8
 2003))with ESMTP id	<0I84000LW06YYJ@smtp.prodigy.net.mx>; Thu,
 02 Dec 2004 13:16:11 -0600 (CST)
Received: by gwolf.org (Postfix, from userid 1000)	id BEADE4AFE7; Thu,
 02 Dec 2004 14:11:58 -0600 (CST)
Date: Thu, 02 Dec 2004 14:11:58 -0600
From: Gunnar Wolf <gwolf@gwolf.org>
Subject: If it is fixed in upstream 3.01...
To: 257668-done@bugs.debian.org
Message-id: <20041202201158.GB18412@gwolf.org>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
User-Agent: Mutt/1.3.28i
X-imss-version: 2.11
X-imss-result: Passed
X-imss-scores: Clean:94.05231 C:22 M:1 S:5 R:5
X-imss-settings: Baseline:3 C:2 M:2 S:2 R:2 (0.5000 1.0000)
Delivered-To: 257668-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Hi, 

I uploaded version 3.01 almost one month ago. Please check if the bug
is really fixed (you did not state how to reproduce it). If it still
happens, reopen this bug.

Greetings,

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)1451-2244 / 5554-9450
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF