NetBSD Problem Report #42609

From www@NetBSD.org  Mon Jan 11 20:49:34 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D0A2063C503
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 11 Jan 2010 20:49:33 +0000 (UTC)
Message-Id: <20100111204933.A289763B844@www.NetBSD.org>
Date: Mon, 11 Jan 2010 20:49:33 +0000 (UTC)
From: bughunting@xs4all.nl
Reply-To: bughunting@xs4all.nl
To: gnats-bugs@NetBSD.org
Subject: Incorrect `MASTER_SITES` and `HOMEPAGE' URLs defined in pkgsrc/www/urlgrabber/Makefile
X-Send-Pr-Version: www-1.0

>Number:         42609
>Category:       pkg
>Synopsis:       Incorrect `MASTER_SITES` and `HOMEPAGE' URLs defined in pkgsrc/www/urlgrabber/Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 11 20:50:00 +0000 2010
>Closed-Date:    Mon Dec 29 09:01:37 +0000 2014
>Last-Modified:  Mon Dec 29 09:01:37 +0000 2014
>Originator:     Bug Hunting
>Release:        
>Organization:
>Environment:
>Description:
The `MASTER_SITES' and `HOMEPAGE' URLs as defined in
pkgsrc/www/urlgrabber/Makefile seem to be invalid.

When the latter is viewed, the page gives a ``Page not found''
message (from the actual HTML source; it's not a 404).

The former makes "make fetch-list" and "make fetch" fail in case that
site is picked from the `unsorted_sites' list.
>How-To-Repeat:
$ grep -E 'MASTER_SITES|HOMEPAGE' /usr/pkgsrc/www/urlgrabber/Makefile
MASTER_SITES=   http://linux.duke.edu/projects/urlgrabber/download/
HOMEPAGE=       http://linux.duke.edu/projects/urlgrabber/download/

<fetch.sh made from "make fetch-list" output, with the invalid URL
singled out in the `unsorted_sites'-list:>

$ ./fetch.sh
Requesting http://linux.duke.edu/projects/urlgrabber/download/urlgrabber-3.1.0.tar.gz
ftp: Error retrieving file - `500 Internal Server Error'
urlgrabber-3.1.0.tar.gz not fetched
>Fix:
Change `MASTER_SITES' and `HOMEPAGE' URLs in pkgsrc/www/urlgrabber/Makefile.

As for `HOMEPAGE', the correct URL would probably be
<http://linux.duke.edu/urlgrabber/>.

As for `MASTER_SITES', i'm not sure; putting the same URL as the one
of `HOMEPAGE' there doesn't make the fetching part succeed.

>Release-Note:

>Audit-Trail:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42609 CVS commit: pkgsrc/www/urlgrabber
Date: Tue, 12 Jan 2010 01:34:19 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Jan 12 01:34:19 UTC 2010

 Modified Files:
 	pkgsrc/www/urlgrabber: Makefile

 Log Message:
 Update HOMEPAGE and MASTER_SITES to catch up rearrange of the site.
 Problem noticed by Bug Hunting via PR#42609.

 At the moment, MASTER_SITES is commented out.
 Although it is linked from HOMEPAGE, but only have very old version now.
 (and tarball from http://pypi.python.org/pypi/urlgrabber is checksum mismatch).


 To generate a diff of this commit:
 cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/urlgrabber/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->suspended
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Sun, 10 Apr 2011 17:06:24 +0000
State-Changed-Why:
Needs better master site.


State-Changed-From-To: suspended->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 29 Dec 2014 09:01:37 +0000
State-Changed-Why:
fixed by obache in june 2011


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.