From owner-freebsd-ports@FreeBSD.ORG Sun Dec 8 15:11:36 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 980D3A30 for ; Sun, 8 Dec 2013 15:11:36 +0000 (UTC) Received: from gate.utahime.jp (ipq210.utahime.jp [183.180.29.210]) by mx1.freebsd.org (Postfix) with ESMTP id 61F4519C5 for ; Sun, 8 Dec 2013 15:11:36 +0000 (UTC) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by gate.utahime.jp (Postfix) with ESMTP id 8C49761FAB; Mon, 9 Dec 2013 00:11:35 +0900 (JST) Received: from eastasia.home.utahime.org (localhost [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 6869C4E642; Mon, 9 Dec 2013 00:11:35 +0900 (JST) Received: from localhost (rolling.home.utahime.org [192.168.174.11]) by eastasia.home.utahime.org (Postfix) with ESMTPA id 2BB234E62D; Mon, 9 Dec 2013 00:11:35 +0900 (JST) Date: Mon, 09 Dec 2013 00:11:14 +0900 (JST) Message-Id: <20131209.001114.173114891.yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: Output change of 'pkg info' after 1.2. From: Yasuhiro KIMURA In-Reply-To: <20131206082929.GP76976@ithaqua.etoilebsd.net> References: <20131205162409.GA4906@ithaqua.etoilebsd.net> <20131206.015422.185732494.yasu@utahime.org> <20131206082929.GP76976@ithaqua.etoilebsd.net> X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Dec 2013 15:11:36 -0000 From: Baptiste Daroussin Subject: Re: Output change of 'pkg info' after 1.2. Date: Fri, 6 Dec 2013 09:29:30 +0100 >> Then I have one question. Is there any way to get same output as >> 'pkg info pkg-name' of 1.1.x? I tried some combination of options but >> could not find proper one. >> > only pkg query now. > > pkg query "%n-%v" and to simply your life you could probably have in your > pkg.conf (since pkg 1.2) > alias: { > whatis : "query '%n-%v'" > } > > > $ pkg whatis pkgconf > pkgconf-0.9.3 > > etc. Thank you for answering my quetion. I added alias definition above in my pkg.conf. BTW, I noticed there is no explanation about 'alias' option in pkg.conf(5) but two examples in EXAMPLES section. It is far from fatal but anyway I sent PR and also opened new issue on GitHub. http://www.freebsd.org/cgi/query-pr.cgi?pr=184594 https://github.com/freebsd/pkg/issues/676 --- Yasuhiro KIMURA