From: Marius Mauch <genone@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] download problem in ebuild
Date: Tue, 23 Aug 2005 04:41:49 +0200 [thread overview]
Message-ID: <20050823044149.49a2bf61@andy.genone.homeip.net> (raw)
In-Reply-To: <20050823142559.B332.NICK@rout.co.nz>
On 08/23/05 Nick Rout wrote:
> I am not sure how to deal with this problem.
>
> Lost Labyrinth is a game I am trying to write an ebuild for. I am
> stuck on downloading, which isn't very encouraging.
>
> The URL to download the gane is:
>
> http://laby.toybox.de/download15/
>
> which redirects to the latest version of the file (currently
> laby_1.0.1.tar.gz)
>
> Unfortunately the redirect results in wget naming the file:
>
> download2.php?fileid=15
>
> which is where the pain starts!
>
> wget does work ok if you use the -O optin like:
>
> wget http://laby.toybox.de/download15/ -O laby_1.0.1.tar.gz
>
> So, i am looking for a way to ensure that wget, when operated through
> portage, will append the -O, or I am wondering if there is a way to
> over-ride the default fetching behaviour in the ebuild itself,
> something like:
>
> DOWNLOAD_CMD="wget http://laby.toybox.de/download15/ -O
> laby_$(P).tar.gz"
Nope. You have three options:
a) bug upstream to fix that crap
b) use RESTRICT="fetch"
c) assuming the license permits it, repackage it
Marius
--
Public Key at http://www.genone.de/info/gpg-key.pub
In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-23 2:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-23 2:33 [gentoo-dev] download problem in ebuild Nick Rout
2005-08-23 2:38 ` Georgi Georgiev
2005-08-23 5:02 ` Nick Rout
2005-08-23 2:39 ` Mike Frysinger
2005-08-23 2:41 ` Marius Mauch [this message]
2005-08-24 0:11 ` Nick Rout
2005-08-24 0:15 ` Brian Harring
2005-08-24 0:16 ` Mike Frysinger
2005-08-24 0:23 ` Chris Gianelloni
2005-08-24 0:34 ` Nick Rout
2005-08-24 0:38 ` Brian Harring
2005-08-24 11:49 ` Nick Rout
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050823044149.49a2bf61@andy.genone.homeip.net \
--to=genone@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox