From owner-freebsd-ports@FreeBSD.ORG Sun Feb 7 07:32:25 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 C31EA106566C for ; Sun, 7 Feb 2010 07:32:25 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mx1.freebsd.org (Postfix) with ESMTP id 56DBC8FC15 for ; Sun, 7 Feb 2010 07:32:24 +0000 (UTC) Received: by fxm24 with SMTP id 24so1466485fxm.3 for ; Sat, 06 Feb 2010 23:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=0Ldxb1Rw9Wr8Ok31vFhMyQJzMkTtBgAtXtFe8PCzK2U=; b=qjpyvKVimzYV8qvQrFGK+T5/n/m4FbP9H7nZ7uZlsB5dgXJKVG25Br35zIK8oZAR4I yUIR9ZJ8RoZebHjt8y8NKqcx3eTjYbaI38QN6sFUBTcwBwW40kiyJbLm0oPELyItcUTU qMD79aaTbo+f2wt9j3q0AsrvXRJ+nOUjtZePI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=VNjNGPpNYmHJto+Ja6My6e0PvxEpuwRI1PGGTssHxkFOPk3riTmdhj9FwdeITArpGr BixNLTID3zc2mtxCMwV3+qFeOBS984wgIXncaBJxlMwwZSnxCw/XhireIUEDivnGYl9s 6Z9hS/ZK6nHbpHvjqgH27rzetphe6S8ms2oWM= MIME-Version: 1.0 Received: by 10.239.158.66 with SMTP id t2mr520151hbc.184.1265527944152; Sat, 06 Feb 2010 23:32:24 -0800 (PST) In-Reply-To: <20100206222758.GA8745@mavetju.org> References: <20100206222758.GA8745@mavetju.org> From: Eitan Adler Date: Sun, 7 Feb 2010 09:32:04 +0200 Message-ID: To: Edwin Groothuis Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Sun, 07 Feb 2010 07:32:25 -0000 On Sun, Feb 7, 2010 at 12:27 AM, Edwin Groothuis wrote: > 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. > I didn't know that - this solves /most/ of the issue. > > > 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. > > No, I am talking about the committer's side of things. It is easy to miss a port that depends on the library your changing. > > > 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. > Why? This would be done at the same time that bumping revisions would have been done,