I've began designing a script to search through all of my Portfiles and identify all of the URLs that the fetch process will attempt.  It would then test each of them and report to HTTP/FTP response header for each.  It's basically a like a broken link crawler that you would use for a web site, but it has to be smart enough to know how to handle master_sites+worksrcdir+distname.  (/opt/local/bin/port seems to be wrote in tcl, so it should be easy enough to repurpose most of the code from there instead of writing this in bash, perl, or Python as I would be tempted to do.)  It occurred to me that some else may have done this already.  Please let me know if this has already been done, or if there is already a process for verifying sources.

I'm an engineer, so I use a lot of obscure software.  I've found that I have to Google for new mirrors 60% of the time.  I'm just looking for a way I can help the cause.

On 8/24/07, Ryan Schmidt <ryandesign@macports.org> wrote:

On Aug 23, 2007, at 22:40, Richard Bronosky wrote:

> From what I can tell, the original master_site is totally invalid,
> but I left it in place and first in line as to not step on any
> toes.  (Just doing my part to earn commit rights.)
>
> --- /opt/local/var/macports/sources/rsync.macports.org/release/
> ports/textproc/catdoc/Portfile.org       2007-08-23 22:50:
> 17.000000000 -0400
> +++ /opt/local/var/macports/sources/rsync.macports.org/release/
> ports/textproc/catdoc/Portfile   2007-08-23 23:04:22.000000000 -0400
> @@ -19,7 +19,8 @@
>                  files.
>
>  homepage       http://www.45.free.net/~vitus/catdoc/
> -master_sites   ftp://ftp.45.free.net/pub/catdoc/
> +master_sites   ftp://ftp.45.free.net/pub/catdoc/ \
> +               ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/
>  checksums      md5 243e1680bb3e703616f5adecfee24491
>  patchfiles     patch-Makefile.in
>  depends_run            bin:wish:tk

Applied the diff in r28181. Thanks for noticing, Richard!

I'm Cc'ing the port maintainer for further investigation.




--
.!# RichardBronosky #!.