From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6750 invoked by uid 1002); 7 May 2003 09:08:13 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 31141 invoked from network); 7 May 2003 09:08:13 -0000 From: Paul de Vrieze To: gentoo-dev@gentoo.org Date: Wed, 7 May 2003 11:08:12 +0200 User-Agent: KMail/1.5.1 References: <20030506145046.GA2606@Daikan.pandora.be> <200305062236.24927.pauldv@gentoo.org> <20030507061156.GC1485@Daikan.pandora.be> In-Reply-To: <20030507061156.GC1485@Daikan.pandora.be> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_8zMu+WskRxli3xL"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200305071108.12227.pauldv@gentoo.org> Subject: Re: [gentoo-dev] tarball doesn't have version -> portage problem X-Archives-Salt: 0d68c32e-48d3-4fcd-9214-daae46049528 X-Archives-Hash: 374c51822540f9749a44af51c457df23 --Boundary-02=_8zMu+WskRxli3xL Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Wednesday 07 May 2003 08:11, Sven Vermeulen wrote: > On Tue, May 06, 2003 at 10:36:23PM +0200, Paul de Vrieze wrote: > > I personally think that we need to look into providing more finegrained > > distfiles. The best proposal I heard up til now is name rewriting. An > > ebuild specifies how a distfile is to be called. Portage then needs to = be > > smart enough to use the renamed file from the mirrors, but the normal o= ne > > from the main repository. > > Shouldn't this be easy with digests? It checks the checksum of it's local > file. If it isn't the same as the one in the digest file, it assumes it is > an old distfile and dowloads a more recent one. If even that one fails, t= he > ebuild fails with the normal "digest failed" error. The problem would be to support multiple version of the same ebuild. And wh= at=20 to think of different packages wanting different, but similarly named, sour= ce=20 files. I think a file renaming scheme might be the best way to handle the=20 problems. Paul =2D-=20 Paul de Vrieze Researcher Mail: pauldv@cs.kun.nl Homepage: http://www.cs.kun.nl/~pauldv --Boundary-02=_8zMu+WskRxli3xL Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+uMz8bKx5DBjWFdsRAt7sAKDdTYLlM2e6lecfTEuUXl+X7YELvQCggCWR 2rqu7zgO4/7INr/dB5VO254= =Ywoh -----END PGP SIGNATURE----- --Boundary-02=_8zMu+WskRxli3xL--