From owner-freebsd-ports@FreeBSD.ORG Fri Jan 14 22:43:04 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E680716A4CE; Fri, 14 Jan 2005 22:43:04 +0000 (GMT) Received: from mail2out.barnet.com.au (mail2out.barnet.com.au [202.83.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 04B9F43D54; Fri, 14 Jan 2005 22:43:04 +0000 (GMT) (envelope-from edwin@mavetju.org) Received: by mail2out.barnet.com.au (Postfix, from userid 27) id 50328707446; Sat, 15 Jan 2005 09:43:02 +1100 (EST) X-Viruscan-Id: <41E84AF60000B843701A7F@BarNet> Received: from mail2-auth.barnet.com.au (mail2.barnet.com.au [202.83.176.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by mail2.barnet.com.au (Postfix) with ESMTP id 084A1707445; Sat, 15 Jan 2005 09:43:02 +1100 (EST) Received: from k7.mavetju (edwin-3.int.barnet.com.au [10.10.12.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Certificate Authority" (verified OK)) by mail2-auth.barnet.com.au (Postfix) with ESMTP id 67B0D707444; Sat, 15 Jan 2005 09:43:01 +1100 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id 52B116109; Sat, 15 Jan 2005 09:43:00 +1100 (EST) Date: Sat, 15 Jan 2005 09:43:00 +1100 From: Edwin Groothuis To: Joe Marcus Clarke Message-ID: <20050114224300.GW1033@k7.mavetju> References: <20050113062739.GA28658@xor.obsecurity.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E843B7.3060403@FreeBSD.org> User-Agent: Mutt/1.5.6i cc: freebsd-ports@FreeBSD.org cc: Kris Kennaway Subject: Re: HEADS UP: pkg-plist strict enforcement starting X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 22:43:05 -0000 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/