From owner-freebsd-ports@FreeBSD.ORG Wed Jan 9 12:27:13 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 413FF1FE for ; Wed, 9 Jan 2013 12:27:13 +0000 (UTC) (envelope-from matthew@freebsd.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C09739ED for ; Wed, 9 Jan 2013 12:27:12 +0000 (UTC) Received: from rufus.webfusion.com (mail.heartinternet.co.uk [79.170.40.31]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.6/8.14.5) with ESMTP id r09CQmZO067687 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 9 Jan 2013 12:27:04 GMT (envelope-from matthew@freebsd.org) DKIM-Filter: OpenDKIM Filter v2.7.3 smtp.infracaninophile.co.uk r09CQmZO067687 Authentication-Results: smtp.infracaninophile.co.uk/r09CQmZO067687; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host mail.heartinternet.co.uk [79.170.40.31] claimed to be rufus.webfusion.com Message-ID: <50ED6206.8040907@freebsd.org> Date: Wed, 09 Jan 2013 12:26:46 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: portupgrade/portversion and detecting lower versions References: <20130109130701.Horde.04qRvYW-EppBXlzb5GrM8A5@avocado.salatschuessel.net> In-Reply-To: <20130109130701.Horde.04qRvYW-EppBXlzb5GrM8A5@avocado.salatschuessel.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2013 12:27:13 -0000 On 09/01/2013 12:07, Oliver Lehmann wrote: > Hi, > > I regulary use portversion to check if I have outdated ports installed. > Since some time I'm now getting false matches: > >> portversion -v | grep '<' > horde-imp-6.0.2 < needs updating (port has 4.3.11_1,1) (=> > 'mail/horde3-imp') > horde-ingo-3.0.1 < needs updating (port has 1.2.6_1,1) (=> > 'mail/horde3-ingo') > horde-kronolith-4.0.2 < needs updating (port has 2.3.6_1,1) (=> > 'deskutils/horde3-kronolith') >> > > Why are they reported and how can I avoid this? Two possibilities: i) You've switched to pkgng but portversion still thinks you're using pkg_tools for whatever reason. How does the portversion output compare with: pkg version -vIL= pkg version -vPL= (the first uses /usr/ports/INDEX-?, the second looks at port directories un ${PORTSDIR}, which takes a bit longer but is more accurate.) ii) You're still using the old-stlye pkg_tools, but you've got an out-of-date INDEX file? How does the portversion output compare with: pkg_version -vIL= pkg_version -vL= Cheers, Matthew