From owner-freebsd-ports Tue Sep 12 1:16:46 2000 Delivered-To: freebsd-ports@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id E0C4E37B422; Tue, 12 Sep 2000 01:16:42 -0700 (PDT) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 13YlFB-000PTm-00; Tue, 12 Sep 2000 10:16:41 +0200 Date: Tue, 12 Sep 2000 10:16:41 +0200 From: Neil Blakey-Milner To: "Bruce A. Mah" Cc: freebsd-ports@freebsd.org Subject: Re: pkg_version output change? Message-ID: <20000912101641.A97923@mithrandr.moria.org> References: <200009120249.e8C2nH202383@bmah-freebsd-0.cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200009120249.e8C2nH202383@bmah-freebsd-0.cisco.com>; from bmah@freebsd.org on Mon, Sep 11, 2000 at 07:49:17PM -0700 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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