From owner-freebsd-questions@FreeBSD.ORG Sun Sep 6 17:27:44 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A68C106566C for ; Sun, 6 Sep 2009 17:27:44 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E46438FC20 for ; Sun, 6 Sep 2009 17:27:43 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id n86HRWXq029603; Sun, 6 Sep 2009 18:27:38 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk n86HRWXq029603 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1252258058; bh=tonvq+F8vH5q9TRaw8qV1DkkvH2vdP5wqZgP4PSxiZw=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AA3F0FE.2060806@infracaninophile.co.uk>|Date:=20S un,=2006=20Sep=202009=2018:27:26=20+0100|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20Chris=20Whitehouse=20|CC:=20F reeBSD=20Questions=20|Subject:=20Re:=20how= 20to=20display=20pkg-message|References:=20<4AA3D2E7.9070409@onete l.com>|In-Reply-To:=20<4AA3D2E7.9070409@onetel.com>|X-Enigmail-Ver sion:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp- sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A= 20boundary=3D"------------enig929BF4A1E55385CDFA257DAA"; b=e7pDYZIpguAuIyfs4boFlC0eNY0Wr1kylV8OuaE7CIQCU7lG0qD5kjk+9CyCmHWfg 6uUFL+t6owh4Rpa4u/h6QwBkfQlcbGFiGJNIcUXmxsKwVnCE1iuhoL0qFwy3SIXLk3 o1wrtzxlkmxWtJ1nJh4U4dIwKi6YrLfySrOttWHk= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AA3F0FE.2060806@infracaninophile.co.uk> Date: Sun, 06 Sep 2009 18:27:26 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: Chris Whitehouse References: <4AA3D2E7.9070409@onetel.com> In-Reply-To: <4AA3D2E7.9070409@onetel.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig929BF4A1E55385CDFA257DAA" X-Virus-Scanned: clamav-milter 0.95.2 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Questions Subject: Re: how to display pkg-message X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 17:27:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig929BF4A1E55385CDFA257DAA Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Chris Whitehouse wrote: > Could someone remind of the make target for showing messages which are = > displayed when installing ports please. I thought it was some variant o= f=20 > make showinfo but I can't find one that works. I am assuming that if=20 > /files/pkg-message.in exists the this make target would show a=20 > result. Once the port is installed, you can do: % pkg_info -Dx portname What is probably less known is that if you have the package tarball, you = can run pkg_info on it *without* it being installed: % pkg_info -D ./portname.tbz=20 There isn't a specific make target for displaying pkg-message -- it's=20 generally done as part of the post-install: target, but that target also typically runs any of the scripts that should be bundled with the pkg. That's things like creating a UID to own files or processes, which is not= necessarily something you would want to happen when just trying to see some messages. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig929BF4A1E55385CDFA257DAA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkqj8QQACgkQ8Mjk52CukIwdxgCfaW5mE29WZ8P1c70REub2kZkO uf0AnR9Gt1hJrZjJxio56/dngf00kGKf =oD3O -----END PGP SIGNATURE----- --------------enig929BF4A1E55385CDFA257DAA--