From owner-freebsd-ports@FreeBSD.ORG Sun Aug 20 09:31:10 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 C43CF16A4DA for ; Sun, 20 Aug 2006 09:31:10 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id C216E43D7B for ; Sun, 20 Aug 2006 09:31:03 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so1912383pye for ; Sun, 20 Aug 2006 02:31:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fLqgOqz1vPiiWbbUzuwHItxv5VQnXta835dI7367+unwn9P+YY1Q/QAWYtuOBbufIVEJd6j+PEu22bRT9sJhJstfZ0OzlFhphpfEy6u3uCesaSNrN+UR/lkNcuJ7b8gm5jM62K5c6rc6p3hB/Duoe1c1rXgfw1LIc16qwwNh278= Received: by 10.35.109.2 with SMTP id l2mr10432064pym; Sun, 20 Aug 2006 02:30:57 -0700 (PDT) Received: by 10.35.105.10 with HTTP; Sun, 20 Aug 2006 02:30:57 -0700 (PDT) Message-ID: Date: Sun, 20 Aug 2006 13:30:57 +0400 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: "Roman Bogorodskiy" , "FreeBSD Ports" In-Reply-To: <20060819131738.GA1001@underworld.novel.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060819131738.GA1001@underworld.novel.ru> X-Google-Sender-Auth: 91e6c8e75dcdc53c Cc: 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:31:10 -0000 On 8/19/06, Roman Bogorodskiy wrote: > 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. > > > > 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. > > > > 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. > > What are you going to do with port already using DIST_SUBDIR (like e.g. > gnome related ports)? Leave it at maintainer's discretion. DIST_SUBDIR can be multilevel, so I imagine something like gnome/rerolled and what not. > Would not it pollute distdir with lots of outdated > dirs/files? No, why sould it? > How are you going to deal with cases when re-rolled tarball > brings some security risk? We've got many security risks in CVS. Should we delete them all? > Would not it break scripts/apps cleaning DISTDIR? Nope, it would actually fix portsclean. Please don't set bogus reply-to headers. Thanks!