From owner-freebsd-ports@FreeBSD.ORG Fri Oct 19 15:16:55 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 D6D795B7; Fri, 19 Oct 2012 15:16:55 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from mx.lissyara.su (mx.lissyara.su [91.227.18.11]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA028FC12; Fri, 19 Oct 2012 15:16:55 +0000 (UTC) Received: from [77.41.108.0] (port=55918 helo=dc7700p.lissyara.su) by mx.lissyara.su with esmtpa (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TPEJh-0006V2-R5; Fri, 19 Oct 2012 19:16:53 +0400 Message-ID: <50816EE5.8090704@lissyara.su> Date: Fri, 19 Oct 2012 19:16:53 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121019 Thunderbird/16.0.1 MIME-Version: 1.0 To: Vincent Hoffman Subject: Re: [HEADSUP] current switched by default to pkgng References: <20121010134421.GI26497@ithaqua.etoilebsd.net> <5081661B.2090209@lissyara.su> <50816D59.1030706@unsane.co.uk> In-Reply-To: <50816D59.1030706@unsane.co.uk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: mx.lissyara.su Cc: ports@freebsd.org, Baptiste Daroussin , ports-announce@freebsd.org, current@freebsd.org 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, 19 Oct 2012 15:16:56 -0000 On 19.10.2012 19:10, Vincent Hoffman wrote: > On 19/10/2012 15:39, Alex Keda wrote: >> On 10.10.2012 17:44, Baptiste Daroussin wrote: >>> Hi all, >>> >>> If you are using the ports tree on a FreeBSD current setup, then you are >>> concerned by the announce. >>> >>> As nvidia-drivers has been fixed and is now properly working with pkgng, the >>> ports tree as been switch by default to use pkgng on FreeBSD Current based on >>> version >= 1000017 which was the version when we tested the switch code. >>> >>> Make sure to read UPDATING (from ports) to correctly migrate your system or find >>> instruction to make your system still running with legacy pkg_install tools. >>> >>> regards, >>> Bapt >>> >> pkg command does not have key for list options - no autocompletions >> >> for example, for service command, I use >> complete service 'n/*/`service -l`/' >> in .cshrc >> >> what I can use for pkg command? > > horrible but working example > pkg help 2>&1 | sed -e '1,/Commands supported:/d ; /For more information > on the different commands/,$d; s/^ *// ; s/ .*.*$// ;/^$/d' > > There's bound to be better ways, I was just bored enough to knock this up. > note s/^ *// is a tab, while s/ .*.*$// is 2 spaces > dont think our sed has any other way to express tab other than an actual > tab (ctrl-v then tab on the command line) it's crazy =) may be add -l options?