From owner-cvs-all Sun Sep 1 12: 7:12 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0874237B400; Sun, 1 Sep 2002 12:07:06 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-146.dsl.lsan03.pacbell.net [64.165.226.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 556C743E6A; Sun, 1 Sep 2002 12:07:05 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E739D66B41; Sun, 1 Sep 2002 12:07:04 -0700 (PDT) Date: Sun, 1 Sep 2002 12:07:04 -0700 From: Kris Kennaway To: Maxim Sobolev Cc: Kris Kennaway , cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/pkg_install/lib plist.c Message-ID: <20020901190704.GA21494@xor.obsecurity.org> References: <200208312021.g7VKLlhh009121@freefall.freebsd.org> <20020901061408.GA12651@vega.vega.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="a8Wt8u1KmwUX3Y2C" Content-Disposition: inline In-Reply-To: <20020901061408.GA12651@vega.vega.com> User-Agent: Mutt/1.4i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 01, 2002 at 09:14:08AM +0300, Maxim Sobolev wrote: > On Sat, Aug 31, 2002 at 01:21:47PM -0700, Kris Kennaway wrote: > > kris 2002/08/31 13:21:47 PDT > >=20 > > Modified files: > > usr.sbin/pkg_install/lib plist.c=20 > > Log: > > Don't treat unknown commands as fatal errors: they are probably just > > the signature of out-of-date pkg_tools and newer packages. >=20 > I don't really think that we need something like that. Older > versions of pkg_tools should be protected from the new packages > with unknown commands by the `packing list format version' > (see pkg_install/lib/version.c).=20 The problem I'm trying to guard against is people with old pkg_tools downloading new packages from the FTP site and being unable to use them because of a new command introduced in the package. Chances are the pkg_tools can safely ignore this command and proceed with what it knows about. In other words, extensions to the command set should not be fatal; revisions to the command set which break backwards compatibility should be fatal (and this is achieved by bumping the version) Kris --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9cmVXWry0BWjoQKURAiEMAKCvO3fDjbMvigB8nmTQaShqlreTzgCePnUk sVm/sE2eUh1ZhBlbWzrWgUs= =pJFd -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message