Where to include port version in 'port pkg' output?

Ryan Schmidt ryandesign at macports.org
Thu Jan 3 01:13:56 PST 2013


On Jan 2, 2013, at 16:23, Blair Zajac <blair at orcaware.com> wrote:

> On my testing on 10.7, the package that is generated from 'port pkg' doesn't contain any version info, so it looks like Mac OS X treats it as a 1.0 package.

In what way does the Installer use this version info? Or, how are you determining that OS X considers this to be 1.0?

If we are not indicating the version number in the packages (and from what you showed of the package creation commands, it doesn't look like we are), and it can be changed so that we do, then we should change base to do so. It is of course just one piece of metadata: it would indicate the version, but not the epoch or revision or license or any of several other useful pieces of information. But the version is important and if we can indicate it we should.



More information about the macports-dev mailing list