Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jan 2005 09:43:00 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Joe Marcus Clarke <marcus@FreeBSD.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HEADS UP: pkg-plist strict enforcement starting
Message-ID:  <20050114224300.GW1033@k7.mavetju>
In-Reply-To: <41E843B7.3060403@FreeBSD.org>
References:  <20050113062739.GA28658@xor.obsecurity.org> <Pine.LNX.4.44.0501131148520.25402-100000@pancho> <20050113180504.GA26064@xor.obsecurity.org> <20050114130404.250d6e26@apircalabu.dsd.ro> <20050114112918.GF69532@voodoo.oberon.net> <20050114211206.GF1175@k7.mavetju> <20050114215559.GA71927@xor.obsecurity.org> <20050114220344.GH1175@k7.mavetju> <41E843B7.3060403@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 14, 2005 at 05:12:07PM -0500, Joe Marcus Clarke wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Edwin Groothuis wrote:
> | On Fri, Jan 14, 2005 at 01:55:59PM -0800, Kris Kennaway wrote:
> |
> |>This keeps getting suggested under various names, but you need to
> |>solve the compatibility problem.
> |
> |
> | Isn't that resolved by modifying ports/sysutils/pkg_install and
> | noting it in ports/UPDATING?
> 
> Resolved is probably not the correct word as this will trigger a flurry
> of emails from -RELEASE users.  A solution might be to modify
> bsd.port.mk to detect OSVERSIONs that don't have the fix, then add a
> dependency on sysutils/pkg_install.  The problem then comes to package
> users who may not have a /usr/ports at all.  If they don't know to use
> the pkg_install tools in LOCALBASE, they'll get package installation
> problems.  I'm not sure what the best solution for them is.

This OSVERSION solution looks the way to go.

For the packages, pkg_delete already gives an warning when it sees
an unknown @command:

    warnx("%s: unknown command '%s' (package tools out of date?)",

But it doesn't say what to do (this is version a.b.c, check
ftp://ftp.freebsd.org/packages/blaat for newer versions)

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/



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