diff options
author | jkh <jkh@FreeBSD.org> | 1996-07-30 10:48:20 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-07-30 10:48:20 +0000 |
commit | 84d237928927613ef8052cc504b40894a8f01f4d (patch) | |
tree | 88293eee6032bf226b091c9261848f0aae12de17 /usr.sbin/pkg_install/lib/global.c | |
parent | 7fde0e3b7da9d7033e238dbec5ce1e88946fd069 (diff) | |
download | FreeBSD-src-84d237928927613ef8052cc504b40894a8f01f4d.zip FreeBSD-src-84d237928927613ef8052cc504b40894a8f01f4d.tar.gz |
Add MD5 checksums to packing list for all files during pkg_create and use
later at pkg_delete time to verify that you're deleting what you added.
This, of course, does NOT cover the case where a file you still need
hasn't changed! That's a tougher problem to solve, and this provides
only the minimal amount of safety belt. MD5 checksums are stored in comment
fields, so packages produced with these tools are backwards compatible with
the older ones.
Diffstat (limited to 'usr.sbin/pkg_install/lib/global.c')
-rw-r--r-- | usr.sbin/pkg_install/lib/global.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/global.c b/usr.sbin/pkg_install/lib/global.c index d411f5e..17d0026 100644 --- a/usr.sbin/pkg_install/lib/global.c +++ b/usr.sbin/pkg_install/lib/global.c @@ -1,5 +1,5 @@ #ifndef lint -static const char *rcsid = "$Id: global.c,v 1.1.1.1 1993/08/26 01:19:55 jkh Exp $"; +static const char *rcsid = "$Id: global.c,v 1.2 1994/04/05 14:08:45 jkh Exp $"; #endif /* @@ -28,6 +28,7 @@ static const char *rcsid = "$Id: global.c,v 1.1.1.1 1993/08/26 01:19:55 jkh Exp /* These are global for all utils */ Boolean Verbose = FALSE; Boolean Fake = FALSE; +Boolean Force = FALSE; int AutoAnswer = FALSE; |