From owner-freebsd-ports@FreeBSD.ORG Wed Jun 15 06:26:51 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26A7A16A41C for ; Wed, 15 Jun 2005 06:26:51 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (joel.tallye.com [216.99.199.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB19143D4C for ; Wed, 15 Jun 2005 06:26:50 +0000 (GMT) (envelope-from lorenl@alzatex.com) Received: from hosea.tallye.com (hosea.tallye.com [127.0.0.1]) by hosea.tallye.com (8.12.8/8.12.10) with ESMTP id j5F6Qd6j029099 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jun 2005 23:26:39 -0700 Received: (from sttng359@localhost) by hosea.tallye.com (8.12.8/8.12.8/Submit) id j5F6QdAn029097; Tue, 14 Jun 2005 23:26:39 -0700 Date: Tue, 14 Jun 2005 23:26:37 -0700 From: "Loren M. Lang" To: "Loren M. Lang" Message-ID: <20050615062637.GA28464@alzatex.com> References: <20050615052417.GA27969@alzatex.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <20050615052417.GA27969@alzatex.com> User-Agent: Mutt/1.4.1i X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD 835A FAF3 7A46 E4A3 280C X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on hosea.tallye.com X-Virus-Status: Clean Cc: freebsd-ports@freebsd.org Subject: Re: Download URL for blobwars. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2005 06:26:51 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 14, 2005 at 10:24:17PM -0700, Loren M. Lang wrote: > I am almost finished in making a port for the game blobwars, but I am > having trouble in getting fetch to work. The download url provided on > the site is: >=20 > http://www.parallelrealities.co.uk/download.php?file=3Dblobwars-1.04-1.ta= r.gz&type=3Dzip >=20 > so I decided to try setting MASTER_SITES to >=20 > http://www.parallelrealities.co.uk/download.php?type=3Dzip&file=3D and set >=20 > PORTNAME and DISTVERSION as appropriate. This caused fetch to grab the > file successfully, but it saved it as >=20 > download.php?type=3Dzip&file=3Dblobwars-1.04-1.tar.gz >=20 > instead of blobwars-1.04-1.tar.gz so extract then fails. Though when I > click on the link in konqueror, it brings up a save as dialog with the > correct filename. What do I need to do to get fetch to save it as > appropriate? I think what's happening here is that libfetch doesn't understand the Content-disposition header that the site is sending out and so is saving the file with the wrong name. The fix would be to add support for the content-disposition header to libfetch or use a suitable replacement that understands the header. The only other alternative I can see it to host the file somewhere else or hack the ports makefile to force the filename on it. >=20 > --=20 > I sense much NT in you. > NT leads to Bluescreen. > Bluescreen leads to downtime. > Downtime leads to suffering. > NT is the path to the darkside. > Powerful Unix is. >=20 > Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc > Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 > =20 --=20 I sense much NT in you. NT leads to Bluescreen. Bluescreen leads to downtime. Downtime leads to suffering. NT is the path to the darkside. Powerful Unix is. Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 =20 --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFCr8odbTXoRwEYo9IRAqv+AJ9c6u56tGjWioqbQtpdlsEBLx7duACdF/zw UsktOFZqjFR4uMBHKmjG4Tk= =0KwU -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--