Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2009 06:52:39 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Kelly Jones <kelly.terry.jones@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Reading warnings when installing multiple ports
Message-ID:  <4A07BD27.8080805@infracaninophile.co.uk>
In-Reply-To: <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com>
References:  <26face530905101649kbb21d03ud620c15f16483c3f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Kelly Jones wrote:
> I often use "make -DBATCH install" to install ports.
> 
> Problem: many ports spew out a warning/todo message after you install
> them (eg, "you must manually create an x user" or something).
> 
> Since ports install "recursively", I miss most of these messages.
> 
> Can I tell ports to store these messages for me somewhere?
> 
> Obviously, I can "make -DBATCH install > /tmp/outfile", but that'll
> log all the "install", "test", etc commands that I don't want to see:
> I just want to see the warnings at the end of each install.


portmaster will save up package messages and display them all at the
end of the session.  I believe a similar feature is planned for portupgrade
but as far as I know it hasn't been released yet.

In any case, you can redisplay the pkg-message for any installed port
by:

   % pkg_info -Dx portname

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkoHvS4ACgkQ8Mjk52CukIyIagCfYeK8IB7kmV2zA3v+giUJXKrd
b8EAnRrlVMxUO8dvupyDIDGoihruXfIx
=+WkU
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A07BD27.8080805>