fetch aliases?

nox n.oxyde at gmail.com
Thu May 7 16:21:39 PDT 2009


Bad idea. Every fetched file need to have its checksums verified.
If you have the checksums, you inevitably also have the filenames and  
thus do not have to use a glob pattern.
If you don't have fhe filenames, then you don't have the checksums.

Regards.

Le 8 mai 09 à 01:07, Darren Weber a écrit :

>
> For a variant in the InsightToolkit, it would be useful to get all  
> the data files from here:
> http://public.kitware.com/pub/itk/Data/BrainWeb/
>
> ie: <snip/>
>
> Is it possible to specify a fetch filename alias to get all the  
> files like "BrainPart*.tgz"?
>
> Would you override the fetch phase in a variant, maybe something like:
>
> variant braindata {
>    fetch {
>       exec wget -r -l1 --no-parent -A.tgz http://public.kitware.com/pub/itk/Data/BrainWeb/
>       # some code to put these downloads in the right place, like $ 
> {distfiles}
>    }
> }
>
>
> Thanks in advance,
> Darren
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev



More information about the macports-dev mailing list