ports/90751: fix distfile port survey whine for x11-toolkits/linux-openmotif

John E. Hein jhein at timing.com
Wed Dec 21 16:20:18 UTC 2005


>Number:         90751
>Category:       ports
>Synopsis:       fix distfile port survey whine for x11-toolkits/linux-openmotif
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 21 16:20:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     John E. Hein
>Release:        
>Organization:
>Environment:

>Description:

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).

>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

>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.

Index: Makefile
===================================================================
RCS file: /base/FreeBSD-CVS/ports/x11-toolkits/linux-openmotif/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile	30 Nov 2005 15:42:24 -0000	1.13
+++ Makefile	7 Dec 2005 16:33:40 -0000
@@ -8,7 +8,8 @@ PORTNAME=	openmotif
 PORTVERSION=	2.2.4
 PORTREVISION=	2
 CATEGORIES=	x11-toolkits linux
-MASTER_SITES=	ftp://ftp.ics.com/pub/Products/Motif/%SUBDIR%/
+MASTER_SITES=	ftp://ftp.motifzone.com/%SUBDIR%/ \
+	ftp://ftp.ics.com/pub/Products/Motif/%SUBDIR%/
 MASTER_SITE_SUBDIR=	om2.2.4/redhat-7.3
 PKGNAMEPREFIX=	linux-
 EXTRACT_SUFX=	-0.1.i386.rpm
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list