pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42609: Incorrect `MASTER_SITES` and `HOMEPAGE' URLs defined in pkgsrc/www/urlgrabber/Makefile



>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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 11 20:50:00 +0000 2010
>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.



Home | Main Index | Thread Index | Old Index