Subject: Re: note: hicolor-icon-theme-0.4.tar.gz is no longer available from the master site.
To: Thomas Klausner <wiz@NetBSD.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 12/03/2004 13:01:14
[ On Friday, December 3, 2004 at 13:35:21 (+0100), Thomas Klausner wrote: ]
> Subject: Re: note: hicolor-icon-theme-0.4.tar.gz is no longer available from the master site.
>
> On Thu, Dec 02, 2004 at 08:55:30PM -0500, Greg A. Woods wrote:
> > Note: hicolor-icon-theme-0.4.tar.gz is no longer available from the master site.
> > 
> > Should I file a PR asking for the pkgsrc-2004Q3 branch be fixed, or will
> > the Q4 branch happen soon enough to not bother?
> > 
> > (the file is available from ftp.netbsd.org, so the Q3 branch could be
> > pointed there for the time being....)
> 
> Since the fetch code has a fallback to ftp.netbsd.org, I don't think
> we need to pull up a fix for this.

Sorry, I should have mentioned why this is a real problem right from the
start.

What you say would be OK IFF it worked, but it almost _never_ works for
anything fetched from an HTTP URL, nor can it work properly either given
the common "helpful" behaviour of some web sites when a requested object
does not exist.

(This is why FTP should _always_ be the preferred fetch mechanism!)

Perhaps if the fallback mechanism were triggered whenever a checksum
mismatch occured then that would help for HTTP messes, but there are
other dangers in having this happen automatically.  (e.g. the broken
file must be removed, or at least moved, to try another fetch and yet
the real problem might be that the distinfo file is wrong and we'd not
only removed the good file but then end up chasing our tails)

In the mean time this wee fix works for this particular package and
avoids what's probably an unnecessary pullup (though I must admit I have
no idea what this package really does and why -- are the new icons a
significant fix?)


Index: graphics/hicolor-icon-theme/Makefile
===================================================================
RCS file: /cvs/master/m-NetBSD/main/pkgsrc/graphics/hicolor-icon-theme/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- graphics/hicolor-icon-theme/Makefile	1 Apr 2004 18:27:48 -0000	1.1.1.1
+++ graphics/hicolor-icon-theme/Makefile	3 Dec 2004 01:59:43 -0000
@@ -3,7 +3,9 @@
 
 DISTNAME=	hicolor-icon-theme-0.4
 CATEGORIES=	graphics
-MASTER_SITES=	http://freedesktop.org/Software/icon-theme/releases/
+# 0.4 is no longer available
+#MASTER_SITES=	http://freedesktop.org/Software/icon-theme/releases/
+MASTER_SITES=	ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
 
 MAINTAINER=	jmmv@NetBSD.org
 HOMEPAGE=	http://freedesktop.org/Software/icon-theme



-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>