Your message dated Fri, 16 Sep 2005 14:05:51 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#328553: podracer: depends on gnu extensions in awk
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 Sep 2005 02:17:07 +0000
>From [EMAIL PROTECTED] Thu Sep 15 19:17:07 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ciara.youam.de [213.133.98.24] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EG5ml-0006c7-00; Thu, 15 Sep 2005 19:17:07 -0700
Received: from ciara.youam.de (localhost [127.0.0.1])
        by ciara.youam.de (8.13.4/8.13.4/Debian-3) with ESMTP id j8G2H4Mh023036
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
        for <[EMAIL PROTECTED]>; Fri, 16 Sep 2005 04:17:04 +0200
Received: (from [EMAIL PROTECTED])
        by ciara.youam.de (8.13.4/8.13.4/Submit) id j8G2H4Ua023034;
        Fri, 16 Sep 2005 04:17:04 +0200
Message-Id: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Uli Martens <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: podracer: depends on gnu extensions in awk
X-Mailer: reportbug 3.8
Date: Fri, 16 Sep 2005 04:17:04 +0200
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-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: podracer
Severity: serious
Tags: upstream patch
Justification: Policy 3.5

podracer uses the awk function 'gensub' which does not exist in mawk but
fails without any error message.

The following patch should fix this incompatibility.

(please notice that it's 4am over here and test it better than i just did...)

greetings,
        Uli

--- podracer.orig       2005-09-16 04:09:41.000000000 +0200
+++ podracer    2005-09-16 04:10:35.000000000 +0200
@@ -149,7 +149,7 @@
                                realurl=`curl -s -I -L -w %{url_effective} 
--url "$url" | tail -n 1`

                                #we'll need filename to allow us to move the 
podcast into poddir[/feeddir]
-                               filename=`echo "$realurl" | awk -F / '{print 
gensub("%20", " ",  "g", gensub("%27", "\x27", "g", gensub("%23", "#", "g", 
$NF)))}'`
+                               filename=`echo "$realurl" | sed -e "s,.*/,," -e 
"s,%20, ,g" -e "s,%23,#,g" -e "s,%27,',g"`

                                #file is a torrent so use the internal torrent 
downloader
                                if [ "$(echo $filename | grep .torrent)" ]


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

---------------------------------------
Received: (at 328553-done) by bugs.debian.org; 16 Sep 2005 12:05:54 +0000
>From [EMAIL PROTECTED] Fri Sep 16 05:05:54 2005
Return-path: <[EMAIL PROTECTED]>
Received: from ciara.youam.de [213.133.98.24] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EGEyX-0004ce-00; Fri, 16 Sep 2005 05:05:53 -0700
Received: from ciara.youam.de (localhost [127.0.0.1])
        by ciara.youam.de (8.13.4/8.13.4/Debian-3) with ESMTP id j8GC5pTH013482
        (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
        Fri, 16 Sep 2005 14:05:51 +0200
Received: (from [EMAIL PROTECTED])
        by ciara.youam.de (8.13.4/8.13.4/Submit) id j8GC5peZ013480;
        Fri, 16 Sep 2005 14:05:51 +0200
Date: Fri, 16 Sep 2005 14:05:51 +0200
From: Uli Martens <[EMAIL PROTECTED]>
To: Hamish Moffatt <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Bug#328553: podracer: depends on gnu extensions in awk
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
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-Level: 
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

Version: 1.3-1

On Fri, Sep 16, 2005 at 02:23:07PM +1000, Hamish Moffatt wrote:
> Which podracer version? 1.3-1 uploaded this morning is meant to remove
> the dependence on gawk. Indeed, the code you changed is not present in
> 1.3-1.

You're right, it seems to be fixed in incoming.

The fixed command in 1.3-1 contains 
  awk -F ? '{print $1}'
AIUI this is executed in podracer's temp-dir, so it should be no big
problem, but I think it's safer anyway to quote the ? to prevent it from
being a glob. (minor nitpicking ;) )

sorry for not checking incoming before filing the bug.

bye,
        Uli


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to