<br><br><div class="gmail_quote">On Thu, Jan 15, 2009 at 8:11 AM, Andriy Gapon <span dir="ltr">&lt;<a href="mailto:avg@icyb.net.ua">avg@icyb.net.ua</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
I am reading pkg_info(1), I see that pkg_info can be executed without<br>
any options/arguments, but the man page doesn&#39;t tell what happens in<br>
this case.<br>
<br>
In practice I see that configure.kde3 executes pkg_info in the above<br>
fashion (after printing &quot;Looking for installed modules.&quot;) and what I<br>
observe is that pkg_info is examining all package files found in<br>
/var/packages. This takes quite long, obviously:<br>
<br>
<br>
 &nbsp; &nbsp;0 61827 28318 &nbsp; 0 &nbsp; 8 &nbsp;0 &nbsp;5992 &nbsp;2892 wait &nbsp; S+J &nbsp; p5 &nbsp; &nbsp;0:00.12<br>
/usr/sbin/pkg_info<br>
 &nbsp; &nbsp;0 62162 61827 &nbsp; 0 &nbsp; 8 &nbsp;0 &nbsp;3492 &nbsp;1108 wait &nbsp; S+J &nbsp; p5 &nbsp; &nbsp;0:00.00 sh<br>
-c /usr/bin/tar -xp -j -f &#39;/var/packages/All/curl-7.18.0.tbz&#39; &#39;+*&#39;<br>
<br>
I am not sure if this is default behavior of pkg_info or it is somehow<br>
affected by environment. I run portupgrade -p and also have PACKAGES set<br>
to /var/packages.<br>
<font color="#888888"><br>
--<br>
Andriy Gapon<br>
_______________________________________________<br>
<a href="mailto:freebsd-ports@freebsd.org">freebsd-ports@freebsd.org</a> mailing list<br>
<a href="http://lists.freebsd.org/mailman/listinfo/freebsd-ports" target="_blank">http://lists.freebsd.org/mailman/listinfo/freebsd-ports</a><br>
To unsubscribe, send any mail to &quot;<a href="mailto:freebsd-ports-unsubscribe@freebsd.org">freebsd-ports-unsubscribe@freebsd.org</a>&quot;</font></blockquote><div><br>pkg_info run without args is the default way to run pkg_info it just prints out all packages/ports installed <br>
</div></div><br>