On Thu, 27 Oct 2005 13:41:57 +0100, David Cathcart wrote:

> pkg_info -M `ls -rt /var/db/pkg/`
> 
> Most recent last, easier not to miss things.

Thanks; *now* I have learnt something. This is pretty close already; and
something I have missed earlier.
(Also here, would be good to add this into the FAQ ?)

This is workable.

May I nevertheless dream on ?
Most messages are empty. There is no persistent behaviour.
If I were a better coder, I'd scribble something to do like this:

#-- php5-core-5.0.3p1 ------------------- 
# To finish the install, enable the php5 module with:
    /usr/local/sbin/phpxs -s

# To enable parsing of PHP scripts, add the following to
# /var/www/conf/httpd.conf:

#    AddType application/x-httpd-php .php

# Copy the config file below into /var/www/conf/php.ini
# /usr/local/share/examples/php5/php.ini-recommended
#-----------------------------------------

Current flag: [ ]
Action:
[R] - Run now
[A] - Run always (Toggle)
[n/N] - next / previous message
[X] - Expunge message
[Q] - Quit

This script is something to be run at any upgrade and update, so I press
'A' and it will show
...
# /usr/local/share/examples/php5/php.ini-recommended
#-----------------------------------------

Current flag: [A]
Action:
...

Of course, with a '/' to search for the next occurrence as usual.
A basic vipkg, so to say.

And when I copy this 'database' to another box, it will gladly apply the
same behaviour there. 

Uwe







Reply via email to