From owner-freebsd-ports@FreeBSD.ORG Fri Nov 9 23:41:52 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BD22112 for ; Fri, 9 Nov 2012 23:41:52 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E1CCF8FC13; Fri, 9 Nov 2012 23:41:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qA9NfpWw090692; Fri, 9 Nov 2012 23:41:51 GMT (envelope-from bapt@freebsd.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA9NfpZO090691; Fri, 9 Nov 2012 23:41:51 GMT (envelope-from bapt@freebsd.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@freebsd.org using -f Date: Sat, 10 Nov 2012 00:41:48 +0100 From: Baptiste Daroussin To: Eitan Adler Subject: Re: pkgng complains about using pkg_info: intended? Message-ID: <20121109234148.GH70168@ithaqua.etoilebsd.net> References: <20121109215839.000010b4@unknown> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Hlh2aiwFLCZwGcpw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org, Alexander Leidinger X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 23:41:52 -0000 --Hlh2aiwFLCZwGcpw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 09, 2012 at 04:10:43PM -0500, Eitan Adler wrote: > On 9 November 2012 15:58, Alexander Leidinger w= rote: > > Hi, > > > > is this intended (current as of r242511)? >=20 > Ah. I have a patch to partly fix this. I forgot that the conversion > process itself uses the repo. The correct fix is either to add an > override environment variable or to have the conversion write to a > temporary repo and do a rename() at the end. >=20 > I prefer the latter. @Eitan I do prefer the environnement variable because the users that are using pkg= _* tools for some reason we can't imagine (there is always cases) can safely u= se it without this warning. btw this one of the reason a minimum of 1 month before MFC was necessary :D @Alexander Sorry for this I should have thought about it when reviewing the patch that added this warning, I completly forgot about this case. If no one sent to portmgr a patch since then, I'll write a patch to allow t= o fix this on monday. regards, Bapt --Hlh2aiwFLCZwGcpw Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCdlLwACgkQ8kTtMUmk6Ex2IQCeK8lr19jqpnIgX8aoZCXkVRV0 U60An0meWf7e4xAqVplo78xTh15nGlJo =0hYJ -----END PGP SIGNATURE----- --Hlh2aiwFLCZwGcpw--