Bug 14287

Summary: Fix distfile survey for databases/cdb
Product: Ports & Packages Reporter: ade <ade>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ade 1999-10-12 17:20:01 UTC
	Distfile survey mentions a failure for databases/cdb
	Turns out this is the WWW: link inside pkg/DESCR
	(MASTER_SITE was already updated)

Fix: Apply following patch.
How-To-Repeat: 
	Look at distfiles survey for databases/cdb
Comment 1 Tom Hukins freebsd_committer freebsd_triage 1999-10-12 19:05:10 UTC
On Tue, Oct 12, 1999 at 11:18:26AM -0500, Ade Lovett wrote:
> 
> 	Distfile survey mentions a failure for databases/cdb
> 	Turns out this is the WWW: link inside pkg/DESCR
> 	(MASTER_SITE was already updated)

This is due to a bug in the distfile survey. The MASTER_SITE and WWW
link should both point to the pobox.com URL.

The pobox.com URL returns a 302 (Moved Temporarily). A 301 response
would be given if that URL is out of date - check the HTTP spec for
details.

Regards,
Tom
Comment 2 ade 1999-10-12 19:25:00 UTC
On Tue, Oct 12, 1999 at 07:05:10PM +0100, Tom Hukins wrote:
> 
> This is due to a bug in the distfile survey. The MASTER_SITE and WWW
> link should both point to the pobox.com URL.

That's not what fetch says:

	anaconda 8% fetch http://pobox.com/~cdb/cdb-0.55.tar.gz
	fetch: cdb-0.55.tar.gz: resource has moved temporarily to `http://members.xoom.com/zero_carioca//cdb-0.55.tar.gz'
	fetch: cdb-0.55.tar.gz: resource has moved temporarily to `http://fourohfour.xoom.com/Members404Error.xihtml'
	Receiving cdb-0.55.tar.gz: 21 Kbytes
	22074 bytes transferred in 2.5 seconds  (8.79 Kbytes/s)


> The pobox.com URL returns a 302 (Moved Temporarily). A 301 response
> would be given if that URL is out of date - check the HTTP spec for
> details.

Regardless of this -- not addressing the issue of the distfile survey
program -- when retrieving the HTML page, all the references point to
the uic.edu address:

   1. ftp://koobera.math.uic.edu/www/djb.html
   2. ftp://koobera.math.uic.edu/www/data.html
   3. ftp://koobera.math.uic.edu/www/lists.html#cdb
   4. ftp://koobera.math.uic.edu/www/software/cdb-0.55.tar.gz

So for now, I believe the correct patch to be to change both references
to this site.  At least, they need to be made consistent.  The redirect
from pobox.com -> uic.edu has been in there quite a while now, suggesting
that the 'temporary' move is somewhat less than temporary (but we'll
leave the semantic wars for -chat :)

Regards,
	-aDe

-- 
Ade Lovett, Austin, TX.
Comment 3 Tom Hukins freebsd_committer freebsd_triage 1999-10-12 21:42:53 UTC
On Tue, Oct 12, 1999 at 01:25:00PM -0500, Ade Lovett wrote:
> 
> So for now, I believe the correct patch to be to change both references
> to this site.  At least, they need to be made consistent.  The redirect
> from pobox.com -> uic.edu has been in there quite a while now, suggesting
> that the 'temporary' move is somewhat less than temporary (but we'll
> leave the semantic wars for -chat :)

This isn't a major issue, so I'll keep my comments brief:

DJB (the author of cdb and several other packages) always refers to
pobox.com rather than uic.edu when mentioning URLs. If this is the
URL he's asking us to use, this is the URL we should use.

Regards,
Tom
Comment 4 ade 1999-10-12 23:06:10 UTC
On Tue, Oct 12, 1999 at 02:06:52PM -0700, Mike Meyer wrote:
> 
> Note that in HTTP/1.2, "Moved Temporarily" has changed to "Found",
> which more correctly describes the use that pobox is making of
> it. Unless there's strong evidence that that pobox account is going
> away, I'd say they should be left that way.

I'm looking at this from the perspective of an overall 'failure'
(perhaps too strong a word, RealJob[tm] is interfering :)

What we have here is a situation where any one of a number of possible
fixes can be applied to correct the situation, namely that the distfile
survey is flagging a false-positive failure for this port.

The options are as follows:

	1. use the pobox.com URLs (in both places), and con^Wcontact
	   Bill to make the appropriate modifications to handle the
	   302 redirect message

	2. use the uic.edu URLs (in both places)

I honestly don't mind either way -- the 'problem' gets solved with
both approaches.  What does bug me (a little bit), is the inconsistent
use of pobox.com/uic.edu in the port.  Hence the PR.

At least now there's a PR that can be tracked until the appropriate
solution is implemented, further improving the quality (albeit by a
miniscule amount :) of the awesome ports tree and associated
management tools.

Enjoy,

-aDe

-- 
Ade Lovett, Austin, TX.
Comment 5 flathill freebsd_committer freebsd_triage 1999-10-13 15:36:49 UTC
State Changed
From-To: open->closed

Committd. Thanks!