ident strings in pkg-plist

Alexander Leidinger Alexander at
Mon Oct 4 11:33:51 UTC 2010

Quoting Doug Barton <dougb at> (from Sun, 03 Oct 2010  
15:58:00 -0700):

> Changing the list to have a real discussion about this.
> On 10/3/2010 3:49 PM, John Hein wrote:
>> I'll mention that
>> it has come in handy for me in the past.  I put it into the category
>> of ident strings in binaries.  It has a similar utility.
>> Because I find it useful in maintaining and using a port/package,
>> I've been one that has added it to pkg-plist in the past.
> I'm curious about what your use case for the information is. You can  
> always know if you have the latest version of the plist via cvs,  
> c[v]sup, portsnap, etc. Other than knowing that you have the latest  
> version, what utility does the $Id string in the file itself have?

I see a value in this if:
  - you use a port with non-default options which change the plist
  - a change is made to the plist which affects your use case,
    but the revision of the port is not changed (because the change
    only affects the non-default options and as such do not change
    the default package)

Normally you can not detect after a while if the plist in the port is  
what is used in /var/db/pkg or not (the dates in /var/db/pkg may  
change when portupgrade is used).

If this matters and rectifies a new rule to include an ident string  
into the plist or not... personally I wouldn't object if it is added.


This is the sort of English up with which I will not put.
		-- Winston Churchill    Alexander @ PGP ID = B0063FE7       netchild @  : PGP ID = 72077137

More information about the freebsd-ports mailing list