[Bug 285178] ports-mgmt/packagekit: packages with mismatched checksums
Date: Wed, 05 Mar 2025 22:49:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285178
Adriaan de Groot <adridg@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback?(deskto |maintainer-feedback+
|p@FreeBSD.org) |
CC| |adridg@freebsd.org
Status|New |Open
--- Comment #1 from Adriaan de Groot <adridg@freebsd.org> ---
If we compare the RPM spec (which is part of the source distribution) with how
we package this on FreeBSD, rpm says
%ghost %verify(not md5 size mtime)
%{_localstatedir}/lib/PackageKit/transactions.db
That means "this file is not added to the package, but it is owned by the
package and should be removed when the package is removed; for
package-integrity purposes do not check the checksum, size or modification
times (but do check other attributes, like file owner)."
So you are correct that we **should not** be checking this file. I don't know
whether "remove from the plist" is the right solution, or some clever bit of
plist-hackery.
--
You are receiving this mail because:
You are the assignee for the bug.