how to display pkg-message
Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a result. thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
Looking for that feature to :) On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse cwhi...@onetel.com wrote: Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a result. thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
On Sun, Sep 6, 2009 at 10:29 AM, Kalle Møllerfreebsd-questi...@k-moeller.dk wrote: Looking for that feature to :) On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse cwhi...@onetel.com wrote: Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a result. thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This is explained in the pkg_info man page. To Show the install-message file for the installed package postfix-2.6.3,1 you would enter pkg_info -D -x postfix | less Please read the man page! Also install ports-mgmt/bpkg, it's an awsome utility -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
On Sun, Sep 6, 2009 at 12:21 PM, Randy Belkrandy.b...@gmail.com wrote: On Sun, Sep 6, 2009 at 10:29 AM, Kalle Møllerfreebsd-questi...@k-moeller.dk wrote: Looking for that feature to :) On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse cwhi...@onetel.com wrote: Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a result. thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This is explained in the pkg_info man page. To Show the install-message file for the installed package postfix-2.6.3,1 you would enter pkg_info -D -x postfix | less Please read the man page! Also install ports-mgmt/bpkg, it's an awsome utility -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. -- - Amiga, The Computer for the creative Mind! - UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. - People who hate Microsoft Windows use Linux but people who love UNIX use BSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
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 of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a 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 There isn't a specific make target for displaying pkg-message -- it's 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 -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: how to display pkg-message
Randy Belk wrote: On Sun, Sep 6, 2009 at 10:29 AM, Kalle Møllerfreebsd-questi...@k-moeller.dk wrote: Looking for that feature to :) On Sun, Sep 6, 2009 at 5:19 PM, Chris Whitehouse cwhi...@onetel.com wrote: Hello Could someone remind of the make target for showing messages which are displayed when installing ports please. I thought it was some variant of make showinfo but I can't find one that works. I am assuming that if port/files/pkg-message.in exists the this make target would show a result. thanks Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This is explained in the pkg_info man page. To Show the install-message file for the installed package postfix-2.6.3,1 you would enter pkg_info -D -x postfix | less Please read the man page! Also install ports-mgmt/bpkg, it's an awsome utility Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus list archives and google but because I was so convinced it was a make target I didn't think of pkg_info. It all makes sense now. What's more next time I forget I will be able to look up my own post :) Thanks Matthew S for the tip about tarballs too. cheers Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
On Sunday 06 September 2009 20:18:38 Chris Whitehouse wrote: Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus list archives If you want to see the dynamically generated pkg-message of a *port*, before building/installing it (f.e. to identify what gotchas there are), use the following: make -C /usr/ports/category/portname WRKDIR=/tmp apply-slist cat /tmp/pkg- message -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to display pkg-message
Mel Flynn wrote: On Sunday 06 September 2009 20:18:38 Chris Whitehouse wrote: Thanks for the info. I read man ports, quite a lot of bsd.ports.mk plus list archives If you want to see the dynamically generated pkg-message of a *port*, before building/installing it (f.e. to identify what gotchas there are), use the following: make -C /usr/ports/category/portname WRKDIR=/tmp apply-slist cat /tmp/pkg- message That's exactly what I was trying to do though the other replies gave me an alternative way. thanks very much Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org