From owner-cvs-usrsbin Tue Jul 30 03:48:40 1996 Return-Path: owner-cvs-usrsbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07167 for cvs-usrsbin-outgoing; Tue, 30 Jul 1996 03:48:40 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA07147; Tue, 30 Jul 1996 03:48:22 -0700 (PDT) Date: Tue, 30 Jul 1996 03:48:22 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199607301048.DAA07147@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-usrsbin Subject: cvs commit: src/usr.sbin/pkg_install/add Makefile main.c src/usr.sbin/pkg_install/create Makefile perform.c pl.c src/usr.sbin/pkg_install/delete Makefile main.c perform.c src/usr.sbin/pkg_install/lib global.c lib.h plist.c src/usr.sbin/pkg_install/info Makefile Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/07/30 03:48:22 Modified: usr.sbin/pkg_install/add Makefile main.c usr.sbin/pkg_install/create Makefile perform.c pl.c usr.sbin/pkg_install/delete Makefile main.c perform.c usr.sbin/pkg_install/info Makefile usr.sbin/pkg_install/lib global.c lib.h plist.c Log: 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. Revision Changes Path 1.9 +2 -2 src/usr.sbin/pkg_install/add/Makefile 1.11 +1 -2 src/usr.sbin/pkg_install/add/main.c 1.9 +2 -2 src/usr.sbin/pkg_install/create/Makefile 1.32 +1 -6 src/usr.sbin/pkg_install/create/perform.c 1.8 +12 -10 src/usr.sbin/pkg_install/create/pl.c 1.9 +2 -2 src/usr.sbin/pkg_install/delete/Makefile 1.6 +1 -2 src/usr.sbin/pkg_install/delete/main.c 1.10 +4 -4 src/usr.sbin/pkg_install/delete/perform.c 1.9 +2 -2 src/usr.sbin/pkg_install/info/Makefile 1.3 +2 -1 src/usr.sbin/pkg_install/lib/global.c 1.22 +13 -12 src/usr.sbin/pkg_install/lib/lib.h 1.17 +63 -29 src/usr.sbin/pkg_install/lib/plist.c