diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-10-10 08:21:41 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-10-10 08:21:41 +0000 |
commit | 5ef9bb01d5f61e4f52a539ac2ceb0ab6f60cac11 (patch) | |
tree | f9075d260c6d242b36af96fc1bd51e6ead2a7632 /usr.sbin/pkg_install/info/perform.c | |
parent | 3ecc09960218d1a88e9cd4b7428a640ca3cef599 (diff) | |
download | FreeBSD-src-5ef9bb01d5f61e4f52a539ac2ceb0ab6f60cac11.zip FreeBSD-src-5ef9bb01d5f61e4f52a539ac2ceb0ab6f60cac11.tar.gz |
- Introduce a notion of `packing list format version'. This allows making
non-backward compatible changes in the format of packing list and handle
them gracefully;
- fix a longstanding issue with symlinks handling. Instead of recording
checksum for the file symlink points to, record checksum for the value
returned by readlink(2). For backward compatibility increase packing list
format minor version number and provide a fallback to a previous behaviour,
if package in question was created with older version of pkg_* tools;
Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax
- don't record MD5 checksum for device nodes, fifo's and other non-regular
files.
Submitted by: nbm
MFC in: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/info/perform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 1b5d2d8..9c5c927 100644 --- a/usr.sbin/pkg_install/info/perform.c +++ b/usr.sbin/pkg_install/info/perform.c @@ -214,6 +214,8 @@ pkg_do(char *pkg) show_cksum("Mismatched Checksums:\n", &plist); if (Flags & SHOW_ORIGIN) show_origin("Origin:\n", &plist); + if (Flags & SHOW_FMTREV) + show_fmtrev("Packing list format revision:\n", &plist); if (!Quiet) puts(InfoPrefix); } |