Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 19:06:17 -0500
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        Kris Kennaway <kris@obsecurity.org>
Subject:   Re: HEADS UP: pkg-plist strict enforcement starting
Message-ID:  <1105747577.87193.2.camel@shumai.marcuscom.com>
In-Reply-To: <20050114224300.GW1033@k7.mavetju>
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> <20050114224300.GW1033@k7.mavetju>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-GUg39wgPuGYb/UStuyBM
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2005-01-15 at 09:43 +1100, Edwin Groothuis wrote:
> On Fri, Jan 14, 2005 at 05:12:07PM -0500, Joe Marcus Clarke wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >=20
> > 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?
> >=20
> > 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.
>=20
> This OSVERSION solution looks the way to go.
>=20
> For the packages, pkg_delete already gives an warning when it sees
> an unknown @command:
>=20
>     warnx("%s: unknown command '%s' (package tools out of date?)",
>=20
> But it doesn't say what to do (this is version a.b.c, check
> ftp://ftp.freebsd.org/packages/blaat for newer versions)

That warning should probably be changed to instruct the user to install
pkg_install, then use /usr/local/sbin/pkg_* for all your packaging
needs.  While it won't help current -RELEASE users, it's something that
would help in such situations moving forward.

Joe

>=20
> Edwin
>=20
--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-GUg39wgPuGYb/UStuyBM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB6F55b2iPiv4Uz4cRAhZlAJ9rBuB2VT8fNz1yLcLTs/AJVC4wmQCglx9X
kS048rdNvbAF9w8XyIE+yDI=
=ewWc
-----END PGP SIGNATURE-----

--=-GUg39wgPuGYb/UStuyBM--



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