Batch verification of master_sites. (was:patch to add a valid
master_site to the catdoc macport)
Richard Bronosky
BrunosJunk at Bronosky.com
Fri Aug 24 08:25:12 PDT 2007
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 at 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 #!.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-users/attachments/20070824/a2ea67cd/attachment.html
More information about the macports-users
mailing list