From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 3 03:06:42 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5960D37B401 for ; Thu, 3 Apr 2003 03:06:42 -0800 (PST) Received: from cs.huji.ac.il (cs.huji.ac.il [132.65.16.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAF6A43F93 for ; Thu, 3 Apr 2003 03:06:41 -0800 (PST) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32] ident=danny) by cs.huji.ac.il with esmtp id 1912YJ-000BX9-00; Thu, 03 Apr 2003 14:06:39 +0300 X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Kris Kennaway In-Reply-To: Message from Kris Kennaway <20030403081856.GA13152@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 03 Apr 2003 14:06:39 +0300 From: Danny Braniss Message-Id: cc: hackers@freebsd.org Subject: Re: ports and /var/db/pkg X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 11:06:42 -0000 > Correct. > ok, so i wrote a small script (tcl, since i don't know perl), that does some checking, it reports for each package, the number of files how many are realy there, and if so, checks the MD5. now, if im not to far off, if some/all files are missing, or if the md5 does not match, i should be able to remove the package info, ... Q: true or false? danny