From owner-freebsd-hackers@FreeBSD.ORG Thu Apr 3 14:30:09 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 B91DE37B401 for ; Thu, 3 Apr 2003 14:30:09 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-150.dsl.lsan03.pacbell.net [63.207.60.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF93643FCB for ; Thu, 3 Apr 2003 14:30:06 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 5EABA66B9B; Thu, 3 Apr 2003 14:30:06 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 4753A12AB; Thu, 3 Apr 2003 14:30:06 -0800 (PST) Date: Thu, 3 Apr 2003 14:30:06 -0800 From: Kris Kennaway To: Danny Braniss Message-ID: <20030403223006.GD15705@rot13.obsecurity.org> References: <20030403081856.GA13152@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="48TaNjbzBVislYPb" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i cc: hackers@freebsd.org cc: Kris Kennaway 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 22:30:10 -0000 --48TaNjbzBVislYPb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 03, 2003 at 02:06:39PM +0300, Danny Braniss wrote: >=20 > > Correct. > >=20 >=20 > 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. >=20 > 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, ... Well, that's not what you were asking for originally, and tools already exist to check that. e.g. pkg_info -g and the example from the pkg_which(1) manpage that I mentioned to you in a previous email. Kris --48TaNjbzBVislYPb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+jLXuWry0BWjoQKURAgltAJ9jAIQHzUrVgPwayCeBgbnH7Mr+9gCg3SZ1 EvTY2OmmJx9QVl2MDwbPzcY= =IwYf -----END PGP SIGNATURE----- --48TaNjbzBVislYPb--