From owner-freebsd-ports@FreeBSD.ORG Tue Jul 26 21:20:16 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22818106564A for ; Tue, 26 Jul 2011 21:20:15 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.49.45]) by mx1.freebsd.org (Postfix) with ESMTP id B4C1F8FC14 for ; Tue, 26 Jul 2011 21:20:15 +0000 (UTC) Received: by syn.atarininja.org (Postfix, from userid 1001) id AC77F5C44; Tue, 26 Jul 2011 17:03:24 -0400 (EDT) Date: Tue, 26 Jul 2011 17:03:24 -0400 From: Wesley Shields To: Chris Rees Message-ID: <20110726210324.GA18262@atarininja.org> References: <20110726204737.534ab5f5@raksha.tavi.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Bob Eager , freebsd-ports@freebsd.org Subject: Re: Which to bump for distfile location change? 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: Tue, 26 Jul 2011 21:20:16 -0000 On Tue, Jul 26, 2011 at 09:08:13PM +0100, Chris Rees wrote: > On 26 Jul 2011 20:47, "Bob Eager" wrote: > > > > Following a recent post to this list, I need to update a port, just to > > change a distfile location. > > > > It seems excessive to bump PORTREVISION, so what is the best thing to > > change (if any). > > > > No default package change, no portrevision bump. Leave it as is. Chris is right but I don't want to give people the impression that is the only time to bump PORTREVISION. While the "default package change" rule of thumb is always a good one there is more to it than just that when deciding to bump PORTREVISION or not. Here's the rough questions I go through in my head when I'm facing this kind of decision: If the default package changes, bump it. Only caveat here is if it's a minor change (say a typo in a man page or something). If it's chasing a shlib bump of another port and this port defaults to off, bump it anyways as some people may be bit by this. If it's a change to an option that defaults to off, and one can expect a reasonable number of people to benefit from it, bump it. I'm sure there are others and I'm sure some people will disagree with some of these. But those are the rough guidelines I follow. -- WXS