From owner-freebsd-questions@FreeBSD.ORG Sun Apr 21 16:52:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 700E5381; Sun, 21 Apr 2013 16:52:21 +0000 (UTC) (envelope-from matthias@d2ux.net) Received: from mail.s1.d2ux.org (static.209.96.9.5.clients.your-server.de [5.9.96.209]) by mx1.freebsd.org (Postfix) with ESMTP id 32FDA18A1; Sun, 21 Apr 2013 16:52:20 +0000 (UTC) Received: from mail.s1.d2ux.org (mail [10.0.0.3]) by mail.s1.d2ux.org (Postfix) with ESMTP id 453FC84F257D; Sun, 21 Apr 2013 18:52:19 +0200 (CEST) Received: from mail.s1.d2ux.org ([10.0.0.3]) by mail.s1.d2ux.org (mail.s1.d2ux.org [10.0.0.3]) (amavisd-new, port 10024) with ESMTP id LQyrhSwBP-Tu; Sun, 21 Apr 2013 18:52:17 +0200 (CEST) Received: from compaq.local (p5DDA9E95.dip0.t-ipconnect.de [93.218.158.149]) by mail.s1.d2ux.org (Postfix) with ESMTPSA id 95B2C84F2564; Sun, 21 Apr 2013 18:52:17 +0200 (CEST) Message-ID: <51741971.6010109@d2ux.net> Date: Sun, 21 Apr 2013 18:53:05 +0200 From: Matthias Petermann User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.12) Gecko/20130330 Thunderbird/10.0.12 MIME-Version: 1.0 To: Matthew Seaman Subject: Re: Managing conflicts between ports (same package with multiple maintained versions) References: <5173B04E.3020406@d2ux.net> <51740C57.7010305@FreeBSD.org> In-Reply-To: <51740C57.7010305@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Apr 2013 16:52:21 -0000 Thanks Matthew, your recommendation works for me. As I expect from time to time also an older version getting EOL'd, the amount of versions to look ahead can be estimated quite well. Kind regards, Matthias On 04/21/13 17:57, Matthew Seaman wrote: > On 21/04/2013 10:24, Matthias Petermann wrote: >> root@compaq:/usr/ports/finance/trytond # portlint -AC >> [...] >> FATAL: Package conflicts with itself. You should remove "trytond-*" from >> CONFLICTS. >> 1 fatal error and 4 warnings found. >> root@compaq:/usr/ports/finance/trytond # >> >> So it looks like I need to explicitly specify the conflicting versions, >> e.g. in Tryton 2.4 Makefile put: >> >> CONFLICTS= trytond-2.6.* >> >> But this will force me to update the 2.4 Ports everytime a new series of >> Tryton gets introduced. > The usual idiom would be to use a more complex globbing expression, > perhaps like so: > > CONFLICTS= trytond-2.[012356789].* > > However clearly this won't account for all possible future versions. > The thing you have to ask yourself is 'will the upstream be releasing > new version series so frequently that I need to add code to all the > tryton ports to account for it?' It may well be the case that updating > the CONFLICTS setting in all the ports for the different streams > whenerver a new stream is released really is the most effective solution. > > Cheers, > > Matthew >