Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 18:46:19 +0100
From:      Shaun Amott <shaun@FreeBSD.org>
To:        Emanuel Haupt <ehaupt@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: MASTER_SITE defined by google search result
Message-ID:  <20100723174618.GA80046@charon.picobyte.net>
In-Reply-To: <20100722121731.34b47a2a.ehaupt@FreeBSD.org>
References:  <20100722121731.34b47a2a.ehaupt@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 22, 2010 at 12:17:31PM +0200, Emanuel Haupt wrote:
> 
> Usually when I find that a port can't fetch the according distfile I
> simply google for the distfile with the following search string (e.g.
> for rsync):
> 
> 	intitle:"index of" rsync-3.0.7.tar.gz
> 
> This approach almost always delivers plenty of results. I then manually
> download one of the results into my DISTDIR and restart the normal
> build process which then automatically takes care of the integrity
> (checksum, size) of the distfile(s).
> 
> I thought, why not automate this and I came up with a simple perl
> script (requires www/p5-Google-Search):
> 
> http://people.freebsd.org/~ehaupt/distfile-search/distfile-search
> 

Very cool and wonderfully efficient! One possible enhancement might be
to also (conditionally?) search for the size from distinfo; this is
particularly useful when dealing with distfiles which lack a version
number.

-- 
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100723174618.GA80046>