Collecting pkg-message files?
Wesley Shields
wxs at FreeBSD.org
Wed Feb 20 04:01:05 UTC 2008
On Mon, Feb 11, 2008 at 01:46:26PM -0500, Wesley Shields wrote:
> One of the things that often trips up new users is the fact that
> pkg-message files scroll past their buffers when installing something
> via ports. As such, they sometimes miss important post-installation
> steps which need to be taken in order to finish the install. I've
> attached a patch I've come up with to collect all the pkg-message files
> during an install and display them at the end.
>
> In order to not be in violation of POLA I only collect the messages and
> display them if SHOW_ALL_PKG_MSGS is defined. This way it won't get in
> the way of any automated tools, and in some cases it may reduce the
> complexity of those tools if they provide native support for this.
>
> I've barely tested this, but I'm due to get a new laptop in a few weeks
> and plan to run this patch while I'm building and installing everything
> I normally use. I'm curious if there is anyone else out there willing
> to test this out before I submit a PR for it once it proves stable
> during my new laptop install. Please let me know what you think and if
> you run into any problems with it.
>
> -- WXS
I've had one or two people report back on this. I've attached what I
believe should fix their problem and ran it through a couple more builds
of a handful of ports. If you want to test it out I'm attaching an
updated version here.
-- WXS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-all-pkg-messages.diff
Type: text/x-diff
Size: 3270 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080220/868aa8fc/show-all-pkg-messages.bin
More information about the freebsd-ports
mailing list