diff options
author | jkh <jkh@FreeBSD.org> | 2001-02-03 20:56:32 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2001-02-03 20:56:32 +0000 |
commit | 7af2fba0c0ea1f0a371c8aefd97f24b6b0348be3 (patch) | |
tree | 767a875b05802c430e4ac8a4dfddc313840b4a0f /usr.sbin/pkg_install/info/info.h | |
parent | 416d33d3f0dca622fb40233535300cb9e2b8c0ba (diff) | |
download | FreeBSD-src-7af2fba0c0ea1f0a371c8aefd97f24b6b0348be3.zip FreeBSD-src-7af2fba0c0ea1f0a371c8aefd97f24b6b0348be3.tar.gz |
Add a -g flag for verifying an installed package against its recorded
checksums (to see if it's been modified post-installation). Naturally,
this mechanism is only as secure as the contents of /var/db/pkg if you're
using it for auditing purposes.
Submitted by: Roman Shterenzon <roman@xpert.com>
Diffstat (limited to 'usr.sbin/pkg_install/info/info.h')
-rw-r--r-- | usr.sbin/pkg_install/info/info.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/info/info.h b/usr.sbin/pkg_install/info/info.h index 04d1ade..df4389e 100644 --- a/usr.sbin/pkg_install/info/info.h +++ b/usr.sbin/pkg_install/info/info.h @@ -45,6 +45,7 @@ #define SHOW_MTREE 0x0800 #define SHOW_SIZE 0x1000 #define SHOW_ORIGIN 0x2000 +#define SHOW_CKSUM 0x4000 extern int Flags; extern Boolean AllInstalled; |