From owner-freebsd-ports@FreeBSD.ORG Thu Jan 15 13:29:26 2009 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3659B106564A for ; Thu, 15 Jan 2009 13:29:26 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id 52F288FC16 for ; Thu, 15 Jan 2009 13:29:25 +0000 (UTC) (envelope-from kitchetech@gmail.com) Received: by bwz13 with SMTP id 13so3723113bwz.19 for ; Thu, 15 Jan 2009 05:29:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=nWdQlesJUELbRQ0yyCZqZ5oYfPmn0hQnzrOJyw2K08s=; b=P9D3UAT1tWr/VU4LGRAa0X2OfK+MKxXj8oZrpHiYlDc406P9JrVhode9++zO4arcO1 urqPyxIbSI3YwwXnV8ok5+4sdJHrK3ozwsmZeGHGPhDOBzOKtsU4ph0rALRsRWZOwwIH gIoTDViv7ekVFj3tOnpUr+V9aEA8fAWXrjTFE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=lpWl7OrotJnlS5kw+I2QSwH/ppqARbnbeUqx1SfHRcMKXB5CEmouGANPHxHRmNjvi9 tsnYbNlK/R2D2SKlfCdp0R3fsTi02Kt6iRPBk6iOwYHUTdK2zYPNmbcj0znKuBCBeROE M3AlQusf5SMAMuSxXdQtarcVeJggHOxJTT0DI= Received: by 10.180.231.17 with SMTP id d17mr439893bkh.37.1232026164134; Thu, 15 Jan 2009 05:29:24 -0800 (PST) Received: by 10.181.14.6 with HTTP; Thu, 15 Jan 2009 05:29:24 -0800 (PST) Message-ID: <28283d910901150529xfac5a13k6f81d199ee2f48d@mail.gmail.com> Date: Thu, 15 Jan 2009 08:29:24 -0500 From: "matt donovan" To: "Andriy Gapon" In-Reply-To: <496F360E.1000508@icyb.net.ua> MIME-Version: 1.0 References: <496F360E.1000508@icyb.net.ua> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: kde@freebsd.org, FreeBSD Ports Subject: Re: pkg_info confusion (and configure.kde3) 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: Thu, 15 Jan 2009 13:29:26 -0000 On Thu, Jan 15, 2009 at 8:11 AM, Andriy Gapon wrote: > > I am reading pkg_info(1), I see that pkg_info can be executed without > any options/arguments, but the man page doesn't tell what happens in > this case. > > In practice I see that configure.kde3 executes pkg_info in the above > fashion (after printing "Looking for installed modules.") and what I > observe is that pkg_info is examining all package files found in > /var/packages. This takes quite long, obviously: > > > 0 61827 28318 0 8 0 5992 2892 wait S+J p5 0:00.12 > /usr/sbin/pkg_info > 0 62162 61827 0 8 0 3492 1108 wait S+J p5 0:00.00 sh > -c /usr/bin/tar -xp -j -f '/var/packages/All/curl-7.18.0.tbz' '+*' > > I am not sure if this is default behavior of pkg_info or it is somehow > affected by environment. I run portupgrade -p and also have PACKAGES set > to /var/packages. > > -- > Andriy Gapon > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" pkg_info run without args is the default way to run pkg_info it just prints out all packages/ports installed