Bug 90751 - fix distfile port survey whine for x11-toolkits/linux-openmotif
Summary: fix distfile port survey whine for x11-toolkits/linux-openmotif
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-21 16:20 UTC by John E. Hein
Modified: 2005-12-29 16:36 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (652 bytes, patch)
2005-12-21 16:20 UTC, John E. Hein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John E. Hein 2005-12-21 16:20:05 UTC
Bill Fenner's distfile port survey has reported x11-toolkits/linux-openmotif
as having an unfetchable distfile at least twice now.

I believe this is incorrect.

The file is fetchable via this URL:
ftp://ftp.ics.com/pub/Products/Motif/om2.2.4/redhat-7.3/openmotif-2.2.4-0.1.i386.rpm
... but that ftp dir IS not "LIST"able.

It's possible that fenner@'s test includes something to try to list
the ftp dir and that is perhaps why it fails.

That said, it looks like the master site should be updated to, at least,
include ftp.motifzone.com (which appears to be the canonical place to fetch
from).  The ftp dir containing the rpm associated with that site IS LISTable.

The md5's are the same when fetched from either site.

Note that motifzone.com still appears to be owned by ICS (according
to whois).

Fix: Here is a patch that makes motfzone.com the primary master site,
but still allows ics.com since it works fine even if it is not
ftp "LIST"able.
How-To-Repeat: 
Do a manual fetch and notice that it still seems to work fine...
fetch -q ftp://ftp.ics.com/pub/Products/Motif/om2.2.4/redhat-7.3/openmotif-2.2.4-0.1.i386.rpm && md5 openmotif-2.2.4-0.1.i386.rpm && cat distinfo.i386
MD5 (openmotif-2.2.4-0.1.i386.rpm) = 1600340ba67417562da5bca16dfdef2f
MD5 (rpm/openmotif-2.2.4-0.1.i386.rpm) = 1600340ba67417562da5bca16dfdef2f
SIZE (rpm/openmotif-2.2.4-0.1.i386.rpm) = 2898870

Then notice that the dir cannot be "LIST"ed...

curl -X LIST ftp://ftp.ics.com/pub/Products/Motif/om2.2.4/redhat-7.3/

But LIST of the motifzone.com dir does work...

curl -X LIST ftp://ftp.motifzone.com/om2.2.4/redhat-7.3/
-rwxrwxrwx   1 kevin    kevin     2898870 Oct 15  2004 openmotif-2.2.4-0.1.i386.rpm
-rwxrwxrwx   1 kevin    kevin    10160225 Oct 15  2004 openmotif-2.2.4-0.1.src.rpm
-rwxrwxrwx   1 kevin    kevin      538354 Oct 15  2004 openmotif-demos-2.2.4-0.1.i386.rpm
-rwxrwxrwx   1 kevin    kevin     8625399 Oct 15  2004 openmotif-devel-2.2.4-0.1.i386.rpm
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-21 16:29:47 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainer
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2005-12-29 16:36:20 UTC
State Changed
From-To: open->closed

Committed. Thanks.