How to retrieve changelog of installed Port?

I am using a script to check the status of installed ports on the system.
The following command in my script returns the port which need to be updated:
Code:
/usr/sbin/pkg_version -IvL '='

A result form the command above is currently:

Code:
mysql-server-5.5.13                 <   needs updating (index has 5.5.15)

Now, is there a command line option to retrieve the actual changelog entries? Before upgrading I always like to now what has changed, especially for ports like mysql-server.

Thanks in advance
 
ericmacmini said:
Now, is there a command line option to retrieve the actual changelog entries? Before upgrading I always like to now what has changed, especially for ports like mysql-server.

Thanks in advance

You may access the CVS log of the port but it will not provide the changelog of the application.

I don't know how you can get the CVS log, but Freshports does this: http://www.freshports.org/

By example : http://www.freshports.org/databases/mysql55-server/

Regards.
 
Thanks, but in my script I'm already checking the /usr/ports/UPDATING file with:
Code:
/usr/sbin/pkg_updating -d `/bin/date -v-1m +%Y%m%d`
It checks important update messages dated within the last month (option -v-1m in date command).

The /usr/ports/UPDATING file documents some of the problems you may encounter when upgrading
your ports. But it's not the same as the individual package changelog.

Before upgrading I check the package website, but I am looking for a quicker and command-line way...
 
It's not stored in the port. Not all applications even have a changelog :(

In any case the port's website is the place to look for it.
 
Back
Top