From owner-freebsd-ports@FreeBSD.ORG Sat Feb 6 22:44:52 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D7421065679 for ; Sat, 6 Feb 2010 22:44:52 +0000 (UTC) (envelope-from edwin@mavetju.org) Received: from k7.mavetju.org (ppp113-58.static.internode.on.net [150.101.113.58]) by mx1.freebsd.org (Postfix) with ESMTP id 4F46B8FC16 for ; Sat, 6 Feb 2010 22:44:51 +0000 (UTC) Received: by k7.mavetju.org (Postfix, from userid 1001) id 7486445188; Sun, 7 Feb 2010 09:27:58 +1100 (EST) Date: Sun, 7 Feb 2010 09:27:58 +1100 From: Edwin Groothuis To: Eitan Adler Message-ID: <20100206222758.GA8745@mavetju.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org Subject: Re: better way to handle required rebuild on library bump 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: Sat, 06 Feb 2010 22:44:52 -0000 On Sat, Feb 06, 2010 at 11:48:33PM +0200, Eitan Adler wrote: > The recent change to jpeg required a lot of changes to a lot of ports all > just to bump a version number. That is true, there is a script for in /usr/ports/Tools/scripts/ called bump_version.pl which can do most of the magic. > It is easy to miss things this way and requires a lot of work and > downloading. Oh, you are talking about the user side of things. Please have a look at portmaster or portupgrade, they can do this magic for you. > I propose that some kind of MAJORVERSION be stored in /var/db/ports. Then > when a library's MAJORVERSION is changed it will prompt a rebuild on any > port that relies on it will also get rebuilt. I like the idea, but it handles the problem from the wrong side: The person who bumps the port revisions would need to have all ports installed to make this judgement. > Computer are *designed* handle these types of things See first two comments. Edwin -- Edwin Groothuis Website: http://www.mavetju.org/ edwin@mavetju.org Weblog: http://www.mavetju.org/weblog/