Your message dated Mon, 05 Jan 2009 05:02:06 +0000
with message-id <[email protected]>
and subject line Bug#510189: fixed in whohas 0.21-4
has caused the Debian Bug report #510189,
regarding whohas: Wrong URL for FreeBSD ports
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
510189: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510189
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: whohas
Version: 0.21-3
Severity: normal
Tags: patch

Searching for pokerth with whohas gives the following result:
http://www.freebsd.org/cgi/pds.cgi?ports/www/pokerth
But pokerth is a game, thus located in ports/games/pokerth.
The attached patch fixes the issue for me.
However, I think linking to pds.cgi is not good, as it does not
carry too much information about the port. IMHO 
http://cvsweb.FreeBSD.org/ports/games/pokerth would be better.
Just drop the following line from the patch, to achieve this:
$url =~ s,http://cvsweb.FreeBSD.org/,http://www.freebsd.org/cgi/pds.cgi?,i;

Regards
Evgeni

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-x31-1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages whohas depends on:
ii  libwww-perl                   5.820-1    WWW client/server library for Perl
ii  perl                          5.10.0-18  Larry Wall's Practical Extraction 

whohas recommends no packages.

whohas suggests no packages.

-- no debconf information
--- whohas-0.21/whohas  2008-12-02 02:13:21.000000000 +0100
+++ whohas-0.21.patched/whohas  2008-12-30 10:41:30.000000000 +0100
@@ -499,7 +499,9 @@
                        ($names[$now],$versions[$now]) = 
&combos_freebsd($anchor);
                        push @repos, "";
                        push @sizes, "";
-                       push @urls,  
"http://www.freebsd.org/cgi/pds.cgi?ports/www/".$names[$now];
+                       my $url = (split /"/, $lines[$i])[3];
+                       $url =~ 
s,http://cvsweb.FreeBSD.org/,http://www.freebsd.org/cgi/pds.cgi?,i;
+                       push @urls,  $url;
                        $now++;
                        push @dates, "";
                }

--- End Message ---
--- Begin Message ---
Source: whohas
Source-Version: 0.21-4

We believe that the bug you reported is fixed in the latest version of
whohas, which is due to be installed in the Debian FTP archive:

whohas_0.21-4.diff.gz
  to pool/main/w/whohas/whohas_0.21-4.diff.gz
whohas_0.21-4.dsc
  to pool/main/w/whohas/whohas_0.21-4.dsc
whohas_0.21-4_all.deb
  to pool/main/w/whohas/whohas_0.21-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.
Jonathan Wiltshire <[email protected]> (supplier of updated whohas 
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.8
Date: Sun, 04 Jan 2009 00:29:40 +0000
Source: whohas
Binary: whohas
Architecture: source all
Version: 0.21-4
Distribution: unstable
Urgency: low
Maintainer: Jonathan Wiltshire <[email protected]>
Changed-By: Jonathan Wiltshire <[email protected]>
Description: 
 whohas     - query multiple distributions' package archives
Closes: 510152 510189 510203 510231 510259 510293
Changes: 
 whohas (0.21-4) unstable; urgency=low
 .
   * Patch to correct the FreeBSD lookup url and returned information url
     (Evgeni Golov) (Closes: #510189)
   * Patch to correct distribution lookups when used with --no-threads
     (Steve Cotton) (Closes: #510231)
   * Depend on ${DPATCH_STAMPFN} instead of patch-stamp in debian/rules
     (Closes: #510259)
   * Patch to extend the version column to 20 characters (Steve Cotton)
     (Closes: #510152)
   * Patch to show all versions of a ubuntu package, not just the earliest
     (Steve Cotton) (Closes: #510203)
   * Patch to correct the NetBSD search URL (Cristian Ionescu-Idbohrn)
     (Closes: #510293)
Checksums-Sha1: 
 5f599bc4f835e237b615a55bdf2d411899caa677 1129 whohas_0.21-4.dsc
 84f5ef55b1ceba5fe4ff213248252371d639788a 4647 whohas_0.21-4.diff.gz
 3b9be8057b2b81bbcb594e676bd2fad905119b31 17934 whohas_0.21-4_all.deb
Checksums-Sha256: 
 d84fef810797556757219af9b24bfd393a85d9c427c06d746505efbfde68294f 1129 
whohas_0.21-4.dsc
 c631331221fe83b618fc826d02c457d5909840216be322be31b2cc8e4f4551be 4647 
whohas_0.21-4.diff.gz
 73dfe162c21c0560c987999b9f522029b8184b40d7f0644981ccb725d8d7049a 17934 
whohas_0.21-4_all.deb
Files: 
 671dafd47c568a54a1ef09e1d681c2e7 1129 utils extra whohas_0.21-4.dsc
 87ad31ffbe39d9d0fa7f0741eb54a525 4647 utils extra whohas_0.21-4.diff.gz
 ef7a03102e265842027f1a78a1d83aca 17934 utils extra whohas_0.21-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAklhkbEACgkQ5Sc9mGvjxCMGrwCgy0veL+NjKBkbpCFN2XVRdC4T
duwAniRKc2AGAbS9Sq9iExgEGljqL60i
=2YBg
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to