Date: Sun, 19 Oct 2003 14:25:09 -0700 From: Kris Kennaway <kris@obsecurity.org> To: Kris Kennaway <kris@obsecurity.org>, tech-pkg@netbsd.org, ports@openbsd.org, freebsd-ports@freebsd.org Subject: Re: Unification of distfiles Message-ID: <20031019212509.GB50046@rot13.obsecurity.org> In-Reply-To: <20031019210849.GA28936@tetto.gentiane.org> References: <20031019155324.GA28256@tetto.gentiane.org> <20031019203034.GA49257@rot13.obsecurity.org> <20031019210849.GA28936@tetto.gentiane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--+pHx0qQiF2pBVqBT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 19, 2003 at 11:08:49PM +0200, Marc Espie wrote: > On Sun, Oct 19, 2003 at 01:30:34PM -0700, Kris Kennaway wrote: > > In FreeBSD land we have a main package build cluster that continually > > builds packages for all supported architectures and versions. As a > > side-effect of the package builds we collect, verify and periodically > > update the distfiles on the master FreeBSD FTP site, and they are > > mirrored from there by the hierarchy of FTP mirror sites in the usual > > way. From the point of view of the mirror operator this all happens > > automatically and they don't have to do anything special to deal with > > distfiles. >=20 > Assume the author of ImageMagick updates his tarball, but doesn't change > the name, so that there are two ImageMagick-5.2.9.tar.gz with distinct=20 > sha1 checksums. >=20 > On OpenBSD mirrors, the old one stays available, under > sha1/<checksum>/ImageMagick-5.2.9.tar.gz >=20 > If I understand you correctly, your build/update cycle will overwrite > the old one. And users will have to update their ports tree to be able > to use the new tarball without a checksum error, since the old one is no > longer available. Yes, that's correct. It's not something we've been worried about in the past because it only affects relatively few ports. For ports where this happens routinely, the solution has been to set DIST_SUBDIR to $PKGNAME, which picks up a unique version number with each new checksum committed (via PORTREVISION increment). Completely reorganising the way distfiles are stored on the mirrors could cause a lot of pain to get right (dozens of mirror sites would need to coordinate or they'd end up downloading 20GB of data from scratch)..this is something we'd have to think about some more. Kris --+pHx0qQiF2pBVqBT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/kwE1Wry0BWjoQKURAq9qAJ4/oyP/TXHVvz6mjhEXpj+VDATiYACg3RNF F6IAQMkkilsjPkspv7EAm8s= =Igvq -----END PGP SIGNATURE----- --+pHx0qQiF2pBVqBT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031019212509.GB50046>