On Feb 15, 2009, at 7:58 PM, D. Hugh Redelmeier wrote:

| There's also
|    RPMTAG_PACKAGEDIGEST        = 1215, /* s */
|    RPMTAG_PACKAGESTAT          = 1216, /* x */
| which are the *.rpm file digest, and the stat(2) of the package
| file path, which are also saved persistently in the rpmdb when populated
| at the time the package is registered.

What are these useful for?


These tags are currently used for rpm-metadata markup.

But the tags can be used to track the location/content/timestamps
of the original package, which is useful for managing software.

Note the caveat " ... when populated ...". RPMTAG_PACKAGEDIGEST in particular
is expensive to calculate and add to headers, and is largely unneeded
because there are already header-only and header+payload digests
that are carried within packages.

73 de Jeff

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to