summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-07-30 10:48:20 +0000
committerjkh <jkh@FreeBSD.org>1996-07-30 10:48:20 +0000
commit84d237928927613ef8052cc504b40894a8f01f4d (patch)
tree88293eee6032bf226b091c9261848f0aae12de17 /usr.sbin/pkg_install/create/perform.c
parent7fde0e3b7da9d7033e238dbec5ce1e88946fd069 (diff)
downloadFreeBSD-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/create/perform.c')
-rw-r--r--usr.sbin/pkg_install/create/perform.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index c3004ee..ee89e1a 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.30 1996/03/20 19:05:59 jdp Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.31 1996/06/20 18:33:36 jkh Exp $";
#endif
/*
@@ -156,11 +156,6 @@ pkg_perform(char **pkgs)
add_plist(&plist, PLIST_MTREE, MTREE_FNAME);
}
- /* Run through the list again, picking up extra "local" items */
- /* check_list(".", &plist); */
- /* copy_plist(".", &plist); */
- /* mark_plist(&plist); */
-
/* Finally, write out the packing list */
fp = fopen(CONTENTS_FNAME, "w");
if (!fp)
OpenPOWER on IntegriCloud