From owner-freebsd-ports@FreeBSD.ORG Sun Aug 20 09:19:04 2006 Return-Path: X-Original-To: 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 5342216A4DE; Sun, 20 Aug 2006 09:19:04 +0000 (UTC) (envelope-from novel@smtp.hispeed.ch) Received: from smtp.hispeed.ch (mxout.hispeed.ch [62.2.95.247]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FCBB43D46; Sun, 20 Aug 2006 09:19:03 +0000 (GMT) (envelope-from novel@smtp.hispeed.ch) Received: from underworld.novel.ru (dialup-88-147-134-153.san.ru [88.147.134.153]) (authenticated bits=0) by smtp.hispeed.ch (8.12.11.20060308/8.12.6/taifun-1.0) with ESMTP id k7K9Ix0n001029; Sun, 20 Aug 2006 11:19:00 +0200 Date: Sat, 19 Aug 2006 13:17:38 +0000 From: Roman Bogorodskiy To: Andrew Pantyukhin Message-ID: <20060819131738.GA1001@underworld.novel.ru> Mail-Followup-To: Andrew Pantyukhin , FreeBSD Ports References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: X-PGP: http://people.freebsd.org/~novel/novel.key.asc X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on smtp-01.tornado.cablecom.ch X-Virus-Status: Clean X-DCC-spamcheck-02.tornado.cablecom.ch-Metrics: smtp-01.tornado.cablecom.ch 1378; Body=2 Fuz1=2 Fuz2=2 Cc: FreeBSD Ports Subject: Re: Enforcing "DIST_SUBDIR/DISTFILE" uniqueness 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: Sun, 20 Aug 2006 09:19:04 -0000 --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Andrew Pantyukhin wrote: > I'd like to propose a policy to enforce a change in > DIST_SUBDIR whenever a distfile is rerolled in-place, i.e. > when checksum changes, but name stays unchanged. >=20 > Moreover, effort should be made whenever possible to > make the old file available for download from an > alternative location. > > This policy will rid us of some fetch-related headaches. > It also will make it possible to share distfiles between > hosts with ports trees of different dates. Some rare issues > might also be resolved as a result of this. For one, ftp > mirrors could be configured to allow upload, but deny > modification and/or deletion. >=20 > One thing I would personally frown upon is using > something like "fetch -o othername" to save a file with a > different name. It looks all right, but it prevents us from > looking for mirrors in an automated way when master > sites go down. I have some questions. What are you going to do with port already using DIST_SUBDIR (like e.g. gnome related ports)? Would not it pollute distdir with lots of outdated dirs/files? How are you going to deal with cases when re-rolled tarball brings some security risk? Would not it break scripts/apps cleaning DISTDIR? In my eyes, you're using BFG to shot bees. Roman Bogorodskiy --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iQCVAwUBROcPcoB0WzgdqspGAQLM4QP+Jk90WLzukzFoA+2Ax8LE9BPDF3b224Gf KGqMLVijVtNZx4chNWzd8MZ6+KJGDAs2TQBoE+Hh0z4d4PJSnZPZOyLEVmXVpJPj EdkMXxQTw5ar+3m/Vi21xuICVX50O2irgLvQVkNAucJn2dod120XmkR5biYVXRSL j3g4wFXGtRw= =aLFH -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--