Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 10:16:41 +0200
From:      Neil Blakey-Milner <nbm@mithrandr.moria.org>
To:        "Bruce A. Mah" <bmah@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg_version output change?
Message-ID:  <20000912101641.A97923@mithrandr.moria.org>
In-Reply-To: <200009120249.e8C2nH202383@bmah-freebsd-0.cisco.com>; from bmah@freebsd.org on Mon, Sep 11, 2000 at 07:49:17PM -0700
References:  <200009120249.e8C2nH202383@bmah-freebsd-0.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 2000-09-11 (19:49), Bruce A. Mah wrote:
> Mark Ovens proposed a small patch to pkg_version(1), which disambiguates
> the "I can't do a version number comparison" result for ports version
> number comparisons into three cases, which be roughly characterized as:
> 
> 	?	What port?!?  It's not in the index.
> 	*	There's a bunch of versions of this thing.  Help!
> 	!	Aaack.  I have no idea what's going on.
> 
> I think this is generally a good thing, his patch applies cleanly to 
> -CURRENT, and generally things are cool.

I like it.

> What I'm wondering is if there's any programs that depend, in some way,
> on the old behavior, which was to print a "?" result for any comparison
> whose output wasn't "<", "=", or ">".  I already know about src/etc/
> periodic/weekly/400.status-pkg, but it only cares about packages that
> need updating, for which pkg_version returns "<".

The only scripts I ever had did:

pkg_version -v | grep -v up-to-date

Neil
-- 
Neil Blakey-Milner
Sunesi Clinical Systems
nbm@mithrandr.moria.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000912101641.A97923>