m.seaman at infracaninophile.co.uk
Thu Apr 1 01:53:23 PST 2004
On Wed, Mar 31, 2004 at 03:38:33PM -0800, Kris Kennaway wrote:
> On Wed, Mar 31, 2004 at 10:19:20PM +0100, Matthew Seaman wrote:
> > What is the recommended method for pulling down a distfile from a URL
> > which doesn't actually mention the filename?
> fetch -o?
I was hoping you weren't going to say that... I think I'd have to
write myself a customised do-fetch: target to make that work.
Anyhow -- thought of an idea overnight. It's a terrible hack, but I
can add a dummy argument to the end of the URL which contains the
% fetch 'http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=Gentium_101_LT&_sc=1&dummy=/fonts-ttf-gentium-1.0.1.tar.bz2'
fonts-ttf-gentium-1.0.1.tar.bz2 100% of 1747 kB 56 kBps 00m00s
Seems to work...
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040401/7792aa2b/attachment.bin
More information about the freebsd-ports