From owner-freebsd-stable Mon Mar 19 12:49:16 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by hub.freebsd.org (Postfix) with ESMTP id 82B2137B72B for ; Mon, 19 Mar 2001 12:48:57 -0800 (PST) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id MAA05460; Mon, 19 Mar 2001 12:46:49 -0800 (PST) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.2/8.11.1) id f2JKlre07021; Mon, 19 Mar 2001 12:47:53 -0800 (PST) (envelope-from bmah) Message-Id: <200103192047.f2JKlre07021@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: Martti Kuparinen , Cy Schubert - ITSD Open Systems Group , freebsd-stable@FreeBSD.ORG Subject: Re: Different output from pkg_version In-Reply-To: References: Comments: In-reply-to Dag-Erling Smorgrav message dated "05 Mar 2001 21:08:42 +0100." From: "Bruce A. Mah" Reply-To: bmah@FreeBSD.ORG X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-74237873P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 19 Mar 2001 12:47:53 -0800 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_-74237873P Content-Type: text/plain; charset=us-ascii If memory serves me right, Dag-Erling Smorgrav wrote: > Martti Kuparinen writes: > > [...] > > The only solution for my problem might be to reinstall the port so that > > this ORIGIN-entry would be created. I haven't checked the source code > > so I'm not 100% sure but this seems right so far... > > Your analysis is correct. Note that bash won't work any differently if > you reinstall it, the only difference will be that pkg_version will be > better able to tell what version you have. (Sorry for the late reply, I'm working through a two-week email backlog.) DES is correct; the newer pkg_version (which uses the ORIGIN directive) is better able to make a determination about what's current. "up-to-date with index" in more recent versions of pkg_version is the equivalent of "up-to-date" in older versions (the ones that only checked the INDEX file). Martti, you didn't say why this was a problem for you...or was this just simple curiosity? Bruce. --==_Exmh_-74237873P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6tnB42MoxcVugUsMRAiUFAJ43GZQlbMNdENYi7LjFyXiB3302XACePp1x 5lN27DzcJd019RPI3N4FZxc= =ukeM -----END PGP SIGNATURE----- --==_Exmh_-74237873P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message