From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E7Oe3-0002ZN-UR for garchives@archives.gentoo.org; Tue, 23 Aug 2005 02:36:12 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7N2Yjjx005101; Tue, 23 Aug 2005 02:34:45 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7N2X6ob007451 for ; Tue, 23 Aug 2005 02:33:07 GMT Received: from 203-79-82-53.adsl-wns.paradise.net.nz ([203.79.82.53] helo=www.rout.co.nz) by smtp.gentoo.org with esmtp (Exim 4.43) id 1E7Obp-0007I5-Sb for gentoo-dev@lists.gentoo.org; Tue, 23 Aug 2005 02:33:54 +0000 Received: from [192.168.1.2] (nick.rout.co.nz [192.168.1.2]) by www.rout.co.nz (Postfix) with ESMTP id 68BEFE2EDB for ; Tue, 23 Aug 2005 14:32:35 +1200 (NZST) Date: Tue, 23 Aug 2005 14:33:52 +1200 From: Nick Rout To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] download problem in ebuild Message-Id: <20050823142559.B332.NICK@rout.co.nz> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.21.04 [en] X-Archives-Salt: db28886b-7531-4f28-9949-97624dd69a90 X-Archives-Hash: d2fb5ebf6a654c754dacda36ddd976fd 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" -- Nick Rout -- gentoo-dev@gentoo.org mailing list