From owner-freebsd-ports@FreeBSD.ORG Fri Aug 24 16:06:22 2012 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 422C61065670 for ; Fri, 24 Aug 2012 16:06:22 +0000 (UTC) (envelope-from bryan@shatow.net) Received: from secure.xzibition.com (secure.xzibition.com [173.160.118.92]) by mx1.freebsd.org (Postfix) with ESMTP id D78518FC1C for ; Fri, 24 Aug 2012 16:06:21 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sweb; b=h2dlJw 8vjO0EoBCEWichfIUGo5FsQJDDhVJpmpBb5VvsoJzmpYlztaO8yi6gJw0X0iZXmY MxNARNqa4th5pbP7iiKdViMAKyKDF0nUJzQKAIEacmNqOyWMQdsx7TQjBSI1k3St gnzVHnF9Csu2fUy8cDgy47KKmRwFyzNwt+HFk= DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=shatow.net; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=sweb; bh=5sDOUO1Wx9J1 /MA+SrePJrNHojx/U81wOUeTPzCarTw=; b=ltikgJazKPBYtSmInaf8L3IV7cov 7aLpHQTQ/kxCIecZ7l46Va6oKflGjBD+f9cJ4ZvUfykCIos5Mj7kbkyoFT9xvITn VzwS1N5KAcxUTOpqbfSDKudKI8/L9kcoftzTisE5mOMmiGs55QI4IN9M1V5l2ZM4 5zCHAAQIXMXKlt4= Received: (qmail 16193 invoked from network); 24 Aug 2012 11:06:18 -0500 Received: from unknown (HELO ?192.168.0.74?) (bryan@shatow.net@74.94.87.209) by sweb.xzibition.com with ESMTPA; 24 Aug 2012 11:06:18 -0500 Message-ID: <5037A693.3020502@shatow.net> Date: Fri, 24 Aug 2012 11:06:43 -0500 From: Bryan Drewery User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Baptiste Daroussin References: <97612B57-1255-4BB3-A6D3-FC74324C6D67@FreeBSD.org> <20120824081543.GB2998@ithaqua.etoilebsd.net> <50377253.103@FreeBSD.org> <20120824143119.GA37867@ithaqua.etoilebsd.net> <5037A2C6.4060200@shatow.net> <20120824160226.GC37867@ithaqua.etoilebsd.net> In-Reply-To: <20120824160226.GC37867@ithaqua.etoilebsd.net> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, Steve Wills , current@FreeBSD.org, Alex Dupre Subject: Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 16:06:22 -0000 On 8/24/2012 11:02 AM, Baptiste Daroussin wrote: > On Fri, Aug 24, 2012 at 10:50:30AM -0500, Bryan Drewery wrote: >> On 8/24/2012 9:31 AM, Baptiste Daroussin wrote: >>> On Fri, Aug 24, 2012 at 02:23:47PM +0200, Alex Dupre wrote: >>>> Baptiste Daroussin ha scritto: >>>> >>>>> On of the thing I forgot and kan@ has added is a prompt for the user in case it >>>>> is going to bootstrap. >>>> >>>> So, removing the prompt will make everybody happy? :-) >>>> >>>> What about a prompt with timeout? "This is the first time pkg is run, >>>> I'll start bootstrapping in 10 seconds. Press CTRL-C now to abort" >>>> >>> >>> Imho the best is to prompt only if not on a tty, otherwise fail, except if a >>> environment variable is set. >>> >>> regards, >>> Bapt >>> >> >> Maybe an ENV variable to auto confirm the prompt too? I'm thinking about >> scripts using pkg to bootstrap an entire system install. Maybe I'm on a >> TTY and just want it to confirm auto anyway. > > This is already the case (thanks kan@) >> Perfect. I see it now, ALWAYS_ASSUME_YES. Bryan